Compare commits

...

2364 Commits

Author SHA1 Message Date
Jeff Moe d0cec92b62 celestia screenshot 2022-05-20 22:32:56 -06:00
Jeff Moe 34a3b5a9cd Install *.deb 2022-05-20 22:06:09 -06:00
Jeff Moe 470cbc3c99 oh. Use separate celestiacontent repo 2022-05-20 21:57:31 -06:00
Jeff Moe 88047d9b06 ignore vi 2022-05-20 21:56:32 -06:00
Jeff Moe 71cf5dda82 celestia-gaia-stardb deps, mostly python3 2022-05-20 21:15:01 -06:00
Jeff Moe 646e755964 more ^M 2022-05-20 20:43:19 -06:00
Jeff Moe d00a02c463 star DB perl script had ^M ... 2022-05-20 20:38:51 -06:00
Jeff Moe 791c80d3d0 Package build minihowto 2022-05-20 20:24:19 -06:00
Jeff Moe 7693e49057 Add readmes to install docs 2022-05-20 20:23:19 -06:00
Jeff Moe e5c825b5f0 rm missing qttxf, latest snapshot 2022-05-20 19:58:40 -06:00
Jeff Moe 916ac7be22 Debian notes 2022-05-20 19:50:14 -06:00
Jeff Moe 9878b500b1 readme stub 2022-05-20 19:43:17 -06:00
Jeff Moe 9b561aa551 mv upstream READMEs 2022-05-20 19:42:42 -06:00
dave-kaye 804a5de2a7 Update GTK solar system browser
Add Dwarf Planets and Minor Moons to solar system browser to match Qt version
2022-05-05 10:41:46 +03:00
Andrew Tribick c6a320d086 Allow EOF status after skipping chunks/trailing bytes in 3ds fies.
This shouldn't happen and I cannot reproduce it, but some people
are running into issues with false positive errors.
2022-05-02 19:32:18 +02:00
Andrew Tribick 0c177cae01 Rewrite 3DS loader 2022-05-02 19:32:18 +02:00
Andrew Tribick bc75235150 Skip testing externally-provided charconv 2022-04-30 22:16:25 +02:00
Hleb Valoshka 4c6fa126d6 Remove remnants of the old font rendering system
Closes: #1359
2022-04-17 13:54:24 +03:00
Hleb Valoshka 698d03cd82 [gtk] Fix display of rings and fading orbits
Closes: #1360
2022-04-17 13:54:09 +03:00
Hleb Valoshka 6ab7660e0c [cmake] Don't mix plain & keyword target_link_libraries()
Closes: #1357
2022-04-07 10:45:15 +03:00
Levin Li b4cf176ac3 Fix nebula/ssc sprite rendering on hidpi setting 2022-04-02 07:53:25 -07:00
Georgi 71a65fb33c updated guide 2022-03-31 22:34:58 -07:00
Georgi 704a075d0a updated demo 2022-03-31 22:34:58 -07:00
Georgi a87dc1bc62 added demo_bg.cel 2022-03-31 22:34:58 -07:00
Hleb Valoshka f4bd55991f Optimize meshes with meshoptimizer library if available 2022-03-07 16:59:47 +03:00
Hleb Valoshka 746b9e3ef3 Optimize model by merging similar meshes 2022-03-07 16:59:47 +03:00
Hleb Valoshka ca80f4448a Optimize mesh by merging similar primitive groups 2022-03-07 16:59:47 +03:00
Hleb Valoshka dee6a216f7 Remove discord from Readme.md 2022-03-03 00:19:33 +03:00
Andrew Tribick 2f77629216 Fix parsing and display of luminosity classes Ia-0, Ia, and Ib
- Allow spaces before luminosity class in stc file
- Allow Ia-0 to be spelled "Ia-0" (as displayed), "Ia0" (as previously), or
  "I-a0" (previous display format) in stc file
- Remove str() and ostream << operators on StellarClass (only used in tests)
2022-02-19 11:33:15 +01:00
Andrew Tribick d2f53d0a56 Supersede not supercede 2022-02-19 11:33:15 +01:00
Hleb Valoshka fb08de771a Create Logger in cmodview 2022-02-18 14:03:41 +03:00
Levin Li 318b4378a9 Fix lua crash in cleanup 2022-02-18 01:30:10 -08:00
Levin Li 6b856b3352 Fix broken star browser 2022-02-11 19:09:16 -08:00
Heiko Becker e51f3d5b97 Drop content submodule from .gitmodules
It's seems a bit confusing to have it in .gitmodules and .gitignore at
the same time.
Furthermore it makes distro packaging fail for my distro.
2022-02-05 21:47:29 +03:00
Andrew Tribick 60ed8238b1 Add integration test for 3ds loader 2022-02-05 09:52:02 +01:00
Hleb Valoshka cbdd9de63f Draw glow before objects
Closes: #1339
2022-01-31 12:20:18 +03:00
transifex-integration[bot] a783eee8fe Translate /po/celestia.pot in ru
translation completed for the source file '/po/celestia.pot'
on the 'ru' language.
2022-01-31 12:19:24 +03:00
Hleb Valoshka 9d60f6e660 [sdl] small cleanup 2022-01-26 22:59:43 +03:00
Hleb Valoshka b7dd51fc81 [sdl] set ShadowMapSize and SolarSystemMaxDistance from config 2022-01-26 22:59:43 +03:00
Hleb Valoshka fecc0ca0a9 [sdl] add support for CELESTIA_DATA_DIR environment variable 2022-01-26 22:59:43 +03:00
Hleb Valoshka c95e554c7a [sdl] allow copy/paste URL to/from a clipboard 2022-01-26 22:59:43 +03:00
Yasushi SHOJI 3702250525 cmod: 3dstocmod: Create logger
Without creating a logger, the command dies with SEGFAULT when
Read3DSFile(std::istream&) tries to print the verbose message.

    GetLogger()->verbose("3DS file, {} bytes\n", chunkSize + 6);

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2022-01-26 22:59:28 +03:00
Yasushi SHOJI 3a218976bf cmod: Fix VertexAttributeSemantic::Position compilation error
The commit b79959979a extracted cmod::Mesh::Position to
cmod::VertexAttributeSemantic::Position but didn't change this line.

This problem occurs only with cmake -DENABLE_TOOLS=1.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2022-01-26 22:59:28 +03:00
SevenSpheres 38f645ff8f Add a vcpkg tip thanks to Andrew Tribick 2022-01-26 10:25:16 -07:00
Andrew Tribick 3a7e6d793b [win] Fix initialization of view options checkboxes 2022-01-26 18:21:44 +01:00
Hleb Valoshka 8f8a2f7677 Optimize calculation of center for renderLargePoint 2022-01-26 01:10:46 +03:00
Hleb Valoshka 772fe24e1b Reuse PointStarVertexBuffer do draw objects as points 2022-01-26 01:10:46 +03:00
Hleb Valoshka 96e282e161 Add methods to reset current matrices 2022-01-26 01:10:46 +03:00
Hleb Valoshka 20a4d13328 Refactor code to draw objects as points
* provide common routine to calculate point size
 * precalculate saturation magnitude
 * remove unused variables
2022-01-26 01:10:46 +03:00
Hleb Valoshka 29a2e1ec1c Update .clang-format 2022-01-26 01:01:15 +03:00
Hleb Valoshka 2cb9da1085 [win32] Convert decimal point & thousands separator to UTF-8 2022-01-25 23:28:17 +03:00
Hleb Valoshka 34d18bb316 Add missing include to fix selfshadowing
Fixes: #1330
2022-01-23 11:39:33 +03:00
Hleb Valoshka f969b37c3e Refactor font handling code
* Add cache for loaded fonts
 * Replace `const std::string &` with `std::string_view` in print
 * Remove static load method
 * Reformat with clang-format
 * Return bool from celestiacore::set*Font
2022-01-20 12:10:30 +03:00
Andrew Tribick 3c9334ece9 [qt] Do not capture menu bars when taking screenshots 2022-01-18 19:00:54 +01:00
Levin Li fc561a7927 Add methods for handling HiDPI, scale icons, splash images using StretchBlt 2022-01-16 02:27:25 -08:00
Levin Li 9d1bcf14b3 Enable dpiAwareness in manifest 2022-01-16 02:27:25 -08:00
Andrew Tribick 40ed2011bf Use qreal to store return value of devicePixelRatioF 2022-01-15 18:13:28 +01:00
Andrew Tribick 7cf1aac419 [qt] Experimental Qt6 support
- Switch from legacy QGLWidget to QOpenGLWidget

- [win32] Use a frameless window 1 pixel larger than the monitor instead of a
  fullscreen window, in order to avoid issues showing context menus

- Fix a settings bug where window state on the fullscreen transition was not
  saved in the MainWindow group.
2022-01-15 18:13:28 +01:00
Levin Li 25cbfabba0 Enable visual styles for Win32 controls 2022-01-14 21:13:55 -08:00
Andrew Tribick 245225dcdf Fix for SonarScanner out of bound false positive 2022-01-12 21:40:21 +01:00
Andrew Tribick 410f86fc88 Use while loop to fix SonarScanner issue 2022-01-08 21:25:52 +01:00
Andrew Tribick 3f7bd9c13e Update floating point compilation options 2022-01-08 16:02:52 +01:00
Andrew Tribick 56751882e6 Minor tokenizer fixes
- Functions in cctype should be called with unsigned char.
- Use charconv to convert numeric tokens.
2022-01-08 15:44:25 +01:00
Hleb Valoshka e04ed379a5 [ci] exclude legacy ui from sonar analysis 2022-01-08 17:21:23 +03:00
Hleb Valoshka 849ce6a5c4 [ci] disable dnf invocation as it fails 2022-01-08 17:21:23 +03:00
Hleb Valoshka 98610c9557 [cmake] suppress "deprecated-declarations" warning for gtk ui 2022-01-08 17:21:23 +03:00
Hleb Valoshka c251dac856 Split greek-letters handling from utf8 and refactor a bit 2022-01-08 17:21:23 +03:00
SevenSpheres eaae852f8f Update celestia.cfg
add pulsars.stc & plutocharon_locs.ssc
2022-01-07 12:43:30 -07:00
Hleb Valoshka eb93a24fcc Fix search for planets around stars with Bayer designations
Closes: #1297

The previos code didn't take into account names like "Ups And Ad" and
interpreted them as "Ups And A".
2022-01-05 15:56:34 +03:00
Hleb Valoshka d0899d29ee Fix ring shadow shaders for planets with several suns
Closes: #1305

Was broken in 32baed9bc
2022-01-05 13:34:51 +03:00
Hleb Valoshka 192359bfa0 [ci] remove ENABLE_DATA from cmake calls 2022-01-04 16:21:52 +03:00
Hleb Valoshka 57c0fe1bde Update spice submodule and enable it in CI build on arm64 2022-01-04 16:21:52 +03:00
Hleb Valoshka e4f7df92b8 [ci] run sonar scanner on a self-managed runner
* legacy frontends won't be checked, only sdl & qt
2022-01-03 18:30:02 +03:00
Hleb Valoshka 5bf9471674 Silence AstroObject::setIndex() unless debug verbosity 2022-01-02 19:32:15 +03:00
Andrew Tribick 7cdf65659d Clamp cosine of phase angle to [-1, 1] 2022-01-02 16:03:52 +01:00
Hleb Valoshka dea8c42eb1 [ci] add a custom job for *.po files 2022-01-01 23:59:32 +03:00
Andrew Tribick 7b762832a4 [qtwin] Fix crash on pasting screenshots
Workaround for an issue with the Windows Qt version where Celestia crashes
when a copied screenshot is pasted into another application. This appears to
be because the data sent to the clipboard still contains a reference to the
data in the destructed Image object, despite the Qt documentation stating that
QClipboard::setImage causes the clipboard to take ownership of the data. This
does not occur if the QImage manages its own buffer.
2022-01-01 21:27:10 +01:00
Andrew Tribick 4a9403ecf5 Fix galaxy hue calculation 2022-01-01 12:38:54 +01:00
Andrew Tribick 33116aad4a Backport C++20 numbers header 2021-12-31 17:25:39 +01:00
Andrew Tribick e8ca56f575 Remove unused code and apply bugfixes to SphereMesh
- Remove unused overload of displace
- Fix some bugs retrieving wrong data element
- Use Eigen::Map to simplify vector code
- Remove dispmap.h/dispmap.cpp
2021-12-31 11:12:53 +01:00
Andrew Tribick 727e4c999b Remove unreachable returns 2021-12-30 22:33:18 +01:00
Andrew Tribick f0e6ff3673 Refactor bigfix and univcoord 2021-12-30 21:30:18 +01:00
Andrew Tribick ee74d05f92 Clamp universal position to within 2^62 microlightyears on x, y and z axes 2021-12-30 21:30:18 +01:00
Andrew Tribick c40c04f595 Remove unused memorypool sources 2021-12-30 21:23:58 +01:00
Andrew Tribick fb45b8461d Enforce lower bound on rings/slices for spheremesh
- Avoid potential division-by-zero errors if nSlices=0
- Remove unused SphereMesh constructors
- Un-deprecate the cms format
2021-12-30 13:29:29 +01:00
Andrew Tribick fd9ea94377 Add managers for galaxy/globular details to avoid destructor issues on exit 2021-12-30 11:58:44 +01:00
Andrew Tribick c632aea62d Use std::uint8_t in procedural texture code 2021-12-30 11:58:44 +01:00
Andrew Tribick 85e5bae406 Additional globular refactoring
- Store vector directly in GlobularForm
- Use local statics
2021-12-30 11:58:44 +01:00
Andrew Tribick 657f127a66 Refactor globular: namespace management 2021-12-30 11:58:44 +01:00
Andrew Tribick e8782ceeb0 Reduce indirection, re-use custom templates if possible 2021-12-30 11:58:44 +01:00
Andrew Tribick 31b67185dd Refactor galaxy: namespace management 2021-12-30 11:58:44 +01:00
Andrew Tribick 73176faeb4 Fix parameter order in 'Error loading star X for asterism Y' 2021-12-30 11:58:22 +01:00
Andrew Tribick f15443bf63 Remove WIP HDR implementation 2021-12-29 14:48:36 +01:00
Andrew Tribick 5678539e05 Remove unused particle system code 2021-12-29 14:48:36 +01:00
Andrew Tribick 86f2aab284 Remove glcontext.* 2021-12-29 14:48:36 +01:00
Andrew Tribick b683c7801d Return std::string_view from Tokenizer::getStringValue to reduce copying 2021-12-29 13:08:54 +01:00
Andrew Tribick 2a533b20d5 Remove getNameValue from tokenizer (duplicate functionality of getStringValue) 2021-12-29 13:08:54 +01:00
Andrew Tribick 1d77f75963 Remove celmath::clamp in favour of std::clamp 2021-12-29 12:32:16 +01:00
Andrew Tribick 657604c69a Replace invalid use of memcpy in curveplot
- Vertex is not trivially copyable, therefore memcpy is not allowed.
- Put local classes and functions into unnamed namespace.
- Remove using namespace std, using namespace Eigen.
- Prefer C++-style casts.
- Use C++17 std::clamp where appropriate.
- Use logger for debugging
2021-12-28 23:04:50 +01:00
Andrew Tribick 2069f1ce68 Use <iosfwd> instead of <iostream> in logger.h 2021-12-28 22:36:10 +01:00
Andrew Tribick ea320060dc Only pass -fno-rtti and -fno-exceptions for C++ 2021-12-28 22:14:51 +01:00
Hleb Valoshka 50deb54bff Remove unneeded fs::path.string() conversions 2021-12-28 21:14:29 +01:00
Andrew Tribick e4ea8e0df4 Remove filesystem compatibility implementation
Keep <experimental/filesystem> support for now, so we still need to use a
compatibility header to alias the namespace.
2021-12-28 21:14:29 +01:00
Andrew Tribick e6a7b32fee Remove string_view compatibility headers 2021-12-28 21:14:29 +01:00
Andrew Tribick d7b896c013 Remove pre-C++17 Eigen alignment code 2021-12-28 21:14:29 +01:00
Andrew Tribick 9651e9e265 Use inline constexpr for constants in header files 2021-12-28 21:14:29 +01:00
Andrew Tribick 1dc01e221e Collapse using declarations 2021-12-28 21:14:29 +01:00
Andrew Tribick 4f913eb3ad Collapse nested namespaces 2021-12-28 21:14:29 +01:00
Andrew Tribick 279c721373 Require C++17, CMake 3.8 2021-12-28 21:14:29 +01:00
Andrew Tribick d978e275dd Reject zero-sized chunks in 3DS reader 2021-12-28 20:23:34 +01:00
Andrew Tribick d541a3c9c6 Update Spice submodule 2021-12-28 20:05:05 +01:00
Andrew Tribick 22291cd795 Add PowerShell and sh scripts to clone/update content directory 2021-12-28 18:37:00 +01:00
Andrew Tribick a5ea219b27 CMake fixes
- [msvc] Remove defaulted /W option to prevent override warnings from Spice
- Fix capitalization of Perl in find_package
- Replace deprecated qt5_use_modules in cmodview
2021-12-28 18:21:38 +01:00
Hleb Valoshka 28f47b0dd8 Remove content submodule
Closes: #1260
2021-12-28 15:18:14 +03:00
Hleb Valoshka 3e93c71a95 [ci] Run test builds on ARM64 agent
Signed-off-by: Hleb Valoshka <375gnu@gmail.com>
2021-12-27 12:04:43 +03:00
Hleb Valoshka 98e5684e81 [ci] build usual gnu/linux on old ubuntu only and changes to src & workflow 2021-12-27 12:04:43 +03:00
Hleb Valoshka 15ea2f330f [ci] enable scanning with sonarcloud 2021-12-27 12:04:43 +03:00
Hleb Valoshka 2505e9a51f Fix Bulgarian translation file 2021-12-27 01:33:41 +03:00
Andrew Tribick c85e4550a7 Use submodule for Gaia EDR3 tool 2021-12-26 22:21:02 +01:00
transifex-integration[bot] 53439a5cfd Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-12-26 23:55:42 +03:00
Hleb Valoshka a264433697 [win32] Create logger earlier to fix segv
SplashScreen class uses LoadImageFromFile which calls GetLogger
2021-12-26 23:06:16 +03:00
Andrew Tribick 9385415788 Fix loop iteration in randutils 2021-12-26 18:09:58 +01:00
Levin Li 968199915c Add support for different temperature scales 2021-12-25 23:10:10 +08:00
Hleb Valoshka ab409356c1 Add versioned local config file support 2021-12-24 21:32:27 +03:00
Hleb Valoshka 29d76471f2 Fix search for stars orbiting barycenters
Closes: #1126
2021-12-24 14:50:58 +03:00
Levin Li f2caba91f1 Update content submodule 2021-12-24 18:38:19 +08:00
Hleb Valoshka 904e4220a8 [ci] build with glut support 2021-12-20 22:36:03 +03:00
Hleb Valoshka f34111c117 [glut] add missing using celestia::util::Level 2021-12-20 22:36:03 +03:00
Hleb Valoshka 14af83a391 Implement Logger to replace raw cerr/cout and DPRINTF usage 2021-12-20 17:54:50 +03:00
Andrew Tribick b94d084af3 Fix floating point from_chars implementation
- Do not assume a zero-byte terminator exists in the source
- Ignore exponent if format does not contain scientific
- Require exponent if format does not contain fixed
- Add support for hexfloat parsing
- Fail if a plus sign is present
- Add bitwise operations to chars_format
- Avoid use of unnamed namespace in header file
- Detect whether charconv is present and if floating point charconv is supported
2021-12-16 16:33:27 +01:00
Georgi 63d4de9d81 Bulgarian language update
adopted the latest changes
2021-12-14 23:49:23 +03:00
Hleb Valoshka 498dc6083c [po] Remove po2, update po 2021-12-14 13:16:18 +03:00
Hleb Valoshka 08b0cd0682 Use custom gettext file to translated object names 2021-12-14 13:16:18 +03:00
Andrew Tribick 2baab87bf0 [qt] Fix storing window state on transition to fullscreen 2021-12-10 20:33:09 +01:00
Hleb Valoshka a5f80d0608 [tests] fix catch_main linkage
This fixes the following error on my Ubuntu 18.04 with CMake 3.10.2:

CMake Error at cmake/TestCase.cmake:8 (target_link_libraries):
Target "catch_main" of type OBJECT_LIBRARY may not be linked into another
target. One may link only to STATIC or SHARED libraries, or to executables
with the ENABLE_EXPORTS property set.
Call Stack (most recent call first):
test/unit/CMakeLists.txt:6 (test_case)
2021-12-06 22:48:18 +03:00
Andrew Tribick 30dda19ef9 Fix warnings in celmodel
- Remove unused variables in createLinePrimitiveGroup
- Ensure result is always set in default case in BinaryModelWrite::writeVertices
2021-12-05 20:32:44 +01:00
Levin Li 9a94e2dc6b Allow to use a custom date formatter for display 2021-12-05 18:56:30 +08:00
Levin Li b9b02beb0e Use localized names at bottom right 2021-12-05 18:30:44 +08:00
Andrew Tribick 2793756f91 Components inherit visibility from first non-component ancestor
- Share visibility logic between Component and SurfaceFeature
- Avoid null dereference for Component/SurfaceFeature defined on stars
2021-12-04 22:48:46 +01:00
Andrew Tribick a670d8e3be Cleanup and fix celutil/util.h; rename to tzutil.h
- Replace deleteFunc with lambdas
- Remove unused printlineFunc, memsize
- string_view does not allow returning the TZ name, replace with std::string&
2021-12-04 11:44:36 +01:00
Andrew Tribick 82ddd20fe2 Code analysis cleanup
- Move modelview/projection matrices to render contexts that use them
- Do not create an unused second light in cmodview
2021-12-04 09:49:52 +01:00
Andrew Tribick bcbd538d0a Remove const_cast in cmodview by implementing Model::setMaterial 2021-12-04 09:49:52 +01:00
Andrew Tribick 7c5c903f47 Remove pointers from mesh and model vectors
- Hold models in unique_ptr
2021-12-04 09:49:52 +01:00
Andrew Tribick 3a02e59b83 Cleanup of operators and material uniquification 2021-12-04 09:49:52 +01:00
Andrew Tribick 8684543580 Store vertex data as array of 4-byte words 2021-12-04 09:49:52 +01:00
Andrew Tribick 019411dc21 Remove pointers from VertexDescription and PrimitiveGroup indices 2021-12-04 09:49:52 +01:00
Andrew Tribick b79959979a Extract inner types from Material and Mesh
- Remove using namspace cmod
- Convert enums to enum classes
2021-12-04 09:49:52 +01:00
Andrew Tribick 474057221b Refactor 3DS loading to avoid excessive use of unique_ptr 2021-12-04 09:49:52 +01:00
Hleb Valoshka 41936fc6bf Remove old fonts support 2021-11-30 14:39:33 +03:00
Hleb Valoshka f46a00f4f1 Remove automatic mipmap mode, as it duplicates the default mode 2021-11-29 12:26:19 +03:00
Hleb Valoshka 7228d408e0 Remove condition which is always true 2021-11-29 12:26:19 +03:00
Hleb Valoshka 8113dae087 Remove GLU usage in texture.cpp 2021-11-29 12:26:19 +03:00
Hleb Valoshka cd2293f6c6 Refactor texture caps 2021-11-29 12:26:19 +03:00
Andrew Tribick 965ee69a98 Replace C++-style comments with C-style comments in gtkegl.c 2021-11-26 19:02:19 +01:00
Andrew Tribick 9f7262bcce Refactor Material and Material::Color comparison operators 2021-11-25 19:11:06 +01:00
Andrew Tribick 990163ac35 Clean up namespaces and includes in model.cpp/model.h 2021-11-25 19:11:06 +01:00
Andrew Tribick 79234cda24 Remove inheritance from Material maps, Model destructor
- Reference texture maps by ResourceHandles in cmod Materials
- Add basic path manager for integration tests and tools
- Remove virtual destructor on Model class as nothing inherits from it
2021-11-25 19:11:06 +01:00
Hleb Valoshka 8a903b0d0d [celx] Add acceleration time to observer:gotoselection()
+ replace magic values with constants
 + small cleanup
2021-11-25 16:22:09 +03:00
Hleb Valoshka 189f6372e3 [celx] handle locations in object:localname() 2021-11-25 01:12:46 +03:00
Andrew Tribick aac69395bb Enforce minimum fmt version 6.1.0 to ensure float roundtrip 2021-11-21 14:39:49 +01:00
Andrew Tribick 7c38b34683 Add test for CMOD binary to ASCII to binary roundtrip 2021-11-21 14:39:49 +01:00
Andrew Tribick 4132f41889 Remove duplicated code from cmodfix 2021-11-21 12:32:37 +01:00
Andrew Tribick 06613bda27 Add unit tests for the tokenizer
- Added tests for the tokenizer
- Reorganized the tests so that the catch main method is only compiled once
- Fixed missing error return in the tokenizer found by the tests
2021-11-18 22:43:03 +01:00
Hleb Valoshka 6b853ce47f Fix fault due to result expanded to int 2021-11-19 00:41:52 +03:00
Hleb Valoshka 2ff075d843 [celx] Fix location type returned by loc:getinfo()
getFeatureType() returns std::uint64_t
  + C++14 style for lambda
  + tiny-tiny optimization around std::string usage
2021-11-18 10:57:42 +03:00
Andrew Tribick e92c3d9bd5 More forgiving handling of invalid UTF-8 sequences
- Report an error (once per stream)
- In string literals, append U+FFFD REPLACEMENT CHARACTER
2021-11-17 12:29:54 +01:00
Andrew Tribick 8ae1fcb88e Additional format checks for string escapes and numbers
- Disallow invalid string escapes
- Disallow numbers ending with a sign character (e.g. + or 3.2e-)
- Disallow exponents immediately after a sign (e.g. +e32)
2021-11-17 12:29:54 +01:00
Levin Li 5f947cfa2c Add atmosphere height to culling radius 2021-11-17 17:24:52 +08:00
Andrew Tribick e686619f2e Don't read DDS header twice, reallow triggering eof() 2021-11-17 08:26:09 +01:00
Hleb Valoshka 6e7787faf3 [ci] Split line for better readability 2021-11-17 09:49:32 +03:00
Hleb Valoshka 204fe018a8 [ci] Build both on Ubuntu 18.04 & latest 2021-11-17 09:49:32 +03:00
Levin Li 2c044240d7 Sync content repo 2021-11-17 14:00:11 +08:00
Andrew Tribick e78b51ad07 Fix ASCII material loading 2021-11-16 21:33:56 +01:00
Andrew Tribick d82043f914 Fix for fmt 4.0 (as used by Ubuntu 18.04 LTS) 2021-11-16 18:56:43 +01:00
Levin Li 7c933c576d Correctly finish rendering point stars before drawing new ones 2021-11-16 21:13:15 +08:00
Andrew Tribick b3efa631d9 Enforce maximum token length, error on invalid UTF-8 sequences 2021-11-15 18:28:06 +01:00
Andrew Tribick 0f1ed583ae Move internal cmod parsing code to unnamed namespace 2021-11-15 18:28:06 +01:00
Andrew Tribick 0d636696eb Add error checking in cmod read/write 2021-11-15 18:28:06 +01:00
Andrew Tribick f79b21e7d3 Use existing tokenizer to parse ASCII cmod files 2021-11-15 18:28:06 +01:00
Andrew Tribick 5e141eef21 Refactor random number and Perlin noise 2021-11-14 19:42:39 +01:00
Andrew Tribick debcca3a1c Further celmath cleanup
- Tidy up includes and namespace handling
- Replace Ray with Eigen::ParametrizedLine
2021-11-14 19:42:39 +01:00
Andrew Tribick 43f0cc416e Fix spelling of 'opening' 2021-11-14 12:12:52 +01:00
Levin Li 2cf37d3e70 Abandon line strips that are of size 0/1 2021-11-12 20:00:41 +08:00
Andrew Tribick da5f621a19 Set up common binary IO functions 2021-11-10 19:14:19 +01:00
Andrew Tribick 368d94c0ad Remove unused catalogxref code 2021-11-10 19:13:39 +01:00
Andrew Tribick dc2a506839 Remove unused celmath files 2021-11-08 23:29:00 +01:00
Andrew Tribick 80d098f3c9 Remove using namespace from headers 2021-11-06 16:28:45 +01:00
Andrew Tribick e00f5b7d2c Fix tools, cleanup, remove reinterpret_cast undefined behaviour 2021-11-05 19:53:05 +01:00
Andrew Tribick 61850bfb9b Use unique_ptr to indicate ownership in cel3ds 2021-11-05 19:53:05 +01:00
Andrew Tribick f3e5444003 Add error checking to 3DS loader 2021-11-05 19:53:05 +01:00
Andrew Tribick 71bfec795c Use templated functions in 3dsread (improve type safety) 2021-11-05 19:53:05 +01:00
Andrew Tribick ef10800e7c Clean up headers/using namespace in cel3ds 2021-11-05 19:53:05 +01:00
Andrew Tribick ec232b7fad Fix for debug builds
- Include fmt/ostream.h in debug.h to allow formatting filesystem paths
- Avoid including headers via debug.h on non-debug builds
2021-10-26 10:17:48 +03:00
SevenSpheres ab6bdd75fc Remove content section of README & add help files from 1.6.x branch 2021-10-25 10:13:47 -05:00
SevenSpheres 9f96552540 Some small fixes to documentation
Mostly ported from 1.6.x branch
2021-10-25 10:13:47 -05:00
Andrew Tribick c5d100f698 [qt] Fix info panel for retrograde and subsynchronous rotators 2021-10-24 14:51:57 +02:00
Levin Li dff29425fe Fix crash displaying localized DSOs 2021-10-23 17:35:18 +08:00
Hleb Valoshka 98768a5ea2 [ci] Add build in C++17 mode 2021-10-23 12:15:01 +03:00
Hleb Valoshka b6da4a73f9 [tests] Build filesystem test only if building own fs library 2021-10-23 12:15:01 +03:00
Hleb Valoshka 28f674565e Add and use Overlay::printf instead of Overlay::operator<< 2021-10-23 12:15:01 +03:00
Hleb Valoshka ede49e97c1 [cmake] Build own fs implementation only if needed 2021-10-23 12:15:01 +03:00
Hleb Valoshka 811ed4ff3c Fix a few error messages 2021-10-23 12:15:01 +03:00
Hleb Valoshka d417525d67 [cmake] Allow C++ standard definition via command line 2021-10-23 12:15:01 +03:00
Hleb Valoshka 481f81c664 [cmake] Use FindFilesystem instead of own code 2021-10-23 12:15:01 +03:00
Hleb Valoshka 5f050040fe [cmake] Import FindFilesystem 2021-10-23 12:15:01 +03:00
Hleb Valoshka 58d303478c [cmake] Set policy CMP0004 to NEW 2021-10-23 12:15:01 +03:00
Hleb Valoshka ccd01c460f Fix fs::path printing using fmt 2021-10-23 12:15:01 +03:00
GurrenLagannTSS 1951497aaf Fix spelling mistake (Cource to Source) 2021-10-21 23:39:29 +03:00
Hleb Valoshka 42790d9013 Replace deprecated fmt::fprintf calls 2021-10-19 19:35:23 +03:00
Levin Li 1613542c5d Fix duplicate in Body as well 2021-10-19 17:42:49 +08:00
Levin Li cb0fe13ecd Remove duplciates in star/dso name index 2021-10-19 17:42:49 +08:00
Andrew Tribick 11c0361324 Fixes for the Windows build
- Move the compatibility classes into the cel17 namespace
- Skip generating resource translations if Perl not present
- Use fmt/ostream.h instead of fmt/printf.h for string_view
2021-10-18 09:58:33 +03:00
Andrew Tribick e987a7035d Skip UTF-8 BOM if present 2021-10-18 09:58:19 +03:00
Andrew Tribick df94a78658 Rewrite tokenizer and remove custom float parsing 2021-10-18 09:58:19 +03:00
Hleb Valoshka aacdbaec95 Fix incorrectly updated condition 2021-10-14 17:33:19 +03:00
Levin Li d0ed0d79de Display AVIF support status in QT 2021-10-14 10:35:26 +08:00
Levin Li bf5689574d Make AVIF optional 2021-10-14 10:35:26 +08:00
Levin Li 406f0b3036 Update CI and INSTALL.md 2021-10-14 10:35:26 +08:00
Levin Li 7a91ba9311 Update build script 2021-10-14 10:35:26 +08:00
Levin Li a45425c374 Support AVIF texture 2021-10-14 10:35:26 +08:00
transifex-integration[bot] 4cbc70ec8d Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-10-10 19:59:10 +03:00
SevenSpheres cfc77c67d8 Update celestia.cfg 2021-10-07 10:47:35 +03:00
Hleb Valoshka e7ee8ba045 Update content submodule 2021-10-06 15:29:19 +03:00
Levin Li be980acf11 Update celestia.cfg to include descriptions of new parameters 2021-10-05 00:11:10 +08:00
SevenSpheres 9133103817 Update celestia.cfg 2021-10-03 16:13:51 -04:00
Levin Li b04ffab738 Add support in .cfg 2021-09-28 14:03:24 +08:00
Levin Li f0db65c8f6 Add support for imperial units 2021-09-28 14:03:24 +08:00
Levin Li 103ba3e889 Translate well known star and dsos 2021-09-28 13:14:12 +08:00
Hleb Valoshka 6d23c903b2 [tests] update catch.hpp to fix build with glibc 2.34
Closes: #1117
2021-09-24 09:44:16 +03:00
Hleb Valoshka 8cd7bd1036 Allow to use Lunar-Lambert and specular together 2021-09-21 16:27:09 +03:00
Suleyman Poyraz 506d7c600c Updated Turkish Translations.
*Turkish Translation reviewed.
* Fixed translation.
    I don't think just one /n cause problem :)
2021-09-13 09:35:32 +03:00
Hleb Valoshka a2a67c59e8 Fix a bug in fs::recursive_directory_iterator()
The 4th element of directory_iterator() controls if it should advance to
the first non special directory entry (not . nor ..).

If m_iter advances itself and m_iter->path() is a directory then the next
call to recursive_directory_iterator.increment() will not step down into
this directory.
2021-09-06 20:53:36 +03:00
Hleb Valoshka 6f666280fd [celx] fix paths in loadtexture() and runscript() 2021-09-06 20:53:36 +03:00
Hleb Valoshka 4786cac9f4 [win] Fix Chinese grammar used in China and Taiwan 2021-08-31 09:28:19 +03:00
Hleb Valoshka 8e5a89a5a7 [win] build DLLs with UI translation 2021-08-30 11:10:47 +03:00
Hleb Valoshka f4ef910886 [win,ci] skip ffmpeg installation 2021-08-30 11:10:47 +03:00
Hleb Valoshka b067799a3c Use old way to capture video in windows environment 2021-08-23 11:04:03 +03:00
Hleb Valoshka f731579681 Revert "Refactor movie capture to use FFMPEG only" 2021-08-23 11:04:03 +03:00
Hleb Valoshka 7b52f23c97 Open log file with relative name in the current dir not in the data dir 2021-08-09 08:58:52 +03:00
Andrew Tribick f5f8d895db Match line length in row inversion with Image constructor 2021-07-31 16:35:25 +03:00
Hleb Valoshka 8153d2b5b4 [celx] Use default GLSL program in gl.Begin 2021-07-29 10:36:37 +03:00
Hleb Valoshka 1f286c67d2 [qt] Remove menu and toolbars in fullscreen mode
Based on GottfriedSp code
2021-07-27 08:19:32 +03:00
Konstantin Podsvirov dec8acafe5 Refine the URL of the Spice submodule 2021-07-22 22:57:56 +03:00
Hleb Valoshka b3d37663f3 Fix errors and warnings with VC++2019 2021-07-13 10:03:38 +03:00
Hleb Valoshka d6ceb8176c [cmake] don't compile qttxf 2021-07-13 10:03:38 +03:00
Hleb Valoshka 53b2012b82 [fs] add current_path() function 2021-07-13 10:03:38 +03:00
Levin Li 32baed9bcd Do not rely on clamp to border on ring textures 2021-06-28 22:21:13 +08:00
Joseph C Wang 05cb7196b5 make it compile with fmt v8 2021-06-27 20:52:35 +03:00
Hleb Valoshka e78a178a16 [win32] Fix "codecs" combobox
The 3rd parameter is a position not a special id associated with the entry
2021-06-24 17:59:04 +03:00
Hleb Valoshka 4cc79c1349 Add support for ffmpeg 4.4 2021-06-24 17:59:04 +03:00
Hleb Valoshka e20a07ae94 [cmake] Remove cotire completely 2021-06-24 17:59:04 +03:00
Hleb Valoshka 7b5adfffd3 [cmake] Remove workaround for static libintl
We need a more generic and simpler way to add additional dependencies
manually.
2021-06-24 17:59:04 +03:00
Hleb Valoshka d3cfa9f333 [cmake] Rename FindCspice to FindCSPICE 2021-06-24 17:59:04 +03:00
Hleb Valoshka 1c68ecdd8e [cmake] Update FindFFMPEG 2021-06-24 17:59:04 +03:00
Hleb Valoshka d394192999 Allow binary orbits without text source
Closes: #1088
2021-06-24 09:41:15 +03:00
Hleb Valoshka 03388d6d1d Add support for more JPL compatible ephemerides
Original patch was posted to https://celestia.space/forum/viewtopic.php?f=4&t=17282

====================================
Here comes the original description:
====================================
Before this update, the celestia code supports only JPL Big Endian
ephemerides DE406/DE405/DE200.

The big endian ephemeris DE406 comes in chunk of 300 years. If you
want to concatenate several pieces, using the software provided by JPL
(which does not handle endianess), you need a big endian platform. The
little endian DE406 comes in one piece of 6000 years, so you don't
even need to concatenate this one.

This commit adds the following:
- support for both endianess with autodetection of endianess
- support for all JPL DE ephemeris (from DE200) with autodetection of
record size.
- support for JPL DE compatible ephemeris such as the INPOP ephemeris
from Paris observatory (only the ephemeris files in the legacy JPL DE
compatible format and with timescale TDB, not the INPOP native format,
or the TCB files). http://www.imcce.fr/inpop/download10e.php

The method to autodetect ephemeris type, record size and endianess is
based on the CALCEPH software.
It would probably be better if possible to wrap around the CALCEPH
library (so that it would also support INPOP native format) but this
would be more work.

In addition to the ephemeris number and the start and end date, the
record size and endianess are also printed to the log (which you get
by pressing the tilde key).
If the ephemeris is an INPOP ephemeris, then the ephemeris number is
not printed to the log: it just says "INPOP".

It has been tested with:
- DE406 big endian
- DE406 little endian
- DE405 big endian
- DE423 little endian
- INPOP10A little endian
on Linux/x86_64.

However, no accurate regression testing has been performed. It has
only been tested visually that the planets orbits do not look wrong
and that the log is reporting the correct endianess, record size and
ephemeris name.
2021-06-16 15:38:51 +03:00
Hleb Valoshka d4c8cc8149 Star classes T5-Y should not have glow around them 2021-06-16 15:38:44 +03:00
Hleb Valoshka e1cec55218 Fix movie capture in GL ES environment 2021-06-16 14:15:32 +03:00
Hleb Valoshka bece12f6e4 Refactor Image class and image capture
* use GL_MESA_pack_invert to flip captured buffer
 * move enum PixelFormat to own file
 * use PixelFormat instead of GL formats in Image
 * provide captureImage() in CelestiaCore
 * use CelestiaCore methods to capture images in Qt UI
2021-06-16 14:15:32 +03:00
Levin Li c7018259a6 Remove alpha channel for DXT1 textures 2021-06-15 09:36:14 +08:00
Levin Li 5d1bcc2256 Remove make_unique compat 2021-06-13 15:50:22 +08:00
Levin Li fbc165c9d6 Drop C++11 and defaults to build with C++14 2021-06-13 15:50:22 +08:00
transifex-integration[bot] 42bb3103ed Translate /po/celestia.pot in bg
translation completed updated for the source file '/po/celestia.pot'
on the 'bg' language.
2021-06-12 18:55:05 +03:00
Hleb Valoshka 9ec482e24e Update installation instructions 2021-06-09 14:15:18 +03:00
Hleb Valoshka 5cba3df157 Position label in front of star drawn as mesh
Closes: #1041
2021-06-09 14:15:05 +03:00
Andrew Tribick 83a98802ee Add .vscode to .gitignore 2021-06-08 14:24:14 +08:00
Hleb Valoshka 098a383c78 Fix formatting in shader code 2021-06-07 23:10:04 +03:00
Hleb Valoshka 1c6219ed7a Don't calculate light half vector in vertex shader
1) It's already calculated in CelestiaGLProgram::initParameters()
2) This decreases number of varying floats by 3 per light, so for the case
listed in #593 we save 9 floats, so 8 are available.
2021-06-07 23:10:04 +03:00
Hleb Valoshka 51f8af2479 [win32] Add "select primary body" menu entry to win UI 2021-06-07 10:43:16 +03:00
Hleb Valoshka 45635522dc [win32] Add minor moons and dwarf planets into an object's context menu (Closes: #459) 2021-06-07 10:43:16 +03:00
Hleb Valoshka 0efba5944b [win32] Fix compilation without FFMPEG 2021-06-07 10:43:16 +03:00
Hleb Valoshka 378a431532 [qt] Use QFileDialog::getSaveFileName to select video file 2021-06-06 08:44:21 +03:00
Hleb Valoshka 076662df9f Fix warnings produced by MSVC 2021-06-06 08:44:21 +03:00
Hleb Valoshka 6e83aa9e04 Refactor movie capture to use FFMPEG only 2021-06-06 08:44:21 +03:00
Hleb Valoshka 8dab250f22 Use FFMpeg to capture video 2021-06-06 08:44:21 +03:00
Hleb Valoshka 5af65a58f3 [cmake] Remove cotire usage
* It doesn't work with cmake >= 3.12 and M$ VC++ (not a big issue)
* It doesn't work with extern "C" properly (blocks FFMPEG)
* It's unmaintained
2021-06-06 08:44:21 +03:00
Levin Li 04c6b40c50 Fix parsing URLs containing non ascii values 2021-06-05 15:57:06 +08:00
Hleb Valoshka c9f04184fa [tools] bump requests version to 2.25.1 to fix compatibility with urllib3 2021-06-03 11:33:20 +03:00
Hleb Valoshka 16a3f65ed0 try 2021-06-03 10:45:58 +03:00
Hleb Valoshka ecd99f948c [CI] Enable github actions for windows 2021-06-03 10:45:58 +03:00
Andrew Tribick 4c24b235b6 Remove duplicated assets 2021-06-03 10:45:44 +03:00
dependabot[bot] 79ccbe4f9b Bump urllib3 from 1.25.10 to 1.26.5 in /src/tools/celestia-gaia-stardb
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.10 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.10...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 15:01:22 +08:00
Levin Li 28bb2b52bd Fix compatibility with QT6 2021-05-31 15:13:02 +08:00
Levin Li cc3c6df49c Avoid showing duplicate names 2021-05-31 08:11:54 +08:00
Levin Li 009e09df63 Clear dateStrWidth on clearFonts 2021-05-27 16:34:33 +08:00
Levin Li fd2ba19d79 Add back support for URL version 4 2021-05-26 08:40:34 +08:00
Levin Li b4858b1e72 Use shared_ptr around TextureFont 2021-05-24 08:37:01 +08:00
Levin Li c79979a477 Query directly into localizedNameIndex for i18n completion 2021-05-24 08:36:34 +08:00
Andrew Tribick 3836d4cf23 [qt] Fix deprecation warnings 2021-05-23 16:25:38 +03:00
Levin Li f72f5993c6 Apply changes to frontends 2021-05-23 11:03:07 +08:00
Levin Li e3297b7775 Namespacing Marker* and Rect 2021-05-23 11:03:07 +08:00
Hleb Valoshka d1e62e9d23 [pkg] fix debian/control 2021-05-22 09:18:30 +03:00
Levin Li d6270ecac2 i18n for star and dsos in code 2021-05-22 09:34:34 +08:00
Hleb Valoshka c72c4aef51 [CI] Package some tools 2021-05-21 17:44:43 +03:00
Hleb Valoshka 88e2f742d7 Fix signed/unsigned mismatch in comparrisions 2021-05-21 17:44:43 +03:00
Hleb Valoshka 1c078b1186 Don't use deprecated methods 2021-05-21 17:44:43 +03:00
Hleb Valoshka 1e55054eb1 [pkg] add missing build-depdendency on cmake to debian/control 2021-05-21 17:44:43 +03:00
Levin Li 0fb2b4e7c0 Add an option to not search for localized version of a script 2021-05-17 08:00:40 +08:00
Levin Li 9d74b326a9 Implement skip_permission_denied and align behavior with std::filesystem 2021-05-17 08:00:17 +08:00
Levin Li 72367cc1b7 HiDPI mouse events for QT 2021-05-16 10:15:52 +08:00
Levin Li 631d109741 Support HiDPI on QT front end 2021-05-15 07:57:40 +08:00
transifex-integration[bot] 83f7ca59b2 Translate /po/celestia.pot in zh_CN
translation completed updated for the source file '/po/celestia.pot'
on the 'zh_CN' language.
2021-05-14 10:40:54 +08:00
transifex-integration[bot] abb34b4f99 Translate /po/celestia.pot in ru
translation completed for the source file '/po/celestia.pot'
on the 'ru' language.
2021-05-12 17:38:26 +03:00
Levin Li d79a4ac43b Sort DSO directories in extras directories 2021-05-11 16:28:13 +08:00
transifex-integration[bot] f11e4d6864 Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-10 23:30:24 +03:00
transifex-integration[bot] f1c8eb2ae5 Translate /po/celestia.pot in be
translation completed for the source file '/po/celestia.pot'
on the 'be' language.
2021-05-10 23:07:29 +03:00
Hleb Valoshka e356f9339e Fix a few strings 2021-05-10 23:03:53 +03:00
Hleb Valoshka 4c09e9d77a [cmake] very simple implementation of target_link_directories 2021-05-10 19:47:15 +03:00
munix9 4d67bf0cee Update INSTALL.md 2021-05-10 09:37:00 +03:00
Levin Li 87e2aefc0c Update azure-pipelines.yml and INSTALL.md 2021-05-09 15:10:51 +08:00
Levin Li bf10d8d6e1 Make theora and gtk usable on Mac 2021-05-09 15:10:51 +08:00
transifex-integration[bot] 5dd7444720 Translate /po/celestia.pot in bg
translation completed updated for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-08 19:20:42 +03:00
transifex-integration[bot] 12dbdac148 Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-08 19:17:28 +03:00
transifex-integration[bot] 97a393f6b2 Translate /po/celestia.pot in be
translation completed updated for the source file '/po/celestia.pot'
on the 'be' language.
2021-05-08 13:56:57 +03:00
Levin Li 657eb4a1d5 Speed up start_ru.cel
Also converting the file to UTF-8
2021-05-08 18:31:37 +08:00
Hleb Valoshka 08d2a0b7eb [i18n] Update translation files 2021-05-08 13:13:37 +03:00
Hleb Valoshka c906f917eb [i18n] translate more strings 2021-05-08 13:13:37 +03:00
Hleb Valoshka 668a6023e9 [win32] Remove useless check for nullptr 2021-05-08 13:13:37 +03:00
transifex-integration[bot] 50800f4f22 Translate /po/celestia.pot in bg
translation completed updated for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-06 23:14:48 +03:00
Hleb Valoshka 1ee185318e Update translations 2021-05-05 15:04:47 +03:00
Hleb Valoshka ca95ccc4b8 [qt] Place colons before closing "b" tag 2021-05-05 15:04:47 +03:00
Hleb Valoshka a7b5ed202f [i18n] Use C_ macro to correctly translate "Spacecraft" 2021-05-05 15:04:47 +03:00
Hleb Valoshka e65e535a2e [i18n] Add support for context-dependent translations 2021-05-05 15:04:47 +03:00
Hleb Valoshka dd9b91f459 Fix rendering of elliptical bodies' rings 2021-05-05 15:04:31 +03:00
Levin Li 499e115a70 Remove Eigen and fmt submodules 2021-05-03 21:01:55 +03:00
Hleb Valoshka cb8c1e8f03 [utils] add generic util::ResolveWildcard() method 2021-04-25 14:22:59 +03:00
Hleb Valoshka f8105c1bda [compat] add fs::path::replace_extension() 2021-04-25 14:22:59 +03:00
transifex-integration[bot] 4c5769ff17 Translate /po/celestia.pot in ru
translation completed for the source file '/po/celestia.pot'
on the 'ru' language.
2021-04-21 17:56:56 +03:00
Hleb Valoshka 173f2399ff Disable depth writing for objects rendered as points (Closes: #947) 2021-04-19 10:24:20 +03:00
Hleb Valoshka c9d2b4ac79 [gtk] Allow Gtk3 usage 2021-04-18 10:41:21 +03:00
Hleb Valoshka 460046776b [gtk] Update information shown in help->about 2021-04-18 10:41:21 +03:00
Hleb Valoshka 2efdd54233 [gtk] Set max width of tour description widget (Gtk3 compatibility)
It's too wide with Gtk3.
2021-04-18 10:41:21 +03:00
Hleb Valoshka a84958355a [gtk] Enable processing of scroll-event signals (Gtk3 compatibility) 2021-04-18 10:41:21 +03:00
Hleb Valoshka 0e97ade98a [gtk] Add own implementation of EGL-capable window 2021-04-18 10:41:21 +03:00
Hleb Valoshka e3c62264e5 Remove reference to bintray from INSTALL.md 2021-04-17 21:23:16 +03:00
Hleb Valoshka 2de9a72027 [gtk] Fix speed in Time menu 2021-04-14 08:44:48 +03:00
Hleb Valoshka 375e45f857 [gtk] Hide options dialog instead of removal (Closes: #17) 2021-04-14 08:44:48 +03:00
Hleb Valoshka 828e7d44e1 [gtk] Use cairo if present 2021-04-14 08:44:48 +03:00
Hleb Valoshka b43f2abe24 [gtk] Replace deprecated API with Gtk3 compatible 2021-04-14 08:44:48 +03:00
Levin Li 3de6707b0c Include setjmp.h for jpeg.cpp 2021-04-10 21:33:23 +08:00
SevenSpheres 9582eef708 Update star data
Update of temperatures and bolometric corrections for all main-sequence stars and brown dwarfs. Also updated temperature for the Sun.
2021-04-09 14:37:12 -04:00
transifex-integration[bot] 8746f9501b Translate /po/celestia.pot in zh_CN
translation completed updated for the source file '/po/celestia.pot'
on the 'zh_CN' language.
2021-04-09 21:32:24 +03:00
Hleb Valoshka 77af6f7419 Refactor images related code
* move different formats support to its own directory
 * add common CaptureBufferToFile subroutine
2021-04-06 10:23:53 +03:00
Hleb Valoshka ad5f3d31b3 Change texture clamp mode for stars to Texture::EdgeClamp
For better compatibility with OpenGL ES
2021-04-05 13:33:32 +03:00
Hleb Valoshka ccd0d64bdc [gtk] Fix buffer overflow in eclipse finder
Fixes: #935
2021-03-30 14:23:51 +03:00
Levin Li 37de4c3784 Fix incorrect bracket around & 2021-03-30 15:23:54 +08:00
Hleb Valoshka 94ed734f83 Add Doxygen config 2021-03-29 10:35:56 +03:00
Levin Li 164d8ef8bd Avoid usiing reserve and assign by index, as it might result in undefined behavior 2021-03-27 22:30:39 +08:00
Levin Li 80fb64ecc5 Use quoted include for lua.hpp 2021-03-27 22:30:39 +08:00
Levin Li dc88685c2c Fix compilation with std filesystem 2021-03-27 22:30:39 +08:00
Hleb Valoshka b8dd1d2282 Refactor software DDS decoder
* Use C++ memory API (new/delete) instead of malloc/free
 * Remove unneeded variables
 * Format using clang-format
 * Use PackRGBA instead of hardcoding color value
2021-03-19 11:00:49 +03:00
Levin Li 2f7662fd3b Avoid undefined behavior caused by passing negative value to isdigit 2021-03-15 17:44:55 +08:00
Levin Li 7a21915460 Add missing using namespace std; 2021-03-15 17:44:55 +08:00
Levin Li 2f12dd9452 Add some utils for apple platform and remove functions for portable builds 2021-03-15 17:44:55 +08:00
Levin Li 08037d78e8 Add cctype include for toupper 2021-03-15 17:44:55 +08:00
Levin Li 8540ed5d9f Move UI related code to celestia/win32 2021-03-15 17:44:55 +08:00
Levin Li bce3dd0b9d Use new[] for GalaxyVertices 2021-03-14 20:40:59 +08:00
Levin Li 4959ffbe6e Correctly set __cplusplus with /Zc:__cplusplus 2021-03-14 20:40:59 +08:00
Levin Li a32e905556 Fix for lua 5.4 2021-03-14 20:40:59 +08:00
Levin Li e24d7e002d Use string_view.data instead of .begin and .end 2021-03-14 20:40:59 +08:00
Levin Li 2ccf453644 Make dds_decompress .cpp instead of .c 2021-03-14 20:40:59 +08: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
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
Levin Li 16f06574ab Use GL_RGBA to read pixels on GLES 2020-11-12 22:54:06 +08:00
Levin Li b64abb2a56 Allow to block text display with text display hander 2020-11-09 22:29:03 +08:00
Levin Li 1a2ccd2d59 Add callback for text display 2020-11-07 07:20:50 +08:00
dependabot[bot] 6739779ce0 Bump cryptography from 2.7 to 3.2 in /src/tools/celestia-gaia-stardb
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.7 to 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/2.7...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-28 13:29:19 +08:00
Levin Li 021d821031 Automatically adopt font DPI from screen DPI 2020-10-27 20:33:10 +08:00
Levin Li b1d7797e54 Restore sun halo 2020-10-27 16:53:59 +08:00
Levin Li aca0243488 Add scale for globular shader for HiDPI 2020-10-25 16:29:26 +08:00
Levin Li 8129589490 Fix potential crash in galaxy rendering 2020-10-23 16:05:20 +08:00
Levin Li 8fe5f876a3 Fix wrong constellation name in zh_CN.po 2020-10-19 20:24:18 +08:00
Levin Li 2a6abbce9d Support configurable pick tolerance 2020-10-11 16:53:37 +08:00
Levin Li 536c064160 Fix crash in DDS and galaxy picking 2020-10-11 16:53:12 +08:00
Levin Li 17cd02b3cc Add view port effect for post processing 2020-10-10 20:18:15 +08:00
Levin Li 1f8cc6bb52 Enable point fade 2020-10-09 01:23:42 +08:00
Levin Li 1f150db611 separate modelview and projection 2020-10-06 13:39:09 +08:00
Levin Li 5f2484cf5a Fix depth test for rendering object 2020-09-29 17:32:35 +08:00
Levin Li 94930934aa Safety check 2020-09-28 20:37:31 +08:00
Levin Li 431f2b7a98 Support DXTc software decompressing 2020-09-28 20:37:31 +08:00
Levin Li d92e5a2151 Update .appveyor.yml 2020-09-28 11:13:16 +08:00
Melroy van den Berg 6891b7560b Change domain to https://celestia.space/ 2020-09-08 21:56:32 +03:00
Tom Callaway 316d7c4a06 update ambiguous licensing 2020-08-25 12:37:51 +03:00
Georgi acd80d7dc3 Update bg.po 2020-08-09 11:42:07 +03:00
Georgi b9fb55d3aa Update bg.po 2020-08-09 11:42:07 +03:00
Georgi 2e16877701 Update start_bg.cel 2020-08-09 11:42:07 +03:00
Georgi 8378a3f72b Update guide_bg.cel 2020-08-09 11:42:07 +03:00
Georgi a20ded92e8 the actual commit 2020-08-09 11:42:07 +03:00
Georgi 331c2b0725 Update controls_bg.txt 2020-08-09 11:42:07 +03:00
Georgi b6b6d0ee66 Update TRANSLATORS 2020-08-09 11:42:07 +03:00
Georgi c5c40dfcd8 Add files via upload 2020-08-09 11:42:07 +03:00
Konstantin Podsvirov 5c17a06661 Building celestia-sdl with MinGW
Tested with SDL2 library from MSYS2 software distribution.
2020-08-07 11:48:39 +03:00
Hleb Valoshka 929390eec6 Use internal state management to check MSAA state 2020-08-05 09:58:26 +03:00
Hleb Valoshka 8768f3497a Refactor depth state changing 2020-08-05 09:58:26 +03:00
Hleb Valoshka c26f64a89e Remove unneeded texture unbinds 2020-08-05 09:58:26 +03:00
Hleb Valoshka 6e8dbde814 Remove unneeded glUseProgram(0) 2020-08-05 09:58:26 +03:00
Lars Rosenboom 18dd48db0e Update INSTALL.md
freetype was missing in the list of "required packages" on macOS (tried to compile on 10.15.6 Catalina yesterday).
2020-08-03 09:53:21 +03:00
Levin Li 0d4cda24ed Add missing log level in DPRINTF 2020-08-02 19:32:21 +08:00
Hleb Valoshka 908f04d271 Make extinction distance dependent 2020-08-02 09:04:57 +03:00
Hleb Valoshka a8b609d75a Add extinction parameter for stars 2020-08-02 09:04:57 +03:00
Hleb Valoshka 1e95fdc777 Use Star::getApparentMagnitude instead of astro::absToAppMag 2020-08-02 09:04:57 +03:00
Levin Li f1517ee88d More fixes to is_directory check 2020-08-02 07:57:44 +08:00
SevenSpheres de411493c6 Add celestia-gaia-stardb 2020-08-01 10:06:17 +08:00
Hleb Valoshka 4abb9d2bb0 Add apparent extinction parameter for stars
Closes: #599
2020-07-26 18:39:06 +03:00
Hleb Valoshka 89991fb773 Natural order sorting for typed text completions 2020-07-26 11:14:04 +03:00
Hleb Valoshka d3e0912a71 Fix incorrectly calculated temperature for barycenter orbiting planets
Closes: #812
2020-07-26 08:31:03 +03:00
Hleb Valoshka 8946c34d7b Fix console up scroll 2020-07-25 09:41:21 +03:00
Hleb Valoshka 686d82e6c1 Replace fmt::fprintf with DPRINTF in albedo warning
Will restore in 1.8
2020-07-25 09:41:21 +03:00
Georgi ab63836de8 Update bg.po 2020-07-24 09:16:35 +03:00
Georgi 98f4ab83b8 Constellations into Bulgarian language 2020-07-24 09:16:35 +03:00
Levin Li 68a741d668 Fix console display with hidpi 2020-07-23 14:38:52 +08:00
Hleb Valoshka 6f0d9226a5 Calculate temperature for planets orbiting barycenters
Closes: #674
2020-07-23 09:36:29 +03:00
Hleb Valoshka 15ce6b1c91 Prefer asteroids over moons when getting orbit classification
Closes: #512
2020-07-23 09:36:10 +03:00
Hleb Valoshka 9c78f9c705 Allow to skip files in "extras"
Closes: #416
2020-07-22 09:04:08 +03:00
Hleb Valoshka 3fc58d3c55 Allow OrbitColor overriding for reference points
Closes: #805
2020-07-21 14:39:20 +03:00
Hleb Valoshka 8cec287e10 Sync turkish and chinese translations with transifex 2020-07-19 18:24:09 +03:00
Hleb Valoshka 84835d1cf6 Update lithuanian translation based on #801 2020-07-19 18:24:09 +03:00
Levin Li 96165c1153 msgmerge 2020-07-15 19:37:54 +08:00
Levin Li e90a3ea8ec Update ja.po 2020-07-15 19:37:54 +08:00
Hleb Valoshka e5f662ef65 Update translation template 2020-07-14 19:22:01 +03:00
Hleb Valoshka e6d3836e15 Extract names from dwarfplanets.ssc and minormoons.ssc 2020-07-14 19:22:01 +03:00
Hleb Valoshka 82e61060c5 Take loader initialization out of loop 2020-07-13 11:24:14 +03:00
Hleb Valoshka 219678fa98 Sort extras entries before loading 2020-07-13 11:24:14 +03:00
Hleb Valoshka 39d62659f9 Fix build failures reported by munix9 2020-07-13 11:23:50 +03:00
Hleb Valoshka a0f6a2c1ff Don't build static archives
1) We don't need them
2) There are issues with MinGW as CMake adds *.a together with *.so to
linker, so it's unable to resolve proper source of exported functions
2020-07-12 10:41:53 +03:00
Hleb Valoshka 0eda63121c Provide common celestia library instead of linking it to all frontends 2020-07-12 10:41:53 +03:00
Hleb Valoshka d7257adacc Don't distribute fonts with debian package, use fonts-dejavu-core package 2020-07-12 10:41:53 +03:00
Hleb Valoshka 4d911e41a6 Don't install legacy *.txf fonts 2020-07-12 10:41:53 +03:00
Hleb Valoshka ddbe9ddd1d Refactor astro.*/url.* to remove extern global variables 2020-07-12 10:41:53 +03:00
Hleb Valoshka 41f6b95c72 Add state tracking for depth 2020-07-08 15:09:18 +03:00
Hleb Valoshka e2bbd838a5 Add state tracking for blending 2020-07-08 15:09:18 +03:00
Hleb Valoshka 0811e7c350 Remove make_shared and make_unique to keep single style 2020-07-07 08:15:18 +03:00
Levin Li 7c81df8850 Fix crash due to init of TwoVectorFrame 2020-07-06 08:24:59 +08:00
Levin Li 06c688ad40 Larger star on hidpi screens 2020-07-04 19:39:37 +08:00
Levin Li c8338ea91f Fix point sso rendering on macOS 2020-07-01 21:43:53 +08:00
Hleb Valoshka 9e956abe3d Remove support for legacy TXF fonts 2020-06-24 17:14:31 +03:00
Levin Li 56ac73be36 Replace is_directory checking method 2020-06-23 21:13:12 +08:00
Hleb Valoshka 0754b85ee1 Add `scroll` method for Console 2020-06-23 14:41:40 +03:00
Hleb Valoshka ce533c9cc1 Make planet to point transition less ugly 2020-06-22 21:25:44 +03:00
unknown 94cd51ac64 Replace LF with CRLF for render info on Windows 2020-06-22 17:27:10 +08:00
Hleb Valoshka 4fd0562386 [win] promote warning C4316 to an error
...to prevent program abnormal termination if classes with members of
Eigen::* types are misaligned in memory
2020-06-22 08:24:10 +03:00
Hleb Valoshka 5b7ad7f9ca Properly align classes with members of Eigen::* type 2020-06-22 08:24:10 +03:00
Hleb Valoshka bd3cd7cc06 Provide win32 builds with debug information enabled 2020-06-22 08:24:10 +03:00
Levin Li 1a29294772 Check path empty before check is_directory 2020-06-22 08:29:42 +08:00
unknown 10e25e808d Do not call bind_text_domain_codeset 2020-06-21 23:35:51 +08:00
unknown 313f762a80 Add native font control to dialogs 2020-06-21 23:35:51 +08:00
unknown 852b696ea2 Fix crash on eclipse finder 2020-06-21 23:35:51 +08:00
unknown b6334718ba Fix string cut off during conversion 2020-06-21 23:35:51 +08:00
Levin Li 14df4fc955 Support reading font face for a specific index from .cfg 2020-06-21 23:17:04 +08:00
Levin Li 9d4043b9fa Fix potential crash caused by substring index 2020-06-21 19:31:07 +08:00
Hleb Valoshka 1c668d3d7f Fix warnings reported by clang/gcc 2020-06-20 10:11:09 +03:00
Levin Li 0e1983f48a Update CMakeLists.txt 2020-06-20 14:00:32 +08:00
Levin Li dbe84c16c4 Update CMakeLists.txt
On Mac with Xcode, CMAKE_CXX_COMPILER_ID is AppleClang
2020-06-20 14:00:32 +08:00
Levin Li 42c7625bf6 Additional safe area inset change
Console background
2020-06-18 23:10:58 +08:00
Hleb Valoshka b18ad6189c Fix alignment of TextureFontPrivate
should fix SIGBUS / BUS_ADRALN on Android
2020-06-17 13:13:34 +03:00
Hleb Valoshka 5124962d07 [qt] Don't use deprecated features 2020-06-16 21:59:21 +03:00
Hleb Valoshka 9a91bfebdb Fix some warnings found by clang++ 2020-06-16 21:59:21 +03:00
Hleb Valoshka f0110afdd8 [cmake] Add useful policies 2020-06-16 21:59:21 +03:00
Hleb Valoshka 794e833a42 Remove legacy build files 2020-06-16 21:59:21 +03:00
Hleb Valoshka ea4f89113a Use flush() before rebuilding atlas
...to avoid garbled output due to changed texture
2020-06-16 21:59:21 +03:00
Levin Li 2228773646 Better support for HiDPI for text 2020-06-16 12:32:27 +08:00
Hleb Valoshka 4619ba1a1a Check angle between normal and a light when applying shadow
to avoid shadow projection on back side (if looking from the light)
2020-06-15 19:27:46 +03:00
Hleb Valoshka 6b8a1fe6b3 Fix flickering edges on iOS
Li: "rq * rq - qq might be negative, and produce nan in this case,
which got translated into the largest float point number to displayed
as white"
2020-06-15 19:27:46 +03:00
Hleb Valoshka c588f80824 OpenGL ES 2.0 initial support 2020-06-15 19:27:46 +03:00
Levin Li 20b066cbcd Fix garbled text 2020-06-15 23:41:40 +08:00
Levin Li 2ce81471f6 Set font with DPI value 2020-06-10 19:41:41 +08:00
Hleb Valoshka ba308e4f19 Fix typo 2020-06-10 09:06:57 +03:00
Hleb Valoshka 0b6940565a [celx] Update ColorAttributeIndex value in gl.Color
...to fix font colors
2020-06-09 21:28:37 +03:00
Hleb Valoshka 457fcc1bac [celx] Return text width from font:render
...instead of updating ModelView matrix, fixes text rendering in LUT5
2020-06-09 21:28:37 +03:00
Hleb Valoshka a33e24914b [celx] Add method celestia:version() 2020-06-09 21:28:37 +03:00
Hleb Valoshka d9243202fa [celx] Add method font:unbind() 2020-06-09 21:28:37 +03:00
Hleb Valoshka e9c7de007a Add missing Overlay::beginText/endText 2020-06-09 13:53:34 +03:00
Levin Li 0110862f27 Allow to change font after initialization 2020-06-08 18:19:35 +08:00
Levin Li a0eb4038f1 Support safe area insets 2020-06-06 09:12:07 +08:00
Hleb Valoshka 4731334605 Small optimization 2020-06-01 10:36:42 +03:00
Hleb Valoshka e8f813ab38 Round label position to decreate jittering 2020-06-01 10:36:42 +03:00
Hleb Valoshka 29cc9b0ccf Revert "Decrease annotations jittering"
This reverts commit c09672bab3.
2020-06-01 10:36:42 +03:00
Hleb Valoshka ec41cfde60 Refactor TextureFont::render()
1. Don't update ModelView Matrix in TextureFont::render()
  2. Remove variants without offset
2020-06-01 10:35:42 +03:00
Hleb Valoshka 7a062af1ec Optimize sphere rendering using degenerate triangles
Total time to render a 640x480 frame drops from 6.8 ms (6.2 the best case)
to 2.7 ms (2.8 the worst case) (tested on Intel UHD Graphics 620)
2020-05-26 16:09:08 +03:00
Hleb Valoshka cdb7529563 Update translations 2020-05-22 13:33:11 +03:00
Hleb Valoshka c40b186eba Increase galaxy memory chunk to decrease number of draw calls
Total number of draw call goes down from ~7k to ~2k on initial scene
2020-05-22 09:58:42 +03:00
Hleb Valoshka 6b5a004008 Unbind font before restoring matrices in console
Closes: #743
2020-05-18 19:40:00 +03:00
Hleb Valoshka 9966d759c9 Optimize font rendering 2020-05-17 18:40:57 +03:00
Levin Li 91b2cf32eb Update .travis.yml
Update to Xcode 11.4 and use current version of fmt
2020-05-13 08:48:18 +08:00
Hleb Valoshka 54da875bf8 [sdl] Initial implementation of a basic SDL interface 2020-05-12 18:26:27 +03:00
Hleb Valoshka 9863f8bea9 Remove unneeded fixed pipeline wrappers 2020-05-12 15:59:56 +03:00
Hleb Valoshka 1fb1f2de91 Replace fixed function GL code with GL ES compatible one 2020-05-12 15:59:56 +03:00
Hleb Valoshka e9282b9d6d Refactor console and overlay to avoid GL matrices usage 2020-05-12 15:25:52 +03:00
LukeCEL d42862ef84 [tools] Implement spherical option for new star database format in startextdump 2020-05-11 08:18:29 +03:00
Hleb Valoshka a8b6ed4b80 Partially revert 31f28f6 to fix selection pointer rendering 2020-05-07 20:38:55 +03:00
Hleb Valoshka 22c080901b [tools] Don't allocate file streams on the heap 2020-05-07 20:37:26 +03:00
Hleb Valoshka fd79dee429 [tools] Don't create ofstream instances on the heap
Closes: #722
2020-05-06 21:55:02 +03:00
Hleb Valoshka 75922bd0c7 Use glBufferSubData instead of glMapBuffer in CurvePlot 2020-05-06 16:20:44 +03:00
Hleb Valoshka 9abfb5c951 LODSphereMesh compatibility with OpenGL ES and cleanup
Important points:
 * Use glBufferSubData instead of glMapBuffer, because
   - the former is usually faster
   - the latter is not supported by OpenGL ES 2
 * Always use VBO, it should be faster in this usage pattern
 * Remove debug code, I doubt we will ever use it
2020-05-06 16:20:27 +03:00
Levin Li 6d1616c2ca Update .gitignore
ignore auto-generated .DS_Store on Mac
2020-05-06 13:58:21 +08:00
Hleb Valoshka c5e0697a6c [cmake] restore compatibility with older cmake 2020-05-05 16:51:57 +03:00
Hleb Valoshka 7e499f8fd9 Add FramebufferObject::isSupported() 2020-05-05 16:51:57 +03:00
Hleb Valoshka a75312e748 Remove EXT/ARB suffixes
CubeMaps & BGR(A) are core feature in 2.1

FBO variants are handled by libepoxy
2020-05-05 16:51:57 +03:00
Hleb Valoshka ae27c1a1b0 Drop GLEW support 2020-05-05 16:51:57 +03:00
Hleb Valoshka b86c4aba4e Allow absolute paths for fonts 2020-05-05 13:45:28 +03:00
Hleb Valoshka 541e9d78b3 Use custom RenderContext to create shadow map 2020-05-01 23:31:25 +03:00
Hleb Valoshka c26faf70e2 Remove "simple" shaders 2020-04-30 10:23:19 +03:00
Hleb Valoshka daf34b5656 Port to "unlit" lighting model 2020-04-30 10:23:19 +03:00
Hleb Valoshka b781d7a7c8 Add "unlit" shader lighting model 2020-04-30 10:23:19 +03:00
Hleb Valoshka 7d81d26112 Add stellar class WO 2020-04-27 11:49:03 +03:00
Hleb Valoshka 5c6715d148 Refactor a few methods to make them more readable 2020-04-24 09:54:19 +03:00
Hleb Valoshka 7287fb0925 Use already calculated variable 2020-04-24 09:54:19 +03:00
Hleb Valoshka 31f28f6771 Make model & projection matrices float and change their initialization 2020-04-24 09:54:19 +03:00
Hleb Valoshka b651d31928 Change location of some code parts 2020-04-24 09:54:19 +03:00
Hleb Valoshka 1cf5c868cf Remove dead code 2020-04-24 09:54:19 +03:00
Hleb Valoshka b4bab385a0 Use private method instead of passing camera orientation to private methods 2020-04-24 09:54:19 +03:00
Hleb Valoshka 728b384a70 Make smooth line control function private 2020-04-24 09:54:19 +03:00
Hleb Valoshka 898b19a3a6 Fix color of globular markers 2020-04-24 09:54:19 +03:00
Hleb Valoshka 83f1b90397 Move solar system sbjects rendering to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka 6be2deb920 Rename renderLocations to locationsToAnnotations 2020-04-24 09:54:19 +03:00
Hleb Valoshka 0653b81762 Move depth partitioning to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka 6b8e3c864a Move eclipsed star exposure correction to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka dfd315ecc7 Move renderList culling to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka b30e12cb87 Move magnitude correction inside atmosphere to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka f8324ecd93 Move near systems lists building to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka 4d13a302b6 Move DSORenderer to its own files 2020-04-24 09:54:19 +03:00
Hleb Valoshka 47b123b183 Optimize annotations rendering using a precomputed projection matrix 2020-04-24 09:54:19 +03:00
Hleb Valoshka c09672bab3 Decrease annotations jittering 2020-04-24 09:54:19 +03:00
Hleb Valoshka 9f371f457b Refactor annotations rendering 2020-04-24 09:54:19 +03:00
Hleb Valoshka f32e8af444 Refactor markers and selection cursor rendering 2020-04-24 09:54:19 +03:00
Hleb Valoshka 53fee32967 Make AtmosphereExtinctionThreshold float constexpr 2020-04-24 09:54:19 +03:00
Hleb Valoshka 4b6062838b Cleanup renderFlags definitions 2020-04-24 09:54:19 +03:00
Hleb Valoshka 97a2ae6330 GL_QUAD_STRIP -> GL_TRIANGLE_STRIP 2020-04-24 09:54:19 +03:00
Hleb Valoshka a7776ccfff Remove polygon mode modification in comet rendering code 2020-04-24 09:54:19 +03:00
Hleb Valoshka d510b2bf6d More methods to work with Color 2020-04-24 09:54:19 +03:00
Hleb Valoshka 21754e0946 Add "_deg" literal
Instead of degToRad(60.0) we can use 60.0_deg
2020-04-24 09:54:19 +03:00
Hleb Valoshka 5c4f6aae87 Update information shown in "OpenGL Info" window 2020-04-19 20:40:28 +03:00
Hleb Valoshka 91131a29cb Remove CustomTemplate from Globulars
Closes: #697
2020-04-14 21:17:45 +03:00
Hleb Valoshka 72bf923741 Better handle libintl dependencies 2020-04-13 09:38:48 +03:00
Hleb Valoshka 91c3e618c2 [travis] pin fmt version 6.1.2 to workaroud build failure
See https://github.com/fmtlib/fmt/issues/1631 for more information.
2020-04-13 13:39:28 +08:00
Levin Li 65541e2e17 Update AUTHORS 2020-04-11 22:03:43 +08:00
Levin Li c6a1b75dcf Update INSTALL.md, rules, CMakeLists.txt 2020-04-11 22:03:24 +08:00
Hleb Valoshka b17d70bcb4 Use glVertexPointer instead of glVertexAttribPointer(0) 2020-04-10 12:22:28 +03:00
Hleb Valoshka 7e5965d437 Remove vsync support
# X11 only
# Basically useless with double buffering
2020-04-10 12:22:28 +03:00
Hleb Valoshka 40d77e41af Another cleanup session in render.cpp
... those things were used in old render paths only
2020-04-10 12:22:28 +03:00
Hleb Valoshka 25c4b50ddf Show planet ring by default 2020-04-10 12:22:28 +03:00
Hleb Valoshka ec1e81e6be Update .gitignore 2020-04-10 12:22:28 +03:00
Hleb Valoshka ef74883114 Set ios::binary for xyzvbin files 2020-04-09 13:43:52 +03:00
Hleb Valoshka 359ee75e81 Remove unused deprecated parameter 2020-04-06 20:30:46 +03:00
Hleb Valoshka 3599f14e12 Restore support for BlendTexture property
Closes: #602
2020-04-06 20:30:46 +03:00
Hleb Valoshka 845c1a5454 Fix keys compare in ShaderManager 2020-04-06 20:30:46 +03:00
Hleb Valoshka 96feeceae4 Add RingRenderData to hide implementation specific data 2020-04-05 13:21:50 +03:00
Hleb Valoshka 64ac62d06d Remove const and inline attribures in Overlay 2020-04-05 13:21:50 +03:00
Hleb Valoshka e5d54df6bb Initial implementation of self shadowing
Known bugs and limitations:
  * Only the 1st light source casts shadows.
  * Thin objects have incorrect shadows, see ISS.
2020-04-03 11:31:09 +03:00
SevenSpheres 9413154ec5 Update author list 2020-04-01 11:19:23 +03:00
Hleb Valoshka 1ca9db3212 Fix some warnings reported by msvc
1) warning C4390: ';': empty controlled statement found; is this the intent?
2) warning C4305: 'argument': truncation from 'double' to 'float'
2020-03-29 17:58:49 +03:00
Hleb Valoshka 04c187d776 [qt] Don't use deprecated Qt features 2020-03-29 17:58:49 +03:00
Hleb Valoshka a325973907 Install data files from git submodule 2020-03-29 09:12:13 +03:00
Hleb Valoshka aa03364c90 [cmake] don't install data files 2020-03-29 09:12:13 +03:00
Hleb Valoshka e336d452fa deb: remove celestia-data package 2020-03-29 09:12:13 +03:00
Hleb Valoshka 8bb74a6ef3 [win32] Fix possible failure if config was not read 2020-03-26 11:24:56 +03:00
Hleb Valoshka bd7f9ebc9b Use libepoxy instead of GLEW
Unlike GLEW libepoxy supports OpenGL ES and better handles cases with
functions provided by different extensions, e.g. the same functions
provided by vendor/EXT/ARB/core.
2020-03-26 11:24:56 +03:00
Hleb Valoshka 15bf42104a Use core/FBO function to generate mipmaps instead of glu 2020-03-23 09:27:10 +03:00
munix9 b83fc8a037 Update openSUSE/AppImage infos 2020-03-21 17:31:36 +03:00
munix9 846e0270d7 Enable TTF support for Debian/Ubuntu builds 2020-03-21 17:10:57 +03:00
Hleb Valoshka 31b98ec657 Add DejaVu fonts and use them by default 2020-03-21 13:21:03 +03:00
Hleb Valoshka b26777dc8c Compute shader variables inside main
Fixes shader compilation with gl4es translation layer
2020-03-17 12:24:01 +03:00
Hleb Valoshka df508a0c59 Make global/static VO class instances again
Closes: #659
2020-03-16 19:31:25 +03:00
pirogronian f75f86436a Use find method in lua getstar and getdso. 2020-03-13 12:43:16 +01:00
Hleb Valoshka 91c09087f6 Use GL3/GLES compatible particle rendering
Closes: #549
2020-03-11 01:20:17 +03:00
Hleb Valoshka 643c705357 Fix VertexObject destruction 2020-03-07 15:40:39 +03:00
Hleb Valoshka f67b331f02 Show error if an incorrect URL passed to CelestiaCore::goToUrl 2020-03-07 15:40:39 +03:00
Hleb Valoshka 154c06e0a7 Fix failure if an incorrect URL is pasted
Closes: #637

+ small code cleanup
2020-03-07 15:40:39 +03:00
Hleb Valoshka 815c0e46a4 Initial unit tests implementation 2020-03-07 11:05:35 +03:00
Hleb Valoshka b9a4516534 Move test data and scripts to test directory 2020-03-07 11:05:35 +03:00
SevenSpheres 8efb8a2204 Add newlines in solarsys.cpp 2020-03-07 11:04:35 +03:00
pirogronian e8d0e4d1d7 Move blockarray to celutil 2020-03-06 20:47:42 +01:00
pirogronian 035aa30ae5 Replace generic catalog type and related minor polishing. 2020-03-06 18:11:53 +01:00
pirogronian 1ebc427f41 Transform CatEntry into AstroObject with minimal common indexing rountines. 2020-03-06 18:11:53 +01:00
Hleb Valoshka 377d620d5b Extract FramebufferObject to its own file 2020-03-04 19:52:55 +03:00
Hleb Valoshka 6eaa915873 Don't abort if starnames.dat has not been loaded
Closes: #625
2020-03-04 19:52:28 +03:00
Hleb Valoshka 50f15ff5cd [debian] Fix git commit passed to cmake 2020-03-04 19:52:11 +03:00
Hleb Valoshka 9e433e6cd8 Build configuration cleanup 2020-03-03 20:04:55 +03:00
Li Linfeng c5d1f58528 Natural sort based on numeric values in QT 2020-03-01 18:19:06 +08:00
Li Linfeng b2e54e77b3 Fix a bug where shader might not compile
it's discovered while using gl4es shim, the operands should be of the same value type
2020-03-01 17:37:18 +08:00
Li Linfeng fef8d5f153 Update .travis.yml 2020-03-01 17:09:55 +08:00
Hleb Valoshka ec076eb582 [win32] remove uneeded menu separators 2020-02-20 18:44:58 +03:00
Hleb Valoshka f8831d4d2e Common OpenGL information code
Closes: #609
2020-02-18 15:13:06 +03:00
Hleb Valoshka fe35e8e2bd Use Color::parse in AssociativeArray::getColor 2020-02-17 19:52:44 +03:00
Hleb Valoshka 3604152867 Make Color constructors constexpr 2020-02-17 19:52:44 +03:00
Hleb Valoshka 073088e869 Add Color::data() method returning data as byte[4] 2020-02-17 19:52:44 +03:00
Hleb Valoshka 91166938d7 Disable unused version of ReplaceGreekLetterAbbr
It requires additional work to match ReplaceGreekLetterAbbr(std::string)
behaviour
2020-02-17 19:52:29 +03:00
Hleb Valoshka 3fb8fad9cf Convert more digits to superscripts in Bayer designations
Closes: #605
2020-02-17 19:52:29 +03:00
Hleb Valoshka e625496059 [qt] Pass '[' and ']' keys to search console
Closes: #526
2020-02-16 11:05:32 +03:00
Hleb Valoshka 8376232f1c [windows] Fix string conversion functions 2020-02-16 11:05:17 +03:00
Hleb Valoshka d41f4ba85d add missing gettext.h includes in gtk and glut frontends 2020-02-15 16:51:08 +03:00
Hleb Valoshka 46dc8a7216 [appveyor] fix build with current VM image 2020-02-15 00:20:13 +03:00
Hleb Valoshka fb4bede3d1 Allow building without NLS 2020-02-15 00:20:13 +03:00
SevenSpheres 1468a20d99 Add GitHub-related files 2020-02-12 11:24:21 +03:00
Dan Church 5df1bebb66 Fix missing header (GCC 4)
`clog` is no longer a built-in and requires iostream.
2020-02-11 20:42:38 +03:00
Hleb Valoshka 4a38917e08 Split parser.* into hash.*, value.* and parser.* 2020-02-07 23:15:43 +03:00
Hleb Valoshka 4598c3cf62 Fix and enable structs in shaders 2020-01-31 20:30:38 +03:00
Hleb Valoshka 6969373ec4 Add and use time-related helper methods 2020-01-25 11:50:28 +03:00
Lars Næsbye Christensen bf1b75106a removed INSTALL text file 2020-01-25 11:02:09 +08:00
Lars Næsbye Christensen d177fac61d changed link from INSTALL to INSTALL.md 2020-01-25 11:02:09 +08:00
Lars Næsbye Christensen 206e2c0aec add Markdown version of INSTALL 2020-01-25 11:02:09 +08:00
Hleb Valoshka db90b02646 [qt] Dump more technical information 2020-01-23 19:54:40 +03:00
Hleb Valoshka e7a0db7c4f [ci] pack windows artifacts 2020-01-20 19:33:35 +03:00
Hleb Valoshka 908daf95cf Tiny shader optimization 2020-01-12 14:56:15 +03:00
Hleb Valoshka 87a551ede7 Fix number of bits used for shadows
Fixes red bodies as reported in #565, and possibly #583
2020-01-12 14:56:15 +03:00
Li Linfeng bfc8f4b4d9 Add openclusters.dsc to CMakeLists.txt 2020-01-12 11:53:12 +03:00
SevenSpheres 758dd43f25 Add openclusters.dsc
Credit to Andrew Tribick
2020-01-11 18:59:15 +03:00
Hleb Valoshka 7f0513e3d3 Fix scripted orbits and rotations (Closes: #576) 2020-01-09 19:11:07 +03:00
SevenSpheres fb8544806c Update README* 2020-01-02 12:14:00 +08:00
Lars Næsbye Christensen 46a7bee657 add change directory command; fix typo 2019-12-30 00:39:05 +03:00
Hleb Valoshka 739f71cd1c Cleanup includes a little bit 2019-12-21 19:16:39 +03:00
Hleb Valoshka 26063bf3a6 Use shaders to draw fonts 2019-12-21 19:16:39 +03:00
Hleb Valoshka 716376c807 Update INSTALL & README* files 2019-12-19 18:41:21 +03:00
SevenSpheres 2cd95ac2e7 Update temperatures for cool stars 2019-12-16 19:11:22 +03:00
Hleb Valoshka 705c383b9f Fix VBO data type
GL_DYNAMIC_DRAW == update occasionally
GL_STREAM_DRAW == update on every draw
2019-12-13 20:31:17 +03:00
Hleb Valoshka ad2de6b6a5 [tools,qt] Replace deprecated Qt methods 2019-12-06 10:55:14 +03:00
Hleb Valoshka bcced3c103 [win32] Use ASCII function version explicitly 2019-12-06 10:55:14 +03:00
Hleb Valoshka 754d149b3a Fix includes in bigfix.cpp 2019-12-06 10:55:14 +03:00
Hleb Valoshka 7b592b4eda Remove copy constructor & operator= in LuaHook
Because of member of std::unique_ptr type LuaHook can't be copied
2019-12-06 10:55:14 +03:00
Hleb Valoshka cb6162f4aa Move markerVO from Renderer to glmarker.cpp
As it's a common static buffer
2019-12-06 10:55:14 +03:00
Hleb Valoshka f8a4d69491 Remove dead code from renderer 2019-12-06 10:55:14 +03:00
Hleb Valoshka bb1f3aefe5 Add support for body mass units (Closes: #513) 2019-12-05 11:37:45 +03:00
Hleb Valoshka 99c3e50a18 Fix distance display for m and km units 2019-12-05 11:37:45 +03:00
Hleb Valoshka 971d203ecc Fix copy-paste error 2019-12-05 11:37:45 +03:00
Hleb Valoshka 32eaa68d0a Remove fixed pipeline calls 2019-12-05 11:37:33 +03:00
LukeCEL 18856700a9 Overhaul of nearstars.stc
Changes include:
- Updated distances for most stars, mostly Gaia DR2
- Updated parameters, generally from SIMBAD or individual sources
- New orbital elements for many star systems
- Includes spectral type Y, not included in Celestia 1.6.1
- Changed Gliese/GJ naming scheme: 1 to 999 is Gliese; 1000 above is GJ
- Removed star systems that are known to not be within 25 ly
- Removed remaining textures
The file still retains the overall structure, as well as part of the heading.
2019-12-04 10:43:22 +03:00
Hleb Valoshka 3e133ba119 Refactor boundaries rendering to have common and rendering parts 2019-12-04 10:42:10 +03:00
Hleb Valoshka c21934aee3 Refactor asterisms rendering to have common and rendering parts 2019-12-04 10:42:10 +03:00
Hleb Valoshka 8778c07ccb Refactor render.cpp and extract some classes to own files 2019-12-03 12:13:34 +03:00
SevenSpheres 7f052a65e4 Delete NEWS 2019-12-02 17:54:46 +08:00
Hleb Valoshka e4e1a0ddc5 Remove deprecated C++ features
std::unary_function & std::binary_function were deprecated in C++11
and removed in C++17
2019-11-30 22:45:25 +03:00
Li Linfeng 7a5f9161d6 Update INSTALL 2019-11-29 16:34:35 +08:00
Hleb Valoshka 539f80367f Use shaders to draw object as point (dumb version) 2019-11-28 17:04:36 +03:00
Hleb Valoshka a4af9e3e05 Use shaders to draw star as point 2019-11-28 14:37:27 +03:00
Paolo Pantò f8c254c634 [qt] Process event sent before the event loop started 2019-11-28 14:37:05 +03:00
Hleb Valoshka af83ddae7f [support,win] Build with TTF support 2019-11-28 14:36:49 +03:00
Hleb Valoshka 34882294ab Update appveyor.yaml
* use vcpkg provided cspice
 * fix build with TTF
 * don't upload artifacts to bintray (doesn't work and useless as appveyor
   host them itself)
2019-11-28 14:36:49 +03:00
Hleb Valoshka 667577983c Provide clamp only for C++ < 17 2019-11-28 14:36:19 +03:00
Hleb Valoshka 5d4b23f241 Use shaders in sky grid drawing 2019-11-25 15:11:37 +03:00
Hleb Valoshka 8005ac1577 Add shaders for planetographic grid 2019-11-25 10:51:02 +03:00
Hleb Valoshka 7025800e98 Fix typo 2019-11-25 10:50:46 +03:00
Hleb Valoshka 39eb715f98 Reimplement galaxies using shaders 2019-11-25 10:50:46 +03:00
Li Linfeng 02bcf41173 do not use wordexp on unsupported systems 2019-11-22 21:16:19 +08:00
Li Linfeng 741f326eb4 Update .travis.yml 2019-11-22 19:11:33 +08:00
Hleb Valoshka 6f6b3998d3 Use getAspectRatio() where appropriate 2019-11-21 11:50:13 +03:00
Hleb Valoshka 72e6d5bb05 Replace gluOrtho2D with own implementation 2019-11-21 11:50:13 +03:00
Hleb Valoshka bf2f4cb236 Replace gluPerspective with own implementation 2019-11-21 11:50:13 +03:00
Hleb Valoshka 6b954fd7af Replace gluProject with own implementation 2019-11-21 11:50:13 +03:00
SevenSpheres 32ce75e858 Increase star render distance to 1 Gly 2019-11-21 09:01:56 +08:00
Hleb Valoshka 48824889fa Partially revert "Remove fixed pipeline calls in glsl-based code"
Without this chunk garbage is shown on screen when rendering models

This reverts commit e363e9102f.
2019-11-20 17:14:34 +03:00
Hleb Valoshka 682aef8422 Initial implementation for TrueType fonts support 2019-11-20 12:16:15 +03:00
Hleb Valoshka 6e871064e4 Replace deprecated QDesktop::numScreens() call 2019-11-20 12:15:27 +03:00
Li Linfeng c7432f10b2 remove redundant lookat 2019-11-17 20:43:26 +08:00
SevenSpheres 11c7374d17 Remove old redundant models 2019-11-16 12:10:11 +03:00
Hleb Valoshka 6be3afb1e6 Move glut frontend to its own subdir 2019-11-15 21:53:57 +03:00
Hleb Valoshka fbd83e5587 Use shaders to draw orbits 2019-11-15 11:10:21 +03:00
Hleb Valoshka 5af66f9ab2 Reimplement comets using glsl (part I)
TODO: 1) use VertexObject 2) possibly offload more computation to GPU
2019-11-15 11:10:21 +03:00
Hleb Valoshka 702531879c Port particles renderer to use shaders (without VBO yet) 2019-11-15 11:10:21 +03:00
Hleb Valoshka b0ec6d6fc2 Change appveyor image to fix CI failures 2019-11-15 11:09:57 +03:00
SevenSpheres 0cfd894507 Update README.md
Fix display of Celestia logo
2019-11-12 09:20:21 +08:00
Hleb Valoshka b14f4f8b4b Tiny cleanup in renderer 2019-11-11 13:48:37 +03:00
Hleb Valoshka e363e9102f Remove fixed pipeline calls in glsl-based code 2019-11-11 13:48:37 +03:00
Hleb Valoshka 73bcba8fdb Draw unlit clouds using shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka 4d815ad44e Draw unlit ellipsoid atmosphere using shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka 54031bba8c Reimplement unlit sphere with shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka add171b6fa Fix error reporting when shader linking failed 2019-11-11 13:48:37 +03:00
Anthony-B-Russo10 02f8bff902 Added the Archive Repository 2019-11-10 10:40:48 +03:00
Hleb Valoshka b259987e95 Move ellipsoidTangent to mathlib.h 2019-11-09 15:08:03 +03:00
Hleb Valoshka fecd61fcb1 Render crosshair using glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka 3f757998f4 Draw ecliptic using glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka ae02fe2c38 Refactor selection pointer to use glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka 08907c5883 Tiny refactoring for simplify code 2019-11-09 15:08:03 +03:00
Hleb Valoshka 0d5e867219 Add Renderer::getAspectRatio() method 2019-11-09 15:08:03 +03:00
SevenSpheres 972267d69f Remove duplicate moons 2019-11-08 02:19:10 +03:00
Hleb Valoshka cf945d7b6e Show Reference Points labels (Closes: #489) 2019-11-06 12:33:52 +03:00
Hleb Valoshka 00ee0d4bcd [cmake] Update for vcpkg-provided cspice 2019-11-06 02:31:27 +03:00
Hleb Valoshka 16051ed90a [appveyor] disable cmake files dump on error 2019-11-04 15:29:07 +03:00
Hleb Valoshka 26f3a3b5a9 [appveyor] Add build artifacts 2019-11-04 15:29:07 +03:00
Hleb Valoshka 89e1b9c441 Revert "Initialize marker representations in constructor"
...because colors can be changed using celx

This reverts commit 2090a883d4.
2019-11-04 13:09:12 +03:00
Hleb Valoshka 0af14d4ca8 Add LOD for planet rings 2019-11-01 12:12:04 +03:00
Hleb Valoshka 9e9541ce1b Fix markers rendering in multiview mode (Closes: #486) 2019-10-30 09:53:11 +03:00
Hleb Valoshka 99b0acf556 Make Selection variables private again 2019-10-30 09:53:11 +03:00
Li Linfeng f8fcc4c0ae place config.h generation after mac version check 2019-10-29 21:53:28 +08:00
Li Linfeng 7f64139a53 disable c++fs prior to macOS 10.15 2019-10-29 17:44:35 +08:00
Luke McCrone f3edf65d77 Show dwarf planets and minor moons in right-click menu #459 (no pluto yet) 2019-10-28 12:18:52 +03:00
SevenSpheres f1a6af1ab5 Change dwarf planet label color 2019-10-27 12:29:39 +03:00
Hleb Valoshka 7c593f366f Fix compilation without CELX 2019-10-26 00:59:03 +03:00
Hleb Valoshka 7435f420dc Set Qt::AA_UseDesktopOpenGL before QCoreApplication creation (Closes: #407) 2019-10-26 00:58:47 +03:00
Hleb Valoshka b565806a43 Chage dwarf planet orbit and Pluton-Charon orbit colors (Closes: #463) 2019-10-25 21:14:03 +03:00
munix9 3ec9365891 Added missing tools in Debian config 2019-10-23 00:09:23 +03:00
Hleb Valoshka 8957e22472 Restore star orbits (Closes: #448)
Was broken by e73e366
2019-10-21 21:56:00 +03:00
Hleb Valoshka f84ca4277a Atmosphere tools modernization
scattersim works as in 1.6.x
scattertable generates broken dds files
2019-10-21 18:40:28 +03:00
Hleb Valoshka 6e90626feb Add a method to transform Ray3 with 4x4 matrix 2019-10-21 18:40:28 +03:00
Li Linfeng 5342437c79 fix space between star/dso name and description 2019-10-21 14:42:09 +08:00
SevenSpheres af44846991 README.md fixes
Fixed grammar, fixed line breaks, updated copyright year.
Moved 375gnu and pirogronian to authors, added Li Linfeng to authors, added Nils Larsson to contributors, added Selden to "documentation"
2019-10-19 20:08:07 +03:00
Hleb Valoshka 097d7113e2 Provide a common method to save screenshots 2019-10-19 17:47:31 +03:00
Hleb Valoshka 2c2a17aa0a Implementation of the new interface for legacy scripting 2019-10-19 13:17:32 +03:00
Hleb Valoshka dfd177ffc7 Implementation of the new interface for Lua scripting 2019-10-19 13:17:32 +03:00
Hleb Valoshka d93a1cdf03 Common new script interface 2019-10-19 13:17:32 +03:00
Hleb Valoshka 779ad3c5c1 [gtk] Remove copy of CelestiaCore::runScript (Closes: #456) 2019-10-19 13:17:32 +03:00
Hleb Valoshka 1ab6b27f3f [win32] Remove copy of CelestiaCore::runScript, part 2 2019-10-19 13:17:32 +03:00
Hleb Valoshka d63b65f83e [win32] Don't make splash top most 2019-10-19 12:59:50 +03:00
Hleb Valoshka b849e76bf3 [win32] Remove copy of CelestiaCore::runScript from win frontend 2019-10-19 12:01:40 +03:00
Hleb Valoshka 3cb4d3154d Make options maps common to all scripts 2019-10-18 12:13:48 +03:00
Hleb Valoshka 73ac1b85de Move execenv.h to celscript/common 2019-10-17 23:02:35 +03:00
Hleb Valoshka 6953eb7aa2 Use lua_getfield instead of helper getField 2019-10-17 23:02:35 +03:00
Hleb Valoshka 9401a4389e Move scripts to their own subdirectories 2019-10-17 21:21:12 +03:00
Li Linfeng 7cff1728a3 fix warnings 2019-10-14 17:41:03 +08:00
Hleb Valoshka f46c51d387 Fix duplicated english names (Closes: #441) 2019-10-12 19:02:57 +03:00
Hleb Valoshka 17db71b97f Remove hard-coded startup logo (Closes: #417) 2019-10-09 15:55:14 +03:00
Hleb Valoshka e3baaad767 Big common application code refactoring
* Allow to parse four element vectors
 * Allow colors defined in HTML notation (#rrggbbaa)
   in CEL scripts
 * Refactor Overlay::Rectangle to an independent class
 * Refactor CelestiaCore::OverlayImage to an independent class
 * Refactor CelestiaCore::View to an independent class
 * Rename Renderer::getScreenSize to getViewport
 * Add wrappers for scissors test and MSAA control
2019-10-09 15:55:14 +03:00
Hleb Valoshka 6e44de22f1 Fix home directory expansion in Windows 2019-10-09 15:55:14 +03:00
Hleb Valoshka 7fd01f38b0 Fix PVS Studio reported errors (Closes: #425) 2019-10-04 20:49:34 +03:00
Konstantin Podsvirov e9ae3959eb Update INSTALL
Fix mistake in tool name: vcpg -> vcpkg (missing k symbol)
2019-10-03 10:22:03 +03:00
Hleb Valoshka b469511ce3 Use bolometric luminosity to calculate comet's tail fading
Closes: #405
2019-09-20 00:01:19 +03:00
Hleb Valoshka 198e067f75 Add a method to get star's bolometric luminosity 2019-09-20 00:01:19 +03:00
Hleb Valoshka f371bd31c1 Update installation instructions 2019-09-13 20:35:45 +03:00
Paolo Pantò 1776830271 Extract git commit from a package version 2019-09-06 17:55:19 +03:00
Paolo Pantò 2b69c45efd Add MIME types handled by Celestia to *.desktop files 2019-09-06 17:55:19 +03:00
Hleb Valoshka 1f0ba55079 Fix dependencies to allow replacement of celestia-common-nonfree 2019-09-06 17:55:19 +03:00
Hleb Valoshka 35106691a1 Fix virtual texture loading and VT code tiny cleanup 2019-09-06 11:28:23 +03:00
Askaniy 31cc7363da Dwarf planets corrections
+ texture and oblateness of Ceres
2019-09-04 22:20:03 +03:00
pirogronian c0cc66e77d Common stuff for shared classes. 2019-09-03 22:03:04 +02:00
Li Linfeng 3a56afb24f update install and CI for mac 2019-09-03 23:30:26 +08:00
Hleb Valoshka 2dd0a996d7 Provide build files for Debian and derivatives 2019-09-03 18:17:34 +03:00
laikh 3019e497e9 Use Ctrl+C and Ctrl+V to handle both the console copy-and-paste and the URL copy-and-paste 2019-09-02 21:18:02 +02:00
laikh e2854c0698 Remove F5 F6 shortcuts for copy and paste to solve conflicts with setTargetSpeed 2019-09-02 21:18:02 +02:00
laikh 562dc24641 Fix debug compilation errors 2019-09-01 08:44:28 +08:00
Li Linfeng 9c371c891c define macros for print levels and avoid direct use of fmt::printf 2019-08-31 13:32:44 +08:00
Li Linfeng 56d2b8765a bring menu handler change to gtk/win 2019-08-30 20:57:07 +08:00
Li Linfeng eb51fa8228 adapt to context menu handler change 2019-08-30 20:57:07 +08:00
Li Linfeng c986cdebf9 use handler for context menu callback 2019-08-30 20:57:07 +08:00
Hleb Valoshka 2aa162f0bb [qt] Show more data about planets in infopanel 2019-08-29 12:56:58 +03:00
Hleb Valoshka 11897032d4 Fix some warnings 2019-08-27 23:54:27 +03:00
Hleb Valoshka 05faeee8a4 Mark overridden virtual function as "override" 2019-08-27 23:54:27 +03:00
Hleb Valoshka 6202c06869 [osx] Silence warnings about deprecated OpenGL 2019-08-27 23:54:27 +03:00
Hleb Valoshka efc4810104 Don't abort if extras directory doesn't exist (Closes: #376) 2019-08-27 23:43:46 +03:00
Li Linfeng 3a17adb08a Fix solar system browser item model 2019-08-27 22:45:39 +03:00
Hleb Valoshka bcce84601c [cmake] Link celcompat to celutil instead of celengine 2019-08-22 08:55:46 +08:00
Hleb Valoshka 4c20e54119 [cmake] define required macros for debug builds 2019-08-22 08:55:46 +08:00
Hleb Valoshka 0130655d87 [gtk] Don't call string() on strings 2019-08-22 08:55:46 +08:00
Hleb Valoshka ca39d82b09 Reimplement DebugPrint using variadic templates (Closes: #367) 2019-08-22 08:55:46 +08:00
Li Linfeng 71ca974838 Replace the apple macro in qt project 2019-08-21 11:59:40 +03:00
Li Linfeng c820617bb8 Use __APPLE__ in place of TARGET_OS_MAC 2019-08-20 10:19:42 +03:00
Hleb Valoshka e66cff9800 Update win32's view options dialog 2019-08-16 20:10:48 +03:00
Hleb Valoshka 96f8b4a6ee Add missing #ifdef CELX 2019-08-16 18:11:24 +03:00
Hleb Valoshka 48bef14233 Remove Directory class replaced with filesystem API 2019-08-16 18:11:24 +03:00
Hleb Valoshka b6b543438d Port to filesystem API 2019-08-16 18:11:24 +03:00
Hleb Valoshka ceaed57aa5 Add a minimal C++17-like filesystem library 2019-08-16 18:11:24 +03:00
Hleb Valoshka 6d81fc780a Add new and refactor existing char<->wchar routines for Win32 2019-08-16 18:11:24 +03:00
Hleb Valoshka f05679db8e Implement DPRINTF using fmt 2019-08-16 18:11:24 +03:00
laikh c17a717626 Add -D_ENABLE_EXTENDED_ALIGNED_STORAGE for MSVC to fix the build 2019-08-16 17:10:10 +03:00
pirogronian c3567d820c Replace refcounted objects with std::shared_ptr 2019-08-16 12:45:57 +03:00
Hleb Valoshka 2090a883d4 Initialize marker representations in constructor 2019-08-16 09:49:01 +03:00
Hleb Valoshka 1125957c83 Pass constant refs instead of objects to LookAt 2019-08-16 09:49:01 +03:00
Hleb Valoshka deb23a7b80 Add a ::Color -> cmod::Material::Color helper 2019-08-16 09:49:01 +03:00
Hleb Valoshka 8cf30873fd [gtk] Enable locales early
Based on a Debian's patch
2019-08-16 09:49:01 +03:00
Hleb Valoshka f0c568dbf3 Rename variable mips to mip to fix compilation on mips64
Based on the patch from Debian
2019-08-16 09:49:01 +03:00
Hleb Valoshka f8d3815a70 Move duplicated setVertexArrays to RenderContext 2019-08-16 09:49:01 +03:00
Hleb Valoshka 4d5f2d9c64 Convert raw pointers to std::unique_ptr in ModelGeometry 2019-08-16 09:49:01 +03:00
Li Linfeng 37cab4140b Use const char * on debug print 2019-08-16 09:39:03 +03:00
Hleb Valoshka f53f547dc3 Refactor compiler options definition 2019-08-13 11:25:15 +03:00
Hleb Valoshka 4fcfa1dfe3 Rename ODMenu.* to lowercase 2019-08-13 11:25:15 +03:00
Hleb Valoshka 4af3d88925 Fix compilation errors with mingw-w64 5.0.0 2019-08-13 11:25:15 +03:00
laikh cfdda11bf6 Move cmdparser.*, command.*, and execution.* from celengine to celestia, modify celephem to OBJECT library and merge the objects in the celengine library, fix Spice dependency 2019-08-13 11:24:37 +03:00
khlai a5fa3f5114 Add cmake debug flag to the INSTALL instruction for Mingw debug build 2019-08-12 17:26:07 +03:00
Li Linfeng 2c92aee13a Fix backspace on qt osx 2019-08-12 15:56:40 +03:00
khlai 7713f8b610 Update INSTALL instruction for Mingw debug build 2019-08-12 15:55:08 +03:00
dlshcbmuipmam 7e52983c19 Add instruction of installing luajit with vcpkg 2019-08-08 20:09:53 +03:00
dlshcbmuipmam c6d608b8a7 Add include/luajit as path suffix to FindLuaJIT.cmake 2019-08-08 20:09:53 +03:00
Li Linfeng 6617d94672 Remove unused code 2019-08-07 12:15:32 +03:00
Li Linfeng 8743edad9e Use relative path on tools 2019-08-07 12:15:32 +03:00
Li Linfeng 589face93e Use relative path for data and config on macOS platform 2019-08-07 12:15:32 +03:00
Li Linfeng 19d36c0d2d Setup macOS bundle for celestia-qt 2019-08-07 12:15:32 +03:00
U-DESKTOP-5KURQFU\dlshc ad8eda79f4 Fix MinGW build and add instruction 2019-08-07 12:14:42 +03:00
Luke McCrone 3bc970c780 279 - context menu entry "back to the star" (qt and gtk)
279 - cleanup as requested
2019-08-05 12:46:45 +03:00
dlshcbmuipmam 85fa5ddade Fix Lua Version Preprocessor Warning 2019-08-04 21:23:10 +03:00
Hleb Valoshka 204ba15f37 [qt] Use QStandardPaths to get data location (Closes: #335) 2019-08-03 17:34:48 +03:00
Hleb Valoshka 78bfe3e860 [appveyor] Use previous image 2019-08-03 16:32:18 +03:00
Gitea cfc225adc7 Refactor Overlay::rect() to use instead of direct GL calls 2019-08-02 14:34:25 +03:00
Hleb Valoshka 35b53b22d5 Refactor simple shader generation 2019-08-02 14:34:25 +03:00
Hleb Valoshka ba0b39fdff Fix overlay image replacement and style cleanups 2019-08-02 14:34:25 +03:00
Hleb Valoshka 9fe2198ebb Fix glGetError() call 2019-08-02 14:34:25 +03:00
Li Linfeng bd51baf8f9 Use lua version defined in lua.h 2019-07-30 14:30:17 +03:00
Hleb Valoshka e94842c945 Use XCode10.2 image in Travis 2019-07-25 17:54:05 +03:00
Li Linfeng e57f0ae304 Remove constexpr for pow and exp for clang 2019-07-21 19:42:07 +03:00
Hleb Valoshka edc4d240be [qt] QtEventFinder cleanup 2019-07-18 22:52:16 +03:00
Hleb Valoshka 24bce0bb82 [qt] Fix incorrect eclipse display time (Closes: #321) 2019-07-18 22:52:16 +03:00
Hleb Valoshka 7b095b8151 Reimplement globular clusters using GLSL 2019-07-10 23:43:15 +03:00
Hleb Valoshka 93c4a3b55c Add celmath::clamp(val, low, high) 2019-07-10 23:43:15 +03:00
Hleb Valoshka 74144a85bc Remove forgotten files for ancient hardware 2019-07-09 23:38:41 +03:00
Hleb Valoshka a93befe941 Remove uneeded #include "vecgl.h" 2019-07-09 23:38:41 +03:00
Hleb Valoshka de1a8d181e Remove unneeded celengine/celestia.h 2019-07-09 23:38:41 +03:00
Hleb Valoshka 7d4f03d5fb [win32] Add helper dlgCheck for 64-bit values
bad but working
2019-07-09 23:38:21 +03:00
Hleb Valoshka da32a3318c [cmake] Call configure_file after check_include_files 2019-07-09 00:53:22 +03:00
Hleb Valoshka 2250dd9c23 [win32] Update registry key, fix uint64_t saving 2019-07-09 00:53:04 +03:00
Hleb Valoshka e7aaee0ec8 Fading orbits in Win32 and Gtk2 frontends 2019-07-08 17:29:46 +03:00
Hleb Valoshka c07c36e70c [qt] Make DSO filter nonexclusive (replace QRadioButton with QCheckBox) 2019-07-08 17:19:21 +03:00
Hleb Valoshka 6295f4d1af [qt] Solar system filtering 2019-07-08 17:19:21 +03:00
Hleb Valoshka a1bdca280a Make VisibleRegion more GL2-friendly 2019-07-07 22:24:59 +03:00
Hleb Valoshka 96c22fbe8e Add simple shaders for color and texture 2019-07-07 22:24:59 +03:00
Hleb Valoshka a90570e36a Allow updates of VertexObject and mark some methods as noexcept 2019-07-07 22:24:59 +03:00
Hleb Valoshka 6712b90d84 Utility method to calculate memory size to store a container data 2019-07-07 22:24:59 +03:00
Hleb Valoshka 845990a91a Fix virtual methods definition for DSO, make some methods private 2019-07-07 12:10:21 +03:00
Hleb Valoshka a10da37741 Return correct type from DeepSkyObject::getRenderMask()
More correctly is to return Renderer::RenderFlags, but this require big
render.h refactoring.
2019-07-07 12:10:21 +03:00
fuse b11cd25553 Use vertex buffer when displaying orbits 2019-07-02 15:07:13 +03:00
Hleb Valoshka 5389cd7c4f Allow arbitrary attributes in VertexObject 2019-07-02 10:29:31 +03:00
Hleb Valoshka 239063306c Add a method to get arbitrary attribute location 2019-07-02 10:29:31 +03:00
Hleb Valoshka 5f9fa3c2d4 Add Mat3/4ShaderParameter classes 2019-07-02 10:29:31 +03:00
fuse 76252c86e5 Fix assert in Renderer::renderMarker 2019-06-28 17:30:59 +03:00
Hleb Valoshka 30c686c028 Markers reimplemented using modern GL 2019-06-25 23:03:30 +03:00
Hleb Valoshka 852874b32f Add frame capture function to Renderer 2019-06-24 23:58:30 +03:00
Hleb Valoshka ec7b1acec9 Update jpeg/png headers in imagecapture.cpp as in image.cpp 2019-06-24 23:58:30 +03:00
Hleb Valoshka dc457430dc Install GLSL shaders 2019-06-24 12:12:18 +03:00
Hleb Valoshka e9ef0f7e57 Port starfield to static shaders 2019-06-21 13:57:04 +03:00
Hleb Valoshka 9745b125f3 Support for static shaders in ShaderManager 2019-06-21 13:57:04 +03:00
Hleb Valoshka b09b48b1ab Disable GLContext usage as it does nothing now 2019-06-20 13:03:02 +03:00
Hleb Valoshka 0dbd19be9f Fix random abnormal termination when enabling RefAxes (Closes: #302) 2019-06-20 13:02:45 +03:00
Hleb Valoshka 2475a7f1b3 Make a few methods const 2019-06-20 13:02:27 +03:00
Hleb Valoshka e255a34c7a Initialize some variables 2019-06-20 13:02:27 +03:00
Hleb Valoshka c17493885f Fix memory leaks 2019-06-20 13:02:27 +03:00
Hleb Valoshka 0e2ee08c42 Use fmt::printf instead of iostreams 2019-06-20 13:02:27 +03:00
Hleb Valoshka 7a3cfbc320 Port axisarrow to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka 6e35410715 Port asterisms to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka b9575c70eb Port boundaries to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka f300827de4 Add VBO/VAO wrapper class 2019-06-17 18:20:20 +03:00
Hleb Valoshka bb533bbbf7 Fix code guarded by #ifdef HDR 2019-06-17 18:19:56 +03:00
Hleb Valoshka c95fe7ee0f Fix bool usage in Body 2019-06-17 18:19:56 +03:00
pirogronian 9dbdf29c4a Fix typo in DSO octree debug macro. 2019-06-06 12:27:22 +02:00
Hleb Valoshka a401969268 [cmake] Disable GLUT frontend by default 2019-06-06 11:58:28 +03:00
Hleb Valoshka 9f6cdadee3 Drop support for ancient Lua 5.0 2019-06-06 11:58:28 +03:00
Hleb Valoshka b59a25508d [cmake] Fix USE_SPICE macro definition creation
Taken from https://build.opensuse.org/package/view_file/home:munix9:unstable/celestia/fix-USE_SPICE.patch?expand=1
2019-06-04 17:28:32 +03:00
Hleb Valoshka 6ff875dab3 [qt] Open wikibook instead of local manual
... as we don't have local manual

Based on https://build.opensuse.org/package/view_file/home:munix9:unstable/celestia/fix-manual-file-url.patch?expand=1
2019-06-04 17:27:56 +03:00
Hleb Valoshka d4ac931da9 Skip CI builds with Lua 5.2
basically 5.1 & 5.3 are enough
2019-05-31 11:15:30 +03:00
Hleb Valoshka b705597b9d Use LuaJIT on all platforms if available 2019-05-31 11:15:30 +03:00
Hleb Valoshka b10d6b04c4 Add CMake module for LuaJIT 2019-05-31 11:15:30 +03:00
Hleb Valoshka 1fe8dd37c9 Move Win32 definitions to the common location 2019-05-27 00:53:21 +03:00
Hleb Valoshka eb86cab106 Simplify the main CMakeLists.txt 2019-05-27 00:53:21 +03:00
Hleb Valoshka 2486554514 Explicitly load FPHSA in FindCspice.cmake 2019-05-27 00:53:21 +03:00
Hleb Valoshka 2b275cee37 Fix two MSVC C4305 warnings
double to float truncation
2019-05-20 10:48:04 +03:00
Hleb Valoshka f3a73dae71 Move math code into celmath namespace 2019-05-20 10:48:04 +03:00
Hleb Valoshka 440f34350c Remove celmath::log2 as it's defined in C++11 2019-05-20 10:48:04 +03:00
Hleb Valoshka 88fe409d21 Enable compilation with unsafe fast math option 2019-05-17 18:27:40 +03:00
Hleb Valoshka dc6e86edbf Remove old EclipseFinder API and cleanup 2019-05-06 23:08:28 +03:00
Hleb Valoshka 7472122e38 Port Win32 frontend to the new EF API 2019-05-06 23:08:28 +03:00
Hleb Valoshka 1d0b0abce0 Port Gtk+ frontend to the new EF API 2019-05-06 23:08:28 +03:00
Hleb Valoshka f031745020 Replace QtEclipseFinder with EclipseFinder 2019-05-06 23:08:28 +03:00
Hleb Valoshka ccb39d3342 Add new API to EclipseFinder 2019-05-06 23:08:28 +03:00
Hleb Valoshka 1af23318fd Remove a makefile superseded by cmake 2019-05-06 23:07:57 +03:00
Hleb Valoshka ad15f2ffa0 [cmake] Fix macro name in the error meesage 2019-05-06 23:07:57 +03:00
Hleb Valoshka 0972f8a269 Move src/buildstardb.cpp to src/tools/stardb and remove src/tools/buildstardb.cpp
The latter is an older version of the former
2019-05-06 23:07:57 +03:00
Hleb Valoshka a968fadb5f [cmake] Disable tools by default but enable in CI 2019-05-05 18:04:45 +03:00
Hleb Valoshka 407e669747 [cmake] Cleanup the main CMakeLists.txt 2019-05-05 18:04:45 +03:00
Hleb Valoshka d36e8bdeac Fix copy-paste error 2019-05-05 16:50:35 +03:00
Hleb Valoshka 242c5ad84d Fix build directory in VC++ 64 bit 2019-05-05 16:50:35 +03:00
Hleb Valoshka 06ca2c5fec Add scripts for manual building under windows 2019-05-03 14:24:56 +03:00
Hleb Valoshka 0a5840ca1c [docs] Update installation instructions 2019-05-03 14:24:56 +03:00
Hleb Valoshka 78641736fd Replace sscanf with C++11 methods where appropriate 2019-05-02 22:58:37 +03:00
pirogronian 226f1ee793 Additional code hide behind OCTREE_DEBUG flag. 2019-05-02 13:57:42 +02:00
pirogronian 29beca06ad Restrict feature do OCTREE_DEBUG flag + some polishing. 2019-05-02 13:57:42 +02:00
pirogronian b6f025abd3 Added debug octree stats, visible together with fps counter. 2019-05-02 13:57:42 +02:00
Hleb Valoshka 87963a6a42 Fix display of surface features and diffuse objects
Surface features will be shown only if their parent body is visible.

Diffuse objects are shown always
2019-05-02 13:26:55 +03:00
Hleb Valoshka 920a0c81b1 Remove unused and unneeded ringSystemSections option 2019-04-22 21:21:05 +03:00
Hleb Valoshka a426916e2a Get rid of immediate mode in ring rendering
nSections was hardcoded to 100 so I removed it from renderRingSystem
2019-04-22 21:21:05 +03:00
Hleb Valoshka e80b06e67e [win32] remove __iob_func
* we prefer vcpkg libraries build using the same compiler
* VC++ 2017 is ABI compatible with 2017: https://docs.microsoft.com/en-gb/cpp/porting/binary-compat-2015-2017?view=vs-2019
2019-04-12 17:09:58 +03:00
Hleb Valoshka 7ad6b37970 [cmake] refactor build_cmod_tool macro to allow WIN32 targets 2019-04-12 17:09:58 +03:00
Hleb Valoshka 7bc9bcd674 [cmake] Update compile options for MSVC
/bigobj is required when using Ninja
2019-04-12 00:53:18 +03:00
pirogronian e422fe5e87 Fix ReplaceGreekLetterAbbr overvoracity. 2019-04-09 13:09:07 +02:00
pirogronian fa582dd10b Fix Bayer notation parsing & matching regresion. 2019-04-09 13:09:07 +02:00
Hleb Valoshka df23c60e7a Fix alignment issues in CELX routines (Closes: #263) 2019-04-08 22:02:53 +03:00
Luke McCrone 10875c4569 Issue #251: removing Alpha Centauri Bb 2019-04-08 12:08:04 +03:00
Hleb Valoshka 53845ad72e Add min() macro definition
It's not defined in MSVC and not supported by C standards
2019-04-08 12:07:43 +03:00
Hleb Valoshka 6bc84833be [cmake] Instal perl tools 2019-04-08 12:07:43 +03:00
Hleb Valoshka f9e27241ba [tools] install the leap second kernel to the data dir 2019-04-08 12:07:43 +03:00
Hleb Valoshka a80389dbcf [tools] Load the leap second kernel later
... to show usage and error messages
2019-04-08 12:07:43 +03:00
Hleb Valoshka db90fbf3a0 Update the leap second kernel used by spice2xyzv 2019-04-08 12:07:43 +03:00
Hleb Valoshka b62da0e74c [cmake] Enable building of spice2xyzv tool 2019-04-08 12:07:43 +03:00
Hleb Valoshka a45c415b44 [cmake] Enable vsop tools 2019-04-08 12:07:43 +03:00
Hleb Valoshka 89021ed9bd [tools] Show usage message for vsoptrunc-* 2019-04-08 12:07:43 +03:00
Hleb Valoshka 870f2feebd [cmake] Build qttxf tool 2019-04-08 12:07:43 +03:00
Hleb Valoshka 1d07836fa4 Port qttxf tool to Qt5 2019-04-08 12:07:43 +03:00
Hleb Valoshka d652219482 [cmake] Enable cmod tools building 2019-04-08 12:07:43 +03:00
Hleb Valoshka b8850a0d03 Fix copy-paste error 2019-04-08 12:07:43 +03:00
Hleb Valoshka 2c154346f3 Fix includes 2019-04-08 12:07:43 +03:00
Hleb Valoshka d846eb0ef3 Port cmod tools to Qt5 2019-04-08 12:07:43 +03:00
Hleb Valoshka 20365410c9 Port cmod tools to Eigen 3 2019-04-08 12:07:43 +03:00
Hleb Valoshka bcd7b97d89 [cmake] Remove unneeded fmt sources 2019-04-08 12:07:43 +03:00
pirogronian c465ab2615 Fix crash on create new lua rotation object. 2019-04-07 19:03:58 +02:00
Hleb Valoshka 9a851f0ea2 Remove eigenport.h 2019-04-03 00:18:02 +03:00
Hleb Valoshka 5d3452e011 Cleanup png and jpeg related code
libpng and libjpeg are mandatory now
2019-04-03 00:18:02 +03:00
Hleb Valoshka e6dacb43fa Remove unused deprecated methods 2019-04-03 00:18:02 +03:00
Hleb Valoshka bf68d471c3 Remove ancient vertex programs support 2019-04-03 00:18:02 +03:00
pirogronian b2d88df04a Qt: add copy/paste search console text actions. 2019-03-28 09:05:04 +01:00
pirogronian 044f5392b5 Add getter/setter for search console typed text. 2019-03-28 09:05:04 +01:00
pirogronian 1495531a03 Typed text search: if not valid, submit first completion. 2019-03-26 21:24:21 +01:00
pirogronian 6e1d57ef3a Add checking for Greek-formatted names in searching object by directly provided name. 2019-03-26 21:24:21 +01:00
pirogronian 0f3b37f066 Add replacement support also for full Greek letters names. 2019-03-26 21:24:21 +01:00
Hleb Valoshka 45836d993a Use location type "Ring" instead of "XX" (Other) for rings 2019-03-23 09:59:06 +03:00
Hleb Valoshka b95bdee04c Pass tangents vector to shaders (Closes: #240) 2019-03-22 16:31:12 +03:00
Askaniy 5b57f13e0e Removing dwarf planets 2019-03-20 15:52:26 +03:00
Hleb Valoshka 81aa6f43bc Remove support for old vector math 2019-03-16 18:21:50 +03:00
Hleb Valoshka d1d5970b8a Rename Earth's nigth side texture
All textures follow the $planet-$type naming scheme
2019-03-12 18:21:44 +03:00
Hleb Valoshka da8d3701d1 Don't use native OSX resourse paths by default 2019-03-11 22:01:14 +03:00
Luke McCrone a363fc772b Issue #216: Allow changing colors for comet tails 2019-03-11 21:24:21 +03:00
Hleb Valoshka 9d51cbfad3 Update README and celestia.cfg 2019-03-04 22:16:27 +03:00
Hleb Valoshka 9489d85166 Update minor moons and solar system objects
actual author - Askanij
2019-03-04 22:16:27 +03:00
Hleb Valoshka f4fac091cc Update textures and models
actual author: Askaniy
2019-03-04 22:16:27 +03:00
Hleb Valoshka 2375e17fff Add Solar system's dwarf planets
actual author: Askaniy
2019-03-04 22:16:27 +03:00
pirogronian 5464388d28 Change Omega Cen and Xi Tucanae into Bayer format. 2019-02-28 20:23:09 +01:00
pirogronian 8490d93082 Restore name completion support. 2019-02-28 20:23:09 +01:00
pirogronian 55f67a8c44 Replace Greek letter before adding to database. 2019-02-28 20:23:09 +01:00
pirogronian 4549c491d2 Check Greek initialization at instance access. 2019-02-28 20:23:09 +01:00
Hleb Valoshka e8226510c7 Don't process generated Qt files with AUTOMOC and AUTOUIC
Explicitly set current behaviour
2019-02-14 23:24:35 +03:00
Hleb Valoshka f089e98d83 Handle cases when git is installed but sources are not a repository clone 2019-02-14 23:24:35 +03:00
Hleb Valoshka 0b339f41d7 Use cmake's `option` instead of `set` to control a build 2019-02-14 23:24:35 +03:00
Hleb Valoshka bedcdb53cf Document executable names (Closes: #228) 2019-02-14 23:24:03 +03:00
Hleb Valoshka 63f86a44f2 Update translation files 2019-02-14 22:01:38 +03:00
Hleb Valoshka cb230cab02 Fix paths to extract strings from 2019-02-14 21:28:34 +03:00
Hleb Valoshka 3e0674b9cb Don't add empty strings to translations 2019-02-14 21:27:51 +03:00
Hleb Valoshka eadcf76a9c Fix path to legacy KDE frontend 2019-02-14 21:09:36 +03:00
Hleb Valoshka a78b70122b Update site address 2019-02-14 21:08:33 +03:00
Hleb Valoshka 4bbce34d03 Kpc -> kpc 2019-02-14 21:08:06 +03:00
Hleb Valoshka 67c2a50b9c Move native OSX frontend to src/celestia 2019-02-14 21:07:28 +03:00
Hleb Valoshka 7e4a6d62f8 Enable OSX builds 2019-02-09 00:21:00 +03:00
Hleb Valoshka 37b964ab50 Always use jpeg and png libs, drop CGBuffer.h 2019-02-09 00:21:00 +03:00
Hleb Valoshka 6b0d6439ca Fix DPRINTF for OSX platform 2019-02-09 00:21:00 +03:00
Hleb Valoshka d666e76e6e Use libintl.h on all platforms 2019-02-09 00:21:00 +03:00
Hleb Valoshka 0fc5edf500 FindIntl: support for gettext installed with brew 2019-02-09 00:21:00 +03:00
Hleb Valoshka a185a83373 Cleanup definitions for jpeg and png support
No more support for ancient libpng
2019-02-09 00:21:00 +03:00
Hleb Valoshka cf9f0e0b45 Remove definitions for ancient compillers 2019-02-09 00:21:00 +03:00
Hleb Valoshka 08c74687cb Move disabled warning to CMakeLists.txt 2019-02-09 00:21:00 +03:00
Hleb Valoshka 84e27140e8 Change WIN32 macro check to _WIN32 2019-02-09 00:21:00 +03:00
Hleb Valoshka c80a1520ac Use config.h on all platforms 2019-02-09 00:21:00 +03:00
Hleb Valoshka 7f052e5cae Remove 3rd party code from macosx dir 2019-02-09 00:21:00 +03:00
Hleb Valoshka 58d8742156 Install files form extras-standard subdirs 2019-02-09 00:18:03 +03:00
Hleb Valoshka aea55f500c Update CMakeLists.txt for submodules usage 2019-01-31 13:13:40 +03:00
Hleb Valoshka 187e4418f2 Spice's csupport is not required 2019-01-31 13:13:40 +03:00
Hleb Valoshka a53f1895ed Add required git submodules 2019-01-31 13:13:40 +03:00
Hleb Valoshka 23d5ca3d2c Remove bundled copies of thirdparty code 2019-01-31 13:13:40 +03:00
Hleb Valoshka 188c436611 Update README and INSTALL (Closes: #219) 2019-01-30 16:29:08 +03:00
Hleb Valoshka 44f0e3217e Remove Visual Studio project files 2019-01-26 16:12:21 +03:00
Hleb Valoshka 913512df1c Remove QMake support 2019-01-26 16:12:21 +03:00
Hleb Valoshka 78d566d692 Use cmake instead of qmake in travis-ci builds 2019-01-26 16:12:21 +03:00
Hleb Valoshka f367d7bacc Use bswap functions provided by MSVC and Apple 2019-01-26 14:33:20 +03:00
pirogronian 706c99d308 Celx LUA value to Celestia parser Value convertion helper. 2019-01-21 17:49:35 +01:00
Hleb Valoshka 8b23439292 Update celestia.rc for native windows UI 2019-01-20 22:54:48 +03:00
Hleb Valoshka 1921672941 Add resources to exe files 2019-01-20 22:54:48 +03:00
Hleb Valoshka 65acb21911 Remove bundled win and osx libraries 2019-01-19 21:55:23 +03:00
Hleb Valoshka 8bde4aa6f9 [cmake] Fix splash installation directory (Closes: #198) 2019-01-19 21:55:09 +03:00
Hleb Valoshka f039f55963 [cmake] add cspice support 2019-01-19 21:55:09 +03:00
Hleb Valoshka d6b9e61e86 Fix (or disable) warnings produced by VS2015 2019-01-19 21:54:56 +03:00
Hleb Valoshka 3202b5242d [appveyor] Disable builds for all branches except master 2019-01-19 21:54:42 +03:00
pirogronian 4a41fb69c1 Fix type mismatches and wrong function call. 2019-01-19 19:12:28 +01:00
pirogronian ba3f1f655c Untempletization of NameDatabase 2019-01-18 23:00:39 +01:00
Hleb Valoshka e478aa0918 Build stardb tools as console applications on windows 2019-01-19 00:57:18 +03:00
Hleb Valoshka b1e36e1f1b Add C++ versions of xyzv2bin, bin2xyzv 2019-01-19 00:57:18 +03:00
Hleb Valoshka d32085969a Fix byte order of xyzvbinaryheader.byte_order
should be native instead of LE
2019-01-19 00:57:18 +03:00
Hleb Valoshka 196ec6dc5b Add include<cstdint> to xyzvbinary.h 2019-01-19 00:57:18 +03:00
Hleb Valoshka f11a116de5 Move __BYTE_ORDER__ definition for win32 to celutil/bytes.h 2019-01-19 00:57:18 +03:00
Hleb Valoshka 085bfd6762 Add missing semicolon in shader definition (Closes: #203) 2019-01-17 12:34:27 +03:00
Hleb Valoshka a6b50bb25a Binary XYZV format implementation (Closes: #168) 2019-01-15 20:32:38 +03:00
Askaniy 1ffe65c6c3 Update temperature, albedo and colors
Temperature correction and albedo improvement using new SSC parameters.
Now Celestia displays the real temperature.

Bond albedo values were taken from the English Wikipedia, for Mars:
http://www.tak2000.com/data/planets/mars.htm
Geometric albedo and colors of planets was calculated with very high
accuracy together with Zemlyanin from the spectra from this paper:
https://arxiv.org/abs/1609.05048

Textures and other parameters will be updated later.
2019-01-14 22:27:08 +03:00
Hleb Valoshka d19f024e5c Fix appveyor.yml to build Pull Requests...
... enable release build profile (debug build are broken now),
    dump CMakeCache.txt on build failure
2019-01-14 16:41:35 +03:00
Hleb Valoshka dc7aea72b8 Add appveyor.yml to test windows builds
Currently 32bit x86 and MSVC2015 only
2019-01-11 12:57:55 +03:00
Hleb Valoshka bf77df0997 [qt] Use desktop GL always 2019-01-11 12:57:55 +03:00
Hleb Valoshka 45e6a61bcf Update cmake files 2019-01-11 12:57:55 +03:00
Hleb Valoshka 379a658dff Fix format specifier 2019-01-11 12:57:55 +03:00
Hleb Valoshka 0df7c1d54e Fix "signed/unsigned mismatch" warning 2019-01-11 12:57:55 +03:00
Hleb Valoshka 7a2afa9f6b [win] Fix includes and remove macro redifinitions 2019-01-11 12:57:55 +03:00
Hleb Valoshka 6962697e22 [win] Fix types left after switch to standard types 2019-01-11 12:57:55 +03:00
Hleb Valoshka 69928b5ebf Install libqt5opengl5-dev in travis ci 2019-01-06 23:20:35 +03:00
pirogronian 03be74e3c7 Revert "Replace deprecated QGLWidget with QOpenGLWidget"
This reverts commit 2f7adf19d0.
2019-01-06 23:20:35 +03:00
Hleb Valoshka c80ad6c12e .clang-format for automated code formatting 2019-01-06 18:11:14 +03:00
Hleb Valoshka f4bb2aba39 Fix matrix order in multiplication
Old vector library is row based, while Eigen is column based by default,
so matrix order should be swapped.
2019-01-04 21:10:21 +03:00
Hleb Valoshka a6e74a7676 Remove incorrectly placed ';' 2019-01-04 19:10:01 +03:00
Hleb Valoshka 8df616c497 [qmake] Don't require unused XML library 2019-01-04 19:10:01 +03:00
Hleb Valoshka 8daf8f07d4 [win] Undef libintl's replacement for printf family 2019-01-04 19:10:01 +03:00
pirogronian 8c032924c7 Make dispositions general and use it in loadCategory. 2019-01-03 20:00:30 +01:00
Hleb Valoshka f56c3a104b Add lua_isinteger for lua 5.1 and 5.2 2019-01-01 12:23:31 +03:00
Hleb Valoshka bca39dc424 Test builds with lua versions 5.1, 5.2, 5.3 2019-01-01 12:23:31 +03:00
Hleb Valoshka 23261fc623 Don't install celmodel.a 2019-01-01 12:23:31 +03:00
pirogronian 2e1a1e9be1 Add legacy OpenGL linking option 2018-12-31 20:37:20 +01:00
pirogronian de2a2a892e I18n support for user defined categories via Lua and catalog files. 2018-12-30 17:23:48 +01:00
pirogronian 2f7adf19d0 Replace deprecated QGLWidget with QOpenGLWidget 2018-12-27 23:06:53 +03:00
Hleb Valoshka 1d198c3b72 Celx methods for new parameters 2018-12-22 23:22:49 +03:00
Hleb Valoshka e2d7efd984 celxlua: add push(float) 2018-12-22 23:22:49 +03:00
Hleb Valoshka c710412ba7 New planet parameters, core 2018-12-22 23:22:49 +03:00
pirogronian 6befa417ff [Qt] Unmark action in selection popup & browsers. 2018-12-22 21:18:38 +01:00
pirogronian a2dba1e519 Some celx module fixes & improvements. 2018-12-22 14:15:49 +01:00
pirogronian e51b08f367 Lua method to bind custom translation domain. 2018-12-19 21:16:09 +01:00
Hleb Valoshka 4eabb17ba2 Fix application start on Windows 2018-12-19 19:47:23 +03:00
Hleb Valoshka 372ebfb4f5 Convert static variable to constexpr 2018-12-19 19:47:23 +03:00
Hleb Valoshka b02a1184d5 Move DSO_OCTREE_ROOT_SIZE definition to dsodb.h
It's required by render.cpp so we can't leave it in dsodb.cpp only
2018-12-19 19:47:23 +03:00
pirogronian 781541e329 Sample data. 2018-12-19 17:31:30 +01:00
pirogronian 7f23b726c4 Core mechanism. 2018-12-19 17:31:30 +01:00
pirogronian 8cb76495a6 Celx misc modernization & some internal fixes. 2018-12-17 08:24:15 +01:00
Hleb Valoshka fd058fb3f3 Fixes for Windows native frontend
Actual author is Janus
2018-12-11 22:32:32 +03:00
Hleb Valoshka 06ab3d8b2c Remove unneeded functions from GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka ea3988b6f3 Remove unused GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka dbd7090117 Make ShaderManager private property of Renderer 2018-12-11 20:32:13 +03:00
Hleb Valoshka 8aaf7fb205 Add missing files to CMakeLists 2018-12-08 02:26:37 +03:00
Hleb Valoshka 7931114b9f Fix new warnings
- warning: deleting object of polymorphic class type ‘Star’ which has
   non-virtual destructor might cause undefined behavior
   [-Wdelete-non-virtual-dtor]
 - enumeration value ‘Type_Generic’ not handled in switch [-Wswitch]
2018-12-08 02:06:16 +03:00
Hleb Valoshka 77d4fdc0f6 Check wchar_t in utf8 handling functions (Closes: #158) 2018-12-08 02:06:03 +03:00
Hleb Valoshka 35ff97a07a Mark some enums as uint32_t
By default enums are int, so 0xffffffff == -1. But those enums are used in
unsigned context so some compilers (Visual C++ at least) throw warnings.
2018-12-08 02:05:52 +03:00
Hleb Valoshka 514a948144 Return reference from getInfoURL() of DeepSkyObject and Location 2018-12-08 02:05:52 +03:00
Hleb Valoshka 91b783102d Remove static global std::string 2018-12-08 02:05:52 +03:00
pirogronian e5e229d472 Haschild method added, critical bug fixed, code cleanup. 2018-12-07 10:17:11 +01:00
pirogronian 3075323113 Fixes security issue and code quality improvements. 2018-12-07 10:17:11 +01:00
pirogronian e6e84d1ce3 User-defined categories. Core + Lua. 2018-12-07 10:17:11 +01:00
Hleb Valoshka fe955fbbc4 Minimal .travisci.yml 2018-12-03 12:13:02 +03:00
Hleb Valoshka ed9a13b92f Remove g_ShaderManager from globals
#150 is not reproducible any more
2018-12-02 23:49:34 +03:00
Hleb Valoshka d242bde6a8 Remove some static class members 2018-12-02 23:49:34 +03:00
Hleb Valoshka f7d6edd671 Remove global std::string variables in stardb 2018-12-02 23:49:34 +03:00
Hleb Valoshka 03131d862c Make warnings more userfriendly 2018-12-02 16:24:33 +03:00
Hleb Valoshka dc8d537917 Remove useless code 2018-12-02 16:24:33 +03:00
Hleb Valoshka 6fcaadb207 Fix ~/.celestia.cfg reading 2018-12-02 16:24:33 +03:00
Hleb Valoshka 34ab3bd829 Update translations 2018-12-01 20:44:16 +03:00
Hleb Valoshka 7e498c0235 Update pot creation infrastructure 2018-12-01 20:44:16 +03:00
Hleb Valoshka 8f00c289f4 Ignore temporary files used to create pot files 2018-12-01 20:44:16 +03:00
Hleb Valoshka 04fa23b724 [cmake] install missing images 2018-12-01 01:02:14 +03:00
Hleb Valoshka 39e5372dd2 [cmake] Don't install static libraries 2018-12-01 01:02:14 +03:00
Hleb Valoshka afa60f72cb [glut] Show error message if simulation initialization failed 2018-12-01 01:02:14 +03:00
Hleb Valoshka 6ce95849fa [core] Continue loading if no DSO files are present 2018-12-01 01:02:14 +03:00
Hleb Valoshka e8d9a265ae [cmake] Fix data files installation 2018-12-01 01:02:14 +03:00
Hleb Valoshka c2fb193f4b [qt] Add fading orbit toggle option 2018-12-01 01:01:38 +03:00
Hleb Valoshka 7b8175eb5c [core,celx] Add ShowFadingOrbits renderer flag 2018-12-01 01:01:38 +03:00
Hleb Valoshka 549a646c67 Initial cmake implementation 2018-11-29 10:18:26 +03:00
Hleb Valoshka 354354bda3 [tools] Remove gets() usage 2018-11-29 10:18:05 +03:00
Hleb Valoshka 867e289cec [tools] Fix compilation fixes
Iirc the warning was related to missing const
2018-11-29 10:18:05 +03:00
Hleb Valoshka eeb50558e4 [tools] Migrate to Eigen 2018-11-29 10:18:05 +03:00
Hleb Valoshka d1f0434229 [gtk] Fix compilation warning 2018-11-29 10:18:05 +03:00
Hleb Valoshka c7e5038266 [gtk] Use app->core to call getConfig() 2018-11-29 10:18:05 +03:00
Hleb Valoshka 83a9751eb3 [gtk] Fix render flag setup in options dialog 2018-11-29 10:18:05 +03:00
Hleb Valoshka 17144db455 [gtk] Use g_object_unref instead of gdk_pixbuf_unref
gdk_pixbuf_unref was deprecated in 2001 so no guards are required
2018-11-29 10:18:05 +03:00
Hleb Valoshka bb1f4cede5 [qt] Remove unneeded include 2018-11-29 10:18:05 +03:00
Hleb Valoshka 82ef4e3b95 [qt] Add "Go to object" dialog
Like it was in Gtk and OSX backends
2018-11-28 10:24:07 +03:00
Hleb Valoshka 0acc4fed67 Update .gitignore
* Remove autotools stuff.
 * Add cmake build dirs.
 * Remove binaries compiled in place.
2018-11-27 21:15:14 +03:00
Hleb Valoshka 4e6367d2fe Fix spice checking 2018-11-27 11:21:56 +03:00
Hleb Valoshka 0956422bcf Iterator fix 2018-11-27 11:21:56 +03:00
Hleb Valoshka 8529ad1313 Fix scripts and images installation 2018-11-27 11:21:56 +03:00
Hleb Valoshka de563fbd66 Better pkg-config support for LUA 2018-11-27 11:21:56 +03:00
Hleb Valoshka 0bd0b4e19c Pass SolarSystemMaxDistance to a renderer (Closes: #133) 2018-11-26 13:16:40 +03:00
Hleb Valoshka 56ae267ad7 Add an new config parameter: SolarSystemMaxDistance
It will define maximal distance where solar system objects are
rendered.

It's value is inside [1, 10] LY.
2018-11-26 13:16:40 +03:00
Hleb Valoshka 6a5acbcdb6 Fix format specifier for float number 2018-11-26 13:16:40 +03:00
Hleb Valoshka e75123bfd0 Remove hardcoded maximal distance from an observer to stars
Stars close that the distance are rendered as solar systems (e.g. with
their planets, orbits, Oort belts).
2018-11-26 13:16:40 +03:00
Dorothea Baker fe4bf3f144 Add missing Linux installation info to readme 2018-11-25 19:13:56 +01:00
Hleb Valoshka f4a9b09e57 [qt] Fix copy-paste error 2018-11-25 13:01:16 +03:00
Hleb Valoshka 5d0f46422f [qt] Unmark object before marking it 2018-11-23 09:44:42 +03:00
Hleb Valoshka 0965c0b954 [qt] call beginResetModel() before changing a model 2018-11-23 09:44:42 +03:00
Hleb Valoshka 13e75c82c1 [qt] Allow to mark solar system bodies 2018-11-23 09:44:42 +03:00
Hleb Valoshka d1830f2b90 Fix leap seconds
- the first one was on 1972/June/30
 - the last one was 2016/Dec/31 not 2015
2018-11-22 22:22:27 +03:00
Hleb Valoshka 8592f59246 Replace markers with the same priority 2018-11-22 22:22:27 +03:00
Hleb Valoshka a89e40a856 Add loadfragment script function instead of from_ssc (Closes: #126) 2018-11-21 20:30:37 +03:00
Hleb Valoshka 54b62b8fe0 Amend location types
large -> largeringed (less confusing name)
trench -> ring (we already have a trench-like feature)
2018-11-20 23:13:19 +03:00
Hleb Valoshka d5f41a28c7 Change "Custom FPS" accelerator (Closes: #120) 2018-11-20 20:15:28 +03:00
pirogronian e41cc5dee4 Move lua methods to celx_celestia and celx_misc 2018-11-20 16:40:52 +01:00
Hleb Valoshka f13cb111e8 Make StarDetails::infoURL string instead of pointer 2018-11-19 23:29:19 +03:00
Hleb Valoshka 07ed1e3061 Make Location::infoURL string instead of pointer 2018-11-19 23:29:19 +03:00
Hleb Valoshka 4966813cac [qt] Fix render tab layout, disable rendering path selection 2018-11-19 23:29:19 +03:00
Hleb Valoshka 04ee7d5a76 Eliminate code duplication + style fix 2018-11-19 23:29:19 +03:00
Hleb Valoshka dcf7f4aa55 Return string ref in Body::getInfoURL 2018-11-19 23:29:19 +03:00
Hleb Valoshka 9d25ab249f Add from_ssc command for CEL scripts 2018-11-17 20:56:17 +03:00
Hleb Valoshka deeca96ddb Update URL to handle 64bit render flags, bump URL version to 4 2018-11-16 21:25:16 +01:00
Hleb Valoshka 9a02392856 [Qt] Use plural form of Spacecrafts in dialogs 2018-11-16 21:25:16 +01:00
Hleb Valoshka f0c5c155f6 [win] Update Windows backend for new display properties 2018-11-16 21:25:16 +01:00
Hleb Valoshka adff12a0aa [gtk] Update GTK+ backend for new display properties 2018-11-16 21:25:16 +01:00
Hleb Valoshka 60c42c2588 Add new Renderer flags
* ShowDwarfPlanets
 * ShowMoons
 * ShowMinorMoons
 * ShowAsteroids
 * ShowComets
 * ShowSpacecrafts
 * ShowFadingOrbits (not used yet)
2018-11-16 21:25:16 +01:00
Hleb Valoshka c1d1f0ead4 Fixes in observer:setlocationflags 2018-11-16 21:25:16 +01:00
Hleb Valoshka 0ecb2eb509 Add CelxLua::FlagMap64 for 64 bit flags, use in FlagMap 32 bit 2018-11-16 21:25:16 +01:00
Hleb Valoshka 74c418dd1e Load SSC fragments dynamicly 2018-11-16 21:20:55 +01:00
pirogronian 358268ad61 Make fps menu smart enough to detect actual fps rate setting. 2018-11-16 12:07:03 +01:00
pirogronian 475352634b Make Star style and Texture Resolution menus truly exclusive. 2018-11-16 12:07:03 +01:00
pirogronian e82a87018a Make FPS control menu checkable, move VSync option to it and rename properly. 2018-11-16 12:07:03 +01:00
pirogronian 05067da608 Fix: "All eclipses" button acted as "Lunar eclipses". 2018-11-16 10:02:39 +01:00
Hleb Valoshka b4ccb15c93 Add 4 custom location feature 2018-11-13 20:02:56 +01:00
Hleb Valoshka e92af93d08 Implement CEL/CELX methods to change texture of planet rings (Closes: #48) 2018-11-13 20:01:51 +01:00
Hleb Valoshka 0bfece85c2 [Qt] Add controls to toggle planet's rings 2018-11-13 19:59:17 +01:00
Hleb Valoshka e40b9549a7 Allow to disable and enable planet rings (Closes: #47) 2018-11-13 19:59:17 +01:00
Hleb Valoshka 2e654e451b Don't render corona for T5-T9 and Y class stars 2018-11-13 19:55:07 +01:00
Hleb Valoshka 52683be09b Add StellarClass helpers for StarDB Ver. 0x0200
Due to emerge of Spectral_Y
2018-11-13 19:55:07 +01:00
Hleb Valoshka e094e6876e Simplify StellarClass::str() 2018-11-13 19:55:07 +01:00
Hleb Valoshka 7e1fb92933 Add Brown Dwarf spectral class Y (Closes: #43) 2018-11-13 19:55:07 +01:00
Hleb Valoshka 24117cf609 Update bolometric correction and temperature for T class 2018-11-13 19:55:07 +01:00
pirogronian 089b974ee2 Restoring READE.md 2018-11-11 18:13:04 +01:00
pirogronian 8d5b729b52 Direct manual control over frame rate. Useful on weaker machines. 2018-11-09 15:21:39 +01:00
Hleb Valoshka 83d2799c0b Draw asterisms using VBO 2018-11-09 11:14:24 +03:00
Hleb Valoshka c2205c7f77 Implement AsterismList class with render() method 2018-11-09 11:14:24 +03:00
Hleb Valoshka 8564fa16e7 Make asterism.cpp more C++11-like 2018-11-09 11:14:24 +03:00
pirogronian b1d513a981 Fix lua versions detection. 2018-11-08 22:23:29 +01:00
Hleb Valoshka ddd95f6911 Re-implement some annotations using addAnnotation 2018-11-08 23:43:13 +03:00
Hleb Valoshka e73e366828 Cleanup renderer, no functional changes 2018-11-08 23:43:13 +03:00
Hleb Valoshka 9069df6c6b Move asterisms and boundaries drawing from Renderer::draw() 2018-11-08 23:43:13 +03:00
Hleb Valoshka fe40034189 Add helper methods to enable/disable smooth lines 2018-11-08 23:43:13 +03:00
Hleb Valoshka 7bb6ba543a [Qt] Fix inverted logic of "Latin Names" checkbox 2018-11-08 12:39:16 +03:00
Hleb Valoshka e66c98189b Don't include deleted header 2018-11-08 12:38:54 +03:00
Hleb Valoshka 3c04587e3f Add missing location feature saxum 2018-11-08 12:38:54 +03:00
Hleb Valoshka d31b4289d5 Add new location features to core, make them 64bit (Closes: #32) 2018-11-08 11:07:07 +03:00
Hleb Valoshka 9eec07a589 Sort locations 2018-11-08 11:07:07 +03:00
Hleb Valoshka e0c1585263 Make work with constellations more C++-like 2018-11-08 11:06:17 +03:00
Hleb Valoshka 9d5c914e4b Don't use localtime_r on Windows
That code was not tested actually.
On windows struct tm doesn't have localtime_r and tm_zone
2018-11-08 11:06:17 +03:00
Hleb Valoshka d7839beaf2 Fixing nonstandard types found by mingw-w64-i686 2018-11-08 11:06:17 +03:00
Hleb Valoshka 02e920d703 Fix some QString -> std::string conversions 2018-11-08 11:06:17 +03:00
Hleb Valoshka 898c89cb16 Fix preprocessor usage, make code cleareer 2018-11-08 11:06:17 +03:00
Hleb Valoshka 49c34587a3 Fix incorrect replacement in tools/cmod 2018-11-08 11:06:17 +03:00
Hleb Valoshka 1e80930a6d Use Eigen::Vector*::Unit*() and Eigen::Vector*::Zero() here and there 2018-11-08 11:06:17 +03:00
Hleb Valoshka 2603c60ad9 Fix indents in TRANSLATORS 2018-10-31 22:33:12 +03:00
Hleb Valoshka 5e41e38a8a [qt] Add menu to toggle VSync 2018-10-31 22:33:12 +03:00
Hleb Valoshka b4a8279b40 [qt] Set missing dialog titles 2018-10-31 22:33:12 +03:00
Hleb Valoshka 334c6e76f7 [qt] Change InfoPanel data when selection is changed in a *Browser 2018-10-31 22:33:12 +03:00
Hleb Valoshka 8c613c67f5 [qt] Use QString::fromStdString instead of QString::fromUtf8(s.c_str()) 2018-10-31 22:33:12 +03:00
Hleb Valoshka 253aaa4985 [qt] Make InfoPanel more L10n friendly 2018-10-31 22:33:12 +03:00
Hleb Valoshka f11f6133d2 [qt] Fix SolarSystem browser
* Fix navigation (SolarSystemTreeModel::sibling())
  * Fix ModelTester (SolarSystemTreeModel::flags())
  * Style fixes
2018-10-31 22:33:12 +03:00
Hleb Valoshka f701d4d86e [qt] Fix numbers output in Celestial & DSO browsers
* set precision to 3 for distance in CelBrowser
 * set precision to 6 for distance in DSOBrowser
 * use locale-defined way to display numbers
2018-10-31 22:33:12 +03:00
Hleb Valoshka eab70c96cb Fix more coverity issues
Mostly uninitialized variables plus one memory leak
2018-10-30 23:52:19 +03:00
Hleb Valoshka 062bf69397 Use C++11 static_assert 2018-10-30 23:52:19 +03:00
Hleb Valoshka 878c7ddcdf Force C++11 for older compillers 2018-10-30 23:52:19 +03:00
Hleb Valoshka bd409c1580 Allow Vsync usage (Unix only) 2018-10-30 23:52:19 +03:00
Hleb Valoshka 85f6dad804 Remove code used in old rendering paths 2018-10-30 23:52:19 +03:00
Hleb Valoshka 1fb9f82384 Add missing guards for spice code 2018-10-30 23:52:19 +03:00
Hleb Valoshka 1fda8e35f0 Fix warnings found by PVS
- 1 copy-paste error
  - 1 nullptr dereference
  - fixed self-assignment in Mesh::VertexDescription::operator=
  - a few missing delete
  - all other are checks for nullptr after new
2018-10-28 22:00:27 +03:00
Hleb Valoshka fa5ab79304 Cleanup code related to non-GLSL render paths 2018-10-28 22:00:27 +03:00
Hleb Valoshka 2828853d83 Cleanups, no functional changes 2018-10-28 22:00:27 +03:00
Hleb Valoshka 93b25bc5a0 Remove dead StarRenderer code 2018-10-28 22:00:27 +03:00
Hleb Valoshka c6de578de6 Dummy audio support for scripts (Closes: #19) 2018-10-28 12:21:31 +03:00
Hleb Valoshka 4ad277ed7a Correctly compute planet matrix for frustum (Closes: #17)
Original misbehaviour was caused by the two facts:
- old matrices are row-based (DX style) while Eigen's are colum-based so
  we need to multiply them in an opposite order
- Scaling() is applied to all matrix members while we need just to move
  our camera n relative units, where n = camera position/planet radius

+ remove old irrelevant comment
2018-10-28 12:18:38 +03:00
Hleb Valoshka f478faa5a4 Use std::string instead of char[] in annotations (Closes: #22) 2018-10-27 18:37:28 +03:00
Hleb Valoshka 2377b0089c Draw constellation boundaries using glsl 2018-10-26 00:22:54 +03:00
Hleb Valoshka dfe4ca01af Move shader dumping into its own helper 2018-10-23 00:03:39 +03:00
Hleb Valoshka 6653929310 Remove ARB programs support completely 2018-10-23 00:03:39 +03:00
Hleb Valoshka b9d532a902 Disable ancient ARB vertex programs 2018-10-23 00:03:39 +03:00
Hleb Valoshka 717bf3413d Rewrite star rendering using GLSL
Shader manager needs more attention though.
2018-10-23 00:03:39 +03:00
Hleb Valoshka 8a894bfb0e Workaround bug with planet dissapearing when an observer gets closer
See issue #17.
2018-10-22 23:08:11 +03:00
Hleb Valoshka 5503885ed6 Wrap defines with ifndef 2018-10-20 19:39:28 +03:00
Hleb Valoshka 594b3c9f63 Don't resize console buffer if new rows eq old 2018-10-20 19:39:19 +03:00
Hleb Valoshka 5e84d0e3e3 Free some memory allocations explicitly, found by vagrant
I found strange issue when Celestia is built using cmake: the program
was aborted with "corrupted size vs. prev_size" message.

GDB showed address as `delete[] text` in Console::~Console(), while there
was not double free().

Vargant showed "incorrect delete/delete[]/realloc" for
ShaderManager.shaders.

Now it's gone.
2018-10-20 19:39:12 +03:00
Hleb Valoshka b51280666b Initialize GLEW in glutmain 2018-10-20 19:38:34 +03:00
Hleb Valoshka e7d50818f4 Fix buildstardb compilation with -fpremissive 2018-10-20 19:38:15 +03:00
Hleb Valoshka ea273e0c6c Cleanups, no functional changes 2018-10-18 21:52:04 +03:00
Hleb Valoshka 110ff74fd8 New doesn't return nullptr 2018-10-18 21:51:13 +03:00
Hleb Valoshka 9d050df592 Remove extra whitespaces in rotation perion 2018-10-18 21:51:03 +03:00
Hleb Valoshka 4a2b1102ee Fix member initialization with itself 2018-10-18 21:50:59 +03:00
Hleb Valoshka 8685b114a3 Cleanup warnings found by clang++ 2018-10-18 21:50:41 +03:00
Hleb Valoshka 4104d557c9 Bundle libfmt 5.2.1 2018-10-17 22:19:03 +03:00
Hleb Valoshka 363abc40f3 Use libfmt instead of C-style & iostream workflow
TODO: check StarDatabase::getStarName
2018-10-17 22:19:03 +03:00
Hleb Valoshka 2cfebbadb4 Change time speed format
1) Without "'" modifier as fmtlib doesn't support it yet
  2) Decrease precision to 6
2018-10-17 22:19:03 +03:00
Hleb Valoshka 9281ea9d6e Add libfmt to celestia.pro (WIP, Unix only) 2018-10-17 22:19:03 +03:00
Hleb Valoshka a3a91ed8a0 Fix galaxies selection (Closes: #13)
It was introduced during conversion to C++11
2018-10-15 19:34:18 +03:00
Hleb Valoshka df3c23a079 Fix uninitialized variable warning 2018-10-14 18:14:33 +03:00
Hleb Valoshka a406f004f4 Strip ARB suffixes in curveplot 2018-10-14 18:14:33 +03:00
Hleb Valoshka 6a8c3f40db Move cupverplot to celengine 2018-10-14 18:14:33 +03:00
Hleb Valoshka 72a39d0e0a Disable unused code 2018-10-14 18:14:33 +03:00
Hleb Valoshka 1ab966a5eb Qt backend C++11 and style cleanups 2018-10-14 12:50:16 +03:00
Hleb Valoshka 00bab1e046 Enable splash window
TODO: resolve issues with pixmap alpha channel
2018-10-14 01:11:01 +03:00
Hleb Valoshka cb0ec7deae Update build instructions 2018-10-13 23:38:09 +03:00
Hleb Valoshka b3efd50661 Make cmod::Model destructor virtual (Closes: #8)
+tiny warning fixes
2018-10-13 23:05:32 +03:00
Hleb Valoshka e546a53e19 Refactor overlay image code to an own subclass 2018-10-13 22:47:18 +03:00
Hleb Valoshka 974686cf15 Remove "old-stype" star rendering 2018-10-07 21:32:43 +03:00
Hleb Valoshka 524cbd518f Replace some constants absent in GL ES 2018-10-07 21:27:33 +03:00
Hleb Valoshka 73a869c137 Use core OpenGL2 functions instead of their ARB versions 2018-10-07 20:45:01 +03:00
Hleb Valoshka c45e85fbfa Remove dead rendering code 2018-10-07 20:42:06 +03:00
Hleb Valoshka 451ecfd12e Remove hacks for ancient video cards 2018-10-07 19:39:33 +03:00
Hleb Valoshka 2ef2df3b80 Remove basic (OpenGL 1.0) render path 2018-10-07 19:39:33 +03:00
Hleb Valoshka 829a17d4ac Remove multitexture render path 2018-10-07 19:04:50 +03:00
Hleb Valoshka 0d7a20ea77 Remove GL VP render path 2018-10-07 19:03:14 +03:00
Hleb Valoshka 8a120b1e30 Remove GL1.5 VP & VP render path 2018-10-07 19:00:27 +03:00
Hleb Valoshka b4ab67be02 Remove Geforce FX render paths 2018-10-07 18:57:59 +03:00
Hleb Valoshka 0849e2658a Remove NV combiners render path 2018-10-07 18:54:55 +03:00
Hleb Valoshka 7345d49e8c Enable GL_ARB_shader_texture_lod in fragment shaders (Closes: #94) 2018-10-07 13:38:25 +03:00
Hleb Valoshka a2581b7e85 celx: add pause method
* w/o arguments - toggle pause state
 * w/ an arguments:
   - true - pause
   - false - resume
2018-10-07 13:38:25 +03:00
Hleb Valoshka 30de4e60d5 Exit if simulation was not created successfully
To prevent null pointer dereferencing and segmentation fault.
2018-10-07 13:38:25 +03:00
Hleb Valoshka e562c6a8f7 Don't show message about missing bookmarks file 2018-10-07 13:38:25 +03:00
Hleb Valoshka f5fee44693 Cleanup includes 2018-10-07 13:38:25 +03:00
Hleb Valoshka f80d09c554 Disable unused Capsule support in Frustum 2018-10-07 13:38:25 +03:00
Hleb Valoshka 8790e84a4c Wrap compatibility methods with #ifdef __CELVEC__ 2018-10-07 13:38:25 +03:00
Hleb Valoshka 85829063e0 Finish eigenization 2018-10-07 13:38:24 +03:00
Hleb Valoshka e290322b1c Add some tests for ported cel/celx methods 2018-10-07 13:38:24 +03:00
Hleb Valoshka 6b412b7a65 Remove unneeded includes of eigenport.h 2018-10-07 13:38:24 +03:00
Hleb Valoshka 2c0e4dcf56 Port left unported celx commands to eigen 2018-10-07 13:38:24 +03:00
Hleb Valoshka f09115b34c Port left unported cel commands to eigen 2018-10-07 13:38:24 +03:00
Hleb Valoshka 5f05bd711a Remove autotools files 2018-10-07 13:38:24 +03:00
Hleb Valoshka 8b957ef6a7 Update sites in about box 2018-10-07 13:38:24 +03:00
Hleb Valoshka 85aa3b1b62 Update translations 2018-10-07 13:38:24 +03:00
Hleb Valoshka 8db36a8b7a Add CelestiaQTranslator class to use gettext with Qt5 UI 2018-10-07 13:38:15 +03:00
Hleb Valoshka 8ae185a23d Fix QTextStream::<< usage
when used with char* it assumes ISO-8859-1 encoding
2018-10-07 12:39:21 +03:00
Hleb Valoshka 8e95dda855 Add extractrc script, move update_pot.sh to po/ 2018-10-07 12:39:21 +03:00
Hleb Valoshka cfc6923c20 Use localtime_r on all platforms to set TZ offset and name (Closes: #92) 2018-10-07 12:39:21 +03:00
Hleb Valoshka 4bdfe271e5 Remove C++14-isms
Some day this commit will be reverted.
2018-09-22 23:42:03 +03:00
Hleb Valoshka 83b222013b Better FeatureType in location.cpp/h 2018-09-22 23:42:03 +03:00
Hleb Valoshka 915a4e8b80 Remove copy-pasted code
it was added twice
2018-09-22 23:42:03 +03:00
Hleb Valoshka 7470fe4d6f Decrease memory used by UTF-8 tables 2018-09-22 23:42:03 +03:00
Hleb Valoshka 27e39aa4c3 Use c.push_back instead of c.insert(c.end,...) 2018-09-22 23:42:03 +03:00
Hleb Valoshka f9d096d6da Mark some methods as constexpr and replace with templates 2018-09-22 23:42:03 +03:00
Hleb Valoshka 73638c116d Remove basictypes.h and use standard c++11 types 2018-09-22 23:42:03 +03:00
Hleb Valoshka 5097d204d0 Use c++11 timer 2018-09-22 23:42:02 +03:00
Hleb Valoshka b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Hleb Valoshka 743a7e91a7 Update year + add non-breakable space
... to prevent line wrapping before 2.

# Conflicts:
#	src/celestia/qt/qtappwin.cpp
2018-09-22 23:42:02 +03:00
Hleb Valoshka e49c61c90e Extend fatalError() to use flash() and use it instead of alerter 2018-09-22 23:41:58 +03:00
Hleb Valoshka 4358a25fcc Show git commit in "About" window
Can be useful when reporting issues
2018-09-22 23:41:58 +03:00
Hleb Valoshka 9f6ad88ed8 Add Cel command setwindowbordersvisible (Closes: #53)
# Conflicts:
#	src/celengine/cmdparser.cpp
#	src/celengine/command.h
2018-09-22 23:41:58 +03:00
GottfriedSp 74e07e859b added new leap seconds Jul 2015 and Jan 2016
fixed comment Jan 2012 -> Jul 2012
2018-09-22 23:41:58 +03:00
Hleb Valoshka c250fa623e Check for system installed eigen & glew 2018-09-22 23:41:58 +03:00
Hleb Valoshka bff29b516a Fix qmake project file
* cleanups
  * check for spice & byteswap.h

# Conflicts:
#	celestia.pro
2018-09-22 23:41:58 +03:00
GottfriedSp 5b8f243233 fixed crash when loading of celx script failed 2018-09-22 23:41:58 +03:00
GottfriedSp 87c3e973be changed error text 2018-09-22 23:41:58 +03:00
Hleb Valoshka 9b9faf6e03 unix: install splash.png into a proper location 2018-09-22 23:41:58 +03:00
Hleb Valoshka 5a5b06481f Fix the most serious fixes found by coverity
… resource leaks, null pointers dereference
2018-09-22 23:41:58 +03:00
Alexell 0d002e490e Updated all language files
Language files are automatically filled with a draft translation based on the original translations.
2018-09-22 23:41:58 +03:00
Alexell c3acdf932d Added script for generating celestia.pot template
Update celestia.pot (generated by script)

Co-Authored-By: Ignacio Losiggio <iglosiggio@gmail.com>
2018-09-22 23:41:57 +03:00
pirogronian 3cf7383b4e Supposedly fix lua version problem on non-unix platforms. 2018-09-22 23:41:57 +03:00
Hleb Valoshka 4c93f8b948 celx: add titles for examples 2018-09-22 23:41:57 +03:00
Hleb Valoshka ee43f559a0 lua: fix compatibility with 5.2 and 5.3 2018-09-22 23:41:57 +03:00
Hleb Valoshka c748b2f3f8 Set proper words order in menu entry for Celestia Manual 2018-09-22 23:41:57 +03:00
Hleb Valoshka e48e74f2e9 Look for Lua 5.2 libraries in project file
On Unix only
2018-09-22 23:41:57 +03:00
Gavin Stark 29a215ad17 adding name sorting to dso and star browsers 2018-09-22 23:41:57 +03:00
Gavin Stark bd076c38ab fixing panning issue #34 2018-09-22 23:41:57 +03:00
Hleb Valoshka 2ca6fde86c Fix incorrect comparision 2018-09-22 23:41:57 +03:00
Hleb Valoshka f34c7568c4 fix (some) compiler warnings
# Conflicts:
#	src/celengine/observer.cpp
2018-09-22 23:41:57 +03:00
Hleb Valoshka 882e4ecf28 fix whitespaces and indents
trailing spaces are removed
tabs are replaced with 4 spaces

# Conflicts:
#	src/celengine/cmdparser.cpp
#	src/celengine/command.cpp
#	src/celestia/celestiacore.cpp
#	src/celestia/celestiacore.h
#	src/celestia/qt/qtappwin.cpp
#	src/celestia/qt/qtglwidget.cpp
#	src/celestia/win32/winmain.cpp
2018-09-22 23:41:57 +03:00
Hleb Valoshka c1fdbcfc8d replace if with switch in getopt() parsing 2018-09-22 23:41:57 +03:00
Hleb Valoshka d6f0e459f0 fix symlink creation 2018-09-22 23:41:57 +03:00
Hleb Valoshka 0546fd1bec update for newer automake 2018-09-22 23:41:57 +03:00
Hleb Valoshka f48a72f9bc replace _BSD_SOURCE with _DEFAULT_SOURCE 2018-09-22 23:41:57 +03:00
Hleb Valoshka 627be3b5c0 update .gitignore 2018-09-22 23:41:57 +03:00
Joseph C Wang efea401e2c add ok button to preference dialog 2018-09-22 23:41:56 +03:00
Joseph C Wang 3fedf866ff Add Lua 5.2 support
see https://bugzilla.redhat.com/show_bug.cgi?id=1045632:wq
2018-09-22 23:41:56 +03:00
Alexell 8cc4e60e39 Updated libint for QT support. 2018-09-22 23:41:56 +03:00
WIN-641EQTUHGRE\root 40de39362a win32/64 fixes 2018-09-22 23:41:56 +03:00
Rikard Falkeborn 4642c3fcec Replace celestia.vcproj with celestia.vcxproj in Makefile.am 2018-09-22 23:41:56 +03:00
Alexell cb0d9bc200 Updated QT about description & RU locale 2018-09-22 23:41:56 +03:00
Alexell 87ec214549 Added celdat2txt tool
Dump the contents of the Celestia star database files in a text format
that's easy to read, edit or to use in other db applications.
Created by Hans Bruggink (HB).
2018-09-22 23:41:56 +03:00
Nils Larsson a1043fbfaa Various Qt5 fixes.
# Conflicts:
#	src/celestia/qt/qtglwidget.cpp
2018-09-22 23:41:56 +03:00
Nils Larsson 35419855ea Added missing <cstring> include. 2018-09-22 23:41:56 +03:00
Nils Larsson dff13f2656 Guard INT64_MAX. 2018-09-22 23:41:56 +03:00
Alexell 662a2cba0e Updated GLEW source lib to latest version 2.1.0 2018-09-22 23:41:56 +03:00
Alexell e49dcc692e Small QT5 fixes
Updated resetModels and fixed LUA lib name/path.
2018-09-22 23:41:56 +03:00
Alexell 6b5e8f49cf Changed output build directory for x84/x64 2018-09-22 23:41:56 +03:00
Dmitry Brant ff2455857a Upgrade code for 64-bit build in Visual Studio.
This updates the code to build for an x64 target.
- Provide prebuilt x64 static libraries.
- Update Windows dialog code for 64-bit support.
- Update libpng to 1.6.29.

Still a few issues:
- Sound (fmod) isn't working correctly in 64-bit.
2018-09-22 23:41:56 +03:00
Dmitry Brant a2e79dcd05 Don't generate manifest automatically. 2018-09-22 17:08:07 +03:00
Dmitry Brant 3efaf84862 Add iob_func shim for successful Win32 build. 2018-09-22 17:08:07 +03:00
Dmitry Brant a25d26720c Adapt code to Eigen 3.3
No functional changes, just adapting to API changes in Eigen.
2018-09-22 17:08:07 +03:00
Dmitry Brant 3436d15bc3 Upgrade Eigen to 3.3 2018-09-22 17:08:07 +03:00
Dmitry Brant 73a8d13087 Upgrade project files to VS2017.
# Conflicts:
#	celestia.vcproj
2018-09-22 17:08:07 +03:00
Dmitry Brant 111120c3eb Use Segoe UI for dialog font, instead of MS Sans Serif.
...so that the app looks like it belongs in 2017, not 2004.
2018-09-22 17:08:07 +03:00
Alexell 31a036f2f8 Added demo CEL/CELX scripts for overlay & verbosity
# Conflicts:
#	scripts/audio/sound_demo.celx
2018-09-22 17:08:06 +03:00
Alexell d149798b86 Added new cel/celx commands
cel: verbosity and overlay.
celx: celestia:overlay and celestia:verbosity.
Thanks to Vincent Giangiulio.
2018-09-22 17:08:06 +03:00
Alexell e14647fd27 Changed order of Render->Star style menu items 2018-09-22 17:08:06 +03:00
Alexell a43ae267e3 Added store in the registry for new options
Added store in the registry for star color and VisualMagnitude for QT
and Win interface.

# Conflicts:
#	src/celestia/win32/winmain.cpp
2018-09-22 17:08:06 +03:00
Alexell 53b79871b0 Small fade fix
Fade constellation boundaries and constellations figures fix.
2018-09-22 17:08:06 +03:00
Alexell d85fde1eac Added new filter for QT browser
Added "barycenters" filter for QT Star Browser.
2018-09-22 17:08:06 +03:00
Alexell 90f4b6bfbd Fix obs:gotolonglat (distance parameter work) 2018-09-22 17:08:06 +03:00
Alexell dd37f1812a Added scrollbar in PlanetarySystem popup menu for QT like as Win, added vesroin info. 2018-09-22 17:08:06 +03:00
Alexell c102af525c Added configuration options
Added ReverseMouseWheel option (existing in source) in celestia.cfg
file, added new orbit rendering parameters.
2018-09-22 17:08:06 +03:00
Alexell 4c49fbaa55 QT hotkeys fix
Added hotkey [Shift+F10] for video capture, fix hotkeys for MultiView.
2018-08-11 22:05:17 +03:00
Alexell 62703a79fb Updated LUA source library to version 5.1.5 with Coco patch
http://coco.luajit.org/
2018-08-11 22:04:52 +03:00
Alexell bf6c5fca18 Changed celestia.pot and ru.po 2018-08-11 22:04:35 +03:00
Alexell 97b496cbea Updated GLEW source library to latest version 2.0.0 2018-08-11 22:04:02 +03:00
Alexell c9b4cc34e7 Updated LUA source library to version 5.1.4 2018-08-11 22:03:43 +03:00
Alexell e75f19f86f Fixed input object names (on Enter) by Cyrillic, for win and QT version.
# Conflicts:
#	src/celestia/qt/qtglwidget.cpp
2018-08-11 22:02:11 +03:00
Alexell c4aa9e91cd Minor default params changes.
Magnitude set to 8.0 as default. Show LocationLabels as default. Added
GitHub link to QT vesion.
2018-08-11 21:51:49 +03:00
Alexell ba086a746f Hotkeys and star color minor changes.
Added hotkeys for switching resolution textures [R] and [Shift+R], added
a screen message by pressing [Ctrl+X].  Star color switching commands
now have string values "blackbody_d65" and "enhanced", rather than
logical, as previously.
2018-08-11 21:51:49 +03:00
Alexell 7cc3d26391 QT version: change default window position
Fixed critical error at removing last item bookmark, changed default
render flags.
2018-08-11 21:51:36 +03:00
Alexell ce1de62117 QT version: added splash screen on startup
+ changed Russian translation file
2018-08-11 21:44:49 +03:00
Alexell ca6bf16863 QT version: changed Celestia icon
Added "Manual Celestia" item in Help menu, added menu icons.
2018-08-11 21:44:13 +03:00
Alexell 60a75b9abc Added new .celx functions
Added new .celx functions: celestia:getstarcolor and
celestia:setstarcolor for star color control. Added scripts for example.
2018-08-11 21:43:40 +03:00
Alexell ebf939c513 Added "Star color" menu item
Added "Star color" menu item duplicate key command [Shift +%]. Fixed
"Help Guide" menu item error.
2018-08-11 21:42:53 +03:00
Alexell f86b6e54c5 Updated language files
Updated language files. Added sans10_ru.txf font for the Russian locale.
Changed controls_ru.txt
2018-08-11 21:41:55 +03:00
Alexell 061b390f94 Minor code changes
Fixed Tour Guide bug (go to the first object in the list did not work).
Improved quality for jpg screenshots. "Version" label on the splash
added to localization. Small changes in Star Browser and Eclipses.
2018-08-11 21:41:15 +03:00
Alexell 748ec19a41 Changed Celestia icon. Changed and added menu icons.
Changed Celestia icon. Changed and added menu icons. Make a small change
in the position and size of dialog elements.
2018-08-11 21:40:49 +03:00
Grant Hutchison 7033ec3246 Added KOI-889 b, Kepler-69 b&c, KIC 4862625 b, Ome Ser b, HD 2952 b, HD 120084 b 2013-04-25 18:09:30 +00:00
Grant Hutchison 937f1d865e Added KOI_889, Kepler-69, KIC 4862625 A 2013-04-25 18:07:58 +00:00
Grant Hutchison 57a3bbc29b Removed Hip 11952 b&c; added CoRoT-16 b, Kepler-62 b,c,d,e,f 2013-04-19 15:24:26 +00:00
Grant Hutchison de9606d9a4 Added CoRoT-16 and Kepler-62 2013-04-19 15:23:06 +00:00
Grant Hutchison 9d4407694a Added WISE J104915.57-531906.1 binary 2013-03-13 16:53:57 +00:00
Grant Hutchison 21f30ad2b2 Added WASP-80 b, KIC 8852719 b, HIP 27803 b&c, HD 103774 b, HD 109271 b&c 2013-02-04 23:53:28 +00:00
Grant Hutchison af2636c91d Added WASP-80, KIC 8852719 2013-02-04 23:46:23 +00:00
Grant Hutchison ad78243128 Fully specified orbit for Alf Cen 2013-02-04 23:45:03 +00:00
Grant Hutchison e850f38ca0 Added KELT-3 b; Tau Cet b,c,d,e,f 2012-12-19 17:12:27 +00:00
Grant Hutchison 8dc2c31476 Added KELT-3 2012-12-19 17:11:21 +00:00
Grant Hutchison 008db9b8eb Added WASP-52 b, -58 b, -59 b, -60 b, -71 b, 77A b, HD 66141 b, HD 220074 b, HD 208527 b, HD 27631 b, HD 219077 b, HD 166724 b; HD 40307 e,f,g 2012-11-30 23:19:15 +00:00
Grant Hutchison 0f7f3aaa8b Added WASP-52, -58, -59, -60, -71, 77A 2012-11-30 23:16:40 +00:00
Grant Hutchison f368985e57 Added Alf Cen B b 2012-10-17 18:56:56 +00:00
Grant Hutchison 2d5f8fd66e Added WASP-54 b, WASP-56 b, WASP-57 b, WTS-1 b, NSVS 1425 b&c 2012-10-14 21:10:53 +00:00
Grant Hutchison 86480c1765 Added WASP-54, -56, -57; WTS-1; NSVS 1425 2012-10-14 21:08:42 +00:00
Grant Hutchison 3c201f2be8 Added 37 stars 2012-09-25 22:05:53 +00:00
Andrew Tribick 0d038d1219 Moved celestia.pro file to main folder, updated desktop file to point at correct icon location. 2012-05-28 16:17:50 +00:00
Andrew Tribick 263a44aaee Added Theora capture on Linux Qt. 2012-05-27 11:04:07 +00:00
Andrew Tribick 069a61b3af Expanded preferences dialog box for Qt; added ability to turn off tinted illumination. 2012-05-23 21:28:37 +00:00
Andrew Tribick c01c112d16 Preserve the 1.6.1 changes in the log. 2012-05-23 19:36:25 +00:00
Andrew Tribick f9da3c06f4 Merged in changes to the Windows installer script from the 1.6.1 branch 2012-05-23 19:26:03 +00:00
Grant Hutchison b0895783c0 Added single planets to KOI-53, WASP-47, -55, -61, -62, -63, -66 & -67; HD 10180 i&j; KOI-872 b,c&d; HD 16031 b&c; Gliese 433 c 2012-05-12 13:50:31 +00:00
Grant Hutchison 725e495139 Added KOI-13 & -872; WASP-47, -55, -61, -62, -63, -66 & -67 2012-05-12 13:47:48 +00:00
Andrew Tribick e6d7a54cc9 Reorganise cmod tools directory and add qmake project files. 2012-05-03 19:49:05 +00:00
Andrew Tribick 47107b119e Add missing zlib.h for libpng15. 2012-05-01 21:06:09 +00:00
Andrew Tribick 207823b1d8 Patch to fix valgrind errors and gcc warnings from Daniel K.O.
Use #ifdef FOO instead of #if FOO
Unused function parameter names
Uninitialised member in FrameTree
Memory read after deallocation in ReferenceFrame
Unmatched new[]/delete[] in StarDatabase
Uninitialised temperature in StarDatabase
Uninitialised member of RenderListEntry: isOpaque
Fix for convoluted code in renderer
2012-04-26 19:50:22 +00:00
Grant Hutchison 3f8d95466e Added brown dwarfs throughout, additional stars beyond RECONS Top 100 list; non-Charm2 red dwarf radii made realistic 2012-04-02 22:05:34 +00:00
Fridger Schrempp cb9922be2f Updated the Celestia version number to 1.7.0 in sync with celestia.pro 2012-04-02 16:15:18 +00:00
Fridger Schrempp 4b2e305e50 Added .desktop file for Linux by Andrew. It is part of 'make install' target in celestia.pro. 2012-04-01 17:36:28 +00:00
Fridger Schrempp 767944b037 For Linux: Implemented a 'make install target' and a Lua name adaptation based on pkgconfig. Additional tunings by Andrew and Pat. 2012-04-01 16:35:20 +00:00
Fridger Schrempp afbb6aa41e Fixed environment variable query 2012-04-01 16:29:58 +00:00
Fridger Schrempp 70cf5a1b20 For Linux: Implemented a 'make install target' and a Lua name adaptation based on pkgconfig. Additional tunings by Andrew and Pat. 2012-04-01 16:03:39 +00:00
Pat Suwalski 55c5cce055 Fix resource loading in symbol-optimized build (non-qmake). 2012-03-28 20:04:49 +00:00
Pat Suwalski e7f3cb7d4e Update Makefiles to reflect commits 5192 and 5194. 2012-03-28 17:19:01 +00:00
Andrew Tribick 88eeedff84 Clean-up: removed another VC++6 makefile 2012-03-22 20:16:55 +00:00
Andrew Tribick 5b7568a9ad Clean-up: removed bat files for VC++6. 2012-03-22 20:09:01 +00:00
Andrew Tribick 8a6a703660 Clean-up: removed old VC++6 files 2012-03-22 20:04:53 +00:00
Andrew Tribick a6ebb6d434 Added names for exoplanet host stars Kepler-21 and HR 8799. 2012-03-05 20:29:21 +00:00
Chris Laurel a974ef9308 Initialized cullingRadius member of Body class. Leaving it uninitialized meant that it could end up set to NaN, resulting in odd behavior. 2012-02-25 02:20:18 +00:00
Chris Laurel a3e6e2ee45 Added new leap second on 30 Jun 2012. 2012-02-11 03:51:24 +00:00
Grant Hutchison 877beb3614 Added 31 Kepler planets in 10 systems; RR Cae b; Gliese 667C d; HD 37605 c; HD 197037 b; HD 79498 b; HD 220773 b 2012-02-06 22:43:14 +00:00
Grant Hutchison 67a8b23369 Added RR Cae and Kepler-23 to -33 (except -27) 2012-02-06 22:41:10 +00:00
Grant Hutchison b3dc651306 Added single planets for HAT-P-31 to -37; WASP-32 & -34; Kepler-15, -34 & -35; SWEEPS-4 & -11; KOI-961 b,c&d; UZ For c,d 2012-01-15 00:10:13 +00:00
Grant Hutchison 544b5b24ef Added HAT-P-31 to -37; WASP-32 & -34; Kepler-15, -34 & -35; KOI-961; SWEEPS-4 & 11; UZ For 2012-01-15 00:06:59 +00:00
Chris Laurel 98538305e3 Backported quaternion slerp fix from Eigen 3.0 trunk. Corrects interpolation
between quaternions that are opposites (or nearly so.) 
See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=398
2012-01-02 21:29:21 +00:00
Grant Hutchison 87368d2090 Added KOI-55 b&c; KOI-254 b; Kepler-20 b,c,d,e&f; Kepler-21 b; Kepler-22 b; CoRoT-24 b&c; Gliese 667C c; HD 156279 b; HD 100655 b; 71 CMa b; NY Vir b; replaced HU Aqr b&c 2012-01-01 00:35:14 +00:00
Grant Hutchison 2661dda7f1 Added CoRoT-24, Kepler-20, Kepler-22, KOI-55, KOI-254, NY Vir 2012-01-01 00:31:50 +00:00
Andrew Tribick dd3c34dc13 Fix for gcc-4.6 from Nils Larsson; pass --no-as-needed to g++ in order to allow building on Ubuntu 11.10 2011-11-24 21:26:25 +00:00
Andrew Tribick 6a20a09673 Update Eigen to 2.0.16 2011-11-24 21:24:38 +00:00
Grant Hutchison 50e444fabb Removed HD 16760 b and HU Aqr planets; added 13 planets from Qatar, Kepler, KOI, KIC, WASP and others 2011-11-05 22:37:36 +00:00
Grant Hutchison 328c24f364 Added BD+48 738, Qatar-2, Hip 114840, KIC 10905746, KIC 6185331, KOI-135, KOI-204, Kepler-18, WASP-36 2011-11-05 22:36:15 +00:00
Grant Hutchison ca4beb0610 Added Kepler-16 b; Hip 57274 b,c,d; HD 163607 b,c; HD 164509 b; HD 65216 b; HD 220689 b; HD 196067 b; HD 98649 b 2011-09-19 18:19:42 +00:00
Grant Hutchison 7344125250 Added Kepler-16 2011-09-19 18:15:26 +00:00
Grant Hutchison bef14c7a39 Added Kepler-12 b, Kepler-19 b; 41 new HARPS planets in 25 different systems 2011-09-18 14:39:17 +00:00
Grant Hutchison 62fef69d7f Added Kepler-12 and Kepler-19 2011-09-18 14:38:11 +00:00
Chris Laurel c8537e3fa6 Fixed compiler warnings for VSOP87 conversion tools. 2011-09-12 22:16:32 +00:00
Chris Laurel 321eab2717 Fixes for qttxf texture font file creation tool:
- Corrected glyph uv coordinates
- Show debug output indicating whether an exact font match was possible
2011-09-07 14:25:13 +00:00
Grant Hutchison 4ca7da71c1 35 new planets, including three in 82 Eri system 2011-09-05 22:24:58 +00:00
Grant Hutchison ebbd1c4376 Added KOI-196, Kepler-17, WASP-50, TrES-5 parent, HD 132563 B 2011-09-05 22:24:04 +00:00
Grant Hutchison ffe7fab029 Added two WISE brown dwarfs at ~5pc 2011-08-01 01:18:48 +00:00
Grant Hutchison c64f0bc877 Added WASP-44 b, -45 b, -46 b; CoRoT-17 b, -18 b, -19 b, -20 b, -23 b; Kepler-14 b, KOI-423 b, Kepler-10 c, HAT-P-13 d, Hip 5158 c 2011-07-06 21:34:44 +00:00
Grant Hutchison a631b4e22c Added WASP-44, -45, -46; CoRoT-17, -18, -19, -20, -23; Kepler-14 & KOI-423 2011-07-06 21:32:31 +00:00
Grant Hutchison c497b02f8f Added reference for Hip 85605 parallax problem 2011-05-13 16:16:02 +00:00
Grant Hutchison 60f79f34cc Rho1 Cnc e in closer orbit than originally thought 2011-05-04 15:55:55 +00:00
Grant Hutchison e9983a6237 Rho1 Cnc e transits; rest of system does not 2011-05-02 21:16:27 +00:00
Grant Hutchison 0fd1b7b818 Updated with most recent RECONS revision; corrected spelling of Rigil Kent 2011-05-02 21:14:56 +00:00
Grant Hutchison 03fb8bddba Correct spelling of Betelgeuze and Rigil Kent; remove aberrant spelling Alnasi; correct capitalization of variable double letters 2011-05-02 21:13:37 +00:00
Grant Hutchison ebf085409c Added WASP-23 b, WASP-35 b, WASP-43 b, WASP-48 b, HAT-P-30/WASP-51 b, HD 38283 b, Alf Ari b 2011-04-21 22:46:16 +00:00
Grant Hutchison 1211c4f63e Added WASP-23, WASP-35, WASP-43, WASP-48, HAT-P-30/WASP-51 2011-04-21 22:44:37 +00:00
Vincent Giangiulio 68479992e6 Added an infinite mouse feature to the Qt4 front end 2011-04-16 11:08:24 +00:00
Grant Hutchison e952114911 Added HAT-P-28 b, HAT-P-29 b, WASP-39 b, GJ 3634 b, HU Aqr b&c, HD 22781 b; removed HD 168443 c 2011-03-14 14:49:37 +00:00
Grant Hutchison b58d7ae1a6 Added HAT-P-28, HAT-P-29, WASP-39, GJ 3634, HU Aqr 2011-03-14 14:47:51 +00:00
Andrew Tribick 94d590e67f Fix for Unicode cel URLs from v1.6.1 branch.
Fix for Unicode URLs in KDE bookmarks menu.
2011-03-13 00:58:23 +00:00
Pat Suwalski d73c47c060 Set a default CONFIG_DATA_DIR if none is set. 2011-03-09 21:17:51 +00:00
Pat Suwalski e556481c98 Do not use "@DEFS@" in Makefile.am. 2011-03-09 04:21:22 +00:00
Andrew Tribick 893bde30cd Committed Nils Larsson's patch to enable Qt version to be executed from outside the source directory, added to list of contributors. 2011-03-07 22:18:22 +00:00
Andrew Tribick 2d73068c9a Add missing files from extras-standard to Makefiles. 2011-03-07 21:08:33 +00:00
Grant Hutchison a7c0121c2c Removed HD 149382 b; added Kepler-11 b,c,d,e,f&g 2011-02-06 17:17:12 +00:00
Grant Hutchison 83cdeb3f01 Added Kepler-11 2011-02-06 17:15:41 +00:00
Pat Suwalski 3319d13625 Set CXXFLAGS correctly (not to CFLAGS). 2011-01-24 17:52:38 +00:00
Pat Suwalski 56ecee7560 Add missing "-I" in Makefile. Update includes in "src/celestia" to be consistent with other includes. 2011-01-23 05:58:30 +00:00
Pat Suwalski 157ded3afa Remove executable property. 2011-01-21 22:47:09 +00:00
Pat Suwalski 3152634369 Don't hardcode the top-level include path. 2011-01-21 22:26:59 +00:00
Pat Suwalski 682371b85a Add missing ui_gtk=yes for GNOME. 2011-01-21 21:58:38 +00:00
Pat Suwalski 9a04249f30 Fix SPICELIB -> SPICE_LIBS instance. 2011-01-21 20:56:37 +00:00
Pat Suwalski 158393a7f7 Add --with-qt to build Qt4 front-end via autotools. 2011-01-21 18:20:34 +00:00
Chris Laurel a7301f0b08 Fixed smooth lines checkbox in Qt4 interface (fix from Nils Larsson) 2011-01-21 17:56:08 +00:00
Grant Hutchison 13b89acf4a Added Kepler-10 b, HAT-P-27 b, HD 102365 b; removed Rho CrB b, HD 74156 d, HD 156846 b, HD 131664 b 2011-01-20 22:49:24 +00:00
Grant Hutchison 72510522f4 Added Kepler-10, HAT-P-27 2011-01-20 22:47:38 +00:00
Pat Suwalski ee52176eef Re-implement handling of CFLAGS to be more modular. 2011-01-20 00:03:32 +00:00
Pat Suwalski 0aa603e0ee Update copyright year. 2011-01-12 18:32:20 +00:00
Vincent Giangiulio a5261af9d0 Updated Turkish translation 2011-01-12 11:43:01 +00:00
Pat Suwalski 2e8e6b3393 Add missing <cstdio> include. 2011-01-11 23:57:52 +00:00
Vincent Giangiulio 58c4815768 Fixed i18n bug with scripting messages 2011-01-10 22:39:27 +00:00
Grant Hutchison ccb163b5ee Added KOI-428 b, Tau Gem b, Nu Oph b&c 2011-01-05 17:18:26 +00:00
Grant Hutchison 118f9a6a32 Added KOI-428 2011-01-05 17:17:45 +00:00
Vincent Giangiulio 7031378a96 - Added Turkish translation 2011-01-05 10:06:10 +00:00
Grant Hutchison ce255932bc Added Qatar-1 b, WASP-41 b, HD 9826 e, Gliese 667 C b, HD 113538 b&c, HD 75898 b, HD 1690 b, HD 217786 b, HD 25171 b 2010-12-25 00:17:07 +00:00
Grant Hutchison d064e1d920 Added Qatar-1 b, WASP-41 b 2010-12-25 00:15:01 +00:00
Chris Laurel 88503bbb3b Fixed crash when display meshes on Intel GPUs. Vertex buffers were not unbound after being created, which could result in out of range vertex accesses later on. 2010-12-21 09:14:32 +00:00
Vincent Giangiulio e19d9b20ae - Added Norwegian translation from FreewareTips
- Updated translations
2010-12-08 09:06:58 +00:00
Grant Hutchison 63750c36ea Added Kepler-9 d and WASP-31 b 2010-11-30 23:34:04 +00:00
Grant Hutchison 3025d52157 Added WASP-31 2010-11-30 23:33:15 +00:00
Vincent Giangiulio f06b2cbb32 Updated Belarusian translation 2010-11-24 09:12:31 +00:00
Grant Hutchison 6756e48074 Added HD 97658 b, Hip 13044 b, 83 Leo B c, HD 192310 b, HD 177830 c, HD 218566 b, HD 31253 b 2010-11-23 23:48:13 +00:00
Grant Hutchison 2ef7403391 Added Hip 13044 2010-11-23 23:45:08 +00:00
Vincent Giangiulio 40016f7091 - Added Belarusian translation from Hleb Valoshka
- Updated Chinese simplified translation
2010-11-14 19:59:54 +00:00
Grant Hutchison 8a47c6be0f Removed Gliese 667 C b and Gliese 433 b; added HD 176051 b 2010-10-25 09:24:19 +00:00
Grant Hutchison e8663d452d Added NN Ser c&d 2010-10-15 17:10:40 +00:00
Grant Hutchison 6ec56d6744 Added NN Ser 2010-10-15 17:10:14 +00:00
Grant Hutchison ed065b30a3 Added HAT-P-26 b, WASP-38 b; removed HD 190228 b 2010-10-09 23:53:37 +00:00
Grant Hutchison 0bc7e60e72 Added HAT-P-26 and WASP-38 2010-10-09 23:52:21 +00:00
Grant Hutchison 22b4c0855f Added Gliese 581 f & g 2010-10-03 02:32:55 +00:00
Grant Hutchison 4cf85c3aa5 Added HAT-P-20 b, HAT-P-21 b, HAT-P-22 b, HAT-P-23 b 2010-09-26 23:28:20 +00:00
Grant Hutchison 6ccfb611e3 Added HAT-P-20, HAT-P-21, HAT-P-22, HAT-P-23 2010-09-26 23:27:42 +00:00
Chris Laurel 08ace926d8 Committed fixes from Nils Larsson:
- Updated call to png_set_gray_1_2_4_to_8 to png_set_expand_gray_1_2_4_to_8 (new PNG API)
- Eliminated unnecessary Color:: scope
2010-09-17 16:56:37 +00:00
Grant Hutchison 335467a5c9 Added HAT-P-17 b&c, HAT-P-25 b, Kepler-9 b&c 2010-09-12 23:36:51 +00:00
Grant Hutchison 8ef03a5d8b Added HAT-P-17, HAT-P-25, Kepler-9 2010-09-12 23:36:17 +00:00
Grant Hutchison 2e685f8fba More exoplanet host star designators from the Extrasolar Planets Encyclopaedia 2010-08-24 23:50:13 +00:00
Grant Hutchison 8ed6f913f3 Revised distance to UGPS 0722-05 2010-08-24 20:57:34 +00:00
Grant Hutchison a2cdf5223a Added HD 10180 b-h, HAT-P-24 b, WASP-37 b 2010-08-24 20:34:13 +00:00
Grant Hutchison 35041048a6 Added HAT-P-24, WASP-37 2010-08-24 20:33:25 +00:00
Chris Laurel 1c4e989a07 Added Windows build script for spice2xyzv tool and added missing return statement in convertSpkToXyzv() 2010-08-24 18:44:46 +00:00
Chris Laurel 30d4a40f4f Changed paths in qtbookmark.h and celestia.rc so that out of source tree
builds with Qt Creator will work.
2010-08-12 20:40:50 +00:00
Grant Hutchison 8d4849c6a8 Added HAT-P-18 b, HAT-P-19 b, HD 102956 b, HD 90043 b&c, HD 200964 b&c 2010-08-03 00:05:23 +00:00
Grant Hutchison 0de9905e0b Added HAT-P-18 and HAT-P-19 2010-08-03 00:03:31 +00:00
Andrew Tribick 5705194ae7 Removed SkyPlane frame: unclear this corresponds to sky plane frame as actually used in astronomical publications. 2010-07-25 18:38:48 +00:00
Chris Laurel 2704ad0dde Finished code in scattertable tool to write out precomputed atmospheric
scattering tables as DDS format texture files.
2010-07-06 01:08:53 +00:00
Chris Laurel d00fb03d6a Change ASCII cmod writing code to output null material index as -1 instead
of max unsigned int, which prevents read/write incompatibilities on 64-bit
systems. Moved some Doxygen comments from header to source file.
2010-07-05 22:53:06 +00:00
Grant Hutchison 3108cb842f Added CoRoT-7 d, WASP-3 c, Gliese 876 e 2010-07-02 23:49:07 +00:00
Chris Laurel dc32eedc9c Added functions to scattertable tool to write out atmospheric scattering
tables as half float textures in .dds files.
2010-07-02 00:08:40 +00:00
Grant Hutchison 672682b380 Added CoRoT-8 b, 10 b, 11 b, 12 b, 13 b & 14 b; removed Cha Ha 8 b 2010-06-18 23:56:38 +00:00
Grant Hutchison 243c78de97 Added CoRoT-8, 10, 11, 12, 13 & 14; removed Cha Ha 8 2010-06-18 23:55:50 +00:00
Chris Laurel 68ca6d6db5 Added a simple build script for scattertable. 2010-06-18 07:23:41 +00:00
Chris Laurel f1a96ee114 Added scattertable utility for generating tables for realistic rendering
of atmospheric scattering effects.
2010-06-18 07:17:41 +00:00
Chris Laurel aae2e0dc58 Added new Cassini xyzv file to Windows install script. 2010-06-03 16:50:18 +00:00
Grant Hutchison 3b4141c282 Improved radii for Methone, Pallene, Anthe, Aegaeon (May Icarus) 2010-06-01 00:17:28 +00:00
Grant Hutchison c120c17b88 Added HD 145457 b, HAT-P-15 b, HAT-P-16 b; removed QS Vir b 2010-05-31 22:42:58 +00:00
Grant Hutchison 21c41b8403 Added HAT-P-15, HAT-P-16; removed QS Vir 2010-05-31 22:41:54 +00:00
Chris Laurel 0ea1d68596 Fixes for spice2xyzv tool:
- Prevent extra samples from being generated at end of time window
- Fixed sampling outside of valid SPICE coverage window
- New search algorithm better respects requested approximation tolerance
2010-05-27 22:10:25 +00:00
Chris Laurel d31bb52221 Added Solstice Mission extension for Cassini. 2010-05-24 02:46:41 +00:00
Chris Laurel dcf48155a8 Fixed bug that made a solar system object invalid when Modify was used to
override properties of an object with a multiphase Timeline.
2010-05-17 16:56:04 +00:00
Andrew Tribick 1960b7c888 Added ability to specify temperature and bolometric correction in .stc files. 2010-04-28 18:59:44 +00:00
Grant Hutchison 6a44c13ca4 Added WASP-33 b, Kepler-5 b, Kepler-6 b, Kepler-7 b, Hip 57050 b 2010-04-28 18:37:07 +00:00
Grant Hutchison 0ba5d26c9b Added Kepler-5, Kepler-6, Kepler-7 2010-04-28 18:35:50 +00:00
Chris Laurel 5252211434 Eigenized particle system code and brought it up to date with model
changes.
2010-04-27 03:49:40 +00:00
Grant Hutchison 807e75a8c5 Added nearby brown dwarf UGPSJ 0722-05 2010-04-23 22:47:23 +00:00
Chris Laurel 52b1dccdff Fixed eclipse shadows on non-spherical planets (especially noticeable on
Saturn.) Fix affects the GLSL/OpenGL 2.0 render path only.
2010-04-23 22:14:44 +00:00
Grant Hutchison f357f2608b Added WASP-8 b, -21 b, -24 b, -25 b, -28 b, -29 b 2010-04-19 23:39:27 +00:00
Grant Hutchison ce00a4c2bf Added WASP-8, -21, -24, -25, -28, -29 2010-04-19 23:38:22 +00:00
Vincent Giangiulio 051f7034ee Fixed compilation error: added util.h include to identify the gettext macro 2010-04-18 14:13:42 +00:00
Grant Hutchison b57e5c2e49 Added WASP-22 b, WASP-26 b, HD 38801 b; removed BD+20 1790 b 2010-04-15 22:54:04 +00:00
Grant Hutchison 3cc6f6a66c Added WASP-22, WASP-26; removed BD+20 1790 2010-04-15 22:52:49 +00:00
Vincent Giangiulio 54892743b8 Added i18n support through gettext to the Qt4 version 2010-04-13 10:14:57 +00:00
Vincent Giangiulio f591ba4f55 - Added Galician translation by Xabier Cancela 2010-04-11 14:22:16 +00:00
Vincent Giangiulio 98974b73ee Updated translations 2010-03-27 09:42:32 +00:00
Grant Hutchison cab9d767c6 14 new planets, including HAT-P-14 b, CoRoT-9 b, 47 UMa d & HD 38529 d 2010-03-22 01:32:08 +00:00
Grant Hutchison 84681c7ae1 Added HAT-P-14 and CoRoT-9 2010-03-22 00:35:40 +00:00
Grant Hutchison dab2020c02 New IAU names on Mercury, Venus, Mars, Enceladus & Titan 2010-03-22 00:34:26 +00:00
Chris Laurel 031aeb1273 cmodview fixes:
- Add compile time controls for shadow buffer size and sampling
- Fixed flipped textures in Qt4.6
- Replaced stderr output with qWarning()
- Fixed shadow buffer debugging visualization
2010-03-10 20:49:52 +00:00
Chris Laurel 9c62cbdc38 Fixed broken #include in glframebuffer.cpp. 2010-03-10 06:03:26 +00:00
Chris Laurel 7db69edf74 Removed another Qt4.6 dependency from cmodview. 2010-03-10 01:46:49 +00:00
Chris Laurel a452539e60 Reduced shadow aliasing in cmodview by using 4-sample percentage closer filtering. 2010-03-10 01:04:26 +00:00
Chris Laurel 8fb1e59159 Added experimental shadow rendering to cmodview. 2010-03-09 08:29:15 +00:00
Vincent Giangiulio 38b6e23c6f - Fixed i18n issue about truncated labels with East Asian locales: 2010-03-07 20:19:17 +00:00
Chris Laurel c06c3092c9 Replaced Qt's QGLShaderProgram with custom class in cmodview in order to eliminate dependence
on version 4.6.
2010-03-07 18:44:38 +00:00
Chris Laurel 8b0347fe52 cmodview bug fixes:
- Corrected off-by-one error in assigment of materials to groups when
loading obj files.
- Force shader rebuild when switching between dxt5nm and uncompressed normal maps
2010-02-25 05:26:28 +00:00
Chris Laurel d18ac0758c cmodview enhancements:
- Draw translucent meshes after opaque ones in order to reduce depth ordering
artifacts.
- Alphabetize texture names in material editor
2010-02-24 02:17:21 +00:00
Chris Laurel 7fff956828 cmodview enhancements:
- Added setting to disable ambient light
- Added texture selection combo boxes to material editor
2010-02-24 01:17:22 +00:00
Vincent Giangiulio 473675c396 Fixed cmodview compilation errors and warnings on win32 2010-02-23 17:43:39 +00:00
Vincent Giangiulio 566679c187 Marked missing strings for gettext translation. 2010-02-22 19:41:10 +00:00
Chris Laurel f931f6c658 Fixed render path initialization in cmodview. 2010-02-22 19:19:03 +00:00
Chris Laurel f720ab378e cmodview updates:
- Enable OpenGL 2.0 path by default when shaders are available
- Use self-shadowing term when specular lighting or normal maps are enabled
2010-02-22 18:35:10 +00:00
Vincent Giangiulio 9c3f908446 Made celestia:runscript use relative file names 2010-02-22 14:01:22 +00:00
Chris Laurel 074ebf4e9c - Added dxt5nm support to cmodview
- Changed the normal map shaders to always normalize the vector fetched
  from the texture map. Texture interpolation can produce values that aren't
  normalized, resulting artificially faint specular highlights. We should
  probably make the same change to Celestia itself.
2010-02-21 03:03:09 +00:00
Chris Laurel 9f1229c4d3 Bug fixes and UI improvements for cmodview:
- Fixed background colors in material editor
- Correctly show opacity in OGL 2 path
- Fixed texturing problems that occurred when switching from OGL 2 to FF path
- Fixed highlight color in OGL 2 path
2010-02-21 00:42:30 +00:00
Chris Laurel 259477ae22 Improvements for cmodview:
- Save and restore window state between runs
- Changed material editor to a dockable widget
- Disable material editor when no mesh is selected
2010-02-19 21:23:26 +00:00
Fridger Schrempp 872bfa3ad6 Added src/modelview directory for building 2010-02-19 11:19:37 +00:00
Chris Laurel ac3e03b22e Added normal and specular map support to cmodview. 2010-02-19 02:35:57 +00:00
Chris Laurel 4f51011fae Added OpenGL 2.0 render path for cmodview utility. 2010-02-19 00:15:44 +00:00
Chris Laurel 96babc009b Added support for loading Wavefront OBJ format models to cmodview. 2010-02-17 19:52:51 +00:00
Chris Laurel c007352e69 Fixed texture loading for ASCII cmod files. 2010-02-17 16:51:30 +00:00
Chris Laurel 5cd4e9945d Added celmodel to list of subdirectories in automake file. 2010-02-17 02:27:35 +00:00
Chris Laurel e8928c86cc Updated cmodtools:
- Removed normal generation code from convert3ds.cpp; use the (better) normal
generator in cmodops.cpp instead.
- Removed nonfunctional code to use smoothing groups
- Added background color chooser for cmodview
- Enabled automatic uniquification and better normal generation when converting
3ds to cmod in cmodview and 3dstocmod utilities.
2010-02-17 00:48:17 +00:00
Chris Laurel faedefec0e Fixed 3ds conversion code to properly handle meshes without materials. 2010-02-16 20:40:23 +00:00
Chris Laurel 5706a6c81a Added libcelmodel.a to list of libraries linked in automake files. 2010-02-16 07:56:40 +00:00
Chris Laurel 17a93ec524 cmodview updates:
- Fixed crash bug
- Enabled material editor
2010-02-16 02:52:22 +00:00
Vincent Giangiulio 5ec40943cf - Made orbitPeriod field available for stars too from the object:getinfo celx method
- Added a celestia:runscript method to celx scripting
- Changed Windows version to save and restore location features setting from registry
2010-02-13 11:11:54 +00:00
Chris Laurel ad6bd44172 Removed obsolete files vertexlist.h and vertexlist.cpp. Removed them from Qt4,
automake, and MSVC project files.
2010-02-12 20:20:06 +00:00
Chris Laurel c83622222c Updates to cmodview:
- Use better values for near and far camera planes to prevent clipping
- Added selection capability
- Improved zoom function
2010-02-11 04:05:35 +00:00
Chris Laurel f9260386b2 celmodel fixes:
- Removed unused code in #if 0/#endif blocks
- Added non-const accessor for Mesh::PrimitiveGroup
- Return more information in pick result: mesh, primitive group, and primitive
index instead of just the distance to first intersection.
2010-02-10 20:52:43 +00:00
Chris Laurel 626e24d9f9 Fixed Eigen memory alignment assertions in cmodview with g++/Windows. 2010-02-06 04:00:12 +00:00
Chris Laurel c0b425c143 Fixed MeshManager to handle missing or corrupt model files gracefully. Solves crash with Selden's Hale add-on. 2010-02-06 02:27:36 +00:00
Chris Laurel f16b86fa9b Removed currently unused file from Qt4 project. 2010-02-05 21:14:47 +00:00
Chris Laurel 22dcd7c0e1 Updated MSVC++ project file and automake files for new celmodel module. 2010-02-05 20:38:46 +00:00
Chris Laurel b92930b79d - Updated automake file with celmodel changes
- Added geometry and modelgeometry files
2010-02-05 20:18:58 +00:00
Chris Laurel c76d2b0fb7 Added missing material files and automake file for celmodel module. 2010-02-05 20:12:37 +00:00
Chris Laurel ef146f24aa Added celmodel module. 2010-02-05 20:10:32 +00:00
Chris Laurel 31a31d4e2f - Moved cmod code into a separate module celmodel.
- Updated cmodtools to use celmodel.
- Improved 3ds file loader to support multiple materials per mesh.
2010-02-05 20:05:18 +00:00
Chris Laurel 7c0373af65 Updates to cmodview app:
- Added merge meshes operation
- Fixed bug that prevented z-buffer from getting cleared with some models
- Use SDK 10.5 for compatibility on older Mac OS X versions
2010-02-05 01:34:05 +00:00
Andrew Tribick 98183dc2e3 Add SkyPlane reference frame. 2010-02-04 22:31:36 +00:00
Chris Laurel 652bcb471c More work on cmodview app:
- Added ability to load base textures
- Support for opacity
- Added actions to uniquify vertices and generate normals
2010-02-04 04:58:21 +00:00
Chris Laurel 14fa908e52 Added new tool for viewing, converting, and manipulating 3DS and CMOD files. 2010-02-03 04:16:22 +00:00
Grant Hutchison d539fb575b Added HD 164604 b, HD 175167 b, HD 86226 b, HD 129445 b, HD 152079 b 2010-01-31 23:41:35 +00:00
Chris Laurel bfa2f5fb09 - Use adaptive sampling to calculate cubic splines for drawing orbits and trajectories
- Added capability to show fading orbit 'trails' (disabled by default)
- Added more parameters to control the appearance of orbits
2010-01-28 02:24:14 +00:00
Chris Laurel 6b6bdc4316 Fixed reversed comparison in curveplot module. 2010-01-25 02:48:14 +00:00
Grant Hutchison 42ba2575c0 Removed VB 10 b; added Kepler-4 b, Kepler-8 b, HD 156668 b, CoRot-6 b, HD 9446 b&c, Hip 79431 2010-01-18 14:09:00 +00:00
Grant Hutchison 4d809201cb Added Kepler-4, Kepler-8 2010-01-18 14:07:28 +00:00
Chris Laurel b0bd81c190 Updated curveplot library:
- Added Doxygen comments
- Implemented version of curve renderer that applies a linear fade effect over
  some section of the curve.
2010-01-14 01:00:51 +00:00
Chris Laurel 472416d880 Updated Eigen to version 2.0.11, which features precision fixes for quaternion slerp and
4x4 matrix inversion.
2010-01-14 00:13:51 +00:00
Pat Suwalski 25d8f6b8dc Regenerate Makefile when Rules-* change, clean extracted cpp files. 2010-01-07 00:20:27 +00:00
Pat Suwalski 231eec4dbd Auto-update translations when source files changed, account for new location of win32 sources. 2010-01-06 23:55:51 +00:00
Pat Suwalski f6752dd128 Forced regeration of data/data.cpp to get latest location translations. 2010-01-06 23:09:51 +00:00
Pat Suwalski 3e9b14f844 Updating list of source files and running update-po. 2010-01-04 16:59:02 +00:00
Pat Suwalski 975fdfc750 Running update-po in po2. 2010-01-04 16:58:12 +00:00
Grant Hutchison c1bc93d75e Added DP Leo b 2010-01-02 01:08:04 +00:00
Grant Hutchison 1d951ed7e6 Added DP Leo 2010-01-02 01:06:23 +00:00
Vincent Giangiulio 2736cf1e69 Updated translations. 2009-12-22 11:10:01 +00:00
Grant Hutchison aa96e6e4eb S/2003 J 17 now named Herse 2009-12-21 00:46:59 +00:00
Grant Hutchison 0095f36a94 12 new exoplanets; removed HD 136118 b 2009-12-20 23:57:21 +00:00
Grant Hutchison 3680e8f86e Added WASP-19 and BD +20 1790 2009-12-20 23:55:55 +00:00
Grant Hutchison 2bf3f6a989 Fixed colon typos 2009-12-19 16:05:09 +00:00
Chris Laurel 1055de068c Removed obsolete files solarsysxml.cpp and solarsysxml.h. 2009-12-16 20:41:42 +00:00
Andrew Tribick a2191a3650 Added units support to parser and tokenizer. Units are specified inside angle brackets after the property name. 2009-12-16 19:23:51 +00:00
Vincent Giangiulio 302d761daf - Added world-capitals names to localization
- Added Slovak translation
- Updated Chinese Simplified translation
2009-12-14 17:55:44 +00:00
Vincent Giangiulio 863f5fe1e6 Marked "Nebula" and "Open cluster" for gettext translation. 2009-12-12 10:06:28 +00:00
Chris Laurel 8e26b7c1da Added observer:orbit method for celx scripting. 2009-12-06 22:15:22 +00:00
Chris Laurel 083b9ac577 Integrated Boux's fixes for Win32 + ATI graphics configurations:
- Fixed invisible context menu in fullscreen mode
- Fixed menu bar overlapping top of 3D view
2009-12-06 21:40:14 +00:00
Chris Laurel db85fa0bb3 Reordered #includes in source files for Qt front-end so that most specialized
headers are included first.
2009-12-02 22:06:19 +00:00
Chris Laurel f6d47c7ab6 Added mousemove hook for Lua scripts. 2009-12-02 21:51:06 +00:00
Chris Laurel eede557acd Updated Eigen to version 2.0.10. 2009-12-02 08:02:15 +00:00
Chris Laurel 78b6a87d81 Eliminated OrthogonalUnitVector function because Eigen already offers
MatrixBase::unitOrthogonal to do the same thing.
2009-12-02 03:35:59 +00:00
Fridger Schrempp 38774d29a3 Fix compilation under Linux after addition of the subdirectory src/celephem 2009-11-28 11:55:35 +00:00
Chris Laurel 9c5155f716 Added celephem to list of linked libraries in makefiles. 2009-11-25 18:04:32 +00:00
Chris Laurel 37fe583af3 Updated configure.in and Makefiles for new directory structure. 2009-11-25 02:10:19 +00:00
Grant Hutchison 1a1d7714e0 Added Gam1 Leo b, QS Vir b 2009-11-16 00:39:19 +00:00
Grant Hutchison b5e806343d Added QS Vir 2009-11-16 00:38:40 +00:00
Chris Laurel 5aa91fc3e5 Fixed the 'half-star' bug. Star spheres were not being rendered correctly
because of precision problems in a matrix inversion. Using a coordinate system
scaled so that star radius = 1 corrects the problem.
2009-11-11 17:09:20 +00:00
Grant Hutchison e20c010f25 Added Aegaeon 2009-11-11 00:24:29 +00:00
Chris Laurel fe102d24fc Removed unused code from renderglsl.cpp 2009-11-10 02:13:43 +00:00
Vincent Giangiulio e02568b3f0 Added a copy of the Celestia icon file into the qt directory 2009-11-09 19:05:47 +00:00
Chris Laurel 9201acb02a Moved Win32 front-end source files into separate subdirectory. 2009-11-05 21:43:47 +00:00
Chris Laurel d3e5fe64d4 Modified spice2xyzv tool to allow numeric IDs instead of strings. This helps
with objects that don't have an official SPICE name.
2009-11-05 21:14:11 +00:00
Chris Laurel 2a201628a8 Added Makefile.am for celephem module. 2009-11-05 17:14:51 +00:00
Chris Laurel 31dcde9d73 Fixed inverted SPICE rotations. 2009-11-03 00:33:12 +00:00
Chris Laurel a62e39b722 - Updated Qt4 project file for reorganization of ephemeris source files.
- Modified Qt4 project file to copy files into app bundle on Mac OS X.
2009-11-02 22:16:27 +00:00
Chris Laurel 4a03b52617 Moved ephemeris files (subclasses of Orbit and RotationModel) into new celephem folder. 2009-11-02 20:30:18 +00:00
Vincent Giangiulio debc9f3965 Added new scripting command to set the text color:
- settextcolor / gettextcolor added to celestia object in CELX scripting
- settextcolor added to CEL scripting
2009-11-01 19:18:35 +00:00
Chris Laurel 0bc83a501a Added missing #includes of NewStdVector to rendcontext.cpp and shadermanager.cpp. 2009-10-27 22:29:41 +00:00
Chris Laurel dcf9232c08 Refactored some shadowing/eclipse code in the renderer
- Enabled ring shadows on moons and other objects that aren't themselves surrounded by
  ring systems.
- Use texture LOD bias to add blurriness to ring shadows (a result of the finite
  size of the light source.)
- Calculate ring phase function per-pixel instead of per-vertex
- Implemented more realistic rendering of unlit side of ring systems
- Used new Eigen's NewStdVector for vectors containing fixed-sized vectorizable
  objects.
2009-10-27 22:02:01 +00:00
Chris Laurel 7e9429ed45 Committed updated version of GLEW with many new OpenGL extensions. Of these,
ARB_shader_texture_lod is of the most immediate interest.
2009-10-27 20:46:19 +00:00
Grant Hutchison 93e5fda1a2 30 new planets 2009-10-25 23:43:27 +00:00
Grant Hutchison 1444ef57e2 Add Itokawa locations 2009-10-25 19:33:32 +00:00
Grant Hutchison 7d8400c030 Load Itokawa locations file 2009-10-25 19:32:28 +00:00
Vincent Giangiulio 7b84a504c5 Updated translations. 2009-10-25 18:16:28 +00:00
Vincent Giangiulio 6ab2e08c41 Fixed bug with constellation labels : row vectors were used while Eigen uses column vectors 2009-10-16 16:33:35 +00:00
Grant Hutchison 56cd9f8382 Orientate HW Vir planets' rotation plane to orbital plane 2009-10-14 21:58:54 +00:00
Grant Hutchison 6cd22acc1e Improved representation of HW Vir system 2009-10-12 19:48:59 +00:00
Grant Hutchison 1617ac944a Added CoRoT-5 b, HW Vir b&c; removed HD 150706 b, HD 43848 b 2009-10-09 23:57:50 +00:00
Grant Hutchison a3e5e92534 Added CoRoT-5 2009-10-09 23:56:24 +00:00
Grant Hutchison 3f77101a24 IAU updates to Mercury, Venus, Moon, Mars and Titan 2009-10-07 17:38:58 +00:00
Vincent Giangiulio 8b7d99afbe - Updated simplified Chinese font textures
- Updated traditional Chinese translation
- Removed r and R commands from localized control help files.
2009-10-07 16:04:41 +00:00
Vincent Giangiulio 287e044834 Replaced Japanese font textures set with a lighter version in which rarely used characters are omitted. 2009-10-04 18:00:21 +00:00
Chris Laurel 44e446b6e9 Added a log base 2 function the mathlib.h. 2009-10-04 16:54:35 +00:00
Chris Laurel 20b018c437 Updated Eigen to version 2.0.6. 2009-10-04 15:10:11 +00:00
Chris Laurel 1c89b0568f Cleaned up include files used by modules in celengine:
- Include files in order from most specialized to most general
- Use C++ versions of headers (e.g. cmath instead of math.h)
2009-10-04 14:12:59 +00:00
Chris Laurel 601bcd8a2f Updated Galileo mission:
- Much more accurate xyzv trajectory generated from SPICE kernels (details
  in trajectory file headers.)
- Improved Galileo model from Martin Charest
- Mission split into cruise and Jupiter orbit phases
2009-09-26 04:07:03 +00:00
Grant Hutchison 05551e2b48 Corrected radius of 2004 XR190 and linked InfoURL to discovery paper 2009-09-24 23:25:12 +00:00
Grant Hutchison 701eb85717 Added 2MASS 0939-2448 A&B, 2MASS 0136+0933, 2MASS 1507-1627 2009-09-24 23:22:18 +00:00
Grant Hutchison 2c25113b85 Added CoRoT-7 c; updated CoRoT-7 b 2009-09-18 14:05:44 +00:00
Chris Laurel d5dd361843 Fixed compiler warning for redefinition of UINT64_MAX 2009-09-18 00:45:14 +00:00
Chris Laurel bccf694deb Disabled the display of a planet's equilibrium temperature in the onscreen
info. The calculation is too simplistic to be useful, and it's not a
fundamental value on par with distance, size, etc.
2009-09-16 17:05:27 +00:00
Grant Hutchison 3379858e5f Added WASP-18 b 2009-09-15 15:37:09 +00:00
Grant Hutchison 29558e6c33 Added WASP-18 2009-09-15 15:36:30 +00:00
Chris Laurel f177424e43 Improved preloadtexture script command so it loads model textures as well as the geometry. 2009-09-15 04:55:03 +00:00
Vincent Giangiulio 02fc9009b9 Fixed overlay text misalignment with the display of movie capture window 2009-08-31 21:50:12 +00:00
Vincent Giangiulio 94da202bbd - Changed the label of 'Celestial' grid to 'Equatorial' 2009-08-27 10:13:05 +00:00
Chris Laurel 5e97b856cc Expanded glyph set generated by qttxf tool. 2009-08-27 01:52:26 +00:00
Chris Laurel 45d932a285 Added qttxf, a GUI based tool for creating txf font files. 2009-08-27 01:11:22 +00:00
Vincent Giangiulio 3575e39e08 Added Chinese Traditional translation files to Windows installer script 2009-08-26 12:42:44 +00:00
Vincent Giangiulio 9c4fa8e861 - Updated Chinese Traditional translation 2009-08-26 12:29:02 +00:00
Vincent Giangiulio 4febb0e579 - Added Chinese Traditional zh_TW translation
- Updated translations
2009-08-22 12:22:28 +00:00
cartrite 7f8d56bb9a removed an include statement for glext.h 2009-08-21 04:22:35 +00:00
Chris Laurel 7beecc93f9 Removed gl.h from Visual C++ project file. 2009-08-21 03:03:47 +00:00
Chris Laurel 1ae7019dd7 Redefined orientation of location objects so that they inherit the orientation
of their parent bodies. Fixes unexpected behavior that occurred when a user
would sync orbit a location.
2009-08-21 02:53:25 +00:00
Chris Laurel 236fc1f251 Deleted old GL extension handling code that has been replaced by GLEW. 2009-08-21 02:50:21 +00:00
Chris Laurel 62bf0b1ec7 Include glew in the prefix header on the Mac. Cleaned up all the glew_h
defines that were required to make the XCode build work before the change
to the prefix header.
2009-08-21 01:16:58 +00:00
Chris Laurel 46262ae434 Reverted to gcc 4.0 and SDK 10.4 in Mac project file so that XCode 2 will
still work.
2009-08-21 01:14:33 +00:00
Grant Hutchison a558c0b22b Added WASP-17 2009-08-19 23:16:34 +00:00
Grant Hutchison d67176a767 14 new exoplanets 2009-08-19 23:15:56 +00:00
cartrite d56ed7fab0 Builds a error window in case GLEW is not initialized to inform user. 2009-08-19 05:15:39 +00:00
Chris Laurel 62cbe88579 Updated XCode project to build with GLEW. 2009-08-19 00:41:22 +00:00
Chris Laurel c374f77f5a Enabled anisotropic filtering for planet textures (when supported by hardware.) 2009-08-17 23:45:45 +00:00
Chris Laurel 2b8f73b4af Fixed overlay text alignment problems with auto-completion and date display. 2009-08-17 20:03:54 +00:00
cartrite a1bcffce2b Fixed warning for unused variable "glewErr". All that was needed was "glewInit();" to initialize GLEW. An error message still needs to be created for failures. 2009-08-17 19:38:43 +00:00
cartrite 39959bb479 Changed error message if GLEW initialization fails. 2009-08-17 19:35:11 +00:00
cartrite 01e796b216 Runs glewInit to enable render modes. 2009-08-15 20:29:57 +00:00
cartrite 8609ef453a Modified to use glew.h 2009-08-15 20:28:55 +00:00
cartrite 42281e4a53 Replaced lines that refered to celengine/gl.h with GL/glew.h
Added code for glewinit so all render modes work in kde
updated makefile includes path to use GL/glew.h
Removed glext from kde and gtk builds
Removed celengine/gl.h from celestia.pro
2009-08-15 17:51:15 +00:00
Chris Laurel ba206096eb Fixed celx commands observer:setspeed() and observer:getspeed(). They hadn't been modified to account for the big microlightyear to kilometer conversion. 2009-08-15 17:23:08 +00:00
Chris Laurel 30799a7565 Removed glext module from VC++ project. 2009-08-15 01:02:00 +00:00
Chris Laurel f5d97be5c9 More GLEW-related cleanup.
- Added missing GLEW_STATIC define to VC++ project file
- Fixed Qt4 build to use GLEW
- Stripped out more references to old glext functions
- Fixed miscellaneous compiler warnings.
2009-08-15 00:48:42 +00:00
Chris Laurel 9d373fd041 Switched from using custom GL extension handling code to GLEW library. 2009-08-14 22:39:54 +00:00
Chris Laurel 78803c21e2 Text rendering fixes:
- Disabled multisampling when drawing the console. This should prevent text blurriness when running with antialiasing enabled (though it won't hep for supersampling modes)
- Reduce the number of calls to glTranslate() by tracking offset in software
2009-08-14 01:27:29 +00:00
Grant Hutchison a099b44674 Added HAT-P-13 b&c, WASP-16 b, HD 16760 b, Chi Vir b 2009-08-10 23:30:58 +00:00
Grant Hutchison 3e9b4965ba Added HAT-P-13 and WASP-16 2009-08-10 23:29:23 +00:00
Chris Laurel f734856120 - Simplified eclipse shadow calculations in Renderer
- Fixed drawing of small objects in non-point sprite paths
2009-08-07 17:22:42 +00:00
Chris Laurel 6a1b6b5ae8 More Eigenization:
- Fixed build break in render.cpp
- Converted code in parseobject.cpp and celestiacore.cpp to use Eigen
- Cleaned out unused code
2009-08-07 16:50:58 +00:00
Chris Laurel 0aabecd6d9 Eigenized code to draw selection cursor. 2009-08-07 04:37:50 +00:00
Chris Laurel 837c072f50 Added curveplot files to Mac OS X project file. 2009-08-07 03:40:26 +00:00
Chris Laurel c835491ddc Rewrote orbit drawing code to fix multiple shortcomings. New orbit code uses adaptively subdivided cubic curves to draw orbits more accurately and without numerical precision artifacts. The orbit rewrite uses Eigen throughout (instead of the Celestia vector classes.) 2009-08-07 03:15:26 +00:00
Chris Laurel 1843572c97 Enabled vertex buffer objects for planet rendering. 2009-08-06 02:54:03 +00:00
Chris Laurel afd7c78574 More Eigenization changes. 2009-08-06 00:41:24 +00:00
cartrite 6aa1046ae2 Added Includes thirdparty/Eigen folder to fix build error on linux automake systems 2009-08-05 22:07:57 +00:00
Chris Laurel 157b720854 Removed more code that used the old vector classes. 2009-08-05 21:13:29 +00:00
cartrite 1f47ed60e8 Changes to GUI's to bring them up to date with Eigen conversion and a bugfix gotoLong/Lat for gtk and kde. When goto Lon/Lat was used the observer ended up in the middle of the planet. 2009-08-05 21:00:15 +00:00
cartrite 206aa4e789 gcc 4.4 fixes submitted by John Van Vliet A slight change was made that changed stdio.h to cstdio 2009-08-05 20:56:49 +00:00
cartrite a11c2dd66b removed a redundant stars.dat It was getting installed twice and caused an error on newer automake version 2009-08-05 20:53:50 +00:00
Chris Laurel 731d442daf Removed references to old vector classes from vertexprog and fragmentprog
modules.
2009-08-05 20:19:28 +00:00
Chris Laurel c13040f280 Fixed Goto Location dialog for Mac OS X version. 2009-08-05 20:03:40 +00:00
Chris Laurel f9457d32a6 Fixed bugs in goto dialog. The latitude was not getting initialized correctly, and the distance was in the wrong units. 2009-08-05 17:58:53 +00:00
Chris Laurel 8021043b08 Removed 3dsmesh.h from VC++ project. Turned on SSE2 and -DEIGEN_NO_DEBUG for the release build. 2009-07-25 23:50:57 +00:00
Chris Laurel 69d44fa03a Removed obsolete files 3dsmesh.cpp and 3dsmesh.h. 2009-07-25 23:48:03 +00:00
Chris Laurel d1a7e7c3cb Eigenized comet rendering code. Moved OrthogonalUnitVector function to geomutil.h, where it can be shared by multiple modules. 2009-07-25 23:18:32 +00:00
Chris Laurel 9cf68b5169 Eigenized parser and app core code. 2009-07-25 22:18:51 +00:00
Chris Laurel e36646501b Eigenized more DSO code. 2009-07-25 00:28:19 +00:00
Chris Laurel abeb350f5b Eigen conversion:
- Eigenized locations and some cube map code in texture.cpp
- Removed eigenport.h include from completely converted modules
2009-07-24 23:02:23 +00:00
Chris Laurel 2f0103ec9f Made Eigen related fixes for Mac OS X build. 2009-07-24 20:10:14 +00:00
Chris Laurel d119b40ed5 Added typecast to fix compile error in starbrowser.cpp (gcc 4.3 only, apparently) 2009-07-24 19:02:37 +00:00
Chris Laurel dcfb117012 More Eigenization changes and fixes for UniversalCoord methods. 2009-07-24 06:59:54 +00:00
Chris Laurel adf40d6f55 Committed Steve's patch to fix KDE and Gtk front-ends for Eigen conversion. 2009-07-24 06:58:38 +00:00
Chris Laurel c26ea667f2 Eigenized old sphere mesh code (used only for handling .cms mesh files now.) 2009-07-23 23:19:26 +00:00
Chris Laurel 198df1561d Updated Mac version to compile with Eigen conversion. 2009-07-23 22:44:49 +00:00
Chris Laurel 80d0e02d3b Eigenized all rotation model code. 2009-07-23 21:09:12 +00:00
Chris Laurel 8af33028df Fixed Eigenization related compiler errors in qtinfopanel.cpp. 2009-07-23 20:33:00 +00:00
Chris Laurel 272a074544 Miscellaneous Eigenization; cleaned up obsolete functions in astro.cpp. 2009-07-23 03:51:42 +00:00
Chris Laurel db1ce7d79a Eigenized atmosphere code. 2009-07-23 03:11:40 +00:00
Chris Laurel c4aa846945 Eigenized 3ds and cmod mesh code. 2009-07-23 02:58:10 +00:00
Chris Laurel 89d0ef130a Eigenized all orbit and trajectory calculations. 2009-07-23 01:40:17 +00:00
Chris Laurel c25a4ec935 Added geomutil.h to Qt4 project file. 2009-07-23 01:32:02 +00:00
Chris Laurel 7493ffee40 Fixed principal axis rotation functions in geomutil.h. 2009-07-22 18:26:55 +00:00
Chris Laurel 9cca6b8c27 Eigenized Observer and Simulation classes. Fixed star picking bug. 2009-07-22 04:53:15 +00:00
Chris Laurel cffce863f2 Fixed Qt4 UI code that was broken during Eigen conversion. 2009-07-21 22:28:37 +00:00
Fridger Schrempp 8d8cc69b98 Steve's 3rd patch for Eigenization of celestialbrowser 2009-07-21 21:04:51 +00:00
Fridger Schrempp 889bfd9cb8 Steve's patch in the context of Eigenization of Celestia 2009-07-21 19:43:35 +00:00
Chris Laurel 479ef22e15 Eigenized reference mark, label, and marker code. 2009-07-21 04:04:26 +00:00
Chris Laurel 5a31a08df9 Eigenized galaxy rendering and more of the core renderer. 2009-07-21 03:14:29 +00:00
Vincent Giangiulio 47117439fc Added boolean occludable parameter to mark command in CEL scripting 2009-07-19 18:06:00 +00:00
Chris Laurel 5cafe7b161 Added Eigenized version of Ray-Point distance method. 2009-07-18 13:43:52 +00:00
Chris Laurel 5de792f64a Eigenized lighting and shadow calculations in renderer. 2009-07-18 05:50:56 +00:00
Pat Suwalski 1243bd1d9f Update to use UniversalCoord::toLy(). 2009-07-17 23:53:18 +00:00
Chris Laurel 07a8dd9aa7 Forced 16-byte alignment for some structures with fixed size Eigen structures as members. 2009-07-17 17:19:36 +00:00
Chris Laurel 40fade9aac Eigenized and cleaned up more of the renderer code. 2009-07-17 06:15:25 +00:00
Chris Laurel 5a241fe28c Eigenized reference frames. 2009-07-17 02:36:11 +00:00
Chris Laurel f81650c69a Cleaned up unused code in Qt4 star browser. Switch to using new
UniversalCoord::toLy() method for calculating relative star positions.
2009-07-17 02:35:24 +00:00
Chris Laurel a5511ac191 Added missing EIGEN_MAKE_ALIGNED_OPERATOR_NEW to Body; now that it contains an Eigen fixed-size structure, it needs to be 16-byte aligned. 2009-07-17 00:54:49 +00:00
Pat Suwalski 1dcb7ec266 Adding Eigen library include paths. 2009-07-17 00:36:55 +00:00
Pat Suwalski 99635c5a7a Removing some trivial warnings. 2009-07-17 00:36:11 +00:00
Pat Suwalski cf0e3b3ff2 Eigenize GTK front-end. 2009-07-17 00:23:41 +00:00
Chris Laurel 86d1808519 Eigenized Body and Selection classes; adapted dependent code. Removed some
miscellaneous compile warnings in other modules.
2009-07-16 23:37:48 +00:00
Chris Laurel b42accebaf More Eigenization of render.cpp. Changed a temporary variable in staroctree.cpp from double to float (back to the way it was in 1.6.0) 2009-07-16 20:18:48 +00:00
Chris Laurel 37a46a4eff Eigenized portions of the renderer that draw stars and DSOs. 2009-07-16 05:32:55 +00:00
Chris Laurel 24e5d575ab Updated Qt4 star browser for Eigenized star class. 2009-07-16 03:48:44 +00:00
Chris Laurel 78202393aa Eigenized star code. 2009-07-16 03:27:11 +00:00
Chris Laurel f73aad83f3 Eigenized picking code. Added new conversion methods to UniversalCoord that
abstract Celestia's internal units.
2009-07-16 02:28:00 +00:00
Chris Laurel 53e9049aa7 Fixed issues with Eigen on Windows:
- Define NOMINMAX before any file that includes windows.h to prevent Windows' min and max macros from interfering with the STL template functions of the same name.
- Renamed Celestia's Quaternion class to Quat so that it's name doesn't interfere with the Eigen structure during the port to Eigen (g++ doesn't seem to care...)
2009-07-15 19:54:20 +00:00
Chris Laurel 8bef7aa232 Added thirdparty/Eigen to list of directories to search for headers in Windows build. 2009-07-15 07:20:34 +00:00
Chris Laurel 5b2721e4db Ported terminator and all arrow reference marks to Eigen. 2009-07-15 04:00:22 +00:00
Chris Laurel 4ee7c9692e Added Eigen to header search path for Mac OS X project file. 2009-07-15 03:07:54 +00:00
Chris Laurel 7272945657 First round of Eigen-izing the core Celestia code. 2009-07-15 03:06:30 +00:00
Chris Laurel 2427fb8e81 Updated geometry functions to use Eigen instead of custom Celestia vector
and matrix classes.
2009-07-15 01:05:51 +00:00
Chris Laurel e2f6953dd2 Cleaned up gettext support for Mac build. 2009-07-15 01:02:36 +00:00
Chris Laurel 4f94a41a57 Fixes for the qmake project file:
- Added Eigen and GLEW to the header search paths
- Modified defines for Mac OS X build (should now work with g++ 4.2)
- Replaced tabs with spaces
2009-07-15 01:01:05 +00:00
Vincent Giangiulio 96445fa8a1 Added new commands to celestia object in celx scripting:
- seturl / geturl
- synchronizetime / istimesynchronized
2009-07-14 17:07:30 +00:00
Chris Laurel 3feb4b7ac7 Added Eigen and glew libraries to SVN repository. 2009-07-11 02:59:55 +00:00
Andrew Tribick 50123c8679 Removed extra space in definition of 96 Psc 2009-07-04 19:03:13 +00:00
Pat Suwalski 842e766660 Updating with GTK changes for view options. 2009-07-03 01:06:15 +00:00
Pat Suwalski 1d99ae5eb6 Adding grid renderflag selection to GTK UI. Also, fixing recently-introduced bug regarding saving vanilla-GTK settings. 2009-07-03 01:04:46 +00:00
Chris Laurel fc8ff2ee43 Set debug information type in MSVC++ project file, Debug configuration. 2009-07-03 00:16:20 +00:00
Chris Laurel 4e4363ceb0 Update InnoSetup script for 1.6.0. 2009-07-02 18:55:45 +00:00
Chris Laurel 8f5694994f Changed MSVC++ project to use MSVCRT instead of LIBCMT for debug builds (since this is what's done for release builds.) 2009-07-02 03:37:28 +00:00
Chris Laurel 92f6e64569 Added Fridger's grid toggling scripts to scripts/Makefile.am. 2009-06-30 20:22:14 +00:00
Fridger Schrempp d943748179 temporary scripts to allow toggling the new grids also for Linux 2009-06-28 16:24:18 +00:00
Pat Suwalski 7461841226 Adding windows libraries to DIST target. 2009-06-28 06:06:29 +00:00
Chris Laurel 9e6854ede1 Updated Visual C++ project files:
- Switched optimization from /Ox to /O2 to work around apparent bug in VC++ 2008 SP1 compiler
- Explicitly set target architecture to x86
- Set ouput directory for exe to be the base Celestia folder
2009-06-26 18:53:41 +00:00
Chris Laurel 1e39b58d6c Fixed inverted logo textures on ISS. 2009-06-25 19:53:21 +00:00
Chris Laurel 784948e1d2 Adjusted Win32 section of qmake project file to use new paths for libraries and headers (e.g. windows/lib/x86 instead of lib) 2009-06-23 23:42:16 +00:00
Chris Laurel e825505d68 Migrated Visual Studio project file the VC++ 2008 (with optimization settings corrected after conversion.) 2009-06-23 23:33:15 +00:00
Chris Laurel f85a4b5c05 Added header files for third-party libraries required by Windows build. 2009-06-23 23:30:59 +00:00
Chris Laurel 2343444e06 Committed dlls and libs for Windows build. 2009-06-23 20:43:58 +00:00
Grant Hutchison 9d89398c07 Added BD+14 4559 b, BD+20 2457 b&c, HD 240210 b, Fomalhaut b 2009-06-15 17:34:40 +00:00
Grant Hutchison 76ec6809e2 Added HD 240210, BD+20 2457 2009-06-15 17:33:37 +00:00
Grant Hutchison d7a8295c04 Moved Hip nos, reordered name lists and added ADS nos, to match Fridger's conventions in binary star files; adjusted Fomalhaut's rotation axis, which has been confirmed to match debris disc plane 2009-06-15 17:17:20 +00:00
Grant Hutchison d2428c1c3c Reordered Gliese names to match Fridger's naming priority in binary star files 2009-06-15 17:11:47 +00:00
Chris Laurel cede7f8379 Switched jpeg library in celestia.pro from libjpeg2 to libjpeg (Windows only) 2009-06-05 18:02:59 +00:00
Chris Laurel 905b71cfbf Removed dependency on afxres.h (and MFC) from celestia.rc. 2009-06-05 17:55:17 +00:00
Grant Hutchison 238473bff9 Full orbit orientation for VB 10 b 2009-06-04 23:29:26 +00:00
Da Woon Jung 465b5ca52f Mac: Updated project to reflect moved minormoons.ssc, numberedmoons.ssc 2009-06-04 15:20:48 +00:00
Grant Hutchison ee5e14d555 Added WASP-13 b, VB 10 b, Hip 14810 d 2009-06-04 14:05:47 +00:00
Grant Hutchison d37a6211de Added WASP-13 2009-06-04 14:04:54 +00:00
Chris Laurel f4f75c60a8 Modified celestia.cfg to use new locations for numberedmoons.ssc and minormoons.ssc. 2009-05-31 01:58:32 +00:00
Chris Laurel 3abb1f2730 Moved minormoons.ssc and numberedmoons.ssc from extras to data. 2009-05-31 01:44:35 +00:00
Chris Laurel 1c3c235a4b Removed non-ASCII character from comment in solarsys.ssc. 2009-05-29 23:10:11 +00:00
Pat Suwalski 77a6b15d48 Adding support for globulars in the Gtk UI. 2009-05-23 05:03:19 +00:00
Da Woon Jung 89d7f08d5a Mac: Removed extras/comets.ssc 2009-05-22 13:10:41 +00:00
Fridger Schrempp 4eb5d8e38f Added the missing menu entries related to globulars for KDE version 2009-05-21 13:25:36 +00:00
Chris Laurel ee93c244c8 Fixed full-screen image capture in Windows version. 2009-05-20 21:36:10 +00:00
Chris Laurel 722fd82c1c Moved definition of Hale-Bopp from extras/comets.ssc to data/comets.ssc and deleted extras/comets.ssc. 2009-05-16 20:21:43 +00:00
Chris Laurel 7ae9a06b41 Integrated revision 4182 from 1.5.1 branch to fix Windows 98/ME input problem. Unicode conversion was using CP_THREAD_ACP, which is not supported pre-Win 2000. 2009-05-14 23:46:27 +00:00
Vincent Giangiulio 96dcbf9e71 Updated translations. 2009-05-12 17:55:09 +00:00
Grant Hutchison a5e790d7bc Added HAT-P-12 b, Gliese 581 e, CoRoT-7 b, 42 Dra b, HD 96167 b, HD 139357 b 2009-05-01 15:22:26 +00:00
Grant Hutchison cfd2f9e180 Added HAT-P-12 and CoRoT-7 2009-05-01 15:16:47 +00:00
Pat Suwalski ec59108563 Fixing "make dist" to not include .svn directories. 2009-04-20 21:03:18 +00:00
Pat Suwalski 2ff4aac2e8 Removing files generated during autoreconf. 2009-04-20 21:00:31 +00:00
Pat Suwalski e18ba3e2d7 Reverting to ltmain.sh from Debian Lenny. Nice common ground. 2009-04-20 20:35:26 +00:00
Pat Suwalski 50a845b804 Updating copyright date for GTK interface to 2009. 2009-04-20 16:58:24 +00:00
Chris Laurel 0dcdf64a2a Changed copyright date to 2009 in Windows About box. 2009-04-19 17:08:33 +00:00
Fridger Schrempp 72978067d5 updated with improved Mercury map from imaging as collected and reprojected by Steve Albers 2009-04-19 10:41:51 +00:00
Chris Laurel 0c780e824f Added Andrew to list of authors in the README. 2009-04-19 02:59:11 +00:00
Pat Suwalski 4cfa4ef2ab Removing macro serials which came from original uncombined sources. 2009-04-18 23:35:54 +00:00
Chris Laurel 890cc99d33 Updated Iapetus texture credit in README; removed redundant and outdated credit. 2009-04-18 23:34:21 +00:00
Chris Laurel fc023edacf Committed README updates from Fridger, Christian, and Ulrich:
- Texture credits updated
- Added credits for ISS model
2009-04-18 23:29:47 +00:00
Chris Laurel e92e4185be Removed unneeded "Modify" disposition for ISS. 2009-04-18 23:24:14 +00:00
Pat Suwalski 0fed80bf05 Removing executable bit. 2009-04-18 06:12:51 +00:00
Pat Suwalski 94d2249d9b - Modified acinclude.m4.in to not do STRLCAT test. Breaks on BSD.
- Modified cvs.sh and Makefile.am to not use KDE's libtool.m4.in
- Regenerated acinclude.m4.
- Updated ltmain.sh to current Ubuntu. Older one was execing recursively.
2009-04-18 06:04:36 +00:00
Vincent Giangiulio 0b96fb38f3 - Increased width of copyright text control to prevent truncated text in localized version. 2009-04-14 09:22:07 +00:00
Chris Laurel 9f0c9aa8e2 Added Andrew to list of authors in Windows 'About' box. 2009-04-13 17:14:17 +00:00
Chris Laurel d256d8c744 Added ifdefs so that shaders.log is only written by debug builds. 2009-04-09 21:34:49 +00:00
Vincent Giangiulio cc8ed7880d - Added windowbordersvisible and setwindowbordersvisible methods to the celestia object in celx scripting 2009-04-09 14:31:44 +00:00
Da Woon Jung 17779fc961 Mac: updated Credits to match AUTHORS file, removed Itokawa locations from release package 2009-04-08 14:45:49 +00:00
Chris Laurel 25d3e6575e Updated ChangeLog for 1.6.0. 2009-04-08 08:18:04 +00:00
Vincent Giangiulio a53fe089ff Updated Windows installer script: added pt_BR translation files. 2009-04-06 09:49:17 +00:00
Chris Laurel b51e89d005 Updated InnoSetup installer file:
- Added new perl data processing tools: globulars, cross index, stardb, and CHARM2
- Removed libpng.dll and zlib.dll (now statically linked)
- Added CHARM2 data set
- Added high res Mercury map and Saturnian satellite maps
- Removed outdated limit of knowledge masks
2009-04-06 02:21:11 +00:00
Chris Laurel 2d610500a1 Removed obsolete limit of knowledge surface for Mimas. 2009-04-06 01:37:57 +00:00
Chris Laurel b4699a7885 README edits:
- Credited Steve Albers for the Mercury map
- Updated link to Steve Albers' planetary map site
- Removed mention of Mercury bump map (Celestia doesn't use this any more)
2009-04-04 18:59:15 +00:00
Chris Laurel 867af51794 Removed the limit of knowledge mask and AltSurface for Mercury. The unimaged areas are now blank in the base texture map. 2009-04-04 18:53:47 +00:00
Chris Laurel 3f835235b6 Replaced Mercury texture with current version from Steve Albers that incorporates MESSENGER images. 2009-04-03 06:56:03 +00:00
Andrew Tribick a58d95e96d Rebuilt CHARM2 radii file against updated star catalogues. 2009-04-02 22:27:42 +00:00
Fridger Schrempp e33a398d60 Almost complete rewrite of the Perl scripts for generating significantly improved data on orbits of visual binaries 2009-04-02 14:49:44 +00:00
Fridger Schrempp 183ef7fbb9 Almost complete rewrite of the Perl scripts for generating significantly improved data on orbits of spectroscopic binaries 2009-04-02 14:49:08 +00:00
Fridger Schrempp 0dd572ae75 Update for binary database revisions 2009-04-02 14:46:13 +00:00
Fridger Schrempp 6925a39757 Significant update of the database on binary orbits, including SIMBAD compatibility of barycenter nomenclature and alternative names 2009-04-02 14:45:15 +00:00
Fridger Schrempp 23d0b6baa3 Significant update of the database on binary orbits, including SIMBAD compatibility of barycenter nomenclature and alternative names 2009-04-02 14:44:49 +00:00
Vincent Giangiulio 8495da53bb Updated French translation. 2009-04-01 18:11:20 +00:00
Chris Laurel 01e0d175eb Added CICLOPS credit for Enceladus map to README. 2009-03-28 19:24:39 +00:00
Chris Laurel 314eedbc70 Committed Dec 2008 map of Enceladus from CICLOPS. 2009-03-28 19:13:14 +00:00
Grant Hutchison f2f40d5928 Updates from IAU 2009-03-28 17:28:05 +00:00
Da Woon Jung eb4e1231e2 Mac: Fixed scripts in user's Library folders not executing when selected from script menu. 2009-03-26 13:21:03 +00:00
Chris Laurel 40bbda8cc4 Added GL_MULTISAMPLE to list of extensions in glext.h. 2009-03-24 21:24:16 +00:00
Chris Laurel 39db90093f Improve quality of point stars when multisample antialiasing is enabled. 2009-03-24 03:52:11 +00:00
Vincent Giangiulio 3a5d604e9c Added command to set texture resolution to CELX and CEL scripting. 2009-03-23 21:10:16 +00:00
Chris Laurel c9e60db060 Removed debugging code from url.cpp. 2009-03-20 18:07:24 +00:00
Chris Laurel a79d7ac479 Fixed placement of glare sprite when rendering stars in legacy render paths. Positioning is now consistent with OGL 2.0 path and avoids artifacts caused by glare geometry intersecting the star geometry. 2009-03-20 18:02:14 +00:00
Chris Laurel 14e32a5a61 Fixed broken point sprites problem caused by the fix for mesh files without texture coordinates. 2009-03-18 18:44:38 +00:00
Vincent Giangiulio 659f643456 Fixed bad entries in pt_BR.po that caused compilation errors on KDE. 2009-03-18 14:06:10 +00:00
Chris Laurel ac85ac92d2 Added encoding of special characters in cel URLs. 2009-03-17 21:57:23 +00:00
Vincent Giangiulio 60cb885592 Updated pt_BR translation. 2009-03-14 11:18:15 +00:00
Grant Hutchison 0cfabe83ff Designation CoRoT-Exo- has changed to CoRoT- 2009-03-10 20:45:31 +00:00
Chris Laurel 7911c6ddbe - Implemented consistent behavior for models with no texture coordinates. Fixes 'flickering' of colors on no-texcoord models used in stc files (and in ssc files with a texture override.) 2009-03-09 19:01:53 +00:00
Da Woon Jung a4f3b75a05 Mac: Updated libpng to latest version for security bug fixes 2009-03-06 05:21:58 +00:00
Vincent Giangiulio 787c2b90c6 Updated translations. 2009-03-04 15:17:15 +00:00
Chris Laurel 3234782d9f Fixed problem with disappearing DSOs that was caused by inadequate numerical
precision in calculations use to determine whether to cull an octree node.
2009-03-02 22:16:23 +00:00
Grant Hutchison 5c5dc95ad3 Updated from RECONS, orbits revised from Söderhjelm, block UniformRotation definitions added, reference urls updated, non-RECONS Hipparcos stars removed 2009-03-02 16:01:33 +00:00
Grant Hutchison 30691a0f3f Fixed misplaced 33 Lib and 96 Psc 2009-03-02 15:55:30 +00:00
Vincent Giangiulio aa46d42793 Display localized star and DSO names in the observer frame overlay. 2009-02-28 10:39:04 +00:00
Grant Hutchison f2cdb3e03f Added Lam2 For b; updated HD 80606 2009-02-27 20:14:35 +00:00
Da Woon Jung 2d894166de Mac: README updated (added SPICE support, Set Time fix, Simplified Chinese localization) 2009-02-22 06:49:21 +00:00
Da Woon Jung 887c42a21e Mac: enabled Spice in all build targets 2009-02-21 04:41:30 +00:00
Vincent Giangiulio 12fc39df96 Removed reference to KbdMouseJoyControls.txt from Inno Setup script. 2009-02-18 17:09:01 +00:00
Grant Hutchison a5980e0ff5 Added WASP-15 b 2009-02-18 17:05:18 +00:00
Grant Hutchison bb68c4f6c3 Added WASP-15 2009-02-18 17:04:38 +00:00
Pat Suwalski 817464a83b Removing references to CelestiaKeyAssignments.txt and
KbdMouseJoyControls.txt removed in revision 4653.
2009-02-18 16:58:42 +00:00
Chris Laurel 3d66a67f7a Bug fixes:
2557612: sun, planets and orbits disappear. This was caused by bad handling of the selection marker when the camera positioned inside a large DSO (e.g. the Milky Way)
2392876: Atmosphere draw for unilluminated planets
2009-02-18 01:39:43 +00:00
Vincent Giangiulio af4b3b1f44 Removed useless and out-of-date controls files. 2009-02-18 00:36:49 +00:00
Vincent Giangiulio e2bf2ab438 Added ispaused method to celestia object in celx scripting. 2009-02-18 00:29:12 +00:00
Vincent Giangiulio ea59fceb36 - Updated controls help file.
- Updated Windows controls dialog.
2009-02-15 19:36:54 +00:00
Chris Laurel 91ab776e0d Added Andrew to the AUTHORS file. 2009-02-13 23:58:50 +00:00
Da Woon Jung 6ceb3e28ff Mac: Set Time was not respecting the timezone (fixes #2459894) 2009-02-11 12:56:16 +00:00
Pat Suwalski 3c71abc625 Install scripts at "make install" time. 2009-02-11 05:15:23 +00:00
Pat Suwalski bf6cc0ade2 Fix for FreeBSD tm_zone handling. Bug #2555791. 2009-02-11 04:38:21 +00:00
Chris Laurel 1dd88e240f Fixed g++ compiler errors in cmodfix.cpp. 2009-02-10 22:52:01 +00:00
Chris Laurel a2565ed16b Removed bad assertion in lodspheremesh.cpp that was causing crashes with virtual texture levels 11 and greater. 2009-02-10 02:01:22 +00:00
Chris Laurel b0903fae0b - Made Celestia more permissive when loading 3ds files. Some conversion tools create 3ds files with more texture coordinates that there are vertices. Such files are valid but Celestia was rejecting them. Applied the same change to the Celestia 3ds loader and the 3dstocmod tool.
- Fixed a for variable scoping error in cmodfix.cpp. The code had assumed old style for scope.
2009-02-10 01:45:05 +00:00
Andrew Tribick b72c311f5a Updated data for V CrB from Bergeat and Chevallier (2005), A&A 429, 235
and added CHARM2 entry for the star.
2009-02-07 21:00:18 +00:00
Andrew Tribick 355e8abd90 Added some stars from starnames.dat that are not present in the new star
database.
2009-02-07 19:43:11 +00:00
Grant Hutchison d771fda1d7 Added WASP-6 2009-02-06 16:40:47 +00:00
Grant Hutchison 47e5cbefb9 Added WASP-6 b, HD 45364 b&c 2009-02-06 16:40:15 +00:00
Da Woon Jung 3da00e4a39 Refactored Mac disk image build into separate target, made default builds more efficient 2009-02-06 08:46:41 +00:00
Vincent Giangiulio 8d2f3c1432 Updated Chinese translation. 2009-02-05 22:29:01 +00:00
Vincent Giangiulio 2a9c1bc235 Added Insula location type that was missing from LocationFlagMap in celx. 2009-02-05 19:07:22 +00:00
Da Woon Jung ce1c0569d9 Mac: Grouped all localizations of COPYING license files into a 'License' folder, also grouped demo, start script localizations into 'locale' folder 2009-02-05 09:02:04 +00:00
Da Woon Jung 036726c89a Mac: Fixed translation for "Globulars" not showing up in the Browser 2009-02-05 08:57:52 +00:00
Da Woon Jung 0e525e984b Mac: Fixed omitted Localizable.strings, InfoPlist.strings, some nib tweaks 2009-02-05 04:09:48 +00:00
Fridger Schrempp edc0b3a6d3 Removed some name and mu25 radius inconsistencies for globulars Terzan 11,12 and 4,9,10, following SIMBAD. 2009-02-04 14:36:33 +00:00
Fridger Schrempp dbaa0f373b Updated Iapetus texture based on a new Ciclops map from Oct 2008 2009-02-03 21:35:00 +00:00
Fridger Schrempp d0e2899811 Iapetus update based on a new Oct 2008 Ciclops map 2009-02-03 21:23:06 +00:00
Fridger Schrempp 43fcc760ae Implemented a major upgrade of globular cluster code 2009-02-03 20:25:22 +00:00
Fridger Schrempp 222ee6b1a5 major upgrade of globular cluster code 2009-02-03 20:21:36 +00:00
Da Woon Jung 173c42104f Mac: added Chinese (zh_CN) localization 2009-02-03 11:43:09 +00:00
Da Woon Jung 212036d238 Mac: removed -fpermissive compile flag for stricter compiles 2009-02-03 11:39:48 +00:00
Andrew Tribick dea5ef18fb Revised star database inclusion criteria:
- All stars with parallaxes less than 0.2 mas are rejected.
- All stars with parallax errors greater than the parallax are rejected.
- All stars with errors in position exceeding 25 mas are rejected.

Bright stars with Vmag less than 6 that fail these criteria are added to 
revised.stc.

Updated revised.stc and charm2.stc to avoid Modify warnings with the new 
database.
2009-02-02 22:30:54 +00:00
Vincent Giangiulio 10c7626e78 Made Auriga diagram match the IAU chart. 2009-02-02 18:47:36 +00:00
Andrew Tribick 8005b50d73 Fixed bad stars in Auriga constellation diagram. 2009-02-01 22:29:58 +00:00
Vincent Giangiulio e3c214e095 Updated Windows installer script with the new localization files. 2009-02-01 19:38:25 +00:00
Vincent Giangiulio 27077b9002 Updated non-Latin fonts:
- Added missing fonts from ver1_5_1 branch;
- Added Korean font set;
- Updated Chinese font set.
2009-01-31 12:59:15 +00:00
Da Woon Jung 5ff352f563 Mac: Updated copyright and version strings 2009-01-31 10:22:48 +00:00
Da Woon Jung 00bd4661e0 Mac: Fixed bug in display of certain gettext-translated strings 2009-01-31 10:22:24 +00:00
Vincent Giangiulio 036f64bccd Updated back version number to 1.6.0 on Windows. 2009-01-30 23:31:35 +00:00
Chris Laurel 7cb7b89417 - Fixed Lua package search path so that it includes *all* subdirectories with Lua files.
- Fixed crash triggered by a mouse button event outside the view rectangle.
2009-01-30 22:11:16 +00:00
Chris Laurel 478be37f62 Don't render a visible region when the current simulation time is outside the target object's lifetime. 2009-01-30 22:07:24 +00:00
Vincent Giangiulio 37fdbf8574 - Localized also alternative names of Solar System objects.
- Made the name string of an object built only when the selection changes.
2009-01-30 18:00:24 +00:00
Grant Hutchison efb45c3e9d Added HD 7924 b 2009-01-30 00:08:00 +00:00
Chris Laurel df93d1943d Removed -fpermissive from compiler flags in Qt4 project on Mac OS X. 2009-01-29 01:16:29 +00:00
Chris Laurel 34d762d8e9 Fixed compiler warnings on Mac OS X, mostly related to different type of
GLhandleARB on that platform.
2009-01-29 01:14:16 +00:00
Pat Suwalski 7d8f4bafb8 Updating version to 1.6.0 and adding a message about using
AM_GNU_GETTEXT_VERSION.
2009-01-28 18:52:27 +00:00
Vincent Giangiulio 6c88c2b2f2 Updated translations. 2009-01-28 15:42:56 +00:00
Da Woon Jung e5568db7b3 Mac: Fixed const errors 2009-01-28 03:54:43 +00:00
Chris Laurel cc60577fd5 Modified selection cursor so that arrows are rotated 45 degrees from
screen alignment.
2009-01-28 00:50:16 +00:00
Vincent Giangiulio 9081215516 Added Tholus location type that was missing from LocationFlagMap in celx. 2009-01-27 18:22:29 +00:00
Grant Hutchison 089c3d8cd5 Updated to IAU 2000 rotation definitions 2009-01-27 02:01:59 +00:00
Andrew Tribick 149959f8b2 Fixed some compiler warnings when building under gcc 4.3. 2009-01-26 20:49:35 +00:00
Chris Laurel b694358b35 Committed new README file from Christian. 2009-01-26 18:42:42 +00:00
Chris Laurel 8ad5b2cfd4 Made "AddonPath" value available to ScriptedOrbits and ScriptedRotations so that they can more easily load data from files. 2009-01-24 22:37:34 +00:00
Chris Laurel 38e70d9fbd Fixed bug that resulted in visible barycenters when Modify was used to convert a star to a barycenter. 2009-01-24 04:42:48 +00:00
Da Woon Jung b1f9ef45e5 Temporarily rolled back the string Reference Marks to Reference Vectors 2009-01-22 08:25:33 +00:00
Chris Laurel b6a199afaf - Fixed CustomRotations for retrograde rotating planets.
- Added missing sin() for Rhea's customrotation.cpp
2009-01-22 00:32:40 +00:00
Da Woon Jung d9c242e433 Mac: Tweaked window positions 2009-01-20 03:56:50 +00:00
Da Woon Jung 10c2c9e4d1 Mac: Eliminated beep when clicking on splash screen on multi-core machines 2009-01-15 02:00:05 +00:00
Vincent Giangiulio 355ca505c2 Updated translations. 2009-01-14 19:03:59 +00:00
Grant Hutchison 5b05967c22 Added HAT-P-11 b, HD 173416 b 2009-01-13 19:22:12 +00:00
Grant Hutchison 1d9f127997 Added HAT-P-11 2009-01-13 19:20:13 +00:00
Grant Hutchison 7be51effa1 Uniform declared BodyFrames for CustomRotations; UniformRotations compatible with BodyFrames 2009-01-13 19:18:54 +00:00
Vincent Giangiulio 8f0d5a34ff Updated Ukrainian translation. 2009-01-11 21:08:26 +00:00
Vincent Giangiulio a41f729580 Updated translations. 2009-01-09 18:51:48 +00:00
Chris Laurel bea799547d Fixed bug that caused barycenters to be visible as small spheres. 2009-01-09 10:44:11 +00:00
Vincent Giangiulio 56f8119b54 Updated translations. 2009-01-08 19:05:50 +00:00
Chris Laurel 808e93016c Removed completely out of date TODO file. 2009-01-07 23:50:36 +00:00
Pat Suwalski 23ef53252e Reverting accidentally upgraded files to the version from KDE SVN. 2009-01-04 07:46:36 +00:00
Da Woon Jung b9ad4b43f5 Mac: Eclipse Finder Japanese localization added 2009-01-03 17:09:14 +00:00
Pat Suwalski b9f70a06e0 Updating admin directory to KDE 3.5.10 and regenerating acinclude.m4. 2009-01-03 00:28:06 +00:00
Pat Suwalski 687d7fb921 Check in workaround for broken include_x11 define from acinclude.m4. 2009-01-02 21:45:26 +00:00
Vincent Giangiulio 0ffcd1605a - Added Romanian translation of constellation names. 2008-12-30 20:21:31 +00:00
Vincent Giangiulio ce6815cb6d - Fixed bug with UTF-8 characters in selection's name in the Windows popup menu.
- Added Romanian translation.
- Updated translations.
2008-12-30 11:41:18 +00:00
Chris Laurel 921d694fee Fixed bugs and improved accuracy of eclipse shadows in OpenGL 2.0 path:
- Very faint shadows (where the occulting object appeared much smaller than the sun) were being rendered completely black. This is now fixed.
- Maximum shadow depth and umbra (or antumbra) radius are now accurately calculated for all eclipses
- Extremely faint shadows are culled for performance
2008-12-30 02:20:33 +00:00
Vincent Giangiulio caddf2af44 - Fixed issues with the display of UTF-8 characters:
> Windows Tour Guide: UTF-8 chars not displayed in object names and descriptions.
  > Windows Solar System Browser and Star Browser: UTF-8 chars not displayed in star names.(Bug [2332640])
- Fixed bug that prevented star names containing the substring 'Sun' from being displayed in the Selection overlay.
- Updated localized versions of documentation and script files.
2008-12-27 18:19:29 +00:00
Andrew Tribick dea4a11a90 References for star database and cross indices. 2008-12-23 15:14:45 +00:00
Grant Hutchison 2e607f3200 Corrected orbits of Phobos and Deimos 2008-12-20 00:06:30 +00:00
Grant Hutchison a14ced4e57 Added WASP-12 b 2008-12-19 19:46:45 +00:00
Grant Hutchison eb20836a0c Added WASP-12 2008-12-19 19:46:18 +00:00
Vincent Giangiulio e4a7a470f0 Added locale versions of documentation and scripts from ver1_5_1 branch 2008-12-17 15:02:35 +00:00
Chris Laurel 6563d3e91c Committed new README from Christian. 2008-12-12 20:24:26 +00:00
Grant Hutchison f4a239c3d3 Added HD 47186 b&c, HD 181433 b,c&d, HD 183263 c 2008-12-12 18:23:11 +00:00
Andrew Tribick b1eeb32aa0 Fixed subgiant luminosity class bug. 2008-12-11 09:53:41 +00:00
Chris Laurel 44f34c0e23 Enabled version 3 cel URLs for KDE front-end. 2008-12-10 00:25:27 +00:00
Grant Hutchison 4a3373a0ef New mare and lacus for Titan 2008-12-09 01:15:51 +00:00
Grant Hutchison be3eecf8e3 Added polar craters Haworth and Lenard 2008-12-09 01:14:41 +00:00
Grant Hutchison 04b1b8c004 New crater names from IAU 2008-12-09 01:13:20 +00:00
Grant Hutchison 2e300e9d7b Added craters Endeavour and Toro 2008-12-09 01:12:29 +00:00
Grant Hutchison 27d131fabc Added HAT-P-8 b 2008-12-09 01:11:31 +00:00
Grant Hutchison e42bb34634 Added HAT-P-8 2008-12-09 01:10:58 +00:00
Vincent Giangiulio 711efb953e Updated translations 2008-12-08 21:57:14 +00:00
Vincent Giangiulio 519af46b66 Added Lithuanian translation from Marius Mikalainis 2008-12-05 19:18:12 +00:00
Vincent Giangiulio 9e86a657be - Updated translations 2008-12-05 18:53:28 +00:00
Vincent Giangiulio 824806543b - Updated translations
- Added Lithuanian translation from Marius Mikalainis
2008-12-05 18:48:46 +00:00
Grant Hutchison 22edd9912e Added OGLE2-TR-L9 b; removed HD 191760 b&c 2008-12-05 14:27:12 +00:00
Grant Hutchison d1f60ab5e5 Added OGLE2-TR-L9 2008-12-05 14:26:22 +00:00
Chris Laurel 8d180b6dbb Fixed bad assertion in lighting code--off by one error testing for
maximum number of lights.
2008-12-04 21:48:04 +00:00
Chris Laurel 088abfb621 Fix for bug 2315756 (Planet around barycenter crashes)
Code to display object info was assuming that there was at least one visible
star in a system. Adding a change to test for no stars prevents the crash.
2008-12-03 01:24:57 +00:00
Da Woon Jung a11d3ee78c Mac: Updated credits, help, readme for 1.6.0 2008-12-02 09:11:39 +00:00
Da Woon Jung 82a23d8854 Mac: Updated credits, help, readme for 1.6.0 2008-12-02 09:08:28 +00:00
Chris Laurel 022409c73e Fixed blank names for location bookmarks on Mac OS X. 2008-12-01 20:46:31 +00:00
Chris Laurel 81ebd931d2 Clamped earth-p03lp rotation model to its valid range of +/- 5000 centuries
from J2000.0.
2008-12-01 20:44:17 +00:00
Pat Suwalski b02a89a35a Running update-po as per recent code changes. 2008-11-30 05:30:44 +00:00
Vincent Giangiulio b713ccdd63 - Fixed bug with the '+' shortcut which didn't work in the localized versions.
- Localized 'AU/S' and 'ly/s' which are used in the speed overlay.
2008-11-29 09:37:53 +00:00
Vincent Giangiulio 8476e5cbd9 Updated translations 2008-11-26 14:29:10 +00:00
Vincent Giangiulio 44d273de89 Updated translations 2008-11-25 18:20:14 +00:00
Da Woon Jung 538fb2277b Mac: Updated Texture Resolution menu to reflect latest removal of r/R shortcut 2008-11-25 07:53:20 +00:00
Da Woon Jung 6030bf131b Fixed scripts folder detection code, create user extras folder if not existing 2008-11-25 07:29:59 +00:00
Vincent Giangiulio d47260538f Made Celestia also look for localized version of files in the 'locale' directory. 2008-11-24 13:14:22 +00:00
Grant Hutchison c1aed42a56 Provisional rotation period for Eris 2008-11-22 00:39:13 +00:00
Grant Hutchison c411eff90c Added HD 191760 b & c 2008-11-22 00:38:32 +00:00
Pat Suwalski 86a97a35d7 Updating with update-po. 2008-11-20 06:54:55 +00:00
Vincent Giangiulio 85d2d98839 Added a multiple stars filter to the Qt4 celestial browser 2008-11-16 22:47:17 +00:00
Chris Laurel de41ec3813 Fixes to make Celestia build with gcc4.3 2008-11-16 10:19:38 +00:00
Vincent Giangiulio 2d67306086 Added marker size setting and arrow markers to Qt4 star browser 2008-11-15 18:43:13 +00:00
Vincent Giangiulio ba21b09916 Modified Qt4 DSO browser:
- Added Globulars
- Added marker size setting
- Added arrow markers
2008-11-15 18:20:08 +00:00
Vincent Giangiulio 02182fde43 - Modified Makefile rules to make pot files omit Solar System object alternative names
- Added 'Milky Way', 'LMC', 'SMC' and 'Solar System Barycenter' to the list of translated strings in pot files
2008-11-14 23:25:09 +00:00
Vincent Giangiulio 28dd020b31 Added Polish translation by Michał Trzebiatowski 2008-11-10 19:03:42 +00:00
Chris Laurel bb9c0a1558 Fixed eclipse rendering bug that was apparent at high zoom factors. The bug was caused by confusion about the origin for light source positions. 2008-11-08 01:52:21 +00:00
Grant Hutchison 2e975796d5 Added HD 143361 b, HD 43848 b, HD 48265 b 2008-11-06 23:15:08 +00:00
Chris Laurel 770326eef1 Removed LabelledStars section from celestia.cfg 2008-11-04 22:29:33 +00:00
Vincent Giangiulio d77218b693 Added missing classes to object:type() in celx 2008-11-03 01:18:07 +00:00
Grant Hutchison 377636b543 Added HD 145377 b, HD 20868 b, HD 153950 b, HIP 2247 b, HD 73267 b, HD 131664 b 2008-11-01 16:48:39 +00:00
Pat Suwalski 97447e6cf3 Removing CRLF line endings which somehow existed on some but not all
lines.
2008-10-30 07:02:31 +00:00
Chris Laurel cd22f3532d Fixed uninitialized variable error that was causing the clipping plane to be set incorrectly when rendering some stars. 2008-10-28 02:56:23 +00:00
Da Woon Jung 8b470cca63 Mac: globular cluster support for browser. 2008-10-27 00:59:41 +00:00
Pat Suwalski 9cfe3030c2 Applying change to use version 3 cel:// URLs. 2008-10-23 08:22:41 +00:00
Pat Suwalski de7a11acd9 Updating translation files for "Rotation period." 2008-10-23 08:02:38 +00:00
Chris Laurel 6f31eb5924 Updated version number to 1.6.0 on Windows. 2008-10-23 06:57:27 +00:00
Chris Laurel 36d66dc481 Updated Windows installer script for new data files and restructuring. 2008-10-23 06:22:31 +00:00
Chris Laurel ce31cafc12 Added Huygens trajectory file huygens.xyzv to extras-standard. 2008-10-23 06:00:42 +00:00
Chris Laurel 5ab7677da7 Added trajectory for Galileo to extras-standard. 2008-10-23 05:39:48 +00:00
Chris Laurel 6cd96371ef Committed Steve's patch to fix and extend the reference mark menu in the
KDE version.
2008-10-23 05:20:10 +00:00
Chris Laurel 7c4330ac3f - Fixed scaling bug for cms meshes--they were always being treated as
unnormalized.
- Removed some leftover UNNORMALIZED_MESH #ifdefs that are no longer needed.
2008-10-23 05:10:46 +00:00
Chris Laurel 8c302ea9a6 Reverted inadvertently committed changes to model.cpp. 2008-10-22 23:53:53 +00:00
Chris Laurel e55865b9bf Reverted accidentally comitted changes to Qt4 project file. 2008-10-22 23:48:17 +00:00
Chris Laurel 074df10527 Removed spacecraft.ssc from celestia.cfg; spacecraft are now all in
extras-standard.
2008-10-22 23:29:28 +00:00
Chris Laurel acd49e59bb Removed ISS textures left over from old model. 2008-10-22 23:27:18 +00:00
Chris Laurel 4f81c090e4 Changed "Day length" to "Rotation period" 2008-10-22 23:16:21 +00:00
Chris Laurel 3364545f68 Modified Mac OS X front-end to use version 3 cel URLs. 2008-10-22 22:45:13 +00:00
Chris Laurel d716facf80 Updated Windows front-end to create version 3 cel URLs. Added detailed comment explaining the different cel URL time sources in url.h. 2008-10-22 21:12:05 +00:00
Chris Laurel 6078948aa6 Fixed ring and ring shadow rendering bug that occurred when using models with untextured portions. 2008-10-22 18:10:17 +00:00
Da Woon Jung 0ebc74f564 Mac: Moved data files (CelestiaResources) inside app package to solve issue of extras-standard installation. Celestia will still read user installed extras and scripts. Local ~/.celestia.cfg is recognized and used by R9200 patcher to patch even when running from a dmg. 2008-10-22 10:35:23 +00:00
Pat Suwalski 804af9526e Updating translation templates. 2008-10-22 03:28:24 +00:00
Andrew Tribick c865534532 Display planetary companions message on barycentres as well as stars. 2008-10-20 20:05:00 +00:00
Chris Laurel 79b89e0881 Added new leap second 31-Dec-2008 23:59:60 to UTC conversion table. 2008-10-15 20:12:33 +00:00
Da Woon Jung ee09add636 Mac: implemented -nosplash flag 2008-10-15 08:05:34 +00:00
Pat Suwalski ac174e7d58 Add GNU Makefiles for extras-standard. 2008-10-15 07:26:39 +00:00
Pat Suwalski 44c3713015 Removing "-Wmissing-property". This prevents g++ from complaining:
cc1plus: warning: command line option "-Wmissing-prototypes" is valid 
for Ada/C/ObjC but not for C++
2008-10-15 07:23:14 +00:00
Pat Suwalski d08f8b6f91 Removing trailing whitespace at end of line (automake warning). 2008-10-15 06:56:26 +00:00
Chris Laurel aaccb8ff79 Eliminated R and Shift+R key bindings to modify texture resolution. The texture resolution is set infrequently enough that keyboard shortcuts are justified (and are potentially confusing to users.) 2008-10-15 02:11:40 +00:00
Chris Laurel 171640b386 Added texture resolution submenu for Qt4 front-end. 2008-10-15 02:07:36 +00:00
Chris Laurel cad9be3f2c Added missing notification from renderer when texture resolution changes. 2008-10-15 02:02:58 +00:00
Chris Laurel 97739ef908 Replaced Rhea texture with Dec 2006 CICLOPS map; added 4k hires version as well. 2008-10-14 20:26:40 +00:00
Vincent Giangiulio db5e6c03bb Added texture resolution setting to Windows GUI. 2008-10-14 17:30:56 +00:00
Chris Laurel 2346e70aab Made Qt4 version save and restore last video capture directory. 2008-10-14 04:47:19 +00:00
Vincent Giangiulio 61b94d29a3 Extended localization to all DSO and star names. 2008-10-13 21:34:44 +00:00
Vincent Giangiulio d7b12d4110 - Extended localization to all DSO and star names. 2008-10-13 21:10:09 +00:00
Da Woon Jung 8e42c67af8 Mac: extras-standard changes 2008-10-13 13:40:20 +00:00
Chris Laurel 9df9f57e94 Fixed compiler error in render.cpp--DeepSkyObject::getBoundingSphereRadius should be getRadius (for now) 2008-10-11 18:40:05 +00:00
Chris Laurel 9d55c56382 Committed Julien's patch to fix the animation rate of the selection cursor
when recording movies.
2008-10-10 22:43:02 +00:00
Da Woon Jung 5e0e22d219 Mac: Implemented WordExp (enables .celestia.cfg) 2008-10-10 07:38:24 +00:00
Chris Laurel 09adf45fe1 Use NormalizeMesh false for Galileo; fixes a problem where the center of the
spacecraft was offset.
2008-10-10 03:41:40 +00:00
Chris Laurel 38fc02d7b1 Replaced old Mimas texture (based on Voyager images) with new texture based on the PDS map. Removed bogus color set for Mimas in solarsys.ssc. 2008-10-10 00:30:40 +00:00
Chris Laurel 7b4b30d2a0 Addedf extras-standard to celestia.cfg. 2008-10-07 23:10:45 +00:00
Chris Laurel b4d1d3bcf6 Moved spacecraft models and trajectories to new extras-standard directory. 2008-10-07 23:02:04 +00:00
Chris Laurel bbb65e9ff7 Reorganized spacecraft into extras-standard. Added new ISS model from Bob
Hundley.
2008-10-06 23:41:16 +00:00
Vincent Giangiulio d805182080 Fixed wrong comparison code that made Hubble type not returned with some compilers. 2008-10-06 16:46:54 +00:00
Chris Laurel 9bec6f5a35 Added updated textures for Dione. Converted from CICLOPS maps to JPEGs for Celestia by Guillermo Abramson. 2008-10-05 01:24:27 +00:00
Chris Laurel c906be2af4 Added handling of Ctrl+number keys to Windows front-end. 2008-10-05 01:11:42 +00:00
Grant Hutchison 829319c06f New valles and crater names 2008-10-04 18:54:06 +00:00
Grant Hutchison 246cccd2bd New names for Iapetus, new crater name for Titan 2008-10-04 18:23:14 +00:00
Grant Hutchison 67b6508c27 Added CoRot-Exo-3 b 2008-10-04 16:33:14 +00:00
Grant Hutchison 7762703024 Added CoRot-Exo-3 2008-10-04 16:32:42 +00:00
Da Woon Jung 087079391a Mac: Updated help window with key shortcuts for globulars, upgraded nibs to keyedobjects 2008-10-03 00:52:21 +00:00
Da Woon Jung 4c4aee190f Fixed favorites panel 2008-10-03 00:38:04 +00:00
Vincent Giangiulio 3661c3ec91 Prevented the English name 'Milky Way' to be displayed when a translated version is present. 2008-10-02 11:42:24 +00:00
Chris Laurel 0b09ee5ecb Updated ChangeLog with missing 1.5.1 changes. 2008-10-02 01:19:01 +00:00
Da Woon Jung 5af5ac6515 Tweaked pref panels (en,fr,es) 2008-10-02 00:55:38 +00:00
Da Woon Jung b67fe8a40f Fixed keyboard shortcuts not working when gl window was not frontmost 2008-10-02 00:48:43 +00:00
Chris Laurel 03f751f65a Updated solarsys.ssc for recent SSC changes:
- Added Visible and Clickable true for Pluto-Charon barycenter
- Added CloudShadowDepth 1.0 for Earth
2008-10-01 22:53:34 +00:00
Chris Laurel 1f7a51d0ff Changed behavior of Visible flag slightly. Visible false now means that an object's orbit will not be shown. 2008-10-01 22:50:38 +00:00
Chris Laurel bdc7348dd6 Added globular.h and globular.cpp to Visual C++ project file (patch from Julien) 2008-10-01 00:55:28 +00:00
Chris Laurel b9f98db57f Added property for atmosphere to control cloud shadow depth; currently any value greater than 0 is treated as 1 (full cloud shadows.) 2008-09-29 21:07:30 +00:00
Da Woon Jung 610e3168ec Mac: Fixed nebulae toggle regression bug, tweaked fr, es checkboxes 2008-09-29 07:56:00 +00:00
Da Woon Jung d2fa990cd5 Mac: added globulars, grids, reorganized prefs panel(en,es,fr only) 2008-09-29 01:59:05 +00:00
Da Woon Jung 2f72efb43b Mac: added globulars, grids, reorganized prefs panel(en,es,fr only) 2008-09-29 01:58:36 +00:00
Grant Hutchison 95e07468a8 Added HAT-P-10 b, HD 60532 b&c; removed HD 219542 b, HD 188753 b 2008-09-28 16:19:01 +00:00
Grant Hutchison 1ae9d115cc Added HAT-P-10 / WASP-11 2008-09-28 16:17:44 +00:00
Chris Laurel 78cf8dacb8 Fixed comet rendering bugs: normal calculation was incorrect and generated NaNs. 2008-09-26 22:33:10 +00:00
Chris Laurel 301a74e16a Improved selection cursor:
- Animation effect to make it easier to notice
- Pointer shown at view border when selection is off screen
- Cursor has different appearance when selection object is occluded
- Cursor doesn't interfere with markers
2008-09-25 18:31:48 +00:00
Vincent Giangiulio e0f8882e66 Added dwarf planet and minor moon to celx tables of names. 2008-09-24 20:58:07 +00:00
Vincent Giangiulio 8c498225f8 Made renderflags, orbitflags and labels CEL commands use tables of names defined in CELX to avoid code duplication. 2008-09-23 21:57:05 +00:00
Vincent Giangiulio bd5d8166d4 Added globulars and new grids (horizontal, galactic, ecliptic) to Windows View option dialog. 2008-09-23 19:37:19 +00:00
Andrew Tribick 67841dff2f Rebuilt star database and CHARM2 file with new CDS version of I/311. 2008-09-23 16:31:45 +00:00
Andrew Tribick 8048c41ee3 Assume SIMBATCH return query is a .txt file (this matches with the filename returned when no compression is requested) 2008-09-23 16:25:46 +00:00
Chris Laurel f8297e119d Commented out reference mark menu code in KDE UI. It's using the bitfield-based reference mark methods which are now obsolete. It needs to be updated to use the new list based implementation. 2008-09-22 21:08:46 +00:00
Chris Laurel 58a634722c Implemented NormalizeMesh property for solar system bodies. This property makes it easier to build assemblies from several bodies with mesh geometry. 2008-09-22 21:03:43 +00:00
Chris Laurel 9d236c3b8e - Added geometryScale property to Body class.
- Removed old bitfield based render marks code from Body class.
2008-09-22 20:59:04 +00:00
Chris Laurel 0b545dd55a Fixes for planetshine in OpenGL 2.0 shaders:
- Added light brightness parameter for shader; required in order for night textures to look right in some multiple light source situations.
- Added castsShadows property for light sources. Shadows are not rendered for planetshine light sources.
2008-09-22 20:57:27 +00:00
Chris Laurel fb7ec01363 Added checkable actions for globular clusters and labels to Qt4 UI. 2008-09-22 20:47:33 +00:00
Da Woon Jung bb39ee50fe Fix for #1864979 - ambient light may look incorrect in legacy arb shaders 2008-09-22 14:47:59 +00:00
Chris Laurel e5f3fe84c1 Star name lookup changes for stc parser:
- Check list of proper names before cross indexes; allows definition of stars in
HD catalog in stc files. Temporary fix until we revisit star names in 1.7.0.
- Allow lookup of stars by catalog number in stc definition.
2008-09-22 01:54:22 +00:00
Andrew Tribick 2cc1bb4f7c Perl scripts to generate charm2.stc 2008-09-21 22:50:16 +00:00
Andrew Tribick c01a90ddf0 Implement CHARM2 catalog of stellar radii. 2008-09-21 22:49:05 +00:00
Andrew Tribick 595dc4abf1 Added missing stars HD 80606 and HD 80607.
Converted to use Modify.
2008-09-21 22:42:13 +00:00
Fridger Schrempp 3f82cc5fac Fix to make the key shortcuts for globulars work in KDE 2008-09-20 23:16:00 +00:00
Fridger Schrempp 183d547252 Perl script for extracting globular clusters 2008-09-20 14:23:48 +00:00
Fridger Schrempp c46e6c41fd Implement globular clusters 2008-09-20 14:17:39 +00:00
Fridger Schrempp 24cfadfc70 implement globular clusters 2008-09-20 14:13:23 +00:00
Grant Hutchison b24465623b Name, dwarf planet status for 2003 EL61, names for moons 2008-09-17 22:20:56 +00:00
Chris Laurel 7253a498f3 Code cleanup:
- Fixed some unused parameter warnings in renderglsl
- Removed unused debug log messages
- Changed radius parameter in renderglsl to more apt 'geometryScale'
2008-09-17 02:50:46 +00:00
Chris Laurel a12423b5de Changed label display logic so that the label of a barycenter is shown when
it's the center of a planet or dwarf planet system.
2008-09-16 23:40:30 +00:00
Vincent Giangiulio f2e9fe9889 Added makeactiveview method to observer object in celx scripting. 2008-09-16 22:08:15 +00:00
Vincent Giangiulio c175e5cc55 Added the following commands to cel scripting:
- splitview, deleteview, singleview, setactiveview
- setgalaxylightgain
- setradius
- setlinecolor, setlabelcolor
2008-09-16 22:05:59 +00:00
Vincent Giangiulio 3dd86cebad Added makeactiveview method to observer object in celx scripting. 2008-09-16 21:57:00 +00:00
Da Woon Jung 89065a4005 Rerun scripts weren't working for script menu items 2008-09-15 10:37:44 +00:00
Grant Hutchison d7dc7f19d1 Added HD 154672 b, HD 205739 b 2008-09-14 22:45:08 +00:00
Chris Laurel 3f87867724 Changed solar system name display code to omit the English name of an object when a translated version is present. This is the same behavior as 1.5.0. 2008-09-13 18:46:36 +00:00
Chris Laurel a63b8f7df3 Added ssc definition, model, and locations for asteroid 25143 Itokawa. 2008-09-13 00:03:08 +00:00
Vincent Giangiulio 7f92ad5570 Made the package library, except loadlib, available for celx scripting regardless of script system access policy. 2008-09-12 22:05:14 +00:00
Chris Laurel 8dac3c6931 Added the Clickable property for deep sky objects. 2008-09-09 20:48:28 +00:00
Chris Laurel c5a6543a49 Added volcanoes to locations submenu. 2008-09-08 23:47:07 +00:00
Chris Laurel b3ec57b12e Fixed inversion of longitude specified in with FixedPosition planetographic
or planetocentric.
2008-09-08 22:29:43 +00:00
Chris Laurel 5ad634b796 - Fixed 180 degree offset in new FixedPosition Planetographic/Planetocentric modes
- Corrected comments and debug output in FixedPosition parser
2008-09-06 19:17:13 +00:00
Grant Hutchison 9f43548dd4 Removed TW Hya b, added Gliese 832 b 2008-09-06 16:58:43 +00:00
Grant Hutchison 6898dacabd Fixed Mu Cas, adjusted Gliese 229 B 2008-09-06 16:57:27 +00:00
Vincent Giangiulio 2344dc49f7 - Added Open Clusters to Windows view options dialog
- Added volcanoes to location types on Windows
2008-09-05 23:54:34 +00:00
Vincent Giangiulio 2850c6f27e Added Open Clusters to Windows view options dialog 2008-09-05 23:53:22 +00:00
Vincent Giangiulio 862aabc27f Added volcanoes to location types on Windows 2008-09-05 23:49:11 +00:00
Vincent Giangiulio 0051a86c36 Added volcanoes to LocationFlag list. 2008-09-05 23:46:08 +00:00
Chris Laurel 44d8eb574f Don't show labels for DSOs that aren't visible. 2008-09-05 22:36:36 +00:00
Chris Laurel 04855da259 Committing a patch from Julien Woillez that fixes a bug in the celx function
celestia:getscreendimension; width and height were incorrectly computed when
the viewport corner wasn't the origin. Also fixed an uninitialized variable
warning from the compiler.
2008-09-04 21:00:08 +00:00
Da Woon Jung b1cb2fdebf Updated Mac Xcode project to reflect new Cassini trajectory files 2008-09-04 15:57:25 +00:00
Da Woon Jung 874323c12a Rolled back volcano changes causing unopenable MainMenu.nib in Xcode 2.x, migrated to keyedobjects.nib for Xcode 3 compatibility 2008-09-04 15:54:42 +00:00
Chris Laurel a6be3e66c8 Fixed invalid initialization of list iterator activeViews. Changed from NULL to views.begin() 2008-08-31 04:09:31 +00:00
Chris Laurel 8049e356a0 More Cassini updates:
- Removed old Huygens and Cassini trajectories
- Modified Makefile.am to look scan data directory for xyzv files
2008-08-30 02:18:53 +00:00
Chris Laurel abc6897356 Updated Cassini:
- Switched from xyz to more accurate xyzv trajectory generated by spice2xyzv.
- Used Timeline for Huygens instead of having two separate objects
- Added trajectory for Cassini extended mission
- Separated Cassini trajectory into two segments: launch/cruise and Saturn orbit
- Improved Huygens separation sequence
2008-08-30 02:16:09 +00:00
Chris Laurel 879220832a Removed long-unused loadOldFormatBinary() method from StarDatabase. 2008-08-30 00:00:06 +00:00
Chris Laurel 251aae9233 SSC parser changes to make it easier to place objects on planet surfaces:
- Extended FixedPosition to support planetocentric and planetographic
  coordinates.
- Added FixedAttitude rotation model, with more intuitive parameters for
  orientation.
- Added Topocentric frame
- Added new SurfaceObject type for ssc files; like an ordinary body except
  that the OrbitFrame defaults to BodyFixed of parent, and BodyFrame defaults
  to Topocentric.
2008-08-29 23:33:15 +00:00
Chris Laurel e0eeaf5dee Added support for dispositions (Add, Modify, and Replace) in stc files. 2008-08-29 23:26:54 +00:00
Chris Laurel 9915c4cb39 Committing experimental code for particle systems; disabled until after 1.6.0. 2008-08-29 21:29:59 +00:00
Christophe Teyssier 1b3a6baa00 Patch from Julien Woillez. Fixes a memory leak in multiview handling 2008-08-29 18:33:59 +00:00
Andrew Tribick d1f1bebe26 Rebuilt cross-indices from SIMBAD data. 2008-08-26 17:26:07 +00:00
Andrew Tribick a55877d9d5 Perl script to build cross-index files from SIMBAD data. 2008-08-26 17:21:35 +00:00
Da Woon Jung 9774ae1d8b Fixed issue with some checkbox settings not getting saved properly (eg cloud shadows). 2008-08-26 15:48:22 +00:00
Chris Laurel 0c6b073266 Added volcanoes to locations menu of Mac OS X version (English, French,
Spanish, and Japanese)
2008-08-26 04:14:26 +00:00
Andrew Tribick f2bb26fc2b Fixed bug which allowed stars with low parallax and high parallax error into the final dataset. 2008-08-21 15:54:18 +00:00
Chris Laurel 71022208dc Enabled app icon for Qt4 version on Mac OS X. 2008-08-15 23:22:08 +00:00
Andrew Tribick bc42858a2d Take account of updated stars.dat.
Removed all entries restoring original Hipparcos parallax as unnecessary.

Used original Hipparcos parallax for HIP 12031 - luminosity 900 times solar is not plausible for a white dwarf.

Removed entry for Beta Centauri - new Hipparcos reduction agrees with distance from binary orbit.
2008-08-12 18:17:11 +00:00
Fridger Schrempp 91746264b2 implemented a fix to avoid VS2003 compiler error. The respective system != NULL test was in fact redundant. 2008-08-12 17:36:27 +00:00
Chris Laurel def429cacd Fix for bug 2020938 [Ring location labels are disappearing.] The new location
label code was assuming that all labels were on (or very near) the surface of
a body. A one line fix corrects this bad assumption.
2008-08-12 01:02:53 +00:00
Grant Hutchison dcfeef2f41 Alternative names for minor moons 2008-08-08 23:18:33 +00:00
Grant Hutchison 6d17fba450 Alternative names for minor moons; added Anthe; removed S/2004 S 3, S/2004 S 4 and S/2004 S 6. 2008-08-08 23:17:25 +00:00
Grant Hutchison 06f07f987a Alternative names for major moons 2008-08-08 23:14:07 +00:00
Grant Hutchison 31d8b3d86a Alternative names for outer system bodies 2008-08-08 23:12:55 +00:00
Grant Hutchison 7d3897b378 Added CoRoT-Exo-4 2008-08-08 23:11:46 +00:00
Grant Hutchison 8baa321151 Added CoRoT-Exo-4 b 2008-08-08 23:11:10 +00:00
Grant Hutchison 17c94913c4 Alternative names for comets 2008-08-08 23:10:24 +00:00
Grant Hutchison b1e8fa7da5 Alternate names for asteroids 2008-08-08 23:09:10 +00:00
Chris Laurel 93acae93e1 Implemented the visible flag for deep sky objects. The visible attribute may
be set either in the dsc object definition or in a celx script.
2008-08-07 05:35:29 +00:00
Chris Laurel d35b254d04 Fixed inverted period for earth-p03lp CustomRotation. 2008-08-07 02:22:38 +00:00
Chris Laurel 600a2a2ab0 Improve support for per-vertex colors (unlit models only right now.) 2008-08-07 00:42:18 +00:00
Chris Laurel dc5258c518 Updated Celestia file types. 2008-08-07 00:31:32 +00:00
Chris Laurel 586b291af3 Added support for premultiplied alpha blend mode. 2008-08-04 20:10:06 +00:00
Chris Laurel d1a12d6dfa Send control modifier to celx keyboard handling functions. This was supported before for keys a-z; now it works for other keys as well. 2008-08-02 04:36:18 +00:00
Chris Laurel cb8f095d46 Modified Qt4 keyboard input handler to pass keyboard modifiers to CelestiaCore. 2008-08-02 04:33:26 +00:00
Chris Laurel 95855eb55b Made location symbol colors match label colors when LabelColor is overridden. 2008-07-26 21:04:39 +00:00
Chris Laurel 99ee3a4102 Renderer changes:
- Added camera orientation property to RenderContext, to be used with software
path for point sprites.
- Enabled location label color overrides
2008-07-25 23:31:00 +00:00
Chris Laurel 33aff556f9 Implemented for new topocentric frame type (a simplified two vector frame.) 2008-07-25 23:22:04 +00:00
Chris Laurel 80a1018123 Implemented for new topocentric frame type (a simplified two vector frame.) 2008-07-25 23:20:55 +00:00
Chris Laurel 0f3574c2da Added LabelColor property for locations. 2008-07-25 23:08:52 +00:00
Chris Laurel a8f9c16415 Fixed calls to obsolete function Body::getModel() in Qt4 UI code; switched to using isEllipsoid instead. 2008-07-25 22:52:18 +00:00
Chris Laurel 41efec9e08 - Added abstract class Geometry; this will permit geometry other than
static models to be used for objects.
- Replace body, star, and DSO instances of Model with Geometry
- Renamed ModelManager to GeometryManager
- Fixed a GeometryManager bug that was triggered by multiple uses of a mesh
  file with different MeshCenters.
2008-07-23 21:54:53 +00:00
Chris Laurel 019b7e649e Fixed const-ness mismatch in new name code. 2008-07-20 00:26:50 +00:00
Chris Laurel de9dedc9af Changed overlay text for solar system bodies so that all object names are
shown.
2008-07-19 22:00:28 +00:00
Chris Laurel bd334ed4e5 Changed setName method of Objective-C wrapper for body to do nothing (since
Body::setName is now private.)
2008-07-19 21:51:28 +00:00
Chris Laurel e7645a774f Introduced support for multiple names for solar system objects. As with
stars and DSOs, names are separated by colons.
2008-07-19 21:41:30 +00:00
Grant Hutchison 2623b098bb Five new crater names from IAU, appended to file 2008-07-17 23:55:19 +00:00
Grant Hutchison 794e1c1ddc New IAU names on Mimas and Tethys 2008-07-17 23:53:37 +00:00
Andrew Tribick 121d25e236 Rebuilt star database using updated Hipparcos Catalogue.
Reference: Floor van Leeuwen, 2007, "Hipparcos, the New Reduction of the 
Raw Data", Astrophysics & Space Science Library #350.
2008-07-17 23:41:51 +00:00
Andrew Tribick 6b2071659b Added script to build star database from updated Hipparcos catalogue. 2008-07-17 23:28:35 +00:00
Chris Laurel d56f2e1334 Corrected the class of Makemake: "dwarf planet" should be "dwarfplanet" 2008-07-15 01:37:39 +00:00
Chris Laurel 9360a6bbe4 - Switched to using IAU rotational elements for most solar system bodies
- Commented out overridden EllipticalOrbits and UniformRotations so that the
  data sources for orbits and rotations are clearer
- Added verbose explanatory comments at the beginning of solarsys.ssc
2008-07-15 01:36:30 +00:00
Grant Hutchison 43f2b8f60b 2005 FY9 now a dwarf planet, named Makemake 2008-07-14 14:08:04 +00:00
Chris Laurel ace29126b0 Removed outdated description of stars.dat binary file format from README;
added a link to the catalog files section of the Celestia WikiBook instead.
2008-07-13 21:45:31 +00:00
Grant Hutchison 8e729f9a8f Added 81 Cet b, 6 Lyn b, 14 And b 2008-07-05 00:21:54 +00:00
Grant Hutchison 1f32424851 Added HAT-P-9 b, WASP-10 b, WASP-14 b, HD 102272 b&c, HD 40307 b,c&d 2008-06-30 14:57:51 +00:00
Grant Hutchison a19f48fefe Added HAT-P-9, WASP-10, WASP-14 2008-06-30 14:54:59 +00:00
Chris Laurel 38075ecc01 Simplified frame specification in ssc files with default centers; this
eliminates the need to provide centers for body frames, and can also simply
some orbit frame definitions.
2008-06-17 02:18:38 +00:00
Chris Laurel 7e704adedd - Fixed a bug in display of declination; negative sign wasn't shown when declination was between 0 and -1
- Eliminated display of zero degrees (and possibly zero minutes) for very small apparent sizes and fields of view.
2008-06-11 03:44:46 +00:00
Chris Laurel 2a9ae4e044 Fixed orbit bugs:
- Fixed caching bug that manifested when getting using default computeVelocity method of CachingOrbit base class
- Fixed velocity calculation for position+velocity sampled orbits.
- Removed debugging output in sampled trajectory loader
2008-06-10 20:49:06 +00:00
Christophe Teyssier 548d3ac99d Updated Dutch translation 2008-06-08 11:16:33 +00:00
Christophe Teyssier eba8bc8780 1.5.1 branch merge 2008-06-08 11:01:15 +00:00
Chris Laurel c00a2a0f47 Added rendering of ecliptic line and support for turning it on and off via
script.
2008-06-07 01:35:24 +00:00
Chris Laurel 33a9728bc5 Changed type string for open clusters from "Cluster" to "Open cluster" 2008-06-06 23:38:17 +00:00
Grant Hutchison e342893785 Added XO-4 b, XO-5 b, WASP-7 b 2008-06-03 17:32:22 +00:00
Grant Hutchison 6747ab2326 Added XO-4, XO-5, WASP-7 2008-06-03 17:31:46 +00:00
Chris Laurel 08fd827b33 Added skygrid.cpp and skygrid.h to MSVC++ project file. 2008-06-01 19:10:07 +00:00
Chris Laurel 01543105be Qt4 InfoPanel class was using its own copy of the equatorial to galactic transformation code. Changed it to use the function in astro.cpp instead. 2008-05-31 02:17:09 +00:00
Chris Laurel d8aa8223a1 Modified spice2xyzv tool to write a comment header for generated xyzv files. The header contains the SPICE kernels used, the reference frame, creation time, and other parameters used to produce the xyzv file. 2008-05-31 00:41:15 +00:00
Chris Laurel cc8f545677 Add support for comment headers in xyz and xyzv files. Comments begin with the # character and end with newline. Comments are only permitted before the data; files with interleaved data and comments are illegal. 2008-05-31 00:37:54 +00:00
Vincent Giangiulio fabafba8e9 - Added setconstellationcolor, getlabelcolor and getlinecolor methods to celestia object. 2008-05-30 11:47:41 +00:00
Chris Laurel ace6dfea21 Fixed a bug that caused objects to be incorrectly culled at small fields of view. Changed type of Renderer::cosViewConeAngle from float to double; using single precision floats was causing the value of cosViewConeAngle to be rounded to 1.0, making the view cone effectively just a line. 2008-05-30 06:37:37 +00:00
Chris Laurel 07627a9a9b Implemented horizon coordinate grid; changed calls of SkyGrid::setLatitudeUnits to SkyGrid::setLongitudeUnits 2008-05-30 03:19:07 +00:00
Chris Laurel 7b37139d19 Sky grid fixes:
- Changed name of LatitudeUnits to LongitudeUnits
- Added check to verify that argument of asin is inside (-1,1); slightly
  out of range values can result from rounding errors.
- Added setLongitudeDirection method; necessary because longitude increases
  eastward (clockwise) in the horizontal coordinate system, ccw in every
  other system.
2008-05-30 01:38:12 +00:00
Chris Laurel a9499d3f0a Added new render flags, label colors, and line colors: galacticgrid,
eclipticgrid, and horizontalgrid.
2008-05-29 23:35:43 +00:00
Chris Laurel c8dc0c983e Added skygrid.h and skygrid.cpp to Xcode project file for Mac. 2008-05-29 23:08:47 +00:00
Chris Laurel 8ec4e225b1 Added galactic and ecliptic grid toolbar items to Qt4 front-end. 2008-05-29 21:53:42 +00:00
Chris Laurel d838a9e4d5 Enabled new sky grid code. 2008-05-29 21:52:27 +00:00
Chris Laurel 2a9b4586ef Implemented functions to convert between equatorial and galactic coordinate systems. 2008-05-29 21:26:17 +00:00
Chris Laurel c1f1054b2f Fixed bugs and enhancements in new sky grid code:
- Parallel spacing was off by a factor of two
- Fixed rotation bug that caused problems with grid orientations other than equatorial and ecliptic
- Allow labeling of longitude in degrees instead of hours
2008-05-29 19:24:39 +00:00
Chris Laurel 42fd60366c Committed new sky grid code in new files skygrid.cpp/h. Not enabled yet. 2008-05-28 20:58:26 +00:00
Andrew Tribick d716510aef Fix double usage of Ras Elased Australis:
- EPS Leo = Ras Elased Australis
  - MU Leo = Ras Elased Borealis
2008-05-27 22:13:21 +00:00
Chris Laurel 646d427802 Eliminated min and max macros in celutil/util.h. The STL functions should be
used instead. Fixed several locations in the code where int/unsigned int
type differences in calls to min/max were confusing the compiler.
2008-05-23 18:47:18 +00:00
Chris Laurel 0360a3e689 Removed extra debugging output in render.cpp. Add casts to some arguments
to min and max function arguments so that the compiler doesn't complain when
we use the STL template versions of these functions instead of macros.
2008-05-22 23:39:13 +00:00
Andrew Tribick 1bf086c739 Use sd for hot subdwarfs, VI for cool subdwarfs per arXiv:0805.2567v1 2008-05-22 23:36:05 +00:00
Andrew Tribick df23d6cf31 Fixed calls to object() method of Marker object 2008-05-22 23:12:51 +00:00
Chris Laurel 0ffd3b7e0e Updated Gtk and KDE front-ends for recent changes to Marker class. 2008-05-22 21:28:31 +00:00
Chris Laurel f35c18c641 Corrected location type for Mayda Insula feature on Titan--was FO (Fossa),
changed to IN (Insula)
2008-05-22 21:20:21 +00:00
Chris Laurel f9975120d9 Location fixes:
- Added symbols for locations.
- Fixed visibility calculation for locations on ellipsoidal, non-spherical
bodies.
- Allow location labels to be occluded by foreground objects.
- Added new location types: eruptive center, insula (islands), and
tholus (domical hills and mountains)
2008-05-22 20:30:45 +00:00
Chris Laurel 7504cf0c5e Fixed int to float conversion warnings in overlay.cpp. 2008-05-21 00:06:36 +00:00
Chris Laurel 71fa8d6ece Window arrangement fixes for Qt4 front-end:
- Save and restore position of bookmarks tool bar
- Check for invalid window positions when loading saved values; these can
occur if the monitor resolution or multimonitor configuration changes in
between runs of Celestia.
2008-05-19 21:41:45 +00:00
Chris Laurel a7b31c4dc5 Removed extraneous comment in customrotation.cpp. 2008-05-19 21:35:32 +00:00
Chris Laurel b202cf405e Switched to using sd prefix to indicate subdwarf spectral types. 2008-05-19 18:37:22 +00:00
Chris Laurel c4521a3c66 Fixed bug in calculation of the position of locations. The bug only occurred
when the location was the child of an object with a frame parent star
different than its namespace parent star (most commonly occurring when the
orbit frame center is the solar system barycenter.) This is hopefully the last
of this class of bug.
2008-05-18 00:18:41 +00:00
Chris Laurel 6a59ac8893 Corrected distances in Qt4 deep sky browser; caused by failure to convert from
uLY to LY.
2008-05-13 20:44:50 +00:00
Chris Laurel c4f723063e Made Open Script menu option in Qt4 front-end save the last used scripts folder. 2008-05-12 22:32:10 +00:00
Chris Laurel 3da6f3715c Enable video capture with Qt4 front-end (Windows only right now.) 2008-05-11 20:22:44 +00:00
Chris Laurel 180e4fd9c2 Increased precision of pfmod<double> by switching from integer divide to double precision divide. Fixes problem with cloud textures at times in the very distant future. 2008-05-09 18:30:03 +00:00
Chris Laurel 30c8727d43 Assigned minormoon class to Saturn's irregular satellite Siarnaq (accidentally left as a moon before.) Promoted Eris's moon Dysnomia from class asteroid to moon. 2008-05-09 02:14:04 +00:00
Grant Hutchison 9877fe5975 Added HD 45652 b 2008-05-08 22:42:06 +00:00
Chris Laurel fe24b51abe Assigned the class dwarfplanet to Pluto, Eris, and Ceres. 2008-05-08 20:50:44 +00:00
Chris Laurel 09d6b27ae3 Marked small moons of the Solar System with new minormoon class. 2008-05-08 20:46:07 +00:00
Chris Laurel e6fd6196c3 Fixed bug 1947693: Dim stars in distant orbits aren't drawn. This fix is
important for brown dwarfs in binary systems.
2008-05-07 18:21:44 +00:00
Chris Laurel dd31bae5d5 Added spice2xyzv, a tool for generating Celestia xyzv files from a set of SPICE SPK kernels. 2008-05-06 23:31:00 +00:00
Vincent Giangiulio 24967b4eda - Added showconstellations and hideconstellations methods to celestia object.
- Made celestia:getsystemtime use the recently added astro::Date::systemDate() method
2008-05-06 18:17:12 +00:00
Chris Laurel ce2a3a3651 Fixed bug that caused markers for solar system bodies to disappear when the
marked object became invisible. Markers were not taken into account when
computing the front plane of the nearest depth interval. Also fixed a bug
in the DEBUG_COALESCE code that caused it to crash when enabled.
2008-05-05 22:13:27 +00:00
Chris Laurel d1139852b7 Added support for a new cel URL version that stores frame coordinates instead
of absolute coordinates and adds the time source option. Modified Qt4 front
end to create version 3 cel URLs. Added a time source option to the Qt4
Add Bookmark dialog.
2008-05-05 19:09:31 +00:00
Chris Laurel 7987750092 Implemented IAU rotation models for Miranda, Ariel, Umbriel, Titania, and
Oberon.
2008-05-02 20:49:11 +00:00
Chris Laurel 1f6a058390 Removed shortcut bindings for clouds and galaxies from Qt4 front-end. They
were interfering with text entry in enter-select mode.
2008-05-02 20:47:40 +00:00
Chris Laurel d97a73a05b Constified Renderer::getResolution and Renderer::getFaintestAM45deg to fix
compiler errors.
2008-05-01 22:25:20 +00:00
Chris Laurel 1032bb17ab Qt4 front-end improvements:
- Added light time delay to Time menu
- Created Display menu, with actions to toggle various rendering features and control star visibility (limiting magnitude and automag)
- Added all new actions to CelestiaActions pool; these can be used in the toolbar, menu, or (with slightly more effort) in a preferences dialog.
2008-05-01 19:47:51 +00:00
Chris Laurel 9040afc7f9 Fixed crash in Qt4 solar system browser that occurred when a star had both stellar and planetary companions. 2008-04-30 22:38:29 +00:00
Chris Laurel 1604d97697 Fixed depth sorting of long/lat labels for planetographic grids. 2008-04-30 18:31:30 +00:00
Chris Laurel 623e90aa73 Worked around apparent bug with wordexp on Mac OS X Leopard with Qt4. wordfree
would crash when called; there are no problems with any other platforms. The
workaround simply avoids calling wordexp at all, so shell-style expansion of
filenames in celestia.cfg will no longer work on the Qt4 version for Mac OS X.
2008-04-29 19:10:22 +00:00
Da Woon Jung fccb487460 Mac: Fixed possible crash when object that isn't planet or moon is searched for in eclipse finder. 2008-04-24 00:18:53 +00:00
Vincent Giangiulio fbc940245c Fixed typo in view option dialog. 2008-04-23 13:44:31 +00:00
Vincent Giangiulio 1da15273a1 - Added dwarf planet and minor moon label and orbit settings to Windows view option dialog. 2008-04-23 13:43:01 +00:00
Vincent Giangiulio 49d82b20ac - Added dwarf planet and minor moon label and orbit settings to Windows view option dialog. 2008-04-23 10:55:55 +00:00
Vincent Giangiulio 65e9f06c5f Windows view option dialog changes:
- Added dwarf planet and minor moon label and orbit settings
- new layout arrangement
2008-04-23 10:54:50 +00:00
Chris Laurel 6f39d5c67b Added a systemDate() method to the astro::Date class. 2008-04-23 04:18:01 +00:00
Vincent Giangiulio caa47487b6 Added date format setting to Qt4 preferences dialog. 2008-04-22 22:41:41 +00:00
Vincent Giangiulio b173041068 Qt4 time dialog changes:
- Added time zone setting;
- Replaced Qt4 date edit control with custom widget which accepts date prior to 4713 BCE (jd = 0). Date range is currently set to year +/- 10000.
2008-04-22 22:39:22 +00:00
Chris Laurel 0899f0a635 Improved choice of default name for bookmarks in Qt4 front-end. 2008-04-22 20:57:12 +00:00
Chris Laurel 4eba15661c Checked in Brent's x11 colors change. Allows any x11 color name to be used to specify colors in cel and celx scripts. 2008-04-22 19:18:24 +00:00
Chris Laurel ae1246afa1 More bookmarks work for Qt4 front-end:
Added remove item button to bookmark organizer.
Added icons for bookmarks.
2008-04-22 11:46:34 +00:00
Chris Laurel a70280cde8 Fixed drag and drop in Qt4 bookmarks organizer; added some polish to bookmarks ui. 2008-04-22 01:15:29 +00:00
Da Woon Jung d552f63db3 Dwarf planet and minor moon class support for browser. 2008-04-22 00:32:35 +00:00
Chris Laurel acec872b4a Implemented bookmarks toolbar for Qt4 front-end. 2008-04-21 23:06:14 +00:00
Chris Laurel 161635ea8b Added missing file to Qt4 project file. Fixed initialization of bookmarks
menu.
2008-04-21 20:53:01 +00:00
Chris Laurel 3c41c99bfb Updated bookmarks support in Qt4 front end:
- Show, save, and load bookmark descriptions
- Added buttons to add new folders and separators
- Prohibited drag/drop of top level-items
2008-04-21 19:04:11 +00:00
Grant Hutchison f978019c96 Updates to Dione and Titan 2008-04-21 11:15:55 +00:00
Grant Hutchison 321d3dbfab IAU update, appended to file 2008-04-21 11:15:12 +00:00
Grant Hutchison 335785af00 IAU update, appended to file 2008-04-21 11:14:40 +00:00
Grant Hutchison 6c4e976534 IAU update, appended to file 2008-04-21 11:14:07 +00:00
Da Woon Jung 0049607096 Mac: Added ui for setting dwarf planet, minor moon labels and orbits 2008-04-21 00:21:40 +00:00
Da Woon Jung 9ecc27aa24 Localized surface names in alt surfaces menu. 2008-04-21 00:17:00 +00:00
Vincent Giangiulio c3d86b13e3 Added support to set dwarf planet and minor moon orbits and labels color from celx scripting. 2008-04-20 20:57:25 +00:00
Chris Laurel 46e9a05a84 Changed location of Qt4 bookmarks folder on Mac OS X. Only display bookmarks
in "Bookmarks Menu" folder in menu.
2008-04-20 00:19:52 +00:00
Chris Laurel 5ddc754727 Enabled xbel bookmarks support for Qt4 front-end. Bookmarks are saved into the user data dir in the files bookmarks.xbel.cpp. Creating and organizing with an arbitrary number and depth of subfolders is supported. 2008-04-19 23:15:22 +00:00
Da Woon Jung 45b3b4e860 Added support for dwarf planet and minor moon label and orbit settings. 2008-04-19 05:28:04 +00:00
Da Woon Jung c25ae89d20 Changed Reference Vectors menu title to the more generic title Reference Marks. 2008-04-19 05:27:12 +00:00
Chris Laurel a2c2f78ff4 Added XBEL support to bookmark manager for Qt4 front-end (bookmark manager still disabled.) 2008-04-19 04:22:12 +00:00
Chris Laurel 09452f4a86 Committed new bookmarks UI for Qt4 front-end (not yet enabled in app.) 2008-04-18 22:08:05 +00:00
Da Woon Jung 7e6f870790 Grouped context menu reference mark commands under a submenu. 2008-04-17 23:53:15 +00:00
Chris Laurel 300fd99ebb Implemented computeVelocity() method for SPICE orbit. 2008-04-16 18:51:58 +00:00
Chris Laurel e8512b3816 Added code to skip duplicate samples in xyz and xyzv files, as they can cause divide by zero errors when left in (dt = 0 gives infinite velocity.) Such trajectories could be treated as invalid, but there are existing add-ons that use them. 2008-04-16 17:46:51 +00:00
Vincent Giangiulio f2f9931c62 Fixed bug with dwarf planet and minor moon labels. 2008-04-16 09:07:05 +00:00
Chris Laurel 84214d03b4 Fixed calculation of position and velocity at the end spans of sampled
trajectories. Two bugs--one new and one old--were causing sampling of orbits
go haywire and resulting in thousands of extra points being added to displayed
trajectories, most of which were NaNs.
2008-04-15 23:23:19 +00:00
Vincent Giangiulio 6d8198d6db Added option to toggle dwarf planet and minor moon labels/orbits to Qt4 guides toolbar. 2008-04-15 20:25:57 +00:00
Chris Laurel 2521106f62 Bound P and M keys to toggle dwarf planet and minor moon labels. Added new
categories to Qt4 solar system browser.
2008-04-15 18:33:17 +00:00
Chris Laurel cc1fa6a80c Added minormoon and dwarfplanet classes. 2008-04-15 18:31:53 +00:00
Chris Laurel 7e117ee0fd Added diffuse and minormoon classes. 2008-04-14 18:48:13 +00:00
Chris Laurel 2d5c71a91f Fixed bug 1934600, "discrepancy of apparent mag in star browser". Changed calculation of distance (and as a result apparent magnitude) to use a high precision observer-star difference and account for orbiting stars. Also changed distance column so that very large or small distances are shown in scientific notation. 2008-04-14 17:52:17 +00:00
Chris Laurel 0d9a3070bc Fixed wrong file extension in Win32 makefile celestia.mak. 2008-04-14 17:08:01 +00:00
Chris Laurel 3bcb51a8fa Fixed sporadic crash when marking objects with Star and DSO browsers in Qt4 version. Appears to have be caused by some problem with the QModelIndexList class. 2008-04-13 23:25:47 +00:00
Chris Laurel aaa40681ce Added new celx source files to MS Visual C++ project file. 2008-04-13 21:28:59 +00:00
Chris Laurel 7f9ecb1c8a Explicitly specify ASCII version of OutputDebugString in debug.cpp; required for compilation of Win32/Qt4 version. 2008-04-13 21:23:23 +00:00
Chris Laurel 3fb837e141 Added spicerotation.cpp to Windows makefiles. 2008-04-13 21:21:04 +00:00
Chris Laurel 5ef00e5c3d Added spicerotation.cpp to Makefile.am. 2008-04-13 21:18:46 +00:00
Chris Laurel d580102e33 Split celx.cpp into separate files for each object. 2008-04-13 20:56:56 +00:00
Chris Laurel 93660632d8 Added support for star InfoURLs to Win32 front-end. 2008-04-13 20:19:23 +00:00
Chris Laurel 8db5a85e19 Updated Qt4 front-end to save and restore local time setting. 2008-04-12 20:54:28 +00:00
Vincent Giangiulio 33b9347bb9 Removed unreferenced variable that caused warnings 2008-04-12 14:18:37 +00:00
Chris Laurel 3b24c33daf Fixed ~20 degree offset in P03LP custom rotation.
Clamped secular terms in IAU rotations to J2000.0 +/- 5000 years
2008-04-11 03:00:38 +00:00
Chris Laurel 76ff34af38 Implemented better sizing of planetographic grids and visible regions. The new approach leaves less of a gap between the reference marks and the planet surface while still minimizing z fighting artifacts. 2008-04-11 01:14:23 +00:00
Chris Laurel a6c8fef769 Fix for bug 1938559, "Goto Object menu longitude is wrong by 180 deg", part two. Removed the now unnecessary 180 degree adjustment in getSelectionLongLat. 2008-04-10 22:24:47 +00:00
Vincent Giangiulio aa29191c2b Changed "frame center arrow" reference mark into "frame center direction". 2008-04-10 17:36:50 +00:00
Vincent Giangiulio 615a876f71 - Added object:addreferencemark and object:removereferencemark methods to celx scripting.
- Added support to set the colors of the planetographic grid elements using the celestia:setlinecolor/setlabelcolor celx methods.
2008-04-10 17:00:08 +00:00
Vincent Giangiulio 70f084ab43 Changed "frame center arrow" reference mark into "frame center direction". 2008-04-10 16:53:47 +00:00
Chris Laurel cfa8300ff1 Fixed bug 1938559: Goto Object menu longitude is wrong by 180 deg
When the observer reference frames were rewritten in terms of ssc reference frames, an extra 180 rotation was eliminated from the BodyFixed (formerly 'planetographic') frame. I'd forgotten to remove a now unncessary correction in gotoSelectionLongLat. Simply getting rid of the extra -PI fixes the bug.
2008-04-10 03:37:43 +00:00
Chris Laurel d4d915b027 Added visibleregion.cpp and spicerotation.cpp to Visual Studio project file. 2008-04-10 02:47:30 +00:00
Da Woon Jung e7080e0c6f HDR fixes for terminator refmark. 2008-04-10 00:12:51 +00:00
Da Woon Jung d7b6a43922 Fixed mac xcode project breakage. 2008-04-10 00:02:56 +00:00
Chris Laurel 05c30395ac Fixed error in calculation of velocity for Keplerian orbits. 2008-04-09 08:09:59 +00:00
Chris Laurel f24b658f10 Fixed bug in VisibleRegion class--target selection was a reference but should have been an instance. 2008-04-09 02:13:50 +00:00
Chris Laurel d07637d52c Added support for terminator reference mark to Mac OS X front-end. 2008-04-09 01:00:27 +00:00
Chris Laurel 49688f854b Implemented VisibleRegion reference mark. This reference mark can be used to show a planet's terminator or the region of visibility for a satellite. Added Terminator to the reference mark menu for Qt4 and Windows front ends. Fixed a bug in toggling body and frame axes. 2008-04-09 00:26:07 +00:00
Chris Laurel dd3a01553c Added files for SPICE rotations--any SPICE frame can be used as a Celestia rotation model. 2008-04-08 23:56:08 +00:00
Fridger Schrempp b9901380a3 Added fix to allow for absolute directory notation in VT ImageDirectory input 2008-04-08 20:27:38 +00:00
Fridger Schrempp 6a1b7246f0 fix allowing for absolute directory notation in the VT ImageDirectory. 2008-04-08 20:22:45 +00:00
Chris Laurel f677586303 Fixed ssc parser bug that caused crash when Replace disposition was used on an object with a bad timeline. Also improved log messages by including object name along with timeline errors. 2008-04-08 01:27:21 +00:00
Chris Laurel c31fa4b03a Enable display of phase angle for selection. 2008-04-07 23:12:17 +00:00
Chris Laurel 889046a12d Removed some redundant calculation in renderer to speed up creation of render lists. 2008-04-05 23:22:39 +00:00
Chris Laurel c3a6bf8ce0 Fixed display of apparent magnitude and distance in Qt4 star browser. The
current time was not being used to compute star positions, so calculations
for stars in multiple systems were incorrect at dates other than J2000.0
2008-04-04 18:11:37 +00:00
Chris Laurel ee2209c1d9 Fixed incorrect bounding radius calculation for position+velocity trajectories. 2008-04-04 01:40:43 +00:00
Chris Laurel dcb255db2a Removed renderer debugging code accidentally left in from planetshine patch. 2008-04-03 21:14:42 +00:00
Chris Laurel d216a98755 Implemented secondary illumination (e.g. planetshine.) Rewrote much of the code that contructs render lists to make it possible to do compute secondary illumination efficiently. This patch fixes two other bugs. The orbit of barycenters is shown when they have children that are planets, moons, or asteroids. And, an incorrect frame release was fixed in solarsys.cpp. 2008-04-03 17:46:45 +00:00
Chris Laurel 9017964c44 Implemented xyz+velocity sampled trajectories (xyzv files) for better accuracy. 2008-04-03 01:26:36 +00:00
Chris Laurel f86ba2b6dd Added types for Celestia trajectories to DetermineFileType function. 2008-04-02 20:16:09 +00:00
Chris Laurel f7bba01892 Added typename to iterator initialization in samporbit.cpp to make
g++ happy.
2008-04-02 02:48:45 +00:00
Chris Laurel 9747bf9ce7 Sampled trajectory improvements:
- implemented computeVelocity method for sampled trajectories
- use better approximation for velocity at sample points (three-point finite difference)
2008-04-02 01:05:52 +00:00
Da Woon Jung b6f3c30a51 Added HDR compile targets (experimental) 2008-03-30 01:08:24 +00:00
Grant Hutchison bb6281f60d Added HD 187123 c 2008-03-29 18:40:37 +00:00
Da Woon Jung a26e7a5fbc Fixed white rect covering window on some win, linux nvidia configs when hdr bloom is enabled. 2008-03-27 15:59:54 +00:00
Grant Hutchison e24fee5613 Added CoRoT-Exo-1 b and CoRoT-Exo-2 b 2008-03-26 23:41:40 +00:00
Grant Hutchison 055988e5c7 Added CoRoT-Exo-1 and CoRoT-Exo-2 2008-03-26 23:39:42 +00:00
Pat Suwalski b2e321f664 Fixing executable property on new shaders. 2008-03-26 05:03:26 +00:00
Chris Laurel b1057d803e Fixed a picking bug that occurred when an object's frame parent was defined with respect to a different star system than it's namespace parent. This was a problem when planets were defined in a frame centered on the solar system barycenter. The picking code had never been updated to use the frame hierarchy; this change corrects the oversight. 2008-03-26 00:49:04 +00:00
Da Woon Jung e59f4b4b54 HDR bloom, adaptive exposure, calibrated nightlights - disabled by default, enable with USE_HDR and HDR_COMPRESS. 4 new vertex programs added. 2008-03-25 00:23:16 +00:00
Fridger Schrempp b950e37ddc Updated Celestia Resources to include Celestial Matters Website and Forums. 2008-03-24 22:39:33 +00:00
Chris Laurel 96792c24f0 Implemented a simple memory pool class, useful for allocating lots of
small objects that will be freed simultaneously.
2008-03-24 21:46:07 +00:00
Chris Laurel bef4677954 Fixed bug 1924243 (Planetographic grid bug.) Celestia was crashing because the grid geometry was being deleted whenever a grid was disabled. Removing the incorrect delete fixed the problem. Also repositioned the long/lat labels so that they don't appear to float in the sky when the viewer is close to a planet. 2008-03-24 17:45:04 +00:00
Da Woon Jung fda62da1d8 Slight Mac project cleanup. 2008-03-24 00:15:38 +00:00
Chris Laurel 1033c3a7e4 Fixed bug 1923254 "invisible planet crashes Celestia". The code to pick the preferred distance from a reference point wasn't checking for the case when the point had no child objects. A simple check for NULL fixed the problem. 2008-03-23 19:57:26 +00:00
Chris Laurel 9303aa6028 Fixed broken rendering of background markers. Markers behind the viewer were
being rendered. Added code to cull markers outside the field of view, fixing
the bug and improving performance when lots of markers are enabled.
2008-03-21 23:38:05 +00:00
Grant Hutchison de309f541b Added WASP-5 2008-03-21 18:32:38 +00:00
Grant Hutchison 667f1d6ff8 Added WASP-5 b 2008-03-21 18:32:06 +00:00
Chris Laurel e0355024da Added planetgrid.cpp, planetgrid.h, and referencemark.h to MS Visual C++ project file. 2008-03-21 02:14:42 +00:00
Chris Laurel d43d48fb95 Added clipboard commands to Qt4 front-end: copy/paste URLs to clipboard, grab screenshot to clipboard. 2008-03-21 02:11:22 +00:00
Chris Laurel f3a16a18a6 Modified Mac OS X front-end to use new reference marks; added planetographic
grid option to popup menu.
2008-03-21 00:29:17 +00:00
Chris Laurel 7e3f6b31c8 Added files renferencemark.h, planetgrid.h, and planetgrid.cpp to Xcode
project.
2008-03-20 23:34:41 +00:00
Chris Laurel 370785de22 Added support for star InfoURLs to Mac OS X front end. 2008-03-20 23:33:41 +00:00
Chris Laurel dec4ef6f53 Added workaround for missing GL_SHADING_LANGUAGE_VERSION_ARB define in
Mac OS X headers (use GL_SHADING_LANGUAGE_VERSION instead.)
2008-03-20 22:07:21 +00:00
Chris Laurel e4a28ef68a Implemented more flexible system for reference marks. Reference mark objects lists are maintained instead of simple bitfields, allowing customization of reference mark parameters (e.g. arrow size, planet grid style, etc.) There are three new reference mark types: planetographic grid, spin vector, and body-to-body vector. The Qt4 and Win32 front ends have been updated; Gtk, KDE, and Mac interfaces need to be updated to use the new code for toggling reference marks.
This change also includes a fix for two problems with Replace:
- objects were being reordered so that selection with the 1-9 keys no longer worked as expected.
- children of Replaced bodies were being deleted
2008-03-20 21:36:17 +00:00
Chris Laurel bdeab29074 Added code for profiling octree. The profiling code calculates and displays the number of nodes and objects at each level of the octree. 2008-03-20 19:21:56 +00:00
Chris Laurel 585fb39859 Feature tracker item 1885951:
Added LogSize option to celestia.cfg. The value of LogSize controls the number of rows in Celestia's console log. Added comment and usage example to celestia.cfg.
2008-03-19 22:34:05 +00:00
Chris Laurel dcc1d75b99 Improved goto distance for reference points. When the user goes to the reference point, the default view distance will be large enough so that all objects with orbits centered on the point will fit in the view. 2008-03-19 05:08:33 +00:00
Chris Laurel 1f571f5749 Added OpenGL extensions ARB_half_float_pixel, ARB_depth_texture, and EXT_frame_buffer_object to glext.cpp. 2008-03-19 02:53:29 +00:00
Chris Laurel 83c0521f68 Implemented OpenGL Info dialog for Qt4 front-end. 2008-03-17 04:11:33 +00:00
Chris Laurel c7dae56a84 Eliminated the 16k light year distance limit for stars. The limit is increased
to 10 million light years, large enough to contain local group of galaxies. It
should be possible to increase this further by simply changing the setting
of STAR_OCTREE_ROOT_SIZE in stardb.cpp, but the performance implications need
to be investigated.
2008-03-15 00:19:27 +00:00
Chris Laurel 587949028f Added splash image for InnoSetup install script. 2008-03-14 19:17:54 +00:00
Chris Laurel ef3a921bc1 Windows makefile fixes:
- Remove SPICE and LUA files when performing a 'make clean'
- Added define to make Visual C++ omit warnings about using 'unsafe' STL functions
2008-03-13 19:44:50 +00:00
Chris Laurel 1116959eb3 Optimized and cleaned up EllipticalOrbit class.
- Added velocityAtTime() method
- Precalculate the frame to orbital plane rotation matrix
- Switched to more standard coordinate conventions in code to calculate position
2008-03-13 19:16:55 +00:00
Chris Laurel 0354f32d1f Fixed bugs in rotation classes. Added missing isPeriodic method for IAURotations, fixed reversed angular velocity calculation for custom rotations. 2008-03-13 19:11:22 +00:00
Chris Laurel 884dbf7c9a Fixed crashing bug in solar system parser that occurred when the Modify disposition was used with an object that didn't already exist. Such objects are now treated as if the disposition were 'Add' instead. 2008-03-13 17:26:14 +00:00
Chris Laurel 9c9f0eec6b Added new files to MS Visual C++ project file. 2008-03-12 19:08:58 +00:00
Chris Laurel 2a469e015a Fixed Qt4 interface so that Ctrl+A and Ctrl+Z don't accelerate/decelerate the
observer.
2008-03-12 00:36:08 +00:00
Chris Laurel ef94967c18 Added ephemeris for Helene, Calypso, and Telesto based on theory by P. Oberti, et al 2008-03-11 21:50:55 +00:00
Chris Laurel dc1093c352 Added IAU rotation elements for Martian and Jovian satellites. 2008-03-11 02:26:52 +00:00
Chris Laurel 8895e95a88 Corrected reversed conditional logic in BodyMeanEquatorFrame. This caused the equatorial frames for bodies with changing equatorial planes to not work properly. 2008-03-10 02:44:12 +00:00
Da Woon Jung 9efa55df47 Fixed broken Mac compiles. 2008-03-10 00:13:49 +00:00
Chris Laurel 8c2f87b214 Implemented InfoURLs for stars (stc files only.) 2008-03-09 22:38:54 +00:00
Chris Laurel 0c8f40d0a4 Cleaned up precession.cpp--added comments, removed debugging code. 2008-03-09 19:45:11 +00:00
Da Woon Jung 451028f09d Put all Mac ATI renderers on the point sprite stars blacklist. 2008-03-09 02:43:26 +00:00
Da Woon Jung 1011e756fc Updated version number and README. 2008-03-09 02:40:53 +00:00
Da Woon Jung abf3aee180 Fixed warnings due to recent observer changes 2008-03-09 02:39:02 +00:00
Fridger Schrempp ba09734a05 fixed the Linux implementation of SPICE 2008-03-08 20:53:00 +00:00
Grant Hutchison b9fec02a0c Added HAT-P-7 2008-03-08 16:44:07 +00:00
Grant Hutchison c4093ff5ca Added HAT-P-7 b 2008-03-08 16:43:31 +00:00
Chris Laurel 864e2adaaa Fixed crash when beginning >= ending in an ssc file. An ssc error is reported instead. 2008-03-07 20:22:08 +00:00
Chris Laurel 68d320e00e Added nutation.cpp and precession.cpp to qmake project file. 2008-03-07 03:34:43 +00:00
Chris Laurel 6b6a9fc820 Added nutation.cpp and precession.cpp to Mac OS X project file and Makefiles
for Linux and Windows.
2008-03-07 03:14:57 +00:00
Chris Laurel 5b7c56b522 Implemented CustomRotation for Earth using the long period extension to the
P03 precession model.
2008-03-07 03:03:12 +00:00
Chris Laurel a045b83ab1 Added a CachingRotationModel base class. Rotation models which involve
expensive calculations should be derived from this class, just as expensive
to compute trajectories dervice from CachingOrbit.
2008-03-07 03:00:26 +00:00
Vincent Giangiulio e06d1e03b8 - Added new celestia:getsystemtime() celx script method that returns the current system time as a TDB Julian Date.
- Fixed bug that excluded the os library for Lua 5.1.
2008-03-05 07:48:14 +00:00
Chris Laurel 4daf8a66da Implemented J. Vondrak's long period extension of the P03 precession model. 2008-03-04 03:44:43 +00:00
Chris Laurel a33e29cba5 Added point in ellipsoid test to Ellipsoid class. 2008-03-01 00:45:01 +00:00
Chris Laurel b946b1ae3c Integrated Javier Nieto's changes that permit colors and visibility to be assinged to individual constellations in cel scripts. 2008-02-29 21:43:30 +00:00
Chris Laurel c43dae3598 Fixed Mac OS X break from change of observer angular velocity to double
precision.
2008-02-29 01:23:47 +00:00
Chris Laurel 7f0e7b12d0 Fixed bug 1828935 (low albedo prevents drawing of child objects) and improved performance of visibility culling code. The new code uses the frame hierarchy introduced with Timelines to cull subtrees based on apparent brightness and position with respect to the view frustum. 2008-02-28 20:04:52 +00:00
Chris Laurel d4e6d97ede Promoted observer angular velocity to double precision. 2008-02-28 19:48:58 +00:00
Chris Laurel ed2b1319d8 Improved ssc file parser to allow a reference frame to reference the body that owns it. This eliminates the need to use Modify for body frames that depend on the position of the body itself (such as LVLH frames.) 2008-02-28 09:34:29 +00:00
Chris Laurel 709bff05a9 Fixed bug in BodyMeanEquator frame; only the rotation model body (and not its frame) was considered when determining the frame axes. This bug was in 1.5.0 but hadn't appeared because BodyMeanEquator is rarely used in ssc files. 2008-02-27 22:31:22 +00:00
Chris Laurel 5bafadb4ea Added new celx script methods for timelines, plus new frame methods for objects. 2008-02-27 00:34:25 +00:00
Chris Laurel aa94b7b318 Implemented bounding sphere calculation for frame hierarchy. This will allow faster and more accurate visibility culling in the renderer. 2008-02-26 23:03:18 +00:00
Chris Laurel bf5b70e87f Moved SOLAR_POWER and SOLAR_IRRADIANCE constants to astro namespace. 2008-02-26 22:51:37 +00:00
Chris Laurel 637604111a Added missing virtual modifier to RotationModel::getAngularVelocity so that subclass methods get called. Fixed bug in calculation of angular velocity via quaternion differentiation. 2008-02-26 05:08:47 +00:00
Chris Laurel 9157032670 Implemented missing method to transform a frustum with a 3x3 matrix; required new multiply overload to transform planes with 3x3 matrices. 2008-02-26 02:52:06 +00:00
Chris Laurel 2a674edecd Implemented IAU2000B model for nutation. 2008-02-25 21:15:39 +00:00
Da Woon Jung bf86920c1e Mac project tweaks for recent timeline code commit. 2008-02-24 23:45:10 +00:00
Chris Laurel 95510cf348 Fixed bug 1900883 (SSC Ending ignore). Parser was skipping Ending whenever Beginning was specified due to a bug introduced when Timeline support was added. Also fixed a bad error message in the SSC parser. 2008-02-24 18:46:04 +00:00
Chris Laurel 748c2d5408 Fixed bug 1900307 "Tracked objects don't stay centered." The fix was simple: the track orientation for the observer needed to be calculated *after* the universal position and orientation were updated. 2008-02-23 22:23:01 +00:00
Chris Laurel 932d0479d7 Fixed bug when removing a FrameTree item; it was generating an assert in debug mode, and had the potential to cause crashes. 2008-02-22 23:33:48 +00:00
Chris Laurel 6538111e75 Added constructor for ObserverFrame that takes a generic ReferenceFrame. 2008-02-22 23:28:51 +00:00
Chris Laurel 46b809ecf3 Update Xcode project with new files for timeline support. Updated Objective C
files for renaming changes in core code.
2008-02-21 03:13:30 +00:00
Chris Laurel eba1b9940c - Implemented framework for Orbit and RotationModel subclasses to implement their own velocity and angular velocity methods to use instead of numerical differentation. Actual implementation of velocity methods will wait until further discussion on the developers list.
- Implemented Timelines for solar system bodies. A timeline allows a body to have different reference frames, orbits, and rotation models over time.
2008-02-21 02:25:48 +00:00
Grant Hutchison b21c795419 Fixed Halley precession 2008-02-21 00:57:38 +00:00
Grant Hutchison c4eb04f0d9 Added Xi Aql b, HD 81688 b, 18 Del b 2008-02-21 00:12:59 +00:00
Chris Laurel 60d601e76d Fixed double to float conversion warning in nebula.cpp 2008-02-20 19:39:26 +00:00
Chris Laurel 5936c6c00f Fixed bug in SPICE orbits that produced an error when the target ID was 0 (solar system barycenter.) 2008-02-20 11:03:53 +00:00
Grant Hutchison 132ea48559 Triaxial ellipsoids for minor moons; references in header 2008-02-19 23:16:51 +00:00
Grant Hutchison 2129405639 Triaxial ellipsoid for 2003 EL61 2008-02-19 23:14:12 +00:00
Grant Hutchison 43be540927 Triaxial ellipsoids for Pallas and Juno 2008-02-19 23:12:14 +00:00
Chris Laurel 8a8af05e38 Improved SPICE interface:
- Permit no or multiple kernels to be specified for a SPICE orbit
- Automatically determine valid range of SPICE orbit if no Beginning/Ending is specified.
- Reorganized code for upcoming addition of SPICE C Kernel support
2008-02-18 23:09:08 +00:00
Chris Laurel fd04079eb1 Improved SPICE interface:
- Permit no or multiple kernels to be specified for a SPICE orbit
- Automatically determine valid range of SPICE orbit if no Beginning/Ending is specified.
- Reorganized code for upcoming addition of SPICE C Kernel support
2008-02-18 23:07:58 +00:00
Chris Laurel e71285ba13 Implemented IAU rotation models for the planets; new CustomRotation models in
customrotation.cpp, but not yet used in solarsys.ssc.
2008-02-18 22:33:30 +00:00
Chris Laurel e6aa3a307c Implemented CustomRotation for the Moon based on table from the IAU/IAG
Working Group on Cartograhic Coordinates and Rotational Elements.
2008-02-18 21:38:41 +00:00
Grant Hutchison cdca29b32f Revisions to 14 Her b, HD 154345 b 2008-02-18 10:34:51 +00:00
Chris Laurel a56f7b6928 Implemented object:locations method in celx. This method returns an iterator
over all the locations associated with an object.
2008-02-14 01:03:28 +00:00
Chris Laurel 208dd7b601 Added boolean occludable parameter to celx object:mark method. 2008-02-13 22:23:44 +00:00
Chris Laurel deece2a1e2 Changed name of 'planetographic' coordinate system in celx scripting to the correct 'bodyfixed'. Planetographic is maintained as a synonym. Made a similar change for cel scripting, where the coordinate system was called (even more incorrectly) 'geographic'. 2008-02-13 22:14:57 +00:00
Chris Laurel ed9b33dab0 Implemented depth sorting for markers, with option to specify non-occludable
markers.
2008-02-13 21:49:53 +00:00
Chris Laurel a5321d18e9 Fixed frame object creation for celx scripts. Switched to using placement new to create new ObserverFrame objects in Lua user data area. Added gc metamethod for frames to fix memory leak. 2008-02-13 20:56:00 +00:00
Chris Laurel c0a3a001a7 Disabled secure C runtime warnings in Qt4 build for Windows/Visual C++. 2008-02-12 21:53:11 +00:00
Chris Laurel c394798392 Added object:catalognumber method in celx for retrieving SAO and HD star catalog numbers. 2008-02-12 20:58:32 +00:00
Chris Laurel 85b2412ba1 Improved event finder in Qt4 front end:
- Improved reponsiveness during long eclipse searches, spend less time rendering during short searches
- Added context menu for eclipse table that allows user to choose one of four viewing angles for an eclipse.
2008-02-12 10:41:27 +00:00
Chris Laurel 3f28210e81 Fixed unused variable compiler warnings in axisarrow.cpp. 2008-02-12 09:58:55 +00:00
Chris Laurel ee28e83570 Added lookAt method to Quaternion class. 2008-02-12 09:57:12 +00:00
Chris Laurel 62df109b68 Emulate right dragging with Option+left drag in Qt4 front-end for Mac OS X. 2008-02-12 01:41:49 +00:00
Chris Laurel a719f6d17e Fixed compiler warning about missing virtual desctructor for EclipseFinderWatcher. 2008-02-12 00:07:45 +00:00
Pat Suwalski bbc63c26cf Accounting for changes in ObserverFrame. 2008-02-11 04:49:25 +00:00
Chris Laurel fc688b2bfe Fixed Windows eclipse finder to correctly set camera orientation and position. 2008-02-10 21:23:22 +00:00
Fridger Schrempp 3ba3604b0c second attempt to include Chris' changes into the KDE eclipse browser 2008-02-10 21:04:08 +00:00
Da Woon Jung c907744023 Fixed broken goto eclipse event due to Observer changes 2008-02-10 07:49:14 +00:00
Chris Laurel 8a3ea6a78e Added missing assignment operator and constructor for the observer class. Fixes a crash when using multiple views. 2008-02-10 01:29:26 +00:00
Fridger Schrempp 5db339ccb3 adapt KDE eclipse browser to Chris' recent changes 2008-02-09 21:51:43 +00:00
Chris Laurel 9ea770d81d Fixed breaks in Win32 UI caused by the observer rewrite. 2008-02-09 21:10:44 +00:00
Chris Laurel 6670fe3a1c Added missing updateUniversal() in Observer::simTime(). Fixes problem with eclipse finder where initial camera location is wrong. 2008-02-09 21:09:15 +00:00
Da Woon Jung 6cda7b8510 Fixed warnings related to recent Body changes 2008-02-09 10:25:03 +00:00
Chris Laurel d346b3f4db - Added missing const in frame_new function in celx.cpp.
- Added missing pop in celx keyboard handler.
2008-02-08 23:09:53 +00:00
Chris Laurel a6cc486542 Rewrote observer class to use 1.5.0 reference frames. The FrameOfReference
class is replaced by the new ObserverFrame class, which is a wrapper for
ReferenceFrame. Small changes to a lot of file were necessary, in many cases
simply because the CoordinateSystem enum was moved from astro to
ObserverFrame. This change was primarily a refactoring to make future
development easier and improve performance be eliminating redundant
frame -> universal conversions of the observer position. The one change that
will be apparent to users is the redefinition of the chase and phase lock
frames. Previously, these used the spin axis of the reference object to define
the secondary frame axis. Now, the secondary axis is the position vector in
chase mode, and the velocity vector in phase lock mode.
2008-02-08 21:46:02 +00:00
Da Woon Jung ee20dadc71 Mac: CelestiaResources folder search code now works like in the official Celestia version. 2008-02-08 17:22:41 +00:00
Chris Laurel 9d6e767c05 Make Selection::parent() work for stars. 2008-02-08 04:13:51 +00:00
Chris Laurel 235a15aca7 Added CustomRotations for more Saturnian satellites 2008-02-07 16:12:42 +00:00
Chris Laurel d9b45fa2a6 Added customrotation.cpp and customrotation.h to Xcode project. 2008-02-07 03:25:40 +00:00
Chris Laurel 47b2e00cf6 Implemented CustomRotation property for SSC/STC files. Created CustomRotations
for Mimas and Tethys.
2008-02-07 03:14:20 +00:00
Chris Laurel ae011c45b9 Fixed Linux g++ build break--removed extra class qualifer on BigFix::negate128 declaration. 2008-02-06 22:39:10 +00:00
Chris Laurel 21d8e248cc Rewrote BigFix class to use 2 64-bit values instead of 8 16-bit values. Added a method for high-precision multiplication of BigFix values. 2008-02-06 19:37:54 +00:00
Da Woon Jung fdb52a4018 Fixed frameworks not being included in Mac qt app bundle. 2008-02-06 00:31:49 +00:00
Chris Laurel 6956c915fe Added help menu, about box, and window icon to Qt4 front-end. 2008-02-05 03:34:11 +00:00
Chris Laurel fefb975bcc Fixed faster/slower options in Windows time menu to adjust time by 10x instead of 2x factor. 2008-02-05 02:55:25 +00:00
Chris Laurel 2ef47fa6b0 Added support for multisample antialiasing to Qt4 front-end. 2008-02-04 22:02:53 +00:00
Chris Laurel 5315af6141 Miscellaneous fixes to Qt4 event finder:
- Fixed blank lines from being added to view
- Fixed missing eclipses
- Removed leftover debug output
- Changed date format in start search and end search fields
- Fixed some unused parameter warnings
2008-02-04 19:47:00 +00:00
Vincent Giangiulio 8b52143620 - Splitted time-date edit into two separate time and date edits
- Added Julian Date setting
2008-02-04 18:41:51 +00:00
Chris Laurel 8b4b3607a1 Added fullscreen toggle to Qt4 front-end. 2008-02-04 11:33:25 +00:00
Chris Laurel 39041826d8 Fixed problems building with VC++ 9.0 (Visual Studio 2008) Made comparison operators for nested classes member functions so that they work as predicates for STL algorithms. The VC9.0 compiler seems to have stricter argument dependent lookup. 2008-02-04 09:37:55 +00:00
Chris Laurel 15e78272a9 Added alerter callback for Qt4 front-end. 2008-02-04 07:20:07 +00:00
Chris Laurel 0cda718f63 Added new ssc object flags for visibility, orbit color, and orbit visibility. Added ssc properties for visibility and orbit color, celx methods for all new flags. 2008-02-04 00:17:35 +00:00
Da Woon Jung 9c552f552d Added ATI X800 to the Mac point sprite blacklist (fixed star glares on X850XT) 2008-02-02 04:52:04 +00:00
Chris Laurel 6c1f82115c Removed setOblateness, getOblateness, and setRadius methods from
CelestiaBody.mm; these were removed from Body when radius/oblateness was
replaced by the more general semi-axes.
2008-02-01 06:06:55 +00:00
Chris Laurel 8c628a1e2d Removed never-used celscript directory. Lua long ago replaced this attempt at a custom scripting language. 2008-02-01 06:00:07 +00:00
Chris Laurel b1982a520d Updated Body class to allow all three ellipsoid axes to be specified independently via SemiAxes property. 2008-02-01 01:37:49 +00:00
Chris Laurel 034be6c893 Implemented a minimal set time dialog for Qt4 front-end. 2008-02-01 01:04:44 +00:00
Chris Laurel 69eeee8c42 Added an application icon for Windows Qt4 version of Celestia. 2008-01-31 22:10:33 +00:00
Chris Laurel 121c97860d Added missing #include of algorithm to qteventfinder.cpp. 2008-01-31 20:30:21 +00:00
Chris Laurel 4a5b66a62c Added a Clickable property for ssc objects, similar to request in feature
tracker item 1704255.
2008-01-31 20:04:01 +00:00
Chris Laurel ce1252d03f Fix for bug 1883136. Corrected a typo in the StarDetails constructor that could result in bogus textures being assigned to a star with extended attributes. 2008-01-31 01:56:08 +00:00
Chris Laurel 6147611505 Added missing include of cassert to qteventfinder.cpp 2008-01-30 19:13:15 +00:00
Chris Laurel ee2ae878cc Fix for bug 1882282: Star glare clipping problem
Depth writes were left set to true after rendering comet tails, resulting in a star glare halos appearing to clip labels. Fixed by removing a glDepthMask(GL_TRUE) that shouldn't have been in the code at all.
2008-01-30 02:52:33 +00:00
Chris Laurel 502503ea7f Implemented eclipse finder for Qt4 front-end. 2008-01-29 23:57:29 +00:00
Chris Laurel 764c88a32d Added set current time button to Qt4 time tool bar. 2008-01-29 23:45:41 +00:00
Chris Laurel eabc69fdac Fixed new time format code to compile on MinGW, which is GNU C, but lacks gmtoff and zone fields in tm structure. 2008-01-29 23:41:29 +00:00
Christophe Teyssier 442f64442f Updated translation 2008-01-26 10:28:32 +00:00
Christophe Teyssier 398addf803 Updated translation 2008-01-26 09:47:01 +00:00
1747 changed files with 334933 additions and 594882 deletions

108
.appveyor.yml 100644
View File

@ -0,0 +1,108 @@
version: 1.7.0-dev-{build}
only_commits:
files:
- src/
- .appveyor.yml
- CMakeLists.txt
pull_requests:
do_not_increment_build_number: true
# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: false
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
# Even with `skip_branch_with_pr: true` appveyor builds that branch
# for the first time.
branches:
only:
- master
artifacts:
- path: '**/celestia-*.7z'
name: win
# Build worker image (VM template)
image: "Visual Studio 2015"
# clone directory
clone_folder: c:\projects\celestia
# set clone depth
clone_depth: 1
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform:
- x86
environment:
Qt5_DIR: 'C:\Qt\5.10\msvc2015'
PATH: '%Qt5_DIR%\bin;%PATH%'
# scripts that run after cloning repository
init:
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
install:
- cd c:\tools\vcpkg
- vcpkg install libpng:x86-windows
- vcpkg install gettext:x86-windows
- vcpkg install libjpeg-turbo:x86-windows
- vcpkg remove lua:x86-windows
- vcpkg install luajit:x86-windows
- vcpkg install fmt:x86-windows
- vcpkg install libepoxy:x86-windows
- vcpkg install eigen3:x86-windows
- vcpkg install freetype:x86-windows
- vcpkg install sdl2:x86-windows
- git pull
- git checkout 99cfc38036f330a035b57aa67f661526153e31c7
- .\bootstrap-vcpkg.bat
- vcpkg install cspice:x86-windows
- vcpkg integrate install
- cd %APPVEYOR_BUILD_FOLDER%
build_script:
- cmd: >-
git submodule update --init
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=%Qt5_DIR% -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=OFF ..
cmake --build . --config RelWithDebInfo -- /maxcpucount:4 /nologo
set CTEST_OUTPUT_ON_FAILURE=1
copy src\celestia\RelWithDebInfo\*.dll test\unit\RelWithDebInfo\
ctest -C RelWithDebInfo
after_build:
- cmd: >-
cd c:\projects\celestia\build\src\celestia
7z a celestia-dep.x86.7z RelWithDebInfo\*
7z a celestia-win.x86.7z win32\RelWithDebInfo\*
windeployqt --no-angle --no-opengl-sw --no-translations --no-system-d3d-compiler qt\RelWithDebInfo\
7z a celestia-qt.x86.7z qt\RelWithDebInfo\*
cd ..\tools
7z a celestia-tools.x86.7z xyzv2bin\RelWithDebInfo\*.exe spice2xyzv\RelWithDebInfo\*.exe
#on_failure:
#- type "c:\projects\celestia\build\CMakeFiles\CMakeOutput.log"
#- type "c:\projects\celestia\build\CMakeFiles\CMakeError.log"
#- type "c:\projects\celestia\build\CMakeCache.txt"
# build cache to preserve files/folders between builds
cache: c:\tools\vcpkg\installed\

63
.clang-format 100644
View File

@ -0,0 +1,63 @@
---
AccessModifierOffset: '-4'
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: 'true'
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'true'
AlignEscapedNewlines: Left
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllArgumentsOnNextLine: 'false'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: 'true'
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'false'
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: 'true'
ColumnLimit: '100'
CompactNamespaces: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
Cpp11BracedListStyle: 'false'
FixNamespaceComments: 'true'
IncludeBlocks: Regroup
IndentCaseLabels: 'false'
IndentPPDirectives: None
IndentWidth: '4'
IndentWrappedFunctionNames: 'false'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
Language: Cpp
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: None
PointerAlignment: Right
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterLogicalNot: 'false'
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: '1'
SpacesInAngles: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: c++17
TabWidth: '4'
UseTab: Never
UseCRLF: 'false'

View File

@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. GNU/Linux, Windows, macOS]
- Frontend: [e.g. Qt, native Win, native Mac]
- Version: [e.g. 1.7.0]
**Additional context**
Add any other context about the problem here.

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -0,0 +1,8 @@
Closes #[issue number]
## Description
-
### Screenshots

248
.github/workflows/ci.yml vendored 100644
View File

@ -0,0 +1,248 @@
name: Celestia
on:
push:
branches: [ master ]
paths: [ src/**, test/**, .github/workflows/ci.yml, CMakeLists.txt ]
pull_request:
branches: [ master ]
paths: [ src/**, test/**, .github/workflows/ci.yml, CMakeLists.txt ]
env:
BUILD_TYPE: RelWithDebInfo
CTEST_OUTPUT_ON_FAILURE: 1
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
jobs:
build-windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
platform: [x64, x86]
generator_platform: [x64, Win32]
include:
- platform: x64
generator_platform: x64
- platform: x86
generator_platform: Win32
exclude:
- platform: x64
generator_platform: Win32
- platform: x86
generator_platform: x64
steps:
- name: 'Setup NuGet Credentials'
shell: 'bash'
run: >
$(c:/vcpkg/vcpkg fetch nuget | tail -n 1)
sources add
-source "https://nuget.pkg.github.com/CelestiaProject/index.json"
-storepasswordincleartext
-name "GitHub"
-username "CelestiaProject"
-password "${{ secrets.GITHUB_TOKEN }}"
- name: 'Install dependencies'
run: vcpkg --triplet=${{matrix.platform}}-windows install --recurse libpng libjpeg-turbo gettext luajit fmt libepoxy eigen3 freetype cspice qt5-base
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
- name: 'Configure CMake'
run: cmake -B ${{github.workspace}}/build -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=${{matrix.platform}}-windows -DCMAKE_GENERATOR_PLATFORM=${{matrix.generator_platform}} -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=OFF -DENABLE_QT=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- /maxcpucount:2 /nologo
- name: 'Copy DLL for tests'
working-directory: ${{github.workspace}}/build
run: |
copy src\celestia\${{env.BUILD_TYPE}}\*.dll test\unit\${{env.BUILD_TYPE}}\
copy src\celestia\${{env.BUILD_TYPE}}\*.dll test\integration\${{env.BUILD_TYPE}}\
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}
- name: Package artifacts
working-directory: ${{github.workspace}}/build/src/celestia
run: |
7z a celestia-dep.${{matrix.platform}}.7z ${{env.BUILD_TYPE}}\*
7z a celestia-win.${{matrix.platform}}.7z win32\${{env.BUILD_TYPE}}\* win32\res\${{env.BUILD_TYPE}}\res_*.dll
c:\vcpkg\ports\qt5-base\qtdeploy.ps1 qt\${{env.BUILD_TYPE}}\
7z a celestia-qt.${{matrix.platform}}.7z qt\${{env.BUILD_TYPE}}\*
cd ..\tools
7z a celestia-tools.${{matrix.platform}}.7z xyzv2bin\${{env.BUILD_TYPE}}\*.exe spice2xyzv\${{env.BUILD_TYPE}}\*.exe
- name: Upload artifacts
uses: actions/upload-artifact@v2
if: success()
with:
name: celestia-${{matrix.platform}}
path: ${{github.workspace}}/build/src/*/*.7z
build-ubuntu-old:
strategy:
fail-fast: false
matrix:
platform: [ ubuntu-18.04 ]
runs-on: ${{matrix.platform}}
steps:
- name: 'Install dependencies'
run: |
sudo apt update
sudo apt install -y libeigen3-dev \
libepoxy-dev \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libswscale-dev \
libjpeg-dev \
libpng-dev \
libglu1-mesa-dev \
qtbase5-dev \
qtbase5-dev-tools \
libqt5opengl5-dev \
libgtk-3-dev \
libfreetype6-dev \
libsdl2-dev \
libluajit-5.1-dev \
libfmt-dev \
ninja-build
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
- name: 'Configure CMake'
run: |
cmake -B ${{github.workspace}}/build \
-G Ninja \
-DENABLE_GLES=ON \
-DENABLE_SPICE=ON \
-DENABLE_TOOLS=OFF \
-DENABLE_TESTS=ON \
-DENABLE_SDL=ON \
-DENABLE_GTK=ON \
-DUSE_GTK3=ON \
-DENABLE_FFMPEG=ON
- name: Build
working-directory: ${{github.workspace}}/build
run: ninja
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest
gnulinux-arm64:
runs-on: self-hosted
steps:
- name: 'Install dependencies'
run: |
#sudo dnf config-manager --set-enabled ol8_codeready_builder
sudo yum install -y eigen3-devel \
libepoxy-devel \
libpng-devel \
libjpeg-turbo-devel \
freetype-devel \
SDL2-devel \
lua-devel \
gtk3-devel \
gettext-devel \
cmake \
ninja-build \
gcc-toolset-11-gcc-c++
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
- name: 'Configure CMake'
run: |
cmake -B ${{github.workspace}}/build \
-G Ninja \
-DENABLE_GLES=ON \
-DENABLE_SPICE=ON \
-DENABLE_TOOLS=ON \
-DENABLE_TESTS=ON \
-DENABLE_SDL=ON \
-DENABLE_GTK=ON \
-DUSE_GTK3=ON \
-DENABLE_QT=OFF \
-DENABLE_FFMPEG=OFF
env:
CC: /opt/rh/gcc-toolset-11/root/usr/bin/gcc
CXX: /opt/rh/gcc-toolset-11/root/usr/bin/g++
- name: Build
working-directory: ${{github.workspace}}/build
run: ninja
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest
sonarscanner:
runs-on: sonarscanner
steps:
- name: 'Install dependencies'
run: |
sudo apt update
sudo apt install -y libeigen3-dev \
libepoxy-dev \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libswscale-dev \
libjpeg-dev \
libpng-dev \
libglu1-mesa-dev \
qtbase5-dev \
qtbase5-dev-tools \
libqt5opengl5-dev \
libfreetype6-dev \
libsdl2-dev \
libluajit-5.1-dev \
cmake
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: 'Configure CMake'
run: |
cmake -B ${{github.workspace}}/build \
-G Ninja \
-DENABLE_GLES=ON \
-DENABLE_SPICE=OFF \
-DENABLE_TOOLS=OFF \
-DENABLE_TESTS=OFF \
-DENABLE_SDL=ON \
-DENABLE_GTK=OFF \
-DENABLE_QT=ON \
-DENABLE_FFMPEG=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Analyze
run: |
sonar-scanner \
-Dsonar.cfamily.compile-commands=build/compile_commands.json \
-Dsonar.organization=celestiaproject \
-Dsonar.projectKey=CelestiaProject_Celestia \
-Dsonar.sources=src/ \
-Dsonar.exclusions=src/celestia/win32/**,src/celestia/win32/gtk/**,src/celestia/glut/** \
-Dsonar.test.exclusions=test/** \
-Dsonar.tests=test/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -0,0 +1,29 @@
name: Celestia
on:
push:
branches: [ master ]
paths: [ po/**, .github/workflows/translations.yml ]
pull_request:
branches: [ master ]
paths: [ po/**, .github/workflows/translations.yml ]
jobs:
gettext:
strategy:
fail-fast: true
matrix:
platform: [ ubuntu-latest ]
runs-on: ubuntu-latest
steps:
- name: 'Install dependencies'
run: |
sudo apt update
sudo apt install -y gettext
- name: 'Checkout source code'
uses: actions/checkout@v2
- name: 'Validate translations'
working-directory: ${{github.workspace}}/po
run: for i in *.po; do msgfmt --statistics --verbose $i; done

27
.gitignore vendored 100644
View File

@ -0,0 +1,27 @@
*.user
Debug/
Release/
.vs/
.vscode/
*~
*.o
*.a
*.la
*.exe
*.dll
*.swp
.DS_Store
po*/*.gmo
po*/POTFILES
build*/
src/celestia/win32/res/resource_strings.cpp
src/celestia/qt/rc.cpp
locale/*/LC_MESSAGES/
data/
extras/
extras-standard/
models/
textures/
mingw/
content/
CMakeSettings.json

9
.gitmodules vendored 100644
View File

@ -0,0 +1,9 @@
[submodule "thirdparty/Spice"]
path = thirdparty/Spice
url = https://github.com/OpenSpace/Spice.git
[submodule "thirdparty/fmt"]
path = thirdparty/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "src/tools/celestia-gaia-stardb"]
path = src/tools/celestia-gaia-stardb
url = https://github.com/ajtribick/celestia-gaia-stardb.git

68
.travis.yml 100644
View File

@ -0,0 +1,68 @@
dist: xenial
osx_image: xcode12.2
language: cpp
sudo: true
git:
depth: 1
quiet: true
notifications:
email: false
os:
- linux
- osx
env:
- LUA=jit-5.1
- LUA=5.2
- LUA=5.3
matrix:
exclude:
- os: osx
env: LUA=jit-5.1
- os: osx
env: LUA=5.2
- os: linux
env: LUA=5.2
before_script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt install -y liblua${LUA}-dev; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew link gettext --force; fi
- mkdir build
- cd build
script:
- cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=ON ..
- make -j $(nproc || echo 4)
- CTEST_OUTPUT_ON_FAILURE=1 ctest
addons:
apt:
packages:
- libeigen3-dev
- libepoxy-dev
- libtheora-dev
- libjpeg-dev
- libpng-dev
- libglu1-mesa-dev
- qtbase5-dev
- qtbase5-dev-tools
- libqt5opengl5-dev
- libfreetype6-dev
- libsdl2-dev
homebrew:
packages:
- eigen
- cspice
- fmt
- jpeg
- gettext
- libpng
- lua
- qt5
- freetype
- libepoxy
- sdl2

768
ABOUT-NLS
View File

@ -1,768 +0,0 @@
Notes on the Free Translation Project
*************************************
Free software is going international! The Free Translation Project is
a way to get maintainers of free software, translators, and users all
together, so that will gradually become able to speak many languages.
A few packages already provide translations for their messages.
If you found this `ABOUT-NLS' file inside a distribution, you may
assume that the distributed package does use GNU `gettext' internally,
itself available at your nearest GNU archive site. But you do _not_
need to install GNU `gettext' prior to configuring, installing or using
this package with messages translated.
Installers will find here some useful hints. These notes also
explain how users should proceed for getting the programs to use the
available translations. They tell how people wanting to contribute and
work at translations should contact the appropriate team.
When reporting bugs in the `intl/' directory or bugs which may be
related to internationalization, you should tell about the version of
`gettext' which is used. The information can be found in the
`intl/VERSION' file, in internationalized packages.
Quick configuration advice
==========================
If you want to exploit the full power of internationalization, you
should configure it using
./configure --with-included-gettext
to force usage of internationalizing routines provided within this
package, despite the existence of internationalizing capabilities in the
operating system where this package is being installed. So far, only
the `gettext' implementation in the GNU C library version 2 provides as
many features (such as locale alias, message inheritance, automatic
charset conversion or plural form handling) as the implementation here.
It is also not possible to offer this additional functionality on top
of a `catgets' implementation. Future versions of GNU `gettext' will
very likely convey even more functionality. So it might be a good idea
to change to GNU `gettext' as soon as possible.
So you need _not_ provide this option if you are using GNU libc 2 or
you have installed a recent copy of the GNU gettext package with the
included `libintl'.
INSTALL Matters
===============
Some packages are "localizable" when properly installed; the programs
they contain can be made to speak your own native language. Most such
packages use GNU `gettext'. Other packages have their own ways to
internationalization, predating GNU `gettext'.
By default, this package will be installed to allow translation of
messages. It will automatically detect whether the system already
provides the GNU `gettext' functions. If not, the GNU `gettext' own
library will be used. This library is wholly contained within this
package, usually in the `intl/' subdirectory, so prior installation of
the GNU `gettext' package is _not_ required. Installers may use
special options at configuration time for changing the default
behaviour. The commands:
./configure --with-included-gettext
./configure --disable-nls
will respectively bypass any pre-existing `gettext' to use the
internationalizing routines provided within this package, or else,
_totally_ disable translation of messages.
When you already have GNU `gettext' installed on your system and run
configure without an option for your new package, `configure' will
probably detect the previously built and installed `libintl.a' file and
will decide to use this. This might be not what is desirable. You
should use the more recent version of the GNU `gettext' library. I.e.
if the file `intl/VERSION' shows that the library which comes with this
package is more recent, you should use
./configure --with-included-gettext
to prevent auto-detection.
The configuration process will not test for the `catgets' function
and therefore it will not be used. The reason is that even an
emulation of `gettext' on top of `catgets' could not provide all the
extensions of the GNU `gettext' library.
Internationalized packages have usually many `po/LL.po' files, where
LL gives an ISO 639 two-letter code identifying the language. Unless
translations have been forbidden at `configure' time by using the
`--disable-nls' switch, all available translations are installed
together with the package. However, the environment variable `LINGUAS'
may be set, prior to configuration, to limit the installed set.
`LINGUAS' should then contain a space separated list of two-letter
codes, stating which languages are allowed.
Using This Package
==================
As a user, if your language has been installed for this package, you
only have to set the `LANG' environment variable to the appropriate
`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code,
and `CC' is an ISO 3166 two-letter country code. For example, let's
suppose that you speak German and live in Germany. At the shell
prompt, merely execute `setenv LANG de_DE' (in `csh'),
`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
This can be done from your `.login' or `.profile' file, once and for
all.
You might think that the country code specification is redundant.
But in fact, some languages have dialects in different countries. For
example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
country code serves to distinguish the dialects.
The locale naming convention of `LL_CC', with `LL' denoting the
language and `CC' denoting the country, is the one use on systems based
on GNU libc. On other systems, some variations of this scheme are
used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
locales supported by your system for your country by running the command
`locale -a | grep '^LL''.
Not all programs have translations for all languages. By default, an
English message is shown in place of a nonexistent translation. If you
understand other languages, you can set up a priority list of languages.
This is done through a different environment variable, called
`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
for the purpose of message handling, but you still need to have `LANG'
set to the primary language; this is required by other parts of the
system libraries. For example, some Swedish users who would rather
read translations in German than English for when Swedish is not
available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
Special advice for Norwegian users: The language code for Norwegian
bokma*l changed from `no' to `nb' recently (in 2003). During the
transition period, while some message catalogs for this language are
installed under `nb' and some older ones under `no', it's recommended
for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
older translations are used.
In the `LANGUAGE' environment variable, but not in the `LANG'
environment variable, `LL_CC' combinations can be abbreviated as `LL'
to denote the language's main dialect. For example, `de' is equivalent
to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
(Portuguese as spoken in Portugal) in this context.
Translating Teams
=================
For the Free Translation Project to be a success, we need interested
people who like their own language and write it well, and who are also
able to synergize with other translators speaking the same language.
Each translation team has its own mailing list. The up-to-date list of
teams can be found at the Free Translation Project's homepage,
`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams"
area.
If you'd like to volunteer to _work_ at translating messages, you
should become a member of the translating team for your own language.
The subscribing address is _not_ the same as the list itself, it has
`-request' appended. For example, speakers of Swedish can send a
message to `sv-request@li.org', having this message body:
subscribe
Keep in mind that team members are expected to participate
_actively_ in translations, or at solving translational difficulties,
rather than merely lurking around. If your team does not exist yet and
you want to start one, or if you are unsure about what to do or how to
get started, please write to `translation@iro.umontreal.ca' to reach the
coordinator for all translator teams.
The English team is special. It works at improving and uniformizing
the terminology in use. Proven linguistic skill are praised more than
programming skill, here.
Available Packages
==================
Languages are not equally supported in all packages. The following
matrix shows the current state of internationalization, as of January
2004. The matrix shows, in regard of each package, for which languages
PO files have been submitted to translation coordination, with a
translation percentage of at least 50%.
Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es
+----------------------------------------------------+
a2ps | [] [] [] [] |
aegis | () |
ant-phone | () |
anubis | |
ap-utils | |
aspell | [] |
bash | [] [] [] [] |
batchelor | |
bfd | [] [] |
binutils | [] [] |
bison | [] [] [] |
bluez-pin | [] [] [] |
clisp | |
clisp | [] [] [] |
console-tools | [] [] |
coreutils | [] [] [] [] |
cpio | [] [] [] |
darkstat | [] () [] |
diffutils | [] [] [] [] [] [] [] |
e2fsprogs | [] [] [] |
enscript | [] [] [] [] |
error | [] [] [] [] [] |
fetchmail | [] () [] [] [] [] |
fileutils | [] [] [] |
findutils | [] [] [] [] [] [] [] |
flex | [] [] [] [] |
fslint | |
gas | [] |
gawk | [] [] [] [] |
gbiff | [] |
gcal | [] |
gcc | [] [] |
gettext | [] [] [] [] [] |
gettext-examples | [] [] [] [] |
gettext-runtime | [] [] [] [] [] |
gettext-tools | [] [] [] |
gimp-print | [] [] [] [] [] |
gliv | |
glunarclock | [] [] |
gnubiff | [] |
gnucash | [] () [] [] |
gnucash-glossary | [] () [] |
gnupg | [] () [] [] [] [] |
gpe-aerial | [] |
gpe-beam | [] [] |
gpe-calendar | [] [] |
gpe-clock | [] [] |
gpe-conf | [] [] |
gpe-contacts | [] [] |
gpe-edit | [] |
gpe-go | [] |
gpe-login | [] [] |
gpe-ownerinfo | [] [] |
gpe-sketchbook | [] [] |
gpe-su | [] [] |
gpe-taskmanager | [] [] |
gpe-timesheet | [] |
gpe-today | [] [] |
gpe-todo | [] [] |
gphoto2 | [] [] [] [] |
gprof | [] [] [] |
gpsdrive | () () () |
gramadoir | [] |
grep | [] [] [] [] [] [] |
gretl | [] |
gtick | [] () |
hello | [] [] [] [] [] [] |
id-utils | [] [] |
indent | [] [] [] [] |
iso_3166 | [] [] [] [] [] [] [] [] [] [] |
iso_3166_1 | [] [] [] [] [] [] |
iso_3166_2 | |
iso_3166_3 | [] |
iso_4217 | [] [] [] [] |
iso_639 | |
jpilot | [] [] [] |
jtag | |
jwhois | [] |
kbd | [] [] [] [] [] |
latrine | () |
ld | [] [] |
libc | [] [] [] [] [] [] |
libgpewidget | [] [] |
libiconv | [] [] [] [] [] |
lifelines | [] () |
lilypond | [] |
lingoteach | |
lingoteach_lessons | () () |
lynx | [] [] [] [] |
m4 | [] [] [] [] |
mailutils | [] [] |
make | [] [] [] |
man-db | [] () [] [] () |
minicom | [] [] [] |
mysecretdiary | [] [] [] |
nano | [] () [] [] [] |
nano_1_0 | [] () [] [] [] |
opcodes | [] |
parted | [] [] [] [] [] |
ptx | [] [] [] [] [] |
python | |
radius | [] |
recode | [] [] [] [] [] [] [] |
rpm | [] [] |
screem | |
scrollkeeper | [] [] [] [] [] [] |
sed | [] [] [] [] [] [] |
sh-utils | [] [] [] |
shared-mime-info | |
sharutils | [] [] [] [] [] [] |
silky | () |
skencil | [] () [] |
sketch | [] () [] |
soundtracker | [] [] [] |
sp | [] |
tar | [] [] [] [] |
texinfo | [] [] [] |
textutils | [] [] [] [] |
tin | () () |
tp-robot | |
tuxpaint | [] [] [] [] [] [] [] |
unicode-han-tra... | |
unicode-transla... | |
util-linux | [] [] [] [] [] |
vorbis-tools | [] [] [] [] |
wastesedge | () |
wdiff | [] [] [] [] |
wget | [] [] [] [] [] [] |
xchat | [] [] [] [] |
xfree86_xkb_xml | [] [] |
xpad | [] |
+----------------------------------------------------+
af am ar az be bg bs ca cs da de el en en_GB eo es
4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68
et eu fa fi fr ga gl he hr hu id is it ja ko lg
+-------------------------------------------------+
a2ps | [] [] [] () () |
aegis | |
ant-phone | [] |
anubis | [] |
ap-utils | [] |
aspell | [] [] |
bash | [] [] |
batchelor | [] [] |
bfd | [] |
binutils | [] [] |
bison | [] [] [] [] |
bluez-pin | [] [] [] [] [] |
clisp | |
clisp | [] |
console-tools | |
coreutils | [] [] [] [] [] [] |
cpio | [] [] [] [] |
darkstat | () [] [] [] |
diffutils | [] [] [] [] [] [] [] |
e2fsprogs | |
enscript | [] [] |
error | [] [] [] [] |
fetchmail | [] |
fileutils | [] [] [] [] [] [] |
findutils | [] [] [] [] [] [] [] [] [] [] [] |
flex | [] [] [] |
fslint | [] |
gas | [] |
gawk | [] [] [] |
gbiff | [] |
gcal | [] |
gcc | [] |
gettext | [] [] [] |
gettext-examples | [] [] |
gettext-runtime | [] [] [] [] [] |
gettext-tools | [] [] [] |
gimp-print | [] [] |
gliv | () |
glunarclock | [] [] [] [] |
gnubiff | [] |
gnucash | () [] |
gnucash-glossary | [] |
gnupg | [] [] [] [] [] [] [] |
gpe-aerial | [] |
gpe-beam | [] |
gpe-calendar | [] [] [] |
gpe-clock | [] |
gpe-conf | [] |
gpe-contacts | [] [] |
gpe-edit | [] [] |
gpe-go | [] |
gpe-login | [] [] |
gpe-ownerinfo | [] [] [] |
gpe-sketchbook | [] |
gpe-su | [] |
gpe-taskmanager | [] |
gpe-timesheet | [] [] [] |
gpe-today | [] [] |
gpe-todo | [] [] |
gphoto2 | [] [] [] |
gprof | [] [] |
gpsdrive | () () () |
gramadoir | [] [] |
grep | [] [] [] [] [] [] [] [] [] [] [] |
gretl | [] [] |
gtick | [] [] [] |
hello | [] [] [] [] [] [] [] [] [] [] [] [] [] |
id-utils | [] [] [] [] |
indent | [] [] [] [] [] [] [] [] [] |
iso_3166 | [] [] [] [] [] [] [] |
iso_3166_1 | [] [] [] [] [] |
iso_3166_2 | |
iso_3166_3 | |
iso_4217 | [] [] [] [] [] [] |
iso_639 | |
jpilot | [] () |
jtag | [] |
jwhois | [] [] [] [] |
kbd | [] |
latrine | [] |
ld | [] |
libc | [] [] [] [] [] [] |
libgpewidget | [] [] [] [] |
libiconv | [] [] [] [] [] [] [] [] [] |
lifelines | () |
lilypond | [] |
lingoteach | [] [] |
lingoteach_lessons | |
lynx | [] [] [] [] |
m4 | [] [] [] [] |
mailutils | |
make | [] [] [] [] [] [] |
man-db | () () |
minicom | [] [] [] [] |
mysecretdiary | [] [] |
nano | [] [] [] [] |
nano_1_0 | [] [] [] [] |
opcodes | [] |
parted | [] [] [] |
ptx | [] [] [] [] [] [] [] |
python | |
radius | [] |
recode | [] [] [] [] [] [] |
rpm | [] [] |
screem | |
scrollkeeper | [] |
sed | [] [] [] [] [] [] [] [] [] |
sh-utils | [] [] [] [] [] [] [] |
shared-mime-info | [] [] [] |
sharutils | [] [] [] [] [] |
silky | () [] () () |
skencil | [] |
sketch | [] |
soundtracker | [] [] |
sp | [] () |
tar | [] [] [] [] [] [] [] [] [] |
texinfo | [] [] [] [] |
textutils | [] [] [] [] [] [] |
tin | [] () |
tp-robot | [] |
tuxpaint | [] [] [] [] [] [] [] [] [] |
unicode-han-tra... | |
unicode-transla... | [] [] |
util-linux | [] [] [] [] () [] |
vorbis-tools | [] |
wastesedge | () |
wdiff | [] [] [] [] [] [] |
wget | [] [] [] [] [] [] [] |
xchat | [] [] [] |
xfree86_xkb_xml | [] [] |
xpad | [] [] |
+-------------------------------------------------+
et eu fa fi fr ga gl he hr hu id is it ja ko lg
22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0
lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
+-----------------------------------------------------+
a2ps | [] [] () () [] [] [] |
aegis | () () () |
ant-phone | [] [] |
anubis | [] [] [] [] [] [] |
ap-utils | [] () [] |
aspell | [] |
bash | [] [] [] |
batchelor | [] |
bfd | [] |
binutils | [] |
bison | [] [] [] [] [] |
bluez-pin | [] [] [] |
clisp | |
clisp | [] |
console-tools | [] |
coreutils | [] [] |
cpio | [] [] [] [] [] |
darkstat | [] [] [] [] |
diffutils | [] [] [] [] [] [] |
e2fsprogs | [] |
enscript | [] [] [] [] |
error | [] [] [] |
fetchmail | [] [] () [] |
fileutils | [] [] [] |
findutils | [] [] [] [] [] |
flex | [] [] [] [] |
fslint | [] [] |
gas | |
gawk | [] [] [] |
gbiff | [] [] |
gcal | |
gcc | |
gettext | [] [] [] |
gettext-examples | [] [] [] |
gettext-runtime | [] [] [] [] |
gettext-tools | [] [] |
gimp-print | [] |
gliv | [] [] [] |
glunarclock | [] [] [] [] |
gnubiff | [] |
gnucash | [] [] () [] |
gnucash-glossary | [] [] |
gnupg | [] |
gpe-aerial | [] [] [] [] |
gpe-beam | [] [] [] [] |
gpe-calendar | [] [] [] [] |
gpe-clock | [] [] [] [] |
gpe-conf | [] [] [] [] |
gpe-contacts | [] [] [] [] |
gpe-edit | [] [] [] [] |
gpe-go | [] [] [] |
gpe-login | [] [] [] [] |
gpe-ownerinfo | [] [] [] [] |
gpe-sketchbook | [] [] [] [] |
gpe-su | [] [] [] [] |
gpe-taskmanager | [] [] [] [] |
gpe-timesheet | [] [] [] [] |
gpe-today | [] [] [] [] |
gpe-todo | [] [] [] [] |
gphoto2 | [] |
gprof | [] [] |
gpsdrive | () () [] |
gramadoir | () [] |
grep | [] [] [] [] [] |
gretl | |
gtick | [] [] [] |
hello | [] [] [] [] [] [] [] [] [] [] |
id-utils | [] [] [] [] |
indent | [] [] [] [] |
iso_3166 | [] [] [] |
iso_3166_1 | [] [] |
iso_3166_2 | |
iso_3166_3 | [] |
iso_4217 | [] [] [] [] [] [] [] [] |
iso_639 | [] |
jpilot | () () |
jtag | |
jwhois | [] [] [] [] () |
kbd | [] [] [] |
latrine | [] |
ld | |
libc | [] [] [] [] |
libgpewidget | [] [] [] |
libiconv | [] [] [] [] [] |
lifelines | |
lilypond | |
lingoteach | |
lingoteach_lessons | |
lynx | [] [] [] |
m4 | [] [] [] [] [] |
mailutils | [] [] [] |
make | [] [] [] [] |
man-db | [] |
minicom | [] [] [] [] |
mysecretdiary | [] [] [] |
nano | [] [] [] [] [] |
nano_1_0 | [] [] [] [] [] [] |
opcodes | [] [] |
parted | [] [] [] [] |
ptx | [] [] [] [] [] [] [] [] |
python | |
radius | [] [] |
recode | [] [] [] [] |
rpm | [] [] [] |
screem | |
scrollkeeper | [] [] [] [] [] |
sed | [] [] [] |
sh-utils | [] [] |
shared-mime-info | [] [] |
sharutils | [] [] |
silky | () |
skencil | [] [] |
sketch | [] [] |
soundtracker | |
sp | |
tar | [] [] [] [] [] [] |
texinfo | [] [] [] [] |
textutils | [] [] |
tin | |
tp-robot | [] |
tuxpaint | [] [] [] [] [] [] [] [] |
unicode-han-tra... | |
unicode-transla... | |
util-linux | [] [] [] |
vorbis-tools | [] [] [] |
wastesedge | |
wdiff | [] [] [] [] [] |
wget | [] [] [] |
xchat | [] [] [] |
xfree86_xkb_xml | [] [] |
xpad | [] [] |
+-----------------------------------------------------+
lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63
sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu
+-----------------------------------------------------+
a2ps | [] [] [] [] | 16
aegis | | 0
ant-phone | | 3
anubis | [] [] | 9
ap-utils | () | 3
aspell | | 4
bash | | 9
batchelor | | 3
bfd | [] [] | 6
binutils | [] [] [] | 8
bison | [] [] | 14
bluez-pin | [] [] [] | 14
clisp | | 0
clisp | | 5
console-tools | | 3
coreutils | [] [] [] [] | 16
cpio | [] [] | 14
darkstat | [] [] [] () () | 12
diffutils | [] [] [] | 23
e2fsprogs | [] [] | 6
enscript | [] [] | 12
error | [] [] [] | 15
fetchmail | [] [] | 11
fileutils | [] [] [] [] [] | 17
findutils | [] [] [] [] [] [] | 29
flex | [] [] | 13
fslint | | 3
gas | [] | 3
gawk | [] [] | 12
gbiff | | 4
gcal | [] [] | 4
gcc | [] | 4
gettext | [] [] [] [] [] | 16
gettext-examples | [] [] [] [] [] | 14
gettext-runtime | [] [] [] [] [] [] [] [] | 22
gettext-tools | [] [] [] [] [] [] | 14
gimp-print | [] [] | 10
gliv | | 3
glunarclock | [] [] [] | 13
gnubiff | | 3
gnucash | [] [] | 9
gnucash-glossary | [] [] [] | 8
gnupg | [] [] [] [] | 17
gpe-aerial | [] | 7
gpe-beam | [] | 8
gpe-calendar | [] [] [] [] | 13
gpe-clock | [] [] [] | 10
gpe-conf | [] [] | 9
gpe-contacts | [] [] [] | 11
gpe-edit | [] [] [] [] [] | 12
gpe-go | | 5
gpe-login | [] [] [] [] [] | 13
gpe-ownerinfo | [] [] [] [] | 13
gpe-sketchbook | [] [] | 9
gpe-su | [] [] [] | 10
gpe-taskmanager | [] [] [] | 10
gpe-timesheet | [] [] [] [] | 12
gpe-today | [] [] [] [] [] | 13
gpe-todo | [] [] [] [] | 12
gphoto2 | [] [] [] | 11
gprof | [] [] | 9
gpsdrive | [] [] | 3
gramadoir | [] | 5
grep | [] [] [] [] | 26
gretl | | 3
gtick | | 7
hello | [] [] [] [] [] | 34
id-utils | [] [] | 12
indent | [] [] [] [] | 21
iso_3166 | [] [] [] [] [] [] [] | 27
iso_3166_1 | [] [] [] | 16
iso_3166_2 | | 0
iso_3166_3 | | 2
iso_4217 | [] [] [] [] [] [] | 24
iso_639 | | 1
jpilot | [] [] [] [] [] | 9
jtag | [] | 2
jwhois | () [] [] | 11
kbd | [] [] | 11
latrine | | 2
ld | [] [] | 5
libc | [] [] [] [] | 20
libgpewidget | [] [] [] [] | 13
libiconv | [] [] [] [] [] [] [] [] | 27
lifelines | [] | 2
lilypond | [] | 3
lingoteach | | 2
lingoteach_lessons | () | 0
lynx | [] [] [] | 14
m4 | [] [] | 15
mailutils | | 5
make | [] [] [] | 16
man-db | [] | 5
minicom | | 11
mysecretdiary | [] [] | 10
nano | [] [] [] [] | 17
nano_1_0 | [] [] [] | 17
opcodes | [] [] | 6
parted | [] [] [] | 15
ptx | [] [] | 22
python | | 0
radius | | 4
recode | [] [] [] | 20
rpm | [] [] | 9
screem | [] [] | 2
scrollkeeper | [] [] [] | 15
sed | [] [] [] [] [] [] | 24
sh-utils | [] [] | 14
shared-mime-info | [] [] | 7
sharutils | [] [] [] [] | 17
silky | () | 3
skencil | [] | 6
sketch | [] | 6
soundtracker | [] [] | 7
sp | [] | 3
tar | [] [] [] [] [] | 24
texinfo | [] [] [] | 14
textutils | [] [] [] [] | 16
tin | | 1
tp-robot | | 2
tuxpaint | [] [] [] [] [] | 29
unicode-han-tra... | | 0
unicode-transla... | | 2
util-linux | [] [] | 15
vorbis-tools | | 8
wastesedge | | 0
wdiff | [] [] [] | 18
wget | [] [] [] [] [] [] [] [] | 24
xchat | [] [] [] [] [] | 15
xfree86_xkb_xml | [] [] [] [] [] | 11
xpad | | 5
+-----------------------------------------------------+
63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu
131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373
Some counters in the preceding matrix are higher than the number of
visible blocks let us expect. This is because a few extra PO files are
used for implementing regional variants of languages, or language
dialects.
For a PO file in the matrix above to be effective, the package to
which it applies should also have been internationalized and
distributed as such by its maintainer. There might be an observable
lag between the mere existence a PO file and its wide availability in a
distribution.
If January 2004 seems to be old, you may fetch a more recent copy of
this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
matrix with full percentage details can be found at
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
Using `gettext' in new packages
===============================
If you are writing a freely available program and want to
internationalize it you are welcome to use GNU `gettext' in your
package. Of course you have to respect the GNU Library General Public
License which covers the use of the GNU `gettext' library. This means
in particular that even non-free programs can use `libintl' as a shared
library, whereas only free software can use `libintl' as a static
library or use modified versions of `libintl'.
Once the sources are changed appropriately and the setup can handle
the use of `gettext' the only thing missing are the translations. The
Free Translation Project is also available for packages which are not
developed inside the GNU project. Therefore the information given above
applies also for every other Free Software Project. Contact
`translation@iro.umontreal.ca' to make the `.pot' files available to
the translation teams.

View File

@ -9,3 +9,8 @@ Pat Suwalski <pat@suwalski.net>
Toti <>
Da Woon Jung <dirkpitt2050@users.sf.net>
Vincent Giangiulio <vince.gian@free.fr>
Andrew Tribick
Hleb Valoshka
Levin Li
Dmitry Brant
Łukasz Buczyński

421
CMakeLists.txt 100644
View File

@ -0,0 +1,421 @@
cmake_minimum_required(VERSION 3.8)
option(LEGACY_OPENGL_LIBS "Use legacy OpenGL libraries instead of glvnd library (Default: off)" OFF)
# Plain and keyword target_link_libraries() signatures cannot be mixed
if (POLICY CMP0023)
cmake_policy(SET CMP0023 NEW)
endif()
# Honor link flags in try_compile()
if (POLICY CMP0056)
cmake_policy(SET CMP0056 NEW)
endif()
# only use the additional link flags when linking executables if the
# ENABLE_EXPORTS target property is set to True
if(POLICY CMP0065)
cmake_policy(SET CMP0065 NEW)
endif()
# Honor language standard (CMAKE_CXX_STANDARD) in try_compile()
if(POLICY CMP0067)
cmake_policy(SET CMP0067 NEW)
endif()
# Ignore generated source files in AUTOMOC and AUTOUIC
if(POLICY CMP0071)
cmake_policy(SET CMP0071 OLD)
endif()
# Prefer GLVND or "legacy" OpenGL library (libOpenGL.so vs libGL.so)
if(POLICY CMP0072)
if(LEGACY_OPENGL_LIBS)
cmake_policy(SET CMP0072 OLD)
else()
cmake_policy(SET CMP0072 NEW)
endif()
endif()
# Remove leading and trailing whitespace from libraries linked
if(POLICY CMP0004)
cmake_policy(SET CMP0004 NEW)
endif()
project(celestia VERSION 1.7.0 LANGUAGES C CXX)
set(DISPLAY_NAME "Celestia")
#
#
#
option(ENABLE_CELX "Enable celx scripting, requires Lua library? (Default: on)" ON)
option(ENABLE_SPICE "Use spice library? (Default: off)" OFF)
option(ENABLE_NLS "Enable interface translation? (Default: on)" ON)
option(ENABLE_GLUT "Build simple Glut frontend? (Default: off)" OFF)
option(ENABLE_GTK "Build GTK2 frontend (Unix only)? (Default: off)" OFF)
option(ENABLE_QT "Build Qt frontend? (Default: on)" ON)
option(ENABLE_SDL "Build SDL frontend? (Default: off)" OFF)
option(ENABLE_WIN "Build Windows native frontend? (Default: on)" ON)
option(ENABLE_FFMPEG "Support video capture using FFMPEG (Default: off)" OFF)
option(ENABLE_TOOLS "Build different tools? (Default: off)" OFF)
option(NATIVE_OSX_APP "Support native OSX paths read data from (Default: off)" OFF)
option(FAST_MATH "Build with unsafe fast-math compiller option (Default: off)" OFF)
option(ENABLE_TESTS "Enable unit tests? (Default: off)" OFF)
option(ENABLE_GLES "Build for OpenGL ES 2.0 instead of OpenGL 2.1 (Default: off)" OFF)
option(USE_GTKGLEXT "Use libgtkglext1 for GTK2 frontend (Default: on)" ON)
option(USE_QT6 "Use Qt6 in Qt frontend (Default: off)" OFF)
option(USE_GTK3 "Use Gtk3 in GTK2 frontend (Default: off)" OFF)
if(ENABLE_GLES)
add_definitions(-DGL_ES)
# Disable USE_GTKGLEXT if using OpenGL ES
set(USE_GTKGLEXT OFF)
endif()
if(USE_GTK3)
# Disable USE_GTKGLEXT if using Gtk+3
set(USE_GTKGLEXT OFF)
endif()
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type." FORCE)
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(UNIX AND (NOT CYGWIN))
set(_UNIX true)
endif()
# _USE_MATH_DEFINES enables use of math constants like M_PI,
# which are by default disabled in standard C++ mode (like std=c++11 instead of std=gnu11)
add_definitions(-D_USE_MATH_DEFINES)
# Let CMake handle setting C++11 (since 3.1)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
set(CMAKE_C_STANDARD 11)
# Use our cmake files
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
if((NOT WIN32) AND (NOT NATIVE_OSX_APP))
include(GNUInstallDirs)
include(rpath)
endif()
include(CheckIncludeFiles)
include(CheckIncludeFileCXX)
include(FastMath)
#
# Compile options
#
if(MSVC)
# CMake 3.14 and below set warning flags by default, remove them to prevent conflicts
string(REGEX REPLACE "/W[3|4]" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
string(REGEX REPLACE "/W[3|4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
# Disabled warnings
# C4244, C4267, C4503: implicit type conversion to a smaller type
# C4786: long names in templates
# C4800: forcing value to bool
# C4455: reserved literals (no undescore at the beginning)
# C5030: not recognized attribute
# C5105: macro expansion producing 'defined' has undefined behavior
# Additional options
# bigobj: generate more object sections than allowed by default
# Promoted to errors
# C4316: object allocated on the heap may not be aligned 16
add_compile_options("/wd4244" "/wd4267" "/wd4503" "/wd4800" "/wd4455" "/wd5030" "/wd5105" "/bigobj" "/we4316")
if(MSVC_VERSION GREATER_EQUAL 1914)
# /Zc:__cplusplus: correctly set __cplusplus macro value
add_compile_options("/Zc:__cplusplus")
endif()
endif()
if(NOT WIN32)
# Qt requires -fPIC, so build all code with it
# It's always set on windows
add_compile_options(-fPIC)
endif()
if(MINGW)
# MinGW has a bug which causes too many false-positive warnings
# for 'operator!='
add_compile_options(-Wno-attributes)
endif()
EnableFastMath(${FAST_MATH})
#
# NLS (Gettext) support
#
if(ENABLE_NLS)
find_package(Gettext)
if(NOT GETTEXT_FOUND)
message(WARNING "Gettext is not found, traslations won't be created.")
endif()
include(FixGettext)
find_package(Intl REQUIRED)
include_directories(${Intl_INCLUDE_DIRS})
link_libraries(${Intl_LIBRARIES})
add_definitions(-DENABLE_NLS)
else()
message(STATUS "NLS is disabled. Not looking for gettext and libintl.")
endif()
if(ENABLE_SPICE)
find_package(CSPICE)
if(NOT CSPICE_FOUND)
message(STATUS "Using cspice submodule")
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/Spice")
get_target_property(SPICE_INCLUDE_DIR spice INCLUDE_DIRECTORIES)
include_directories(${SPICE_INCLUDE_DIR})
message(STATUS "Spice include directories: ${SPICE_INCLUDE_DIR}")
add_library(CSPICE::CSPICE ALIAS spice)
else()
include_directories(${CSPICE_INCLUDE_DIR})
endif()
add_definitions(-DUSE_SPICE)
else()
message(STATUS "NAIF SPICE is disabled. Not looking for cspice library.")
endif()
if(ENABLE_FFMPEG)
include(FindFFMPEG)
find_package(FFMPEG REQUIRED COMPONENTS avcodec avutil avformat swscale)
include_directories(${FFMPEG_INCLUDE_DIRS})
add_definitions(-DUSE_FFMPEG)
endif()
if(ENABLE_LIBAVIF)
find_package(Libavif REQUIRED)
link_libraries(libavif::libavif)
include_directories(${LIBAVIF_INCLUDE_DIR})
add_definitions(-DUSE_LIBAVIF)
endif()
if(_UNIX)
find_package(PkgConfig)
endif()
if(WIN32)
link_libraries("vfw32" "comctl32" "winmm")
endif()
if(NOT ENABLE_GLES)
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIRS})
link_libraries(${OPENGL_LIBRARIES})
endif()
find_package(Libepoxy REQUIRED)
link_libraries(libepoxy::libepoxy)
include_directories(${LIBEPOXY_INCLUDE_DIR})
find_package(Eigen3 3.3 REQUIRED NO_MODULE) # -DEigen3_DIR=...
message(STATUS "Found Eigen3 ${EIGEN3_VERSION_STRING}")
link_libraries(Eigen3::Eigen)
find_package(fmt 6.1.0 CONFIG QUIET)
if(NOT fmt_FOUND)
message(STATUS "Using fmt submodule")
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/fmt")
endif()
link_libraries(fmt::fmt)
find_package(PNG REQUIRED)
add_definitions(${PNG_DEFINITIONS})
link_libraries(PNG::PNG)
find_package(JPEG REQUIRED) # -DJPEG_LIBRARY=...
include_directories(${JPEG_INCLUDE_DIRS})
link_libraries(${JPEG_LIBRARIES})
if(ENABLE_CELX)
add_definitions(-DCELX)
find_package(LuaJIT)
if(NOT LUAJIT_FOUND)
find_package(Lua REQUIRED)
endif()
include_directories(${LUA_INCLUDE_DIR})
link_libraries(${LUA_LIBRARIES})
else()
message(STATUS "CELX is disabled. Not looking for LUA libraries.")
endif()
find_package(Freetype REQUIRED)
link_libraries(Freetype::Freetype)
find_package(meshoptimizer CONFIG QUIET)
if(meshoptimizer_FOUND)
message(STATUS "Found meshoptimizer library")
set(HAVE_MESHOPTIMIZER 1)
else()
message(STATUS "meshoptimizer library is missing")
endif()
#[[
get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
]]#
# macOS Bundling
if(NATIVE_OSX_APP)
message(STATUS "Generating Info.plist for macOS Bundle")
configure_file(${CMAKE_SOURCE_DIR}/Info.plist.in ${CMAKE_BINARY_DIR}/Info.plist @ONLY)
endif()
if(NATIVE_OSX_APP)
set(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.app/Contents")
set(CMAKE_INSTALL_FULL_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/Resources/locale")
set(CMAKE_INSTALL_BINDIR "MacOS")
set(DATADIR "${CMAKE_INSTALL_PREFIX}/Resources")
set(FULL_DATADIR "${CMAKE_INSTALL_PREFIX}/Resources")
elseif(WIN32)
set(CMAKE_INSTALL_BINDIR ".")
set(CMAKE_INSTALL_DATAROOTDIR ".")
set(CMAKE_INSTALL_DATADIR ".")
set(CMAKE_INSTALL_FULL_LOCALEDIR "locale")
set(DATADIR "${CMAKE_INSTALL_DATADIR}")
set(FULL_DATADIR ".")
else()
set(DATADIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}")
set(FULL_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}")
endif()
if(NOT GIT_COMMIT)
find_program(GIT_FOUND git)
if(GIT_FOUND)
execute_process(
COMMAND git log --pretty=format:%h -1
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
OUTPUT_VARIABLE GIT_COMMIT
)
if("${GIT_COMMIT}" STREQUAL "")
set(GIT_COMMIT "unknown")
endif()
else()
set(GIT_COMMIT "unknown")
endif()
endif()
#
# Compile definitions
#
add_definitions(
-DVERSION="${PROJECT_VERSION}"
-DPACKAGE="celestia"
-DGIT_COMMIT="${GIT_COMMIT}"
)
if(NOT NATIVE_OSX_APP)
add_definitions(
-DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}"
-DCONFIG_DATA_DIR="${FULL_DATADIR}"
-DHIP_DATA_DIR="${FULL_DATADIR}"
-DSPLASH_DIR="${FULL_DATADIR}/splash"
)
endif()
if(WIN32)
add_definitions(
-D_CRT_SECURE_NO_WARNINGS
-D_SCL_SECURE_NO_WARNINGS
-DNOMINMAX
-DWIN32_LEAN_AND_MEAN
-DWINVER=0x0601
-D_WIN32_WINNT=0x0601
)
# Fix the issue: https://github.com/CelestiaProject/Celestia/issues/364
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
endif()
if(APPLE)
if(NATIVE_OSX_APP)
add_definitions(-DNATIVE_OSX_APP)
endif()
add_definitions(-DGL_SILENCE_DEPRECATION)
endif()
string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type_lc)
if("${build_type_lc}" STREQUAL "debug")
add_definitions(-D_DEBUG -DDEBUG)
else()
add_definitions(-DNO_DEBUG -DEIGEN_NO_DEBUG)
if(NOT MSVC)
add_compile_options(
$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>
$<$<COMPILE_LANGUAGE:CXX>:-fno-exceptions>
)
endif()
endif()
# Turning all debug on dramatically decreases performance
if(OCTREE_DEBUG)
add_definitions(-DOCTREE_DEBUG)
endif()
include_directories("${CMAKE_SOURCE_DIR}/src" ${CMAKE_BINARY_DIR})
# configure a header file to pass some of the CMake settings
# to the source code
include(CheckSymbolExists)
check_symbol_exists(wordexp wordexp.h HAVE_WORDEXP)
check_include_files(byteswap.h HAVE_BYTESWAP_H)
find_package(Filesystem REQUIRED COMPONENTS Final Experimental)
if(CXX_FILESYSTEM_IS_EXPERIMENTAL)
message(WARNING "C++ lacks header <filesystem>, using <experimental/filesystem> instead.")
else()
set(HAVE_STD_FILESYSTEM ON)
endif()
link_libraries(std::filesystem)
try_compile(HAVE_CHARCONV ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxccint.cpp")
if(HAVE_CHARCONV)
try_compile(HAVE_FLOAT_CHARCONV ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxccfloat.cpp")
if(NOT HAVE_FLOAT_CHARCONV)
message(WARNING "C++ charconv lacks floating point support!\nWill use own implementation.")
endif()
else()
message(WARNING "C++ charconv is unusable!\nWill use own implementation.")
endif()
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
configure_file("config.h.in" "config.h")
set(BASE_DATA_SOURCES
demo.cel
guide.cel
start.cel
celestia.cfg
controls.txt
)
install(FILES ${BASE_DATA_SOURCES} DESTINATION ${DATADIR})
install(FILES "splash.png" DESTINATION "${DATADIR}/splash")
if(NATIVE_OSX_APP)
install(FILES ${CMAKE_BINARY_DIR}/Info.plist DESTINATION .)
endif()
add_subdirectory(src)
add_subdirectory(po)
add_subdirectory(fonts)
add_subdirectory(images)
add_subdirectory(locale)
add_subdirectory(scripts)
add_subdirectory(shaders)
if(ENABLE_TESTS)
enable_testing()
add_subdirectory(test)
endif()

9
CONTRIBUTING.md 100644
View File

@ -0,0 +1,9 @@
### Contributing
**We welcome feedback, bug reports, and pull requests!**
For pull requests, please stick to the following guidelines:
* Be sure to test your code changes.
* Follow the existing code style (e.g., indents).
* Put a lot of comments into the code, if necessary.
* Separate unrelated changes into multiple pull requests.

View File

@ -1,459 +0,0 @@
Celestia's Keyboard-Mouse-Joystick Assignments (as of Dec 18, 2005)
===================================================================
This list of Celestia keystrokes, mouse and joystick control
assignments is intended for any developer who may need to add
a new control assignment. When you add a new assignment, PLEASE
make a note of it in this file. Thank you.
NOTE: Christophe is currently (Jan 14, 2004) attempting to match
the 1.3.1 KDE keystrokes to the Windows keystrokes for
version 1.3.2.
FUNCTION KEYS
-------------
F1.......... Stop from current velocity
F2.......... Set velocity to 1 km/s
F3.......... Set velocity to 1,000 km/s
F4.......... Set velocity to speed of light (1 c/s)
F5.......... Set velocity to 10x the speed of light.
F6.......... Set velocity to 1 AU/s
F7.......... Set velocity to 1 ly/s
F8.......... Enable joystick
F9..........
F10......... Non-KDE: Capture image to file
F11......... While in Movie Capture mode: Start/Pause capture
F12......... While in Movie Capture mode: Stop capture
Shift+F1.... DUP Stop from current velocity
Shift+F2.... DUP Set velocity to 1 km/s
Shift+F3.... DUP Set velocity to 1,000 km/s
Shift+F4.... DUP Set velocity to speed of light (1 c/s)
Shift+F5.... DUP Set velocity to 10x the speed of light.
Shift+F6.... DUP Set velocity to 1 AU/s
Shift+F7.... DUP Set velocity to 1 ly/s
Shift+F8.... DUP Enable joystick
Shift+F9....
Shift+F10... Capture video to file
Shift+F11...
Shift+F12...
Ctrl+F1..... DUP Stop from current velocity
Ctrl+F2..... DUP Set velocity to 1 km/s
Ctrl+F3..... DUP Set velocity to 1,000 km/s
Ctrl+F4..... DUP Set velocity to speed of light (1 c/s)
Ctrl+F5..... DUP Set velocity to 10x the speed of light.
Ctrl+F6..... DUP Set velocity to 1 AU/s
Ctrl+F7..... DUP Set velocity to 1 ly/s
Ctrl+F8..... DUP Enable joystick
Ctrl+F9.....
Ctrl+F10.... Select File menu (does not activate drop-down)
Ctrl+F11....
Ctrl+F12....
NUMBER KEYS
-----------
1 Select planet #1 around nearby star
2 Select planet #2 around nearby star
3 Select planet #3 around nearby star
4 Select planet #4 around nearby star
5 Select planet #5 around nearby star
6 Select planet #6 around nearby star
7 Select planet #7 around nearby star
8 Select planet #8 around nearby star
9 Select planet #9 around nearby star
0 Select parent star of current planet or system
LOWERCASE LETTERS (NO SHIFT KEY)
--------------------------------
a Increase velocity
b Toggle star labels
c Center on selected object
d Run demo script (demo.cel)
e Toggle galaxy labels
f Follow selected object
g Go to selected object
h Select our sun (Home)
i Toggle cloud textures
j Toggle Forward/Reverse time
k Time 10x slower
l Time 10x faster
m Toggle moon labels
n Non-GLUT: Toggle spacecraft labels
n GLUT: planet/moon (not certain of function)
o Toggle planet orbits
p Toggle planet labels
q Reverse direction
r Lower texture resolution
s Stop motion
t Track selected object (keep selected object centered in view)
u Toggle galaxy rendering
v Toggle verbosity of information text
w Toggle asteroid labels
x Set movement direction toward center of screen
y Sync Orbit the selected object, at a rate synced to its rotation
z Decrease velocity
UPPERCASE LETTERS (SHIFT+KEY)
-----------------------------
A
B DUP Toggle star labels
C Center/orbit--center the selected object without changing the position
of the reference object.
D DUP Run demo script (demo.cel)
E DUP Toggle galaxy labels
F DUP Follow selected object
G DUP Go to selected object
H DUP Select our sun (Home)
I DUP Toggle cloud textures
J DUP Toggle Forward/Reverse time
K Time 2x slower
L Time 2x faster
M DUP Toggle moon labels
N DUP Toggle spacecraft labels
O DUP Toggle planet orbits
P DUP Toggle planet labels
Q DUP Reverse direction
R Raise texture resolution
S DUP Stop motion
T DUP Track selected object (keep selected object centered in view)
U DUP Toggle galaxy rendering
V DUP Toggle verbosity of information text
W Toggle comet labels
X DUP Set movement direction toward center of screen
Y DUP Sync Orbit the selected object, at a rate synced to its rotation
Z
SPECIAL CHARACTERS
------------------
` Show frames rendered per second
~ Display file loading info
! Set time to current date and time
@ Edit Mode
#
$
% Toggle star color tables
^ Toggle nebula rendering
& Toggle location labels
* Look back
( Decrease galaxy brightness independent of star brightness
) Increase galaxy brightness independent of star brightness
- (hyphen) Subtract light-travel delay from current simulation time
_ (underscore)
= Toggle constellation labels
+ Switch between artistic and limit of knowledge planet textures
[ If autoMag OFF: Decrease limiting magnitude (fewer stars visible)
[ If autoMag ON : Decrease limiting magnitude at 45 deg field of view
] If autoMag OFF: Increase limiting magnitude (more stars visible)
] If autoMag ON : Increase limiting magnitude at 45 deg field of view
{ Decrease ambient illumination
} Increase ambient illumination
; Show an earth-based equatorial coordinate sphere
: Lock two objects together as one (select #1, "f", select #2, ":")
'
" Chase selected object (orientation is based on selection's velocity)
, Narrow field of view (FOV--also Shift+Left Drag)
. Widen field of view (FOV--also Shift+Left Drag)
/ Toggle constellation diagrams
<
>
? Display light-travel delay between observer and selected object
\ Real time (cancels x factors and backward time)
|
OTHER KEYS
----------
Esc............... Cancels: motion, scripts, Follow, Track, Lock, Sync,
object entry mode
Spacebar.......... Pause/Restart time and scripts
Spacebar+Shift.... Pause/Restart time only
Backspace......... If the selection is a star, clears the selection
If the selection is a body, selects the parent body or star
If the selection is a location, selects the parent body
Tab............... Cycle through currently active views (Multi-View)
Shift+Tab......... DUP Single View (Multi-View--also Ctrl+d)
Enter............. Select a star or planet by typing its name
Alt+Enter......... Non-KDE: Toggle between full-screen and windowed mode
Insert............
Delete............ Delete active view (Multi-View)
Home.............. Move closer to object
End............... Move further from object
Page Up...........
Page Down.........
Ctrl+Insert....... Non KDE: Copy location URL to clipboard (also Ctrl+c)
Ctrl+Delete....... DUP Delete active view (Multi-View)
Ctrl+Home......... DUP Move closer to object
Ctrl+Home......... KDE: Go to Sol (Home-Sun)
Ctrl+End.......... DUP Move further from object
Ctrl+Page Up......
Ctrl+Page Down....
ARROW KEYS
----------
Left.............. Roll left
Right............. Roll right
Up................ Change Camera Pitch
Down.............. Change Camera Pitch
Shift+Left........ Orbit object
Shift+Right....... Orbit object
Shift+Up.......... Orbit object
Shift+Down........ Orbit object
Ctrl+Left......... DUP Roll camera
Ctrl+Right........ DUP Roll camera
Ctrl+Up........... DUP Change Camera Pitch
Ctrl+Down......... DUP Change Camera Pitch
Alt+Left.......... KDE: Back (Prev in history)
Alt+Right......... KDE: Forward (Next in history)
CONTROL KEY COMBINATIONS
------------------------
Ctrl+a (BROKEN--increases velocity--see Ctrl+A) Toggle atmospheres
Ctrl+b Toggle constellation boundaries
Ctrl+c Copy location URL to clipboard (also Ctrl+Ins)
Ctrl+d Single View (Multi-View--also Shift+Tab)
Ctrl+e Toggle eclipse shadow rendering
Ctrl+f Non-KDE: Toggle Alt-Azimuth mode (used with Ctrl-g Go to surface)
Changes Left and Right Arrow keys to Yaw Left / Right
Ctrl+f KDE: Toggle Full-screen / Windowed mode
Ctrl+g Non-KDE: Go to surface of selected object
Ctrl+g KDE: Capture image
Ctrl+h DUP (h and H) Select our sun (Home)
Ctrl+i
Ctrl+j DUP Select a star or planet by typing it's name
Ctrl+k Toggle display of object markers
Ctrl+l Toggle night side planet maps (light pollution)
Ctrl+m DUP Select a star or planet by typing it's name
Ctrl+m KDE: Toggle display of Menu Bar
Ctrl+n
Ctrl+o Non-KDE: Display the Select Object dialog box
Ctrl+o KDE: menu-File/Open Script
Ctrl+p Non-GLUT: Mark selected object (Marker display must be active)
Ctrl+p GLUT:Per-pixel lighting
Ctrl+q KDE: menu-File/Quit
Ctrl+r Split view vertically
Ctrl+s Cycle the star style between fuzzy discs, points, and scaled discs
Ctrl+t Toggle rendering of comet tails
Ctrl+u Split view horizontally
Ctrl+v Cycle between supported OpenGL render paths
Ctrl+w Toggle wireframe mode
Ctrl+x Toggle antialias lines
Ctrl+y Toggle AutoMag = auto adaptation of star visibility to field of view
Ctrl+z
Ctrl+A Toggle atmospheres
Ctrl+B DUP Toggle constellation boundaries
Ctrl+C DUP Copy location URL to clipboard (also Ctrl+Ins)
Ctrl+D DUP Single View (Multi-View--also Shift+Tab)
Ctrl+E DUP Toggle eclipse shadow rendering
Ctrl+F DUP Toggle Alt-azimuth mode (used with Ctrl-G--Go to surface)
Changes Left and Right Arrow keys to Yaw Left / Right
Ctrl+G DUP Go to surface of selected object
Ctrl+H DUP If the selection is a star, clears the selection
If the selection is a body, selects the parent body or star
If the selection is a location, selects the parent body
Ctrl+I
Ctrl+J DUP Select a star or planet by typing it's name
Ctrl+K DUP Toggle display of object markers
Ctrl+L DUP Toggle night side planet maps (light pollution)
Ctrl+M DUP Select a star or planet by typing it's name
Ctrl+N
Ctrl+O DUP Display the Select Object dialog box
Ctrl+P DUP Mark selected object (Marker display must be active)
Ctrl+Q
Ctrl+R DUP Split Horizontally (Multi-View)
Ctrl+S
Ctrl+T DUP Toggle rendering of comet tails
Ctrl+U DUP Split Vertically (Multi-View)
Ctrl+V DUP Cycle between supported OpenGL render paths
Ctrl+W DUP Toggle wireframe mode
Ctrl+X DUP Toggle antialias lines
Ctrl+Y DUP Toggle AutoMag = auto adaptation of star visibility to field of view
Ctrl+Z
Ctrl++ KDE: Zoom In (Decrease Field of View)
Ctrl+- KDE: Zoom Out (Increase Field of View)
ALT KEY COMBINATIONS
--------------------
Alt+b KDE: Add Bookmark
Alt+c KDE: Open Celestial Browser dialog
Alt+e KDE: Open Eclipse Finder dialog
Alt+f KDE: Alt-Azimuth mode
Alt+g KDE: Open Go to URL dialog
Alt+l KDE: Open Go to Long/Lat dialog
Alt+r KDE: Add Relative Bookmark
Alt+s KDE: Go to Surface
Alt+t KDE: Open Set Time dialog
Alt+u KDE: Toggle Local/UTC Time display
CTRL+ALT KEY COMBINATIONS
-------------------------
Ctrl+Alt+s KDE: Add Settings Bookmark
NUMBER PAD KEYS (NUMLOCK ACTIVE)
--------------------------------
1
2 Pitch up (also Up arrow)
3
4 Yaw left
5 Stop rotation
6 Yaw right
7 Roll left (also Left arrow)
8 Pitch down (also Down arrow)
9 Roll right (also Right arrow)
MOUSE OPERATIONS
----------------
Left Click.............. (on an object) Select object
Left Click.............. (on no object) Deselect currently selected object
Right Click............. (on object) Display context menu if one is available
Left Double Click....... (on an object) Select and Center object
Middle Button........... Toggle field of view between 45 degrees and the previous
field (ie. telescopic view)
Scroll Wheel............ Adjust distance to selection
Shift+Left Click........ DUP (on an object) Select object
Shift+Left Click........ DUP (on no object) Deselect currently selected object
Shift+Right Click....... DUP (on object) Display context menu if one is available
Shift+Left Dbl Click.... (on an object) DEselect and Center object
Shift+Middle Button..... DUP Toggle field of view between 45 degrees and the
previous field (ie. telescopic view)
Shift+Scroll Wheel......
Ctrl+Left Click......... DUP (on an object) Select object
Ctrl+Left Click......... DUP (on no object) Deselect currently selected object
Ctrl+Right Click........ DUP (on object) Display context menu if one is available
Ctrl+Left Dbl Click..... DUP (on an object) Select and Center object
Ctrl+Middle Button...... DUP Toggle field of view between 45 degrees and the
previous field (ie. telescopic view)
Ctrl+Scroll Wheel....... DUP Adjust distance to selection
Alt+Left Click.......... DUP (on an object) Select object
Alt+Left Click.......... DUP (on no object) Deselect currently selected object
Alt+Right Click......... DUP (on an object) Select object
Alt+Left Dbl Click...... DUP (on an object) DEselect and Center object
Alt+Middle Button....... DUP Toggle field of view between 45 degrees and the
previous field (ie. telescopic view)
Alt+Scroll Wheel........ DUP Adjust distance to selection
Left Drag............... Orient camera (Up/Down arrows, 2/8/4/6 on Number Pad)
Right Drag.............. Orbit the selected object (also Shift+Arrow keys)
Left+Right Drag......... (up/down) Adjust distance to selection (Home and End)
Left+Right Drag......... (left/right) Roll left/right (Left/Right Arrow keys)
Shift+Left Drag......... Narrow/Widen field of view (FOV--also "." and ",")
Shift+Right Drag........ DUP Orbit the selected object
Shift+Left+Right Drag... DUP (up/down) Adjust distance to selection
Shift+Left+Right Drag... DUP (left/right) Roll left/right
Ctrl+Left Drag.......... Adjust distance to selection (also Home and End)
Ctrl+Right Drag......... DUP Orbit the selected object
Ctrl+Left+Right Drag.... DUP (up/down) Adjust distance to selection
Ctrl+Left+Right Drag.... DUP (left/right) Roll left/right
JOYSTICK CONTROLS
-----------------
X axis...... Yaw
Y axis...... Pitch
L trigger... Roll left
R trigger... Roll right
Button 1.... Slower
Button 2.... Faster
USER INTERFACE FUNCTIONS NOT CURRENTLY ASSIGNED TO KEYSTROKES
=============================================================
File Menu
---------
* Open Script (KDE: Ctrl+o)
* Exit/Quit (KDE: Ctrl+q)
Navigation Menu
---------------
* Tour Guide dialog
* Select Object dialog (assigned Ctrl+o but not shown)
* Go to Object dialog
* Solar System Browser dialog (KDE: Alt+c)
* Star Browser dialog (KDE: Alt+c)
* Eclipse Finder dialog (KDE: Alt+e)
Time Menu
---------
* Set Time dialog (KDE: Alt+t)
* Toggle Local/UTC Time (KDE: Alt+u)
Render Menu
-----------
* Select Display Mode dialog
* View Options dialog
- Toggle Celestial Grid
- Toggle Asteroid Orbits
- Toggle Comet Orbits
- Toggle Moon Orbits
- Toggle Spacecraft Orbits
* Locations dialog
- Toggle City Location text
- Toggle Observatory Location text
- Toggle Landing Site Location text
- Toggle Mountains Location text
- Toggle Seas Location text
- Toggle Craters Location text
- Toggle Valleys Location text
- Toggle Land Masses Location text
- Toggle Other Features Location text
- Toggle Mark Features
- Minimum Labeled Feature Size adjust (+ / -)
View Menu
---------
* Toggle Show Frames
* Toggle Synchronize Time
Bookmarks Menu
--------------
* Add Bookmark dialog (KDE: Alt+b)
* Organize Bookmarks dialog
* Links to any listed Bookmarks
* KDE: Add Relative Bookmark (Alt+r)
* KDE: Add Settings Bookmark (Ctrl+Alt+s)
Help Menu
---------
* Controls display
* OpenGL Info display
KDE: Settings
-------------
* Toggle Menu Bar (Ctrl+m)
---< end of file >---

423
ChangeLog
View File

@ -246,7 +246,7 @@ Code:
* Windows version: InstallShield setup
* Windows version: added controls help dialog
* UNIX version: implemented find object and about dialogs (Gnome/Gtk only)
Code:
* Moved star browser and solar system browser code into separate modules
* Fixed DPRINTF macro so it's not broken in g++
@ -276,7 +276,7 @@ Code:
textures added to OpenGL Info dialog.
* New objects: Comet Borrelly, the giant Kuiper Belt object 2001 KX76,
and the Hubble Space Telescope
Code:
* Rewrote texture and model managers
* Cleaned up simulation.cpp to use frames of reference and eliminated a lot
@ -393,7 +393,7 @@ Code:
a single modeless dialog.
* Fixed period and rotation of Phoebe
1.2.1
* Unix: configure.in changes to better find OpenGL libraries by Bruckner.
* Added accurate orbital calculations for Galilean satellites.
@ -404,7 +404,7 @@ Code:
* Windows: Fixed crash that occurred when recalling a location with
no selection
1.2.2
* Improved find algorithm for starnames, and combined names from hdnames.dat
into starnames.dat. Also added several additional names and variant spellings
@ -557,7 +557,7 @@ Code:
* New colors for celestial grid and constellation figures
* Tuning of Gnome GUI: underlined key accelerators, enabled operation of all
dialogs and menus with ALT <key>, arrow keys, and Tab
* Linux: GUI now synced with current state of pixel/vertex shaders
* Linux: GUI now synced with current state of pixel/vertex shaders
* New keyboard bindings:
Ctrl+Y : automag toggle
Ctrl+T : toggle display of comet tails
@ -572,16 +572,16 @@ Code:
when building with VS.NET
* Cleaned up OpenGL extension initialization
* Significantly improved the reliability of object selection via mouse
click, notably for small fields of view in the arcsec range.
click, notably for small fields of view in the arcsec range.
* Fixed the 'move' script command
* New script commands: setfaintestautomag45deg {magnitude float},
lookback {}
* [,] keys now adjust the limiting magnitude at 45 degrees
field of view, if automag is ON. Values displayed via flash messages
* New script commands: setfaintestautomag45deg {magnitude float},
lookback {}
* [,] keys now adjust the limiting magnitude at 45 degrees
field of view, if automag is ON. Values displayed via flash messages
* Associated the 'looking back' operation with the '*' key shortcut
* Fixed bug in orbits of Galilean moons
* Corrected equatorial planes and rotation offsets for the major planets
* Linux: Added KDE interface, all features of the GTK interface are
* Linux: Added KDE interface, all features of the GTK interface are
available (except for the Tour Guide), new features include:
- Bookmarks / URLs;
- History navigation;* Improved drag and drop of cel:// URLs on Windows
@ -632,8 +632,8 @@ Code:
- Markers may also be set on objects using the right-click context menu
- Added mark/unmark commands for scripts
- Bound Ctrl+K to toggle display of markers
- Added flash messages indicating on|off status of markers
- Implemented markers into KDE interface
- Added flash messages indicating on|off status of markers
- Implemented markers into KDE interface
* Added triangle-accurate picking of mesh objects
* Multiview
- Ctrl+R : split view vertically
@ -664,7 +664,7 @@ Code:
* Updated configuration files for new versions of autoconf
1.3.1
* Improved inclusion of light travel delay, also in KDE time setting dialog
* Improved inclusion of light travel delay, also in KDE time setting dialog
* Fixed lookback command for subsequent changes of target speed
* Allow wildcard character * inplace of extension for texture filenames
* Fix bump mapping (again)
@ -706,7 +706,7 @@ Code:
* Made cancel script command stop motion, tracking, and any object-relative
coordinate system.
* Adjusted estimates for radii and rotation periods of extrasolar planets;
rotation rates account (somewhat) for the effects of tidal despinning.
rotation rates account (somewhat) for the effects of tidal despinning.
* Fixed a bug that was causing precision loss in orientation values; this fixes
some of the jerkiness apparent at very low fields of view.
* Corrected radii of Uranus's rings
@ -739,7 +739,7 @@ Code:
* Eliminated obscuring of location labels that occurred low view aspect ratios
* Added models of comet Halley and the small moons Pandora and Larissa
* Added limit of knowledge masks for the Galilean moons
* Changed spectral class of carbon stars to C, which supercedes and combines
* Changed spectral class of carbon stars to C, which supersedes and combines
R and N
* Lua scripting additions
* View management commands
@ -760,7 +760,7 @@ Code:
* Implemented an algorithm for importance weights to avoid overlapping or
too crowded location labels for Mars, Venus and the Moon
* Added new textures for Titan based on recent imaging from the Cassini
mission
mission
* Improved depth sorting so that hidden surface removal works properly for
overlapping objects
* Added theoretical estimates of oblateness and rotation rate for extrasolar
@ -805,16 +805,16 @@ Code:
* Implemented new GLSL render path; NVIDIA combiners and GeForceFX paths
deprecated.
* Display UTF-8 superscript digits in some star names
* Updated the Titan texture. It accomodates all published high resolution
imaging from the Cassini mission until and including the flyby of 03/31/05.
* Updated the Titan texture. It accomodates all published high resolution
imaging from the Cassini mission until and including the flyby of 03/31/05.
* Updated the Iapetus texture. It accomodates all published high resolution
imaging from the Cassini mission, including also a unique hires photo taken
in "Saturn shine".
imaging from the Cassini mission, including also a unique hires photo taken
in "Saturn shine".
* Added catalogs of 163 visual and 39 spectroscopic binary orbits,
respectively, (S<>erhjelm 1999, Pourbaix 2000) with known primary/secondary
mass ratios.
* Added an extended and precise data base of 942 galaxies
(Steinicke's rev. NGC/IC, 2005) with a magnitude cutoff Bmag < 12.
* Added an extended and precise data base of 942 galaxies
(Steinicke's rev. NGC/IC, 2005) with a magnitude cutoff Bmag < 12.
* Included the commented PERL scripts used to extract and adapt the binary
orbit and galaxy data from published professional catalogs.
* Added --extrasdir command line option for specifying additional directories
@ -843,13 +843,13 @@ Code:
- fixed automake bug where GConf schema would always install
- removed linking against glut for no reason
* Implemented complete precision catalog (Steinicke's revised NGC/IC, 2005) of
10610 galaxies with
- distance information from four catalogs ( 6 methods ),
- <= 4 alternate names,
- info-URLs,
- absolute magnitudes and
10610 galaxies with
- distance information from four catalogs ( 6 methods ),
- <= 4 alternate names,
- info-URLs,
- absolute magnitudes and
- correct sizes & orientations in space, as calculated from catalog
parameters.
parameters.
* Included well commented Perl script (deepsky.pl) as documentation. The used distance determination method is indicated in catalog for each galaxy.
* Updated binary star data base (visualbins.stc, spectbins.dsc) and respective
PERL catalog extraction scripts (visualbins.pl, spectbins.pl), such as to eliminate double occurences wrto nearstars.stc (, which remained unaffected).
@ -890,7 +890,7 @@ Code:
template from S0 disk template via rescaling by (1.0f, 3.8f, 1.0f);
- fixed wrong x,y alignment of elliptical rescaling.
* Added code to ease compilation with newer Xcode versions (Macintosh).
* Updated src/celengine/Makefile.am for Linux building.
* Updated src/celengine/Makefile.am for Linux building.
* Introduced a new cel function => renderflags {set "nebulae"}.
* Reduced the default value of 'faintestAutoMag45deg' from 8.5 to 7.0.
* Fixed the visibility of the Milky Way during day-time and the abrupt
@ -904,10 +904,10 @@ Code:
* Deleted various source code files that became superfluous.
* Improved comet display. Introduced a neat scheme implementing comet tail
fading (between 4 and 6 AU for Sol). Systems with several suns and
luminosities different from the solar one are accounted for.
* Implemented a new, simple scheme avoiding overcrowded galaxy labels.
luminosities different from the solar one are accounted for.
* Implemented a new, simple scheme avoiding overcrowded galaxy labels.
Their "importance" is sorted according to apparent magnitude! Thus the
labels of the brightest galaxies pop up first upon zooming in...
labels of the brightest galaxies pop up first upon zooming in...
* Fixes/workarounds for OpenGL 2.0 render paths on both nVidia and ATI cards.
@ -932,7 +932,7 @@ Code:
located inside the galaxy (Milky Way...).
* Eliminated various incorrect Hubble type acronyms in deepsky.dsc that had
penetrated the PERL filter.
* Add the corrected PERL script deepsky.pl.
* Add the corrected PERL script deepsky.pl.
* Mac: Universal binary - runs natively on Intel and PPC
* Mac: OpenGL 2.0 render path should now work on many configurations
(requires OS X 10.4.3 or later)
@ -948,7 +948,7 @@ Code:
* Mac: Fixed crash when LANG or LC environment variables are set
* Mac: Added bona fide English and French help menu
* Mac: Cleaned up README in general
* Added Phoebe textures in medres and lores directories from recent published
* Added Phoebe textures in medres and lores directories from recent published
Ciclops cylindrical maps
* Updated Titan and Iapetus textures in lores directory
* Windows: save and restore the last used GL render path
@ -959,10 +959,10 @@ Code:
* KDE: Reverted mouse wheel action to be compatible with the other interfaces.
* KDE: New configurable splash screen
(http://celestia.teyssier.org/splash_spec.html)
* Updated/added Tethys textures in lores, medres and hires directories.
* Updated/added Tethys textures in lores, medres and hires directories.
* Added locations on Phoebe in satmoons2.ssc, as extracted from USGS/IAU
official data.
* Added Mesh for Phoebe texture.
* Added Mesh for Phoebe texture.
* Updated Iapetus texture.
* Moved locations files from extras into data directory for inclusion in
standard package.
@ -1002,7 +1002,7 @@ Code:
- HIP 14810 c, HD 185269 b, Gliese 849 b
- Mu Ara e
- Gliese 581 c & d, HD 175541 b, HD 210702 b, HD192699 b
- HD 47536 c, XO-2 b, HD 147506 (HAT-P-2), HD 17092 b
- HD 47536 c, XO-2 b, HD 147506 (HAT-P-2), HD 17092 b
* Revised orbits of many extrasolar planets to reflect new data
* Added stars for new extrasolar planets: GSC 92941-01657
* Mac: Show menu bar when moving mouse to top of screen in full screen
@ -1067,7 +1067,7 @@ Code:
* Added cmodsphere, a utility for producing cmod meshes from height samples
regularly spaced in longitude and latitude.
* COPYING, controls.txt, start script, and guide can all be localized
* cel and celx scripting:
* cel and celx scripting:
- added openclusters and cloudshadows render flags
- added location, nebulae, openclusers, and i18nconsteallations label flags
* Established Barycentric Dynamical Time (TDB) as the time scale used
@ -1090,12 +1090,12 @@ Code:
spectra
* Made star orbit paths visible
* galaxies:
-changed galaxy template format to standard (grayscale) PNG
-changed galaxy template format to standard (grayscale) PNG
-allow a custom template for each galaxy in deepsky.dsc
-new approach to thickness of galaxy (arms): assumed proportional to read-in
brightness values
brightness values
-emulate dust lanes around galactic plane (y=0)
-considerable improvement of Milky Way appearance as seen from Earth
-considerable improvement of Milky Way appearance as seen from Earth
-implement galaxy labels of transparency increasing with distance, thus
providing a neat 3d effect
* galaxy templates:
@ -1114,10 +1114,10 @@ Code:
- Guarded against crash when the JPL ephemeris file can't be found
* Generalized rotations
- Clear syntax for ssc files
- UniformRotation
- UniformRotation
- PrecessingOrientation
- SampledOrientation - interpolated sequence of quaternion key frames
* Scripting improvements
* Scripting improvements
- New celx scripting commands:
- utctotdb and tdbtoutc
- gl commands
@ -1125,7 +1125,7 @@ Code:
- iterators: celestia:stars and celestia:dsos
- get/setaltazimuthmode
- Lua hooks for script extensions to Celestia
- Script interfaces for orbits and rotation models (ScriptedOrbit and
- Script interfaces for orbits and rotation models (ScriptedOrbit and
ScriptedRotation)
- Support Lua 5.1 (5.0 compatibility retained)
- Made celestia:loadtexture use relative file names
@ -1148,7 +1148,7 @@ Code:
* Corrected kilometers per light year constant
* Added various improvements to the MilkyWay & other galaxy template display.
* Added E0.png galaxy template that allows for better En, n=1..7 elliptical
shapes.
shapes.
* Fixed sizes of irregular galaxies (factor of 2!).
* Prevented galaxy code from crashing if a template is missing.
* Improved selection of galaxies by taking into account their 3d shape
@ -1163,11 +1163,11 @@ Code:
* Windows: Fixed crash that occurred when star browser was closed
* Fixed bug that made moons disappear as a planet approached stellar transit
* Added a major update of the galaxy database such that close to 100% of the
galaxies now involve distance measurements
* Included the complete local group of galaxies
galaxies now involve distance measurements
* Included the complete local group of galaxies
* Added varying label transparency also for stars
* Added the PERL scripts used for extraction of galaxy and binary orbit data
from scientific sources. They both are useful tools and a concise
from scientific sources. They both are useful tools and a concise
documentation of Celestia's data
* updated binary orbit data (visualbins.stc and spectbins.stc) along with
respective PERL scripts (visualbins.pl and spectbins.pl)
@ -1220,7 +1220,7 @@ Code:
HD 167042 b, HD 74156 d, HD 285968 b, V391 Peg b,
HD 132406 b, HD 43691 b, NGC 2423 3 b, Gliese 317 b & c,
TrES-3, HD 155358 b&c, HD 5319 b, HD 75898 b, OGLE-TR-182 b, WASP-3 b,
55 Cnc f, Lupus-TR-3 b, OGLE-TR-211 b, HD 156846 b, HD 4113 b, Kap CrB b,
55 Cnc f, Lupus-TR-3 b, OGLE-TR-211 b, HD 156846 b, HD 4113 b, Kap CrB b,
GD 66 b, XO-3 b, WASP-4 b TW Hya b
removed HD 33636 b
* Set up transit of Gliese 436
@ -1338,3 +1338,326 @@ translations to be used
* Core: Default to the GLSL/OpenGL 2.0 render path if possible
* GTK: Save star rendering limit distance
* GTK: Add texture resolution setting to preferences and save value
1.5.1
* Added fonts for Russian, Chinese, and Japanese
* Updated translations
* Fixed date formatting for non-UTF8 locales
* Fixed crash for dates prior to JD -1.5 when local format is used
* Fixed star rendering for Macs with ATI graphics hardware (worked around
a driver bug in point sprite support.)
* Fixed star glare clipping bug
* Fixed bug that caused some stars to be drawn untextured
* Fixed faster/slower options in the Windows time menu to adjust time by
10x instead of 2x
* Fixed translation of time acronyms DST and STD
* Use localized versions of start script, guide, demo, license, and controls
file from locale directory
* Fixed Windows 98/ME input problem; most keyboard commands weren't working on
the OSes.
* Made Lua os functions available from celx scripts when access policy is "ask"
1.6.0
Bug fixes
* Fix to admit absolute directory notation in VT ImageDirectory
* Implemented encoding of special characters when saving cel URLs
* Fixed flickering of models with missing texture coordinates
* Fixed appearance non-ellipsoid star geometry in pre-OGL2 render paths
* Improved appearance of point stars when multisample antialiasing is enabled
* Fix for crash when viewing a star barycenter in an empty system
* Fixed off by one error assertion testing for number of lights used by shaders
* Windows: fixed UTF8 bugs in tour guide, star browser, and context menu
* Fixed crash bug that was triggerred by xyz and xyzv files with duplicate
times
* Fixed bug that caused dim stars in orbits distant from the primary to not
be drawn.
* Fixed strange appearance of cloud textures at times in the distant
past/future.
* Fixed memory leak in multiview handling
* Fixed ambient light in the ARB shader path
* Fixed bugs in comet rendering (corrects overbright coma)
* Fixed code to compile without errors with gcc 4.3; fixed some warnings
* Fixed g++ compier errors in cmodfix tool
* Fixed search path for Lua scripts
* Fixed numerous bugs that occurred when an object's orbit center was different
* Fixed a bug in the celx function celestia:getscreendimension
* Fixed bug with returning Hubble type for galaxies
* Eliminated error-prone min/max macros; use STL functions instead
* Fixed discrepancy between apparent magnitudes shown in the 3D view and
the star browser.
* Change "Day Length" string to the correct and more general term "Rotation
Period"
* Show 'planetary companions' message for stellar barycenters (instead of
just stars.)
* Improved location drawing so that location labels can be occluded by
foreground objects.
Data file updates
* Implemented data base globulars.dsc with all known 150 globulars around the Milky Way
* Renamed galaxy database deepsky.dsc into galaxies.dsc
* Implemented SIMBAD compatible cross-listing for globular clusters
* Updated Iapetus texture based on a new Ciclops map from Oct 2008
* Significant update of the database on binary orbits, including SIMBAD
compatibility of barycenter nomenclature and alternative names
* Updated the near stars catalog
* Updated texture for Mercury; includes imagery from MESSENGER
* Updated textures for some Saturnian moons: Tethys, Dione, Mimas,
Enceladus, and Rhea
* Added CHARM2 catalog of measured stellar radii
* Added model of asteroid Itokawa
* Regenerated star catalog using the new reduction of the HIPPARCOS data
* Cassini updates:
- Updated Cassini trajectory to include extended mission
- Switched to using xyz+velocity files for a more accurate trajectory
- Separated Cassini mission into cruise and orbital phases
- Improved appearance of Huygens separation from Cassini
* Added IAU rotational elements for most major solar system bodies
* Made visible the orbit and label for Pluto-Charon barycenter
* Correctly centered Galileo spacecraft
* Rebuilt cross-indices from SIMBAD data
* Added alternative names for many solar system bodies (e.g. preliminary
designations for asteroids in addition to proper names.)
* Updated extrasolar planet catalog with discoveries made up to Apr 2009
* Changed class of Pluto, Ceres, Eris, ... to dwarf planet
* Changed class of small outer planet moons to minormoon
* Included new and updated solar system body features from the IAU
* Added provisional rotation period for Eris
Tools
* Added Perl script globulars.pl used to extract the globular data from scientific publications and as documentation
* Added spice2xyzv tool for extracting xyzv files from a pool of SPICE kernels
* Added Perl script to build cross-indices
* Added Perl script to generate CHARM2 catalog
* Added Perl script to build star database
Platform-specific changes
* Mac OS X: Fixed rerun script menu item
* Mac OS X: fixed issue with some checkbox settings not getting saved properly
* Mac OS X: Fixed potential crash in eclipse finder if the user specified
an object that wasn't a planet or moon
* Mac OS X: Fixed keyboard shortcuts not working when GL window not frontmost
* Mac OS X: eliminated beep when clicking splash screen on multi-core machines
* Mac OS X: fixed compiler warnings, removed -fpermissive flag
* Mac OS X: Refactored Mac disk image build into separate target, made default
builds more efficient.
* Mac OS X: Fixed bug where time zone was ignored when setting time zone
* Mac OS X: look for user config file in ~/.celestia.cfg
* Mac OS X: Fixed blank names for location bookmarks
* Mac OS X & Windows: Added texture resolution setting to GUI
* BSD: Fixed tm_zone handling
* Linux: Install scripts at during "make install"
* Linux: Added workaround for broken include_x11 define from acinclude.m4
* Linux: Updated admin directory to KDE 3.5.10, regenerated acinclude.m4
* Linux: Added the missing menu entries related to globulars for KDE version
* Linux: Added globular and grid selection options in GTK interface
Internationalization
* Added Polish translation
* Added Lithuanian translation
* Added Romanian translation of constellation names
* Mac OS X: Japanese localation of eclipse finder added
* Added Chinese localization
* Localize surface names in alternate surfaces menu
* Prevented English name 'Milky Way' from being displayed when a translated
version is present.
* Extended localization to DSO and star names
Features
* Added light from secondary sources (i.e. "planetshine")
* Implemented depth sorting for markers so that they are correctly occluded
by foreground objects.
* Implemented code package rendering globular clusters
* Implemented new cel URL version with observer position and orientation stored
in frame coordinates (for forward compatibility)
* Added a long term (+-5000 centuries) precession model for Earth based on
work by Jan Vondrak
* Improved celestial coordinate grids:
- Added new grid types: ecliptic, horizontal, and galactic
- Made grid resolution adapt to the field of view
- Positioned coordinate labels at edges of field of view
* Added animated selection indicator
- Switches to direction pointer when the selection is off screen
- Changes color when the selected object is occluded
* Implemented more flexible system for reference marks and added new
reference marks:
- Planetographic grid
- Terminator
- VisibleRegion
* Enabled display of the phase angle for the currently selected object
* Improved eclipse rendering: correctly calculate depth and umbra radius
for eclipses.
* Improved star handling code so that stars can be placed more than 16k light
years from Earth.
* Switched to using sd prefix for hot subdwarfs per arXiv:0805.2567v1
* Added symbols for locations
Add-on features:
* Added SemiAxes property for ssc objects, which allows triaxial ellipsoid
geometry for solar system objects like Haumea and Mimas.
* Added new boolean properties for ssc/stc/dsc objects: Visible and Clickable
* Added new classes for solar system objects: dwarfplanet, minormoon,
surfacefeature, component, and diffuse
* Implemented Modify and Replace dispositions for star catalogs
* Added SPICE rotation model, allowing the orientation of an ssc object to
be controlled by a SPICE frame.
* SPICE orbit improvements:
- Allow multiple kernels to be specified for a SPICE orbit
- Automatically calculate start and end times when possible
* Added Timeline, which allows multiple frame, trajectory, and rotation
models for a single ssc object.
* Implemented CustomRotation, the rotation model analogue of CustomOrbit
* Added support for InfoURL for stars (already exists for deep sky objects and
solar system objects)
* Improved SampledTrajectory to handle files with positions and velocities
* Added LabelColor property for locations
* Implemented new Topocentric frame (a simplified two vector frame for placing
objects on the surface of a planet.)
* Added support for premultiplied alpha blend mode in cmod files
* Extended FixedPosition to support spherical coordinates as well as
cartesian coordinates.
* Added FixedAttitude rotation model, with more intuitive paramters for
orientation
* Added new SurfaceObject type for ssc files--like an ordinary body except
with different default frames that make it easy to position an object on
the surface of a planet.
* Added CloudShadowDepth property for atmospheres
* Improved control over mesh scaling with NormalizeMesh and MeshScale
properties for ssc objects.
* Added new locations types: eruptive center, insula (islands), and
tholus (domical hills and mountains)
* Added support for comment headers in xyz and xyzv files
Code optimization and reorganization
* Reimplemented observer frames in terms of Celestia 1.5.0 frames
* Improved performance of complex frames by caching last calculated orientation
* Added velocity method for all classes derived from Orbit
* Added angularVelocity method for rotation models
* Optimized solar system rendering by maintaining a bounding sphere hierarchy
* Switched to using 2 64-bit integers for storing high precision coordinates;
simplifies code and improves performance of operations using high precision
coordinates (dramatically on 64-bit systems)
* Optimized creation of render lists
Scripting
* Celx scripting functions:
- object:addreferencemark, object:removereferencemark
- object:visible, object:setvisible, object:catalognumber
- object:setorbitcolor, object:orbitcoloroverridden, object:setorbitcoloroverridden
- object:orbitvisibility, object:setorbitvisibility
- object:locations (returns an iterator over all the locations associated with an object)
- new phase object type (for timeline phases)
- permit any X11 color name
- observer:makeactiveview
- showconstellations, hideconstellations, setconstellationcolor
- getlabelcolor, getlinecolor
- getsystemtime, ispaused
- gettextureresolution, settextureresolution
- windowbordersvisible, setwindowbordersvisible
* Split celx scripting support into several modules
* Cel scripting
- splitview, deleteview, singleview, setactiveview
- setgalaxylightgain
- setradius
- setlinecolor
- setlabelcolor
- settextureresolution
* Made the package library (except loadlib) available for celx scripting
regardless of the ScriptSystemAccessPolicy setting
* Added an "AddonPath" value that is available to a ScriptedOrbit or
ScriptedRotation when it is created.
* Pass control modifier to Lua keyboard handlingfunctions
Miscellaneous:
* Bound P and M keys to toggle dwarf planet and minor moon labels
* Bound U and E keys to toggle globular clusters and globular cluster labels
* Group reference mark menu items in a separate submenu
* Changed star name lookup priority in stc parser: check proper names before
cross indices.
* Eliminated R and Shift+R key bindings for changing texture resolution
* Added new leap second 31-Dec-2008 23:59:60
Cleanup:
* Removed obsolete 'LabelledStars' section from standard celestia.cfg
* Updated README: removed obsolete sections, reorganized credits, added
information application to 1.6.0
* Purged out of date controls documentation
* Reorganized spacecraft add-ons in standard package
1.6.1
Bug fixes
* Removed extraneous colons from nearstars.stc
* Fixed truncation of long label strings in East Asian locales
* Increased size of Goto Object dialog to prevent translated strings from being
truncated
* Fixed i18n bug with scripting message
* Removed duplicate install of stars.dat.
* Fix code taking address of a temporary result.
* Fixed compile warnings in 1.6.1 caused by redefinition of UINT64_MAX
* Corrected encoding of cel URLs with non-ASCII characters
* Added check to prevent a crash when string decoding fails
* Added Nils Larsson's patch for libpng-1.4
Data file updates:
* Updated extrasolar planets data files.
* Updated solar system locations files.
* Updated numberedmoons.ssc file.
* Updated Galileo add-on.
* Updated starnames.dat file.
Platform-specific changes:
* Linux: Add missing files from extras-standard to Makefiles.
* Linux: fix for Unicode URLs in KDE bookmarks menu.
* Windows: Fixed i18n bug [2753461]
* Windows: Save FoV value in bookmarks
* Windows: Added ecliptic line setting to View Options dialog box
* Windows: Fixed i18n bug in Windows Script menu
* Windows: Added link to new HTML help files to Help menu
* Windows: Fixed invisible context menu in fullscreen mode (ATI cards)
* Windows: Fixed menu bar overlapping top of 3D view (ATI cards)
* Windows: Save and restore locations to/from registry
* Windows: Fixed startup crash when using fullwidth utf-8 characters
* Windows: Increased Inno Setup compression settings
* Windows: Allow installer to be run without administrator privileges.
Internationalization:
* Additional string translations
- Globular clusters
- "Nebula" and "Open cluster"
- World capitals
* Removed r and R commands from localized help files
* Updated translations
* Additional languages
- Added Chinese Traditional translation
- Added Slovak translation
- Added Galician translation by Xabier Cancela
- Added Belarusian translation from <375gnu@gmail.com>
- Added Norwegian translation from FreewareTips
- Added Turkish translation
* Fonts
- Lighter weight Japanese fonts
- Updated simplified Chinese fonts
- Added Belarusian fonts
Features
* Changed the name of 'Celestial' grid to 'Equatorial'
* Added Runar and Christian's HTML help files
* Added Solstice Mission extension for Cassini in 1.6.1 branch.
Scripting
* Celx scripting functions:
- Added seturl / geturl commands
- Added synchronizetime / istimesynchronized commands
- Added settextcolor / gettextcolor commands
- Added observer:orbit method
- Added celestia:runscript method
- Made orbitPeriod field available for stars via object:getinfo
* Cel scripting:
- Added boolean occludable parameter to mark command
- Added settextcolor command
* Added mousemove Lua hook
Code optimization and reorganization
* Fixes for gcc-4.5, and include -ldl for systems that need it.
* More granular setting of CFLAGS.

88
INSTALL
View File

@ -1,88 +0,0 @@
Celestia Install instructions for UNIX
--------------------------------------
You need to have the following components installed before Celestia
will build: OpenGL (tested with Mesa 3.4), glu, libjpeg, and libpng.
Should you have a package based installation (most Linux distributions these
days are), you will also need to install the devel packages for your OpenGL,
glu and glibc packages.
OK, assuming you've collected all the necessary libraries, here's
what you need to do to build and run Celestia:
./configure --with-INTERFACE [*]
make
make install
[*] INTERFACE must be replaced with one of "kde", "gtk", "gnome", or "glut".
Four interfaces are available for Celestia:
- glut: minimal interface, barebone Celestia core with no toolbar or menu...
- GTK: A full interface with minimal dependencies, adds a menu, a configuration
dialog some other utilities.
- Gnome: The full GTK interface plus a few Gnome integration goodies, such as
preference saving in GConf. This looks and works very much like the
Windows interface.
- KDE3: brings contextual menus, toolbars, KDE integration,
internationalization, bookmarks...
To build the KDE interface (requires various kde-devel packages):
configure --with-kde
To build the Gnome interface (requires gnome-devel and all GTK requirements):
configure --with-gnome
To build the GTK interface (requires gtkglext and gtkglext-devel):
configure --with-gtk
To build the GLUT interface (requires glut and glut-devel):
configure --with-glut
At the end of the configure output shows which interface has been selected, you
should check it is correct before running make.
Starting with version 1.3.1, Lua is the new scripting engine for Celestia,
the old homegrown scripting engine is still available. By default Lua support
will NOT be compiled in, to enable it you need to download the Lua library
from:
http://www.lua.org/
Version 5.0 or newer is required.
Once Lua has been installed on your system, you need to run:
configure --with-lua=/path/to/lua
To check wether your Celestia has been compiled with Lua support, go to File
-> Open. If you have '*.cel *.celx' in the filter box, then Lua is available
otherwise the filter will contain only '*.cel'.
The GtkGLExt widget that is required in order to build Celestia with Gtk+ may
be downloaded from http://gtkglext.sf.net. Note that depending in your
distribution you may also need other packages containing various files needed
by the build process. For instance, to build under SUSE Linux, you will also
need to have the gtk-devel package installed.
Celestia will be installed into /usr/local by default, with data files landing
in /usr/local/share/celestia , but you may specify a new location with the
--prefix option to configure:
configure --prefix=/home/my_directory
All the other usual configure parameters apply; you may see which options
are available using 'configure --help'
If while running configure you see an error reporting that gl.h,
is missing, you either don't have OpenGL installed on your system,
or you don't have the corresponding devel package installed. If for
instance you have Mesa installed, you will also have to install the
mesa-devel package (or something named similarly). Missing glu.h or glut.h
means that you don't have GLU, GLUT, or their devel pacakges installed.
Chris Laurel & Deon Ramsey
claurel@.shatters.net dramsey@users.sourceforge.net
Updated 2003-06-10 by
Christophe Teyssier
chris@teyssier.org
Updated 2004-04-28 by pat@suwalski.net

389
INSTALL.md 100644
View File

@ -0,0 +1,389 @@
# Basic installation instructions
Stable version installation on Unix-like systems (e.g. GNU/Linux or *BSD):
* Check your OS repository for already built packages.
* Check https://celestia.space/download.html.
Stable version installation on Windows and OSX:
* Check https://celestia.space/download.html.
Development snapshots installation on Unix-like systems:
### On Debian 10 (buster) and derived systems:
```
curl -fsSL -o celestia.gpg https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/Release.key
gpg --keyid-format long celestia.gpg
gpg: WARNING: no command supplied. Trying to guess what you mean ...
pub rsa2048/BDF3F6ACD4D81407 2014-06-09 [SC] [expires: 2023-02-14]
3FE0C0AC1FD6F1034B818A14BDF3F6ACD4D81407
uid home:munix9 OBS Project <home:munix9@build.opensuse.org>
sudo mv celestia.gpg /usr/share/keyrings/celestia.asc
echo "deb [signed-by=/usr/share/keyrings/celestia.asc] https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list
sudo apt update && sudo apt install celestia
```
### On Ubuntu 18.04/20.04 and derived systems:
```
curl https://download.opensuse.org/repositories/home:/munix9:/unstable/Ubuntu_${VERSION}/Release.key | sudo apt-key add -
echo "deb https://download.opensuse.org/repositories/home:/munix9:/unstable/Ubuntu_${VERSION}/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list
sudo apt update && sudo apt install celestia
```
Where VERSION is 18.04 or 20.04.
### On openSUSE Leap/Tumbleweed:
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_${VERSION}/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
Where VERSION is 'Leap_15.2', 'Leap_15.3' or 'Tumbleweed'.
See also the download package sites on OBS for [celestia](https://software.opensuse.org/download.html?project=home:munix9:unstable&package=celestia) and [celestia-data](https://software.opensuse.org/download.html?project=home:munix9:unstable&package=celestia-data).
### On other GNU/Linux distributions:
Try experimental portable AppImage (see https://github.com/CelestiaProject/Celestia/issues/333):
```
wget https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-1.7.0-git-x86_64.AppImage
chmod 755 celestia-1.7.0-git-x86_64.AppImage
```
Optionally create a portable, main version-independent `$HOME` directory in the same folder as the AppImage file:
```
mkdir celestia-1.7.home
```
To build from sources please follow instructions below.
## Common building instructions
We recommend using a copy of our git repository to build your own installation
as it contains some dependencies required for building.
To create the copy install git from your OS distribution repository or from
https://git-scm.com/ and then execute the following commands:
```
git clone https://github.com/CelestiaProject/Celestia
cd Celestia
git submodule update --init
```
## Celestia Install instructions for UNIX
First you need a C++ compiler able to compile C++11 code (GCC 4.8.1 or later,
Clang 3.3 or later), CMake, GNU Make or Ninja.
Then you need to have the following devel components installed before Celestia
will build: OpenGL, libepoxy, fmtlib, Eigen3, freetype, libjpeg, and libpng.
Optional packages are gettext, Qt5, Gtk2 or Gtk3, sdl2, ffmpeg, libavif, glu and glut.
For example on modern Debian-derived system you need to install the following
packages: libepoxy-dev, libjpeg-dev, libpng-dev, libgl1-mesa-dev,
libeigen3-dev, libfmt-dev, libfreetype6-dev. Then you may want to install
libglu1-mesa-dev, required by some tools; qtbase5-dev, qtbase5-dev-tools and
libqt5opengl5-dev if you want to build with Qt5 interface; libgtk2.0-dev and
libgtkglext1-dev to build with legacy Gtk2 interface; libgtk3.0-dev to build
Gtk3 interface, libsdl2-dev to build SDL interface or freeglut3-dev to build
with glut interface. libavcodec-dev, libavformat-dev, libavutil-dev and
libswscale-dev are required to build with video capture support. libavif-dev
is required to build to AVIF texture support.
OK, assuming you've collected all the necessary libraries, here's
what you need to do to build and run Celestia:
```
mkdir build
cd build
cmake .. -DENABLE_DATA=ON -DENABLE_INTERFACE=ON [*]
make
sudo make install
```
[*] `INTERFACE` must be replaced with one of "`QT`", "`GTK`", "`SDL`" or
"`GLUT`".
Four interfaces are available for Celestia on Unix-like systems:
- GLUT: minimal interface, barebone Celestia core with no toolbar or menu...
Disabled by default.
- SDL: minimal interface, barebone Celestia core with no toolbar or menu...
Disabled by default.
- GTK: A full interface with minimal dependencies, adds a menu, a configuration
dialog some other utilities. Legacy interface, may lack some new
features. Disabled by default.
- QT: A full interface with minimal dependencies, adds a menu, a configuration
dialog some other utilities, bookmarks... A preferred option. Enabled by
default, No need to pass -DENABLE_QT=ON.
Starting with version 1.3.1, Lua is the new scripting engine for Celestia,
the old homegrown scripting engine is still available. By default Lua support
is enabled, it can be disabled passing -DENABLE_CELX=OFF to cmake. Supported
Lua versions are 5.1 - 5.4. On Debian-based systems install liblua5.x-dev
package (replace `x` with 1, 2, 3 or 4) or libluajit-5.1-dev. The latter is
preferred.
To check wether your Celestia has been compiled with Lua support, go to File
-> Open. If you have '*.cel *.celx' in the filter box, then Lua is available
otherwise the filter will contain only '*.cel'.
The GtkGLExt widget that is required in order to build Celestia with Gtk+ may
be downloaded from http://gtkglext.sf.net. Note that depending in your
distribution you may also need other packages containing various files needed
by the build process. For instance, to build under SUSE Linux, you will also
need to have the gtk-devel package installed. GtkGLExt widget support is
optional and own EGL-based implementation of GL widget can be used instead.
It also required only if Gtk2 used, with Gtk3 own implementation used always.
Celestia will be installed into /usr/local by default, with data files landing
in /usr/local/share/celestia, but you may specify a new location with the
following option to cmake: -DCMAKE_INSTALL_PREFIX=/another/path.
## Celestia Install instructions for Windows (MSVC)
Currently to build on Windows you need Visual Studio 2015 or later, CMake
and vcpkg (*).
Install required packages:
```
vcpkg --triplet=TRIPLET install --recurse libpng libjpeg-turbo gettext luajit fmt libepoxy eigen3 freetype
```
Install optional packages:
```
vcpkg --triplet=TRIPLET install --recurse qt5-base ffmpeg cspice libavif
```
Replace TRIPLET with `x86-windows` to build 32-bit versions or `x64-windows`
for 64-bit versions.
Instead of `luajit` `lua` can be used.
Use `vcpkg list` to ensure that all packages have actually been installed.
If not, try installing them one at a time.
Configure and build 32-bit version:
```
md build32
cd build32
cmake -DCMAKE_GENERATOR_PLATFORM=Win32 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x86-windows ..
cmake --build . -- /maxcpucount:N /nologo
```
Configure and build 64-bit version:
```
md build64
cd build64
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ..
cmake --build . -- /maxcpucount:N /nologo
```
Instead of N in /maxcpucount pass the number of CPU cores you want to use during
the build.
This example assumes that `vcpkg` is installed into `c:/tools/vcpkg`. Update
the path to `vcpkg.cmake` according to your installation.
If you have Qt5 installed using official Qt installer, then pass parameter
CMAKE_PREFIX_PATH to cmake call used to configure Celestia, e.g.
```
cmake -DCMAKE_PREFIX_PATH=C:\Qt\5.10.1\msvc2015 ..
```
Not supported yet:
- automatic installation using cmake
- using Ninja instead of MSBuild
Notes:
* vcpkg installation instructions are located on
https://github.com/Microsoft/vcpkg
## Celestia Install instructions for Windows (MINGW64), qt-only
NOTE: this part is not up to date!
It is recommended to build the source with MSYS2
https://www.msys2.org/ .
Do the following in the MINGW64 shell (mingw64.exe).
Install required packages:
```
pacman -S mingw-w64-x86_64-toolchain
pacman -S base-devel
pacman -S git
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-qt5
pacman -S mingw-w64-x86_64-freeglut mingw-w64-x86_64-libepoxy mingw-w64-x86_64-lua
pacman -S mingw-w64-x86_64-mesa
```
Install optional packages:
```
pacman -S mingw-w64-x86_64-fmt mingw-w64-x86_64-eigen3 mingw-w64-x86_64-luajit
pacman -S mingw-w64-x86_64-sdl2
```
Clone the source and go to the source directory.
Configure and build:
```
mkdir build
cd build
cmake .. -G"MSYS Makefiles" -DENABLE_WIN=OFF
mingw32-make.exe -jN
```
Instead of N, pass a number of CPU cores you want to use during a build.
To build in debug configuration, you have to use lld linker instead of the
default linker in gcc.
```
pacman -S mingw-w64-x86_64-lld mingw-w64-x86_64-lldb
```
Follow by:
```
cmake .. -G "MSYS Makefiles" -DENABLE_WIN=OFF -DCMAKE_CXX_FLAGS='-fuse-ld=lld' -DCMAKE_BUILD_TYPE=Debug
```
Then do `mingw32-make.exe`.
## Celestia Install instructions for macOS, qt-only
Currently Qt frontend is the only available option for macOS users building
Celestia from source.
Install the latest Xcode:
You should be able to get Xcode from the Mac App Store.
Install Homebrew
Follow the instructions on https://brew.sh/
Install required packages:
```
brew install pkg-config cmake fmt gettext libepoxy libpng lua qt5 jpeg eigen freetype
```
Install optional packages:
```
brew install cspice ffmpeg libavif
```
Follow common building instructions to fetch the source.
Configure and build:
```
mkdir build
cd build
cmake ..
make -jN
```
Instead of N, pass a number of CPU cores you want to use during a build.
Install:
```
make install
```
Celestia will be installed into /usr/local by default, with data files landing
in /usr/local/share/celestia, but you may want to specify a new location with
the following option to cmake: `-DCMAKE_INSTALL_PREFIX=/another/path`.
To build the application bundle, pass -DNATIVE_OSX_APP=ON to the cmake command,
the application bundle will be located in the "build" folder that you previously
created.
## Supported CMake parameters
List of supported parameters (passed as `-DPARAMETER=VALUE`):
Parameter | TYPE | Default | Description
----------------------| ------|---------|--------------------------------------
| CMAKE_INSTALL_PREFIX | path | \* | Prefix where to install Celestia
| CMAKE_PREFIX_PATH | path | | Additional path to look for libraries
| LEGACY_OPENGL_LIBS | bool | \*\*OFF | Use OpenGL libraries not GLvnd
| ENABLE_CELX | bool | ON | Enable Lua scripting support
| ENABLE_SPICE | bool | OFF | Enable NAIF kernels support
| ENABLE_NLS | bool | ON | Enable interface translation
| ENABLE_GLUT | bool | OFF | Build simple Glut frontend
| ENABLE_GTK | bool | \*\*OFF | Build legacy GTK2 frontend
| ENABLE_QT | bool | ON | Build Qt frontend
| ENABLE_SDL | bool | OFF | Build SQL frontend
| ENABLE_WIN | bool | \*\*\*ON | Build Windows native frontend
| ENABLE_FFMPEG | bool | \*\*ON | Support video capture using ffmpeg
| ENABLE_LIBAVIF | bool | OFF | Support AVIF texture using libavif
| ENABLE_TOOLS | bool | OFF | Build tools for Celestia data files
| ENABLE_DATA | bool | OFF | Use CelestiaContent submodule for data
| ENABLE_GLES | bool | OFF | Use OpenGL ES 2.0 in rendering code
| NATIVE_OSX_APP | bool | OFF | Support native OSX data paths
| USE_GTKGLEXT | bool | ON | Use libgtkglext1 in GTK2 frontend
| USE_GTK3 | bool | OFF | Use Gtk3 instead of Gtk2 in GTK2 frontend
Notes:
\* /usr/local on Unix-like systems, c:\Program Files or c:\Program Files (x86)
on Windows depending on OS type (32 or 64 bit) and build configuration.
This option effect is overriden by NATIVE_OSX_APP.
\*\* Ignored on Windows systems.
\*\*\* Ignored on Unix-like systems.
`USE_GTK3` requires `ENABLE_GTK`
Parameters of type "bool" accept ON or OFF value. Parameters of type "path"
accept any directory.
On Windows systems two additonal options are supported:
- `CMAKE_GENERATOR_PLATFORM` - can be set to `x64` on 64-bit Windows to build
64-bit Celestia. To build 32-bit Celestia it should be `Win32`.
- `CMAKE_TOOLCHAIN_FILE` - location of vcpkg.cmake if vcpkg is used.
Please note that not all options are compatible:
- `USE_GTKGLEXT` is not compatible with `ENABLE_GLES` and `USE_GTK3` and will
be disabled if any of this is set.
- `ENABLE_GLES` is not compatible with `ENABLE_GLUT` and with `ENABLE_QT` if
your `glut` or Qt5 installation don't support OpenGL ES.
Executable files
----------------
As said prevously Celestia provides several user interfaces, accordingly with
interfaces it's built with it has different executable files installed to
${CMAKE_INSTALL_PREFIX}/bin (e.g. with default CMAKE_INSTALL_PREFIX on
Unix-like systems they are installed into `/usr/local/bin`).
Here's the table which provides executable file names accordingly to interface:
Interface | Executable name
|-----------|----------------|
| Qt5 | celestia-qt
| GTK | celestia-gtk
| GLUT | celestia-glut
| SDL | celestia-sdl
| WIN | celestia-win

36
Info.plist.in 100644
View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>celestia-qt</string>
<key>CFBundleIconFile</key>
<string>celestia</string>
<key>CFBundleIdentifier</key>
<string>org.celestia.Celestia</string>
<key>CFBundleName</key>
<string>Celestia</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>@VERSION@</string>
<key>CFBundleShortVersionString</key>
<string>@VERSION@</string>
<key>LSMinimumSystemVersion</key>
<string>@CMAKE_OSX_DEPLOYMENT_TARGET@</string>
<key>CFBundleDisplayName</key>
<string>@DISPLAY_NAME@</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>Application Category</key>
<string>Education</string>
</dict>
</plist>

View File

@ -1,221 +0,0 @@
Celestia Mouse, Keyboard and Joystick Controls
----------------------------------------------
The controls listed here are sorted by Mouse, Keyboard, and Joystick. Within
each section and sub-section, the controls are sorted by description.
This list of controls was current as of Celestia version 1.4.0 (December,
2005). If you notice that a command is missing or incorrect, please write a
message in the Celestia Bugs forum, located at ...
(http://ennui.shatters.net/forum/viewforum.php?f=3). Thank you.
Enjoy your Celestial travels ...
MOUSE CONTROLS DESCRIPTION
-------------- --------------------------------------------
Left Drag ......................... Camera orientation--Up/Down/Left/Right (also
Up & Down arrow keys, and 2/8/4/6 on the
Number Pad with NumLock enabled)
Shift+Left Dbl Click on an object . Deselect and Center selected object
Left Click on no object ........... Deselect currently selected object
Right Click on an object .......... Display object context menu if it has one
Scroll Wheel ...................... Distance to selection adjust. (Home/End)
Ctrl+Left Drag .................... Distance to selection adjust. (Home/End)
Left+Right Drag up/down ........... Distance to selection adjust. (Home/End)
Shift+Left Drag ................... Field of View (FOV) adjust. (also . and ,)
Middle Button ..................... Field of View (FOV) toggle -- between 45
degrees and previous setting
Right Drag ........................ Orbit selected object (Shift+Arrow keys)
Left+Right Drag left/right ........ Roll the view left/right (Left/Right arrows)
Left Double Click on an object .... Select and Center object
Left Click on an object ........... Select object (Enter key -- by object name)
KEYBOARD CONTROLS DESCRIPTION
------------------ -------------------------------------------------------------
Navigation
----------
1 ... 9 .......... Select planet #1...#9 around the nearest star
0 (zero) ......... Select parent star of current planet or system
Esc .............. Cancel: scripts, Goto, Follow, Track, Lock, Sync Orbit
C ................ Center the selected object on the display
Shift+C .......... Center/orbit--center the selected object without changing the
position of the reference object.
" ................ Chase selected object (orientation is based on the object's
velocity)
Backspace ........ Select parent of current object or clear the selection:
- If selection is a location, select the parent object
- If selection is an object, select the parent object / star
- If selection is a star, clear the selection
F ................ Follow selected object
G ................ Goto selected object
Ctrl+G ........... Goto surface of selected object
: ................ Lock two objects together as one (select object #1, press
"f", select object #2, press ":")
Home ............. Move closer to object
End .............. Move further away from object
* ................ Reverse view 180 degrees (look back)
H ................ Select Sol, our sun (Home system)
Y ................ Sync Orbit selected object at a rate synced to its rotation
T ................ Track selected object (keep object centered on the display)
(Navigation via Arrow Keys)
---------------------------
Up Arrow ......... Pitch down (moves object Up)
Down Arrow ....... Pitch up (moves object Down)
Left Arrow ....... Roll left (rolls object Right)
Right Arrow ...... Roll right (rolls object Left)
Shift+Left Arrow . Orbit object: right (rotates object Left)
Shift+Right Arrow Orbit object: left (rotates object Right)
Shift+Up Arrow ... Orbit object: down (rotates object Up)
Shift+Down Arrow . Orbit object: up (rotates object Down)
(Navigation via number Pad Keys -- with NumLock active)
-------------------------------------------------------
8 ................ Pitch down (moves object Up, also Down arrow)
2 ................ Pitch up (moves object Down, also Up arrow)
7 ................ Roll left (rolls object Right, also Left arrow)
9 ................ Roll right (rolls object Left, also Right arrow)
5 ................ Stop rotation
4 ................ Yaw left
6 ................ Yaw right
Motion (Spaceflight)
--------------------
Z ................ Decrease velocity
A ................ Increase velocity
Q ................ Reverse direction
X ................ Set direction toward center of screen
F2 ............... Set velocity to 1 km/second
F3 ............... Set velocity to 1,000 km/second
F4 ............... Set velocity to speed of light (1 c/second)
F5 ............... Set velocity to 10x the speed of light (c)
F6 ............... Set velocity to 1 AU/second
F7 ............... Set velocity to 1 light year/second
F1 ............... Stop motion
S ................ Stop motion
Time Control
------------
Spacebar ......... Pause/Resume the flow of time and scripts (toggle)
Spacebar+Shift.... Pause the flow of time only
J ................ Reverse/Forward time (toggle)
\ ................ Set time: 1x forward (norm), cancels faster/slower x factors
L ................ Set time: 10x faster
K ................ Set time: 10x slower
! ................ Set time: to current date and time
? ................ Display light-travel delay between observer / selected object
- (hyphen)........ Subtract light-travel delay from current simulation time
What to Label with Text (on/off toggles)
----------------------------------------
w ................ Asteroids (lower case w)
W ................ Comets (Shift+W)
= ................ Constellations
E ................ Galaxies
& ................ Locations
M ................ Moons
P ................ Planets
N ................ Spacecraft
B ................ Stars
What Items to Render/Display (on/off Toggles)
------------------------------------------------
Ctrl+A ........... Atmospheres (use Ctrl+Shift+A)
I ................ Clouds
Ctrl+T ........... Comet tails
Ctrl+B ........... Constellation boundaries
/ ................ Constellation diagrams
; ................ Earth-based equatorial coordinate sphere
Ctrl+E ........... Eclipse shadows
U ................ Galaxies (gray "space-clouds")
Ctrl+K ........... Markers (placed on objects)
^ ................ Nebulae
Ctrl+L ........... Night side planet lights (light pollution)
O ................ Orbits (display ALL selected orbits--see Render/View Options)
Render/Display Options
----------------------
{ ................ Ambient Light (Decrease)
} ................ Ambient Light (Increase)
Ctrl+X ........... Antialias displayed lines (ie. orbits)
Ctrl+Y ........... Auto Magnitude (toggle) Auto adaptation of star visibility to
Field of View (FOV). Works best with the 2 million star
database add-on.
Alt+Enter......... Display mode toggle (Full-Screen / Windowed)
, ................ Field Of View [FOV] (Narrow, also Shift+Left Drag)
. ................ Field Of View [FOV] (Widen, also Shift+Left Drag)
( ................ Galaxy Brightness (Decrease) - independent star brightness
) ................ Galaxy Brightness (Increase) - independent star brightness
[ ................ Magnitude Limit (decrease):
- If AutoMag OFF: Decrease limiting magnitude (fewer stars)
- If AutoMag ON : Decrease limiting magnitude at 45 deg FOV
] ................ Magnitude Limit (increase):
- If AutoMag OFF: Increase limiting magnitude (more stars)
- If AutoMag ON : Increase limiting magnitude at 45 deg FOV
Ctrl+P ........... Mark selected object (Marker display must be active--Ctrl+K)
r ................ Object file resolution (decrease)--use texture images in next
lower resolution directory (/celestia/lores-medres-hires)
R (Shift+R)....... Object file resolution (increase)--use texture images in next
higher resolution directory (/celestia/lores-medres-hires)
Ctrl+V ........... OpenGl Render Paths--Cycle through the paths supported on
your graphics card
+ ................ Planet Texture Type toggle (Artistic / Limit of Knowledge)
% ................ Star color table toggle
Ctrl+S ........... Star Styles -- Cycle fuzzy discs, points, and scaled discs
V ................ Informational text verbosity control (None / Terse / Verbose)
Ctrl+W ........... Wireframe mode toggle
Multiview Options
-----------------
Tab .............. Cycle through all active views
Delete ........... Delete active view
Ctrl+D ........... Delete all views except active one (reset to Single view)
Ctrl+U ........... Split view horizontally
Ctrl+R ........... Split view vertically
Other Functions
---------------
Ctrl+F ........... Alt-azimuth mode (toggle). Used with Ctrl-G (Goto surface).
The Left & Right Arrow keys become Yaw Left / Yaw Right.
F10 .............. Capture Image to file (screenshot)
Shift+F10 ........ Capture Movie to file (video)
F11 .............. While in Movie Capture: Start / Pause capture
F12 .............. While in Movie Capture: Stop capture
Ctrl+C ........... Copy location URL to clipboard (Cel:// URL)
Ctrl+Insert ...... Copy location URL to clipboard (Cel:// URL)
~ ................ Display "file loading" information (toggle). Use to debug
texture loading problems. Up/Down arrow keys scroll list.
` ................ Display "frames per second" (FPS) being rendered (toggle)
Ctrl+O ........... Display "Select Object" dialog box
@ ................ Edit Mode toggle (to assist in the placements of objects)
F8 ............... Joystick Enable/Disable (toggle)
D ................ Run demo script (/celestia/demo.cel)
Enter ............ Activate object/location name entry mode. Esc to exit.
Type an object or location name and press Enter. Type
a partial name then use Tab / Shift+Tab to highlight an
item. Enter will then select the highlighted item.
JOYSTICK CONTROLS DESCRIPTION
------------------ --------------
X axis ........... Yaw Left/Right
Y axis ........... Pitch Up/Down
L trigger ........ Roll Left
R trigger ........ Roll Right
Button 1 ......... Move slower
Button 2 ......... Move faster

View File

@ -1,82 +0,0 @@
ACLOCAL_AMFLAGS = -I macros
pkgdatadir = @datadir@/@PACKAGE@
dosstuff = \
celestia.mak \
celestia.iss \
celestia.sln \
celestia.vcproj \
$(wildcard *.bat)
noinst_DATA = \
CelestiaKeyAssignments.txt \
coding-standards.html \
devguide.txt \
KbdMouseJoyControls.txt \
$(dosstuff)
pkgdata_DATA = \
celestia.cfg \
controls.txt \
COPYING \
$(wildcard *.cel)
EXTRA_DIST = \
$(pkgdata_DATA) \
$(noinst_DATA) \
admin \
splash.png \
po/extract_resource_strings.pl \
po/translate_resources.pl \
TRANSLATORS
splashdir = $(pkgdatadir)/splash
splash_DATA = splash.png
SUBDIRS = src data extras textures models shaders fonts po po2 locale scripts
# Non-automake directories
NONAUTO = macosx
# From KDE app template
# We already have a configure.in file, we don't build it from configure.in.in
#$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
# cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4
package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
( \
cd $(srcdir) && \
( \
for dir in $(NONAUTO) ; do \
find $$dir -depth -print | egrep -v '(~$$)|(/CVS)|(/\.#)|(/\.deps)' \
| cpio -pdum $(distdir) 2>/dev/null ; \
done \
) \
)
install-data-hook:
if [ "$(kde_datadir)" -a -d $(DESTDIR)/$(kde_datadir)/@PACKAGE@ -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
mv -f -b $(DESTDIR)/$(kde_datadir)/@PACKAGE@/* $(DESTDIR)/$(datadir)/@PACKAGE@/ ; \
rmdir $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ; \
fi
if [ "$(kde_datadir)" -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
ln -s $(datadir)/@PACKAGE@ $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ; \
fi

View File

@ -1,10 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
$(MAKE) -f admin/Makefile.common cvs
dist:
$(MAKE) -f admin/Makefile.common dist
.SILENT:

0
NEWS
View File

500
README
View File

@ -1,500 +0,0 @@
***************************************************************************
* Celestia *
* *
* A real-time space simulation that lets you experience our universe in *
* three dimensions. *
* *
* Copyright (c) 2001-2008, Celestia Development Team *
* *
*-------------------------------------------------------------------------*
* Celestia web site: http://www.shatters.net/celestia/ *
* *
* Celestia documentation: *
* http://www.shatters.net/celestia/documentation.html *
* Celestia WikiBook: http://en.wikibooks.org/wiki/Celestia *
* *
* Celestia forums: http://www.shatters.net/forum/ *
* *
***************************************************************************
CONTENTS
--------
License
Installing in Unix
Getting Started
Mouse, Keyboard & Joystick Controls
Solar System Browser
Star Browser
Selecting Objects by Name
Known Issues
User Modifiable Elements
Celestia Resources
Credits
LICENSE
-------
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details, which you should have received along with this program (filename:
COPYING). If not, request a copy from:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307
USA
INSTALLING IN UNIX
------------------
Type "./configure --help" for a list of options. The basic commands are shown
below. For more detailed information, refer to the INSTALL file.
This GTK version is built with...
./configure --with-gtk
make
make install
The KDE3 version is built with...
./configure --with-kde
make
make install
Note: some systems may require configure to be executed with
--with-qt-includes=/usr/include/qt3
The Gnome version is built with...
./configure --with-gnome
make
make install
If all else fails, try the gui-less version with...
./configure --with-glut
make
make install
GETTING STARTED
---------------
Celestia will start up in a window, and if everything is working correctly,
you'll see Earth in front of a field of stars. Displayed on-screen, is some
information about your target (Earth), your speed, and the current time
(Universal Time, so it'll probably be a few hours off from your computer's
clock).
Right drag the mouse to orbit Earth and you might see the Moon and some
familiar constellations. Left dragging the mouse changes your orientation
also, but the camera rotates about its center instead of rotating around
Earth. Rolling the mouse wheel will change your distance to Earth--you can
move light years away, then roll the wheel in the opposite direction to get
back to your starting location. If your mouse lacks a wheel, you can use the
Home and End keys instead.
When running Celestia, you will usually have some object selected. Currently,
it's Earth, but it could also be a star, moon, spacecraft, galaxy, or some
other object. The simplest way to select an object is to click on it. Try
clicking on a star to select it. The information about Earth is replaced with
some details about the star. Press G (or use the Navigation menu), and you'll
zoom through space toward the selected star. If you press G again, you'll
approach the star even closer.
Press H to select our Sun, and then G to go back to our Sun. Right click on
the sun to bring up a menu of planets and other objects in the solar system.
After selecting a planet from the menu, hit G again to travel toward it. Once
there, hold down the right mouse button and drag to orbit the planet.
The Tour Guide is a list of some of the more interesting objects you can visit
in Celestia. Select the Tour Guide option in the Navigation menu to display
the Tour Guide window. Choose a destination from the list, click the Goto
button, and you're off.
That covers the very basics. For a more in-depth look at Celestia and the
controls available to you, download the "Celestia User's Guide" (written by
Frank Gregorio), available in several languages, from:
http://www.shatters.net/celestia/documentation.html
This web page also includes links to the Celestia README file translated into
Japanese.
MOUSE, KEYBOARD & JOYSTICK CONTROLS
-----------------------------------
See the included file: KbdMouseJoyControls.txt. In Windows, you can also use
the Help menu to display the Controls list.
SOLAR SYSTEM BROWSER
-------------------------------------------
The Navigation menu contains 'Solar System Browser' and 'Star Browser'
options. The Solar System Browser displays a window with a tree view of all
the objects in the nearest solar system (if there is one within a light year
of your current position.) Clicking on the name of any object in the window
will select it. You can then use the Center or Go To buttons to display that
object in the main Celestia window.
STAR BROWSER
-----------------------------------
By default, the Star Browser window displays a table of the 100 nearest stars,
along with their Distance, Apparent and Absolute Magnitude, and Type. Clicking
on the column headers will sort the stars. The table is not continuously
updated, so if you travel to another star, you should press the Refresh button
to update the table for your current position. The radio buttons beneath the
table let you switch between viewing a list of Nearest, Brightest, or 'With
planets' stars. As with the solar system browser, clicking on any star name
in the table will select it. Use this feature along with the Center and Go
To buttons to tour the stars visible from any night sky in the galaxy.
SELECTING OBJECTS BY NAME
-------------------------
Celestia provides several ways to select an object by name...
1. Choose 'Select Object' from the Navigation menu, type in the object
name, and click OK.
2. Press Enter, type in the entire object name, and press Enter again.
3. Press Enter, type in the first few characters of the object name,
press the Tab key to move through the displayed listing until the
object is highlighted, then press Enter again.
You can use common names, Bayer designations, or HD catalog numbers for
stars. HD catalog numbers must be entered with a space between HD and the
number. Celestia handles star catalog numbers in a slightly kludgy way, to
keep the star database size to minimum -- only one catalog number is stored.
Normally, this will be a number from the HD catalog, but if a star isn't in
the HD catalog the number from another catalog will be used instead.
Currently, the secondary catalog is always the HIPPARCOS data set, for which
the prefix "HIP" should be used.
KNOWN ISSUES
------------
Many people have reported problems running Celestia with Matrox G400/G450 3D
accelerator cards. As I don't have a Matrox card, I haven't made much
progress on this bug. If you do have a G400, have Visual C++ installed, and
would be interested in testing a debug version of Celestia, please contact me.
The maximum texture size supported by the Voodoo 1/2/3 is 256x256, so many of
the planet textures will look blurry when running Celestia on one of these
cards.
On 3D accelerator cards with a limited amount of memory, resizing the main
Celestia window can cause textures to disappear. This occurs because so much
memory is required for the frame buffer that there's not enough left for
textures. There are a several workarounds:
- Use a smaller window
- Make sure your display is set to 16-bit (high color) mode
- Try running Celestia in full screen mode
Celestia only barely works in 256 color mode. If your display is set to 256
colors, change it to 16-bit or 32-bit if at all possible.
If objects look good at a distance but get too dark when you approach them
closely, your OpenGL driver does not support a required extension. Try
upgrading to the most current version of drivers available for your card. For
some older cards, this still won't fix the problem. The next version of
Celestia will feature a workaround.
For up-to-the-minute answers to some common problems encountered when running
Celestia, please view the "preliminary Celestia User's FAQ" located on the
Celestia User's Forum:
http://www.shatters.net/forum/viewtopic.php?t=2291
USER MODIFIABLE ELEMENTS
------------------------
You can modify how Celestia starts up each time you run it, by defining your
own start-up settings. Simply open the file "start.cel" in a plain text
editor and follow the in-file instructions. Also, view the celestia.cfg file
in a plain text editor to see additional settings.
Celestia allows you to create an entirely fictional universe, by modifying its
solarsys.ssc, stars.dat, and hdnames.dat files. The easiest file to modify is
the solar system catalog (solarsys.ssc), since it's a plain text file and the
format is very text-editor friendly. It's also quite verbose, but that's not
a problem yet.
The units used for the solar system data may not be obvious. All angle fields
in the catalog are in degrees. For planets, the period is specified in earth
years, and the semi-major axis in AU; for satellites, days and kilometers are
used instead.
When adding objects, they should be included in their own sub-directory under
Celestia's "extras" directory. For example:
celestia <dir>
extras <dir>
yourNewObject <dir>
about.txt
install.txt
object.dsc
object.ssc
object.stc
models <dir>
object.3ds
object.cmod
object.cms
textures <dir>
medres <dir>
objectTexture.??? (jpg, png, dds, or bmp)
YOU create each of the directories under the extras directory. By using this
structure, activating and de-activating your new objects will be easy. Simply
move the sub-directory "yourNewObject" outside of the extras directory. Some
users have found that adding category-name sub-directories under extras to be
useful, such as:
celestia
extras
Deep Sky Objects
yourNewObject
Galaxies
yourNewObject
Spacecraft
yourNewObject
Texture files should be placed in textures/medres, as shown above. Currently,
JPEG, PNG, BMP, and DDS are the only formats supported.
Models belong in the models directory. Celestia can read 3DS models, and two
custom formats (.cms and .cmod). The .cms files are currently used for rough
fractal displacement map likenesses of asteroids and small moons. 3DS meshes
are normalized to fit within a unit cube -- the Radius field determines how
big they appear within Celestia.
The stars.dat file is a binary database of stars, processed from the 50+ meg
HIPPARCOS data set. The first four bytes are an integer (int) value
containing the number of stars in the database. Following that are a bunch of
records of this form:
4 byte int : catalog number
4 byte float : right ascension
4 byte float : declination
4 byte float : parallax
2 byte int : apparent magnitude
2 byte int : stellar class
1 byte : parallax error
RA, declination, and parallax are converted to x, y, z coordinates, and
apparent magnitude is converted to absolute magnitude when the database is
read.
For more detailed information about creating add-ons for Celestia, please
visit Selden's "Introduction to Celestia Add-ons" web page at:
http://www.lns.cornell.edu/~seb/celestia/addon-intro.html
CELESTIA RESOURCES
------------------
Celestia Web Site:
http://www.shatters.net/celestia/
Celestia User Forums:
http://www.shatters.net/forum/
Selden's List of Resources for Celestia :
http://www.lepp.cornell.edu/~seb/celestia/
Celestia Developer Center
http://celestia.teyssier.org/
Celestia for Gnome
http://pat.suwalski.net/celestia/
Celestia Source Code (SourceForge.net):
http://sourceforge.net/projects/celestia/
CREDITS
-------
Authors
-------
See the AUTHORS file
Contributors
------------
Deon Ramsey ........... original GTK1 interface
Christopher ANDRE ..... Eclipse Finder
Colin Walters ......... Endianness fixes
Peter Chapman ......... Orbit path rendering changes
James Holmes ..........
Harald Schmidt ........ Lua scripting enhancements, bug fixes
Documentation
-------------
Frank Gregorio ........ Celestia User's Guide
Hitoshi Suzuki ........ Japanese README translation
Christophe Teyssier ... DocBook and HTML conversion of User's Guide
Diego Rodriguez ....... Acrobat conversion of User's Guide
Don Goyette ........... CEL Scripting Guide
Harald Schmidt ........ Celx/Lua Scripting Guide
Other Contributors
------------------
Models of Mars Global Surveyor and Mars Odyssey were created by Shrox:
http://www.shrox.com/
The Cassini and Huygens models are by Jack Higgins:
http://homepage.eircom.net/~jackcelestia/
Most of the planet maps are from David Seal's site:
http://maps.jpl.nasa.gov/.
A few of these maps were modified by me, with fictional terrain added to fill
in gaps. The model of the Galileo spacecraft is also from David Seal's site
(though it was converted from Inventor to 3DS format.)
The Mars, Neptune, and Uranus textures and Mars, Moon and Mercury bump maps are
all from James Hastings-Trew's collection, and the Mercury texture is a recolored
version of his. Some of the prettiest planet maps around are at:
http://gw.marketingden.com/planets/planets.html
Fridger Schrempp produced the 'available data' Pluto and Charon textures using
maps created by Marc Buie at Lowell Observatory. Buie's maps were generated
from photometric data gathered during six years of mutual occultations of
Pluto and Charon.
Venus's clouds and the textures for Ganymede, Callisto and Saturn are from
Bj<EFBFBD>n J<>sson. His site at http://www.mmedia.is/~bjj/ is an excellent
resource for solar system rendering.
The Io and Europa maps are by Steve Albers. His planetary maps are at:
http://laps.fsl.noaa.gov/albers/sos/sos.html
Saturn's rings were built by Grant Hutchison from Cassini imaging, with
transparency information derived from stellar transit data obtained from:
http://pds-rings.arc.nasa.gov/ringocc/ringocc.html
Titan's cloud texture in natural colors and its surface map at
near-infrared wavelength were created by Fridger Schrempp. They are
based on resources available from the imaging site (Ciclops) of the
Cassini mission,
http://ciclops.lpl.arizona.edu/index.php
The texture of Iapetus was created by Fridger Schrempp, using all available
imaging resources both from the Voyager mission and the recent Cassini fly-bys
from
http://photojournal.jpl.nasa.gov
Many cylindrical projections of photographs were performed by Fridger
Schrempp with Matthew Arcus 'mmps' software,
http://www.users.globalnet.co.uk/~arcus/mmps/
Venus's surface is a copyright-free NASA image, prepared from Magellan radar
data. The original is available at
http://www.solarviews.com/cap/venus/venmap.htm
The Earth texture was created by NASA using data from the MODIS instrument
aboard the Terra satellite. Further information is available from:
http://earthobservatory.nasa.gov/Newsroom/BlueMarble/
The textures for the Uranian satellites were created by Ivan Rivera from JPL
data. His Celestia page is: http://bruckner.homelinux.net/celestia.html
The Hyperion and Enceladus maps are photomosaics assembled by Phil Stooke and
colored by Jens Meyer.
Amalthea is a shaded relief map by Phil Stooke, colored by Wm. Robert Johnston
(http://www.johnstonsarchive.net/spaceart/cylmaps.html), and further modified
by Jens Meyer and Grant Hutchison.
Proteus, Janus, Prometheus and Epimetheus maps are by Phil Stooke.
Dione and Rhea are USGS maps colored and modified by Jens Meyer.
Tethys is a USGS map colored and modified by Grant Hutchison.
The Moon map by Jens Meyer is based on data from PDS Map-A-Planet at
http://pdsmaps.wr.usgs.gov/maps.html with colors from Mark Robinson at
http://www.earth.northwestern.edu/research/robinson/MOON/clem_color.html.
The Ida and Gaspra photomosaic maps are by Phil Stooke.
The Eros map is a shaded relief generated by Grant Hutchison from the NEAR
laser rangefinder shape model at:
http://pdssbn.astro.umd.edu/NEARdb/nlr/#shape
The asteroid.jpg texture was created by Paul Roberts.
The textures for the five classes of extrasolar giant planet were created by
Andrew Tribick.
The lower resolution textures were all converted from their higher resolution
versions using Gimp.
3D asteroid models of Toutatis, Kleopatra, Geographos, 1998 KY26, Bacchus,
Castalia and Golevka are courtesy of Scott Hudson, Washington State
University. His site is:
http://www.eecs.wsu.edu/~hudson/Research/Asteroids/models.html
3D models of Phobos, Deimos, Amalthea, Janus, Epimetheus, Prometheus, Pandora,
Hyperion, Larissa, Proteus, Vesta, Ida, Gaspra and Halley are derived from
Phil Stooke's Cartography of Non-Spherical Worlds at:
http://publish.uwo.ca/~pjstooke/plancart.htm
and optical shape model dataset at:
http://pdssbn.astro.umd.edu/SBNast/holdings/EAR-A-5-DDR-STOOKE-SHAPE-MODELS-
V1.0.html
The 3D model of Eros was prepared from the NEAR laser rangefinder shape model
at: http://pdssbn.astro.umd.edu/NEARdb/nlr/#shape
The Phoebe base texture was created by Fridger Schrempp from
the cylindrical map recently published by the Cassini imaging team,
http://photojournal.jpl.nasa.gov/catalog/PIA07775
The Phoebe mesh was designed by Jerry Gardner aka Jestr, jestr@ntlworld.com,
based on Phoebe's bumpy topography display from Cassini,
http://photojournal.jpl.nasa.gov/catalog/PIA06070
The Tethys texture was created by Fridger Schrempp from recent Cassini imaging,
http://photojournal.jpl.nasa.gov/catalog/PIA07781
merged with reprojected images from earlier Voyager missions. It was
color-mapped by computer, using the natural color template,
http://photojournal.jpl.nasa.gov/catalog/PIA06140
The Iapetus texture was created by Fridger Schrempp from recent Cassini imaging,
http://photojournal.jpl.nasa.gov/catalog/PIA07778
merged with reprojected images from earlier Voyager missions. It was
color-mapped by computer, using the near true-color template,
http://photojournal.jpl.nasa.gov/catalog/PIA06167
Fridger Schrempp created the Lunar topography map, using Clementine laser altimeter
data, merged in the polar regions with topographic data from Clementine 750 nm
oblique and nadir images,
ftp://ftpflag.wr.usgs.gov/dist/pigpen/moon/usgs/topo/global/
Grant Hutchison supplied the correct orientations for the major planets, their
moons, and a number of asteroids.
Selden Ball deserves a special mention for suffering more prerelease versions
finding more bugs, and giving more feedback than anyone else.
Christophe Campos aka ElChristou created the splash screen for Celestia.
The MacOS X icon was designed by Chris Alford: http://www.chrisalford.com/
The txf font format used by Celestia was devised by Mark Kilgard.
The star database (stars.dat) was derived from the ESA's HIPPARCOS data set.
Constellation boundaries are drawn from Davenhall & Leggett's "Catalogue of
Constellation Boundary Data":
http://cdsweb.u-strasbg.fr/viz-bin/ftp-index?/ftp/cats/VI/49
This software is based in part on the work of the Independent JPEG Group.
Some versions of Celestia may use the SPICE system for spacecraft and planetary
information, developed by Caltech/JPL under contract to NASA.
A special thank you goes to all Celestia users who submit bug reports,
suggestions, and fixes. Celestia wouldn't be the program it is today, without
your help.
Chris Laurel
<claurel@gmail.com>
http://www.shatters.net/~claurel/
http://www.shatters.net/celestia/

309
README-upstream 100644
View File

@ -0,0 +1,309 @@
***************************************************************************
* Celestia *
* *
* A real-time space simulation that lets you experience our universe in *
* three dimensions. *
* *
* Copyright (c) 2001-2021, Celestia Development Team *
* *
*-------------------------------------------------------------------------*
* Celestia web site: https://celestia.space/ *
* *
* Celestia documentation: *
* https://celestia.space/guides.html *
* Celestia WikiBook: https://en.wikibooks.org/wiki/Celestia *
* *
* Celestia forums: https://celestia.space/forum/ *
* *
***************************************************************************
CONTENTS
--------
License
Getting Started
Mouse, Keyboard & Joystick Controls
Star & Solar System Browser
Selecting Objects by Name
Known Issues
User Modifiable Elements
Celestia Resources
Building From Sources
Contributions
Acknowledgements
LICENSE
-------
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details, which you should have received along with this program (filename:
COPYING). If not, request a copy from:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307
USA
GETTING STARTED
---------------
Celestia will start up in a window, and if everything is working correctly,
you'll see Earth in front of a field of stars. Displayed on-screen, is some
information about your target (Earth), your speed, and the current time
(Universal Time, so it'll probably be a few hours off from your computer's
clock).
Right drag the mouse to orbit Earth and you might see the Moon and some
familiar constellations. Left dragging the mouse changes your orientation
also, but the camera rotates about its center instead of rotating around
Earth. Rolling the mouse wheel will change your distance to Earth--you can
move light years away, then roll the wheel in the opposite direction to get
back to your starting location. If your mouse lacks a wheel, you can use the
Home and End keys instead.
When running Celestia, you will usually have some object selected. Currently,
it's Earth, but it could also be a star, moon, spacecraft, galaxy, or some
other object. The simplest way to select an object is to click on it. Try
clicking on a star to select it. The information about Earth is replaced with
some details about the star. Press G (or use the Navigation menu), and you'll
zoom through space toward the selected star. If you press G again, you'll
approach the star even closer.
Press H to select our Sun, and then G to go back to our Sun. Right click on
the sun to bring up a menu of planets and other objects in the solar system.
After selecting a planet from the menu, hit G again to travel toward it. Once
there, hold down the right mouse button and drag to orbit the planet.
The Tour Guide is a list of some of the more interesting objects you can visit
in Celestia. Select the Tour Guide option in the Navigation menu to display
the Tour Guide window. Choose a destination from the list, click the Goto
button, and you're off.
That covers the very basics. For a more in-depth look at Celestia and the
controls available to you, download the "Celestia User's Guide" (written by
Frank Gregorio), available in several languages, from:
https://celestia.space/guides.html
This web page also includes links to the Celestia README file translated into
Japanese.
MOUSE, KEYBOARD & JOYSTICK CONTROLS
-----------------------------------
See the included file: controls.txt OR use the Help menu to display the Controls
list.
STAR & SOLAR SYSTEM BROWSER
-------------------------------------------
The Navigation menu contains 'Solar System Browser' and 'Star Browser'
options.
STAR BROWSER
By default, the Star Browser window displays a table of the 100 nearest stars,
along with their Distance, Apparent and Absolute Magnitude, and Type. Clicking
on the column headers will sort the stars. The table is not continuously
updated, so if you travel to another star, you should press the Refresh button
to update the table for your current position. The radio buttons beneath the
table let you switch between viewing a list of Nearest, Brightest, or 'With
planets' stars. As with the solar system browser, clicking on any star name
in the table will select it. Use this feature along with the Center and Go
To buttons to tour the stars visible from any night sky in the galaxy.
SOLAR SYSTEM BROWSER
The Solar System Browser displays a window with a tree view of all the objects
in the nearest solar system (if there is one within a light year of your current
position.) Clicking on the name of any object in the window will select it.
You can then use the Center or Go To buttons to display that object in the main
Celestia window.
SELECTING OBJECTS BY NAME
-------------------------
Celestia provides several ways to select an object by name...
1. Choose 'Select Object' from the Navigation menu, type in the object
name, and click OK.
2. Press Enter, type in the entire object name, and press Enter again.
3. Press Enter, type in the first few characters of the object name,
press the Tab key to move through the displayed listing until the
object is highlighted, then press Enter again.
You can use common names, Bayer designations or catalog numbers for stars.
Celestia currently supports the HIP, HD and SAO catalogs. Catalog numbers must
be entered with a space between the prefix and the catalog number.
KNOWN ISSUES
------------
For up-to-the-minute answers to some common problems encountered when running
Celestia, please view either the FAQ in the Help menu or take a look at the
"Celestia User's FAQ" located on the Celestia User's Forum:
https://celestia.space/forum/
USER MODIFIABLE ELEMENTS
------------------------
You can modify how Celestia starts up each time you run it, by defining your
own start-up settings. Simply open the file "start.cel" in a plain text
editor and follow the in-file instructions. Also, view the celestia.cfg file
in a plain text editor to see additional settings.
Celestia allows you to easily add real, hypothetical, or fictional objects
by creating new catalog files. It is *not* recommended that you alter the
built-in data files; nearly all desired modifications and additions can be
made by placing new catalog files in Celestia's extras folders. There are three
types of catalog files:
- ssc (solar system catalog: planets, moons, spacecraft, etc.)
- stc (star catalog)
- dsc (deep sky catalog: galaxies, star clusters, and nebulae)
All three types of catalog file are text files that can be updated with your
favorite text editing program.
CELESTIA RESOURCES
------------------
Celestia Web Site:
https://celestia.space/
Celestia User Forums:
https://celestia.space/forum/
Selden's List of Resources for Celestia:
https://www.classe.cornell.edu/~seb/celestia/
Celestia Wikibook:
https://en.wikibooks.org/wiki/Celestia
Celestial Matters Website and Forums:
http://www.celestialmatters.org/
http://forum.celestialmatters.org/
Celestia Motherlode:
http://www.celestiamotherlode.net/
Celestia Source Repository:
https://github.com/CelestiaProject/Celestia
Celestia Bug Tracking:
https://github.com/CelestiaProject/Celestia/issues
Celestia Feature Requests:
https://github.com/CelestiaProject/Celestia/issues
Celestia Discord Server:
https://discordapp.com/invite/WEWDcJh
Celestia Subreddit:
https://www.reddit.com/r/Celestiasoftware/
Celestia Archive Repository:
https://github.com/Anthony-B-Russo10/Celestia-Archive
BUILDING FROM SOURCES
---------------------
See file INSTALL for building instructions.
CONTRIBUTIONS
-------------
Authors
-------
Chris Laurel <claurel@gmail.com>
Clint Weisbrod <cweisbrod@cogeco.ca>
Fridger Schrempp <t00fri@mail.desy.de>
Bob Ippolito <bob@redivi.com>
Christophe Teyssier <chris@teyssier.org>
Hank Ramsey <hramsey@users.sourceforge.net>
Grant Hutchison <grant.celestia@xemaps.com>
Pat Suwalski <pat@suwalski.net>
Toti
Da Woon Jung <dirkpitt2050@users.sf.net>
Vincent Giangiulio <vince.gian@free.fr>
Andrew Tribick
Hleb Valoshka
Li Linfeng
Contributors
------------
Deon Ramsey ........... Original GTK1 interface
Christopher Andre ..... Eclipse Finder
Colin Walters ......... Endianness fixes
Peter Chapman ......... Orbit path rendering changes
James Holmes ..........
Harald Schmidt ........ Lua scripting enhancements, bug fixes
Nils Larsson .......... Qt enhancements
Documentation
-------------
Frank Gregorio ........ Celestia User's Guide
Hitoshi Suzuki ........ Japanese README translation
Christophe Teyssier ... DocBook and HTML conversion of User's Guide
Diego Rodriguez ....... Acrobat conversion of User's Guide
Don Goyette ........... CEL Scripting Guide
Harald Schmidt ........ Celx/Lua Scripting Guide
Content
-------
Please see the README file in the CelestiaContent repository.
Libraries
---------
# This software is based in part on the work of the Independent JPEG Group.
# Some versions of Celestia may use the SPICE system for spacecraft and
planetary information, developed by Caltech/JPL under contract to NASA.
# Many cylindrical projections of photographs were performed by Fridger
Schrempp with Matthew Arcus 'mmps' software,
http://www.users.globalnet.co.uk/~arcus/mmps/
# The lower resolution textures were all converted from their higher resolution
versions using Gimp.
# The star database (stars.dat) was derived from the ESA's HIPPARCOS data set.
# Constellation boundaries are drawn from Davenhall & Leggett's "Catalogue of
Constellation Boundary Data":
http://cdsweb.u-strasbg.fr/viz-bin/ftp-index?/ftp/cats/VI/49
Other work
----------
# Selden Ball deserves a special mention for suffering more prerelease versions
finding more bugs, and giving more feedback than anyone else.
# Christophe Campos aka ElChristou created the splash screen for Celestia.
# The MacOS X icon was designed by Chris Alford: http://www.chrisalford.com/
# The txf font format used by Celestia was devised by Mark Kilgard.
ACKNOWLEDGEMENTS
----------------
A very big thank you for creating Celestia goes to Chris Laurel who started this
program in the year 2001.
<claurel@gmail.com>
https://celestia.space/
Special thanks go to all Celestia users who submit bug reports, suggestions, and
fixes. Celestia wouldn't be the program it is today, without their help.
The Celestia Development Team

142
README-upstream.md 100644
View File

@ -0,0 +1,142 @@
| **`Release`** | **`Localized`** | **`License`** | **`Contribute`** |
|-------------------|---------------|---------------|---------------|
|[![GitHub release](https://img.shields.io/github/v/release/CelestiaProject/Celestia?label=Release)](https://celestia.space/download.html) | [![Localization](https://img.shields.io/badge/Localized-85%25-green.svg)](#) | [![License](https://img.shields.io/github/license/CelestiaProject/Celestia?label=License)](https://github.com/CelestiaProject/Celestia/blob/master/COPYING) | [![Contribute](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](#contributing) |
# Celestia
![Celestia](celestia-logo.png)<br>
**A real-time space simulation that lets you experience our universe in three dimensions.**
**Copyright © 2001-2021, Celestia Development Team**<br>
**Celestia website: https://celestia.space**<br>
**Celestia Wikibook: https://en.wikibooks.org/wiki/Celestia**<br>
**Celestia forums: https://celestia.space/forum/**<br>
**Celestia Subreddit: https://www.reddit.com/r/Celestiasoftware/**<br>
**Celestia Archive Repository: https://github.com/Anthony-B-Russo10/Celestia-Archive**
## License
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details,
which you should have received along with this program (filename: COPYING).
If not, request a copy from:<br>
Free Software Foundation, Inc.<br>
59 Temple Place - Suite 330<br>
Boston, MA 02111-1307<br>
USA
## Getting started
Celestia will start up in a window, and if everything is working correctly,
you'll see Earth in front of a field of stars. Displayed on-screen, is some
information about your target (Earth), your speed, and the current time
(Universal Time, so it'll probably be a few hours off from your computer's
clock).
Right drag the mouse to orbit Earth and you might see the Moon and some
familiar constellations. Left dragging the mouse changes your orientation
also, but the camera rotates about its center instead of rotating around
Earth. Rolling the mouse wheel will change your distance to Earth--you can
move light years away, then roll the wheel in the opposite direction to get
back to your starting location. If your mouse lacks a wheel, you can use the
Home and End keys instead.
When running Celestia, you will usually have some object selected. Currently,
it's Earth, but it could also be a star, moon, spacecraft, galaxy, or some
other object. The simplest way to select an object is to click on it. Try
clicking on a star to select it. The information about Earth is replaced with
some details about the star. Press G (or use the Navigation menu), and you'll
zoom through space toward the selected star. If you press G again, you'll
approach the star even closer.
Press H to select our Sun, and then G to go back to our Sun. Right click on
the sun to bring up a menu of planets and other objects in the solar system.
After selecting a planet from the menu, hit G again to travel toward it. Once
there, hold down the right mouse button and drag to orbit the planet.
The Tour Guide is a list of some of the more interesting objects you can visit
in Celestia. Select the Tour Guide option in the Navigation menu to display
the Tour Guide window. Choose a destination from the list, click the Goto
button, and you're off.
That covers the very basics. For a more in-depth look at Celestia and the
controls available to you, download the "Celestia User's Guide" (written by
Frank Gregorio), available in several languages, from:<br>
https://celestia.space/guides.html<br>
This web page also includes links to the Celestia README file translated into
Japanese.
### Star browser
By default, the Star Browser window displays a table of the 100 nearest stars,
along with their Distance, Apparent and Absolute Magnitude, and Type. Clicking
on the column headers will sort the stars. The table is not continuously
updated, so if you travel to another star, you should press the Refresh button
to update the table for your current position. The radio buttons beneath the
table let you switch between viewing a list of Nearest, Brightest, or 'With
planets' stars. As with the solar system browser, clicking on any star name
in the table will select it. Use this feature along with the Center and Go
To buttons to tour the stars visible from any night sky in the galaxy.
### Solar system browser
The Solar System Browser displays a window with a tree view of all the objects
in the nearest solar system (if there is one within a light year of your current
position.) Clicking on the name of any object in the window will select it.
You can then use the Center or Go To buttons to display that object in the main
Celestia window.
### Selecting objects by name
Celestia provides several ways to select an object by name...
1. Choose 'Select Object' from the Navigation menu, type in the object name, and click OK.
2. Press Enter, type in the entire object name, and press Enter again.
3. Press Enter, type in the first few characters of the object name,
press the Tab key to move through the displayed listing until the object is highlighted,
then press Enter again.
You can use common names, Bayer designations or catalog numbers for stars.
Celestia currently supports the HIP, HD and SAO catalogs. Catalog numbers must
be entered with a space between the prefix and the catalog number.
### Known issues
For up-to-the-minute answers to some common problems encountered when running
Celestia, please view either the FAQ in the Help menu or take a look at the
"Celestia User's FAQ" located on the Celestia User's Forum:
https://celestia.space/forum/
### User modifiable elements
You can modify how Celestia starts up each time you run it, by defining your
own start-up settings. Simply open the file "start.cel" in a plain text
editor and follow the in-file instructions. Also, view the celestia.cfg file
in a plain text editor to see additional settings.
Celestia allows you to easily add real, hypothetical, or fictional objects
by creating new catalog files. It is *not* recommended that you alter the
built-in data files; nearly all desired modifications and additions can be
made by placing new catalog files in Celestia's extras folders. There are three
types of catalog files:
* ssc (solar system catalog: planets, moons, spacecraft, etc.)
* stc (star catalog)
* dsc (deep sky catalog: galaxies, star clusters, and nebulae)
All three types of catalog file are text files that can be updated with your
favorite text editing program.
### Building from sources
See instructions in file [INSTALL.md](INSTALL.md).
## Contributions
| **`Authors`** | **`Contributors`** | **`Documentation`** | **`Other`** |
|-----------------|---------------------|------------------|-------------------|
| Chris Laurel, Clint Weisbrod, Fridger Schrempp, Bob Ippolito, Christophe Teyssier, Hank Ramsey, Grant Hutchison, Pat Suwalski, Toti, Da Woon Jung, Vincent Giangiulio, Andrew Tribick, Hleb Valoshka, Łukasz Buczyński, Li Linfeng | Deon Ramsey, Christopher Andre, Colin Walters, Peter Chapman, James Holmes, Harald Schmidt, Nils Larsson, Sergey Leonov, Alexell, Dmitry Brant, Janus | Selden Ball, Frank Gregorio, Hitoshi Suzuki, Christophe Teyssier, Diego Rodriguez, Don Goyette, Harald Schmidt | Creators of scientific database, texture maps, 3D models and used libraries, you can see in full README.|
### Contributing
**We welcome feedback, bug reports, and pull requests!**
For pull requests, please stick to the following guidelines:
* Be sure to test your code changes.
* Follow the existing code style (e.g., indents).
* Put a lot of comments into the code, if necessary.
* Separate unrelated changes into multiple pull requests.

110
README.md 100644
View File

@ -0,0 +1,110 @@
# Celestia
Celestia is a "real-time space simulation that lets you experience
our universe in three dimensions".
![celestia-screenshot](pics/celestia-screenshot.png)
# Upstream
This repo is a lesser fork of the upstream project,
which has been revived.
* https://celestia.space/
* https://github.com/CelestiaProject/Celestia
See also: `README-upstream`, `README-upstream.md`.
## License/Copyright
GPLv2+
Copyright © 2001-2021, Celestia Development Team
# Debian
Package was removed from Debian in the ancient days due to bitrot.
The upstream code has a new team and active development, using
recent libraries. The package can be built under Debian Ok, except
for the `data/` files.
Debian upstream bug:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809916
```
Upstream has not produced any new releases in the last 4 years. In the
mean time, the package is accumulating bugs due to bitrot. It already
wasn't a trouble-free package, due to some quite important resources not
being DFSG compliant.
```
I do see some of the resources now are CC-by-SA 4.0, a license which
didn't exist when the Debian bug was created. So it may be that it
can be built happily without DFSG issues using new data files.
Celestia depending on NASA's Spice/NAIF may be afoul of Debian's
DFSG because the terms are unique. It isn't really a standard license.
Debian tracker link:
* https://tracker.debian.org/pkg/celestia
# Build
Mini Debian package build howto.
```
# Install deps
sudo apt update
sudo apt install build-essential ccache devscripts \
debhelper chrpath cmake freeglut3-dev libeigen3-dev libfmt-dev \
libfreetype6-dev libepoxy-dev libglu1-mesa-dev libgtk2.0-dev \
libgtkglext1-dev libjpeg62-turbo-dev libluajit-5.1-dev libpng-dev \
libqt5opengl5-dev libtheora-dev qtbase5-dev qtbase5-dev-tools
# Add ccache to PATH in ~/.bashrc, and log back in
PATH=/usr/lib/ccache:$PATH
# Make dirs to put it all, as it writes packages to the *parent* dir.
mkdir celestia-deb
cd celestia-deb
git clone https://spacecruft.org/spacecruft/CelestiaContent
cd CelestiaContent
# Build the source package, writes to parent dir
dpkg-buildpackage -rfakeroot -S -uc -us -sa
# Build Debian Packages
dpkg-buildpackage -rfakeroot -b -uc
cd ..
# Install the data package
sudo dpkg -i celestia-data_1.7.0~git20211202+668347e9+0_all.deb
# Make sure apt is happy
sudo apt -f install
git clone --recursive https://spacecruft.org/spacecruft/celestia
cd celestia
# Build the source package, writes to parent dir
dpkg-buildpackage -rfakeroot -S -uc -us -sa
# Build Debian Packages
dpkg-buildpackage -rfakeroot -b -uc
cd ..
# Install
sudo dpkg -i celestia_1.7.0~git20220520+1_all.deb \
celestia-common_1.7.0~git20220520+1_all.deb \
celestia-qt_1.7.0~git20220520+1_amd64.deb \
celestia-tools_1.7.0~git20220520+1_amd64.deb \
libcelestia1.7_1.7.0~git20220520+1_amd64.deb
# Make sure apt is happy
sudo apt -f install
```

40
TODO
View File

@ -1,40 +0,0 @@
Celestia To Do List
-------------------
USER INTERFACE
* More star label modes--nearest stars, brightest stars
* Add preferences for text color to config file
* Dialog box for displaying detailed information about a star or planet
* Star browser: flag stars with planetary systems
* Solar system browser: add icons
* Use a slider widget for controlling ambient light level
* Allow precise control of FOV
VISUALS
* Comets with dust and ion tails
* Render dark dust bands in galaxies
* Add textures to Mir model
POLISH
* Tutorial mode
* Preload some textures to avoid loading delay
* Make the demo loop
* Add a demo mode that visits random targets
* Compute accurate altitude above oblate planets/stars using point-to-ellipsoid
distance function.
SIMULATION ACCURACY
* Fix apparent magnitude calculation for planets
* Model the chaotic rotation of Hyperion
* Account for the finite speed of light
* Use more intuitive/standard fields in galaxies file--instead of axis/angle
orientations, use 'angle from face on' etc.
CODE
* Finish assert-ing the code
MISC
* Make solar system creation applet, for adding hypothetical systems to
a Celestia universe
* Switch to UNICODE
* Internationalization

View File

@ -1,18 +1,37 @@
AR: Ali Al-Khudair <saudilink@lycos.com>
BG: Atanas Kumbarov <kumbarov@gmail.com>
DE: Steffen Schreiber <SchreiberSte@web.de>
EL: ironhell3 <ironhell3@hotmail.com>
Georgi Georgiev <georgiev_1994@abv.bg>
DE: German Translator Team <celestia-deutsch@gmx.net>
U. Dickmann / C. Lenz / S. Schreiber / A. Wagner
EL: Charis Kouzinopoulos <ckouz@uom.gr>
ES: Guillermo Abramson <abramson@cab.cnea.gov.ar>
FR: Christophe Teyssier <chris@teyssier.org>
Vincent Giangiulio <gvince@sfr.fr>
GL: Xabier Cancela <xabiercs@terra.es>
HU: Székely Zoltán <zoltanszekely@hotmail.com>
IT: Mauro Santandrea <mausan66@tiscali.it>
IT: Paolo Angeli <pangeli70@virgilio.it>
Mauro Santandrea <mausan66@tiscali.it>
Andrea Pelloni <mc3657@mclink.it>
Vincent Giangiulio <gvince@sfr.fr>
JA: Sui Ota <aqua@aqsp.net>
KO: Jacob Lee <jacoblee@freechal.com>
KO: Jacob Lee <jaeuck@gmail.com>
Seung-Bum Lee <blcktgr73@gmail.com>
LT: Marius Mikalainis <neoromancer@gmail.com>
LV: Jānis Jātnieks <sg30022@lanet.lv>
NL: Myckel Habets <myckel@sdf.lonestar.org>
PL: Michał Trzebiatowski <hippie_1968@hotmail.com>
PT: José Raeiro <zeraeiro@gmail.com>
PT_BR: Luis Gabriel <lgabriel@brazilmail.com>
Igor Borgo <igorborgo@gmail.com>
RO: Oana Radu <oanaradu32@queeq.com>
RU: Sergey Leonov <leserg@ua.fm>
SV: Daniel Nylander <po@danielnylander.se>
Anders Pamdal <anders@pamdal.se>
UK: Serhij Dubyk <dubyk@library.lviv.ua>
ZH_CN: Thruth <gubotruth@gmail.com>
Yuri Chornoivan <yurchor@ukr.net>
ZH_CN: Markerz Li <markerzli@gmail.com>
ZH_TW: An-Li Chen<alchen@tam.gov.tw>
I-Yuan Chiang <iychiangg1809@gmail.com>
Lung-Chin Hsieh<lungchin@gmail.com>
Frank Weng<franklin@goodhorse.idv.tw>
Shan-wun Yang<oiseaumer@gmail.com>

10793
acinclude.m4

File diff suppressed because it is too large Load Diff

View File

@ -1,761 +0,0 @@
2002-10-03 Stephan Kulow <coolo@kde.org>
* made config.h.bot obsolete
2002-04-26 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in removed bogus message
2001-11-07 Walter Tasin <tasin@kdevelop.org>
* now #MIN_CONFIG tag takes parameters for KDE_USE_QT, too.
e.g. #MIN_CONFIG(2.2) for qt 2.2 usage
2000-11-30 David Faure <faure@kde.org>
* acinclude.m4.in: Added kde_moduledir which points to $prefix/lib/kde2/
2000-07-24 Alex Zepeda <jazepeda@pacbell.net>
* acinclude.m4.in: Remove the test for malloc.h
2000-04-05 Michael Matz <matz@ifh.de>
* config.pl : added kludge for compiling regexp's even if
perl < 5.005 is installed
* conf.change.pl : added support for autoconf 2.14.1
2000-03-27 David Faure <faure@kde.org>
* acinclude.m4.in, Makefile.common: changed inst-apps semantics
If present, only the subdirs it lists will be configured and compiled.
If absent, then subdirs is used (and inst-apps isn't generated anymore)
2000-03-22 David Faure <faure@kde.org>
* am_edit: Added support for KDE_ICON = AUTO
2000-03-18 David Faure <faure@kde.org>
* Makefile.common: Rewrote the list-of-Makefiles generation to make it
simpler and nicer, using create_makefiles' way of doing it.
Added support for COMPILE_LAST and COMPILE_FIRST in toplevel Makefile.am
2000-01-05 David Faure <faure@kde.org>
* Makefile.common: hacked around autoconf bug (setting INSTALL to ".."
when calling a subconfigure and INSTALL is already set).
1999-12-15 Waldo Bastian <bastian@kde.org>
* acinclude.m4.in: Test whether Qt compiles AND LINKS without flags.
1999-06-24 Stephan Kulow <coolo@kde.org>
* am_edit: generate correct Makefile entries for kde-i18n toplevel directories
* am_edit:
1999-06-14 Stephan Kulow <coolo@kde.org>
* am_edit: remove idl generated files on make clean
1999-06-09 Stephan Kulow <coolo@kde.org>
* am_edit: skipping programs with variables in sources for final
1999-06-07 Stephan Kulow <coolo@kde.org>
* am_edit: added support for idl files
1999-06-02 Stephan Kulow <coolo@kde.org>
* Makefile.common: preserve comments in .pot files to make it
possible for programmers and translators to comment them
1999-06-02 Simon Hausmann <hausmann@kde.org>
* acinclude.m4.in: added kde_servicetypesdir
1999-06-02 David Faure <faure@kde.org>
* acinclude.m4.in: removed LIB_KFM and LIB_KDEUTIL aliases
1999-05-28 Simon Hausmann <hausmann@kde.org>
* acinclude.m4.in: added kde_servicesdir
1999-05-27 Stephan Kulow <coolo@kde.org>
* am_edit: lots of changes for better support of --enable-final
1999-05-22 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added support for --with-dmalloc
1999-05-19 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added support for --enable-final
* am_edit: added support for --enable-final
1999-05-06 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: change the meaning of --disable-debug
1999-05-04 Helge Deller <deller@gmx.de>
* acinclude.m4.in: the test for the X-includes/directories failed,
when compile & link work without special directories (as on HP-UX).
1999-04-20 Stephan Kulow <coolo@kde.org>
* am_edit: adding DESTDIR replacement for rm and uninstall-local
too. Seems very useless, but makes testing for uninstall easier
1999-04-01 David Faure <faure@kde.org>
* acinclude.m4.in: Added -lkfile to $(LIB_KIO)
1999-03-30 David Faure <faure@kde.org>
* acinclude.m4.in: Added AC_CHECK_KDEMAXPATHLEN, which defines KDEMAXPATHLEN.
1999-03-29 David Faure <faure@kde.org>
* acinclude.m4.in: added LIB_X11 to XPMLIB and GLLIB, because
on SCO, they need it _after_ themselves.
1999-03-28 David Faure <faure@kde.org>
* acinclude.m4.in: added LIB_KFM to LIB_KAB alias
1999-03-26 David Faure <faure@kde.org>
* acinclude.m4.in: made LIB_KFILE use LIB_KIO instead of LIB_KFM
added LIB_KFORMULA
1999-03-20 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: check for libXext - for Russel :)
1999-03-16 Stephan Kulow <coolo@kde.org>
* acinclud3.m4.in: extend the MICO test with a list of possible
places where to find CORBA.h
1999-03-15 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: move $QTINC and $QTLIB in search path
1999-03-14 Stephan Kulow <coolo@kde.org>
* am_edit: install-root is obsolute. Use DESTDIR always
1999-03-03 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixing a bug, that $QTDIR was taken before --with-qt*
* acinclude.m4.in: added KDE_USE_QT, that you can choose if to
use QT 2.0 or KDE 1.0
* Makefile.common: added target package-merge
* am_edit: many fixes to the POFILES handeling of am_edit
1999-03-02 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: first look at libjpeg6b (from kdesupport) then
for libjpeg
* config.*, libtool.*: update to the latest FSF tools
1999-02-23 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: error when Sparc CC is used. Better use it in
configure and tell him the story then letting him find it while
compiling
* acinclude.m4.in: adding KDE_CHECK_EXTRA_LIBS to all possible tests,
so that --with-extra-includes is used when needed.
* acinclude.m4.in: configure looks for giflib30, so it should say so
* acinclude.m4.in: don't overwrite x include parameters. Patch by
Ari Lemmke <ari.lemmke@regex.fi> (bug report 741)
1999-02-20 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixing KDE_CHECK_PATHS for rechecking. In case
of defaults (kdelibs) configure didn't cache the results
1999-02-18 David Faure <faure@kde.org>
* acinclude.m4.in: added AC_CHECK_S_ISSOCK, to fix #706.
1999-02-17 David Faure <faure@kde.org>
* acinclude.m4.in: added AC_CHECK_RANDOM, just like
AC_CHECK_USLEEP, to enable the fake if necessary.
1999-02-13 Kurt Granroth <granroth@kde.org>
* acinclude.m4.in: look for QT-2.0
1999-02-05 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: in macro KDE_FIND_PATH treat user given dirs
and $PATH dirs the same. Added seperate test for to find binary
($5) to replace findperl
1999-01-28 Stephan Kulow <coolo@kde.org>
* automoc: added patch by jbb to be a little bit more precise about
the number of sourcefiles that include the moc file if it's != 1.
Besides that automoc will fail with exit code, so the Makefile.cvs
process does stop in case a problem accoured.
* automoc: don't hardcode header suffix, but allow *.h, *.hh and *.H
1999-01-27 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: try qobjcoll.h and qapplication.h before saying
OK to qt headers. (I could kill SuSE for splitting into qt-dev
and qt-compat)
1991-01-23 Stephan Kulow <coolo@kde.org>
* automoc: added fixes by JB <jb.nz@writeme.com>
1999-01-21 Stephan Kulow <coolo@kde.org>
* automoc: added --help and --path (for use in dist-hook)
1999-01-20 Alex Zepeda <garbanzo@hooked.net>
* ltconfig: added entries for FreeBSD 4.x
1999-01-19 Stephan Kulow <coolo@kde.org>
* automoc: added a distclean-metasources target which deletes all
moc files and let distclean depend on it
1999-01-18 Stephan Kulow <coolo@kde.org>
* automoc: several fixes (ignore comment lines + join lines
with \ )
* automoc: support META_INCLUDES in case the header files are
not in the same dir as the sources.
1999-01-17 Stephan Kulow <coolo@kde.org>
* automoc: several fixes.
1999-01-16 Stephan Kulow <coolo@kde.org>
* automoc: added support for included MOC files.
* acinclude.m4.in: use srcdir for the subdirs stuff as well
* automoc: added better command line parsing and some preparation
for handling "normal" moc files
* acinclude.m4.in: added aliases for libkio and libkdeutil
1999-01-15 Harri Porten <porten@kde.org>
* automoc: Carved in stone syntax for Makefile.in:
{program}_METASOURCES = USE_AUTOMOC [{suffix}]
1999-01-15 Stephan Kulow <coolo@kde.org>
* Makefile.common: set top_srcdir to .
1999-01-14 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't use config.h.bot any longer
1999-01-08 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added KDE_CHECK_NEWLIBS
* acinclude.m4.in: test for Qt even if both --with-qt-headers and
--with-qt-libraries are given. They may be wrong.
1999-01-06 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: change the MOC test so it can be used for other
tools as well
1998-12-28 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: look for QT-1.42 since kpanel needs it
1998-12-27 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added /usr/lib for libpython test
* acinclude.m4.in: take my email address out of it and added a
reference to www.kde.org/faq
* acinclude.m4.in: use Qt >= 1.4
* acinclude.m4.in: added KDE_CHECK_NAMESPACES
1998-12-18 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: test for directories to exist before saying yes
to compilation :)
1998-12-14 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added CPLUSPLUS for the kimgio test. It's
only important for shaman right now, but at least there it is :)
1998-12-12 Stephan Kulow <coolo@kde.org>
* Makefile.cvs: added common Makefile.cvs
* acinclude.m4.in: Thomas.Schwarz@pro-sieben.de reported a very ugly
bug in AC_PROG_CXXCPP, so I added my own version
* acinclude.m4.in: added KDE_CREATE_SUBDIRS_LIST to simplify
most toplevel configures
1998-12-11 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added call to AC_PROG_CXXCPP. Not really sure why
it never caused problems
* acinclude.m4.in: moved LIBTIFF alias
* acinclude.m4.in: only test for the existance of libkimgio if the
user wants to. For 99% of the applications it doesn't matter if
configure can find libkimgio :)
1998-12-10 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: some changes to the python check to handle $LIBDL
1998-12-09 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: make Alex's tiff test a real one
* acinclude.m4.in: fix the LIB_TIFF alias to really expand
1998-12-08 Alex Zepeda <garbanzo@hooked.net>
* acinclude.m4.in: Fix tiff test to use libtiff34 if it exists.
This is what the FreeBSD port installs to for whatever reason.
* acinclude.m4.in: s/kde/KDE/ (at least in some of the
descriptions, obviously no variable names were touched.
1998-12-08 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: moved the LIB_QT alias to the Qt check
* acinclude.m4.in: unset KDEDIR before running conftest
* acinclude.m4.in: fixed mean typo
* acinclude.m4.in: added the copyright header for the gettext
tests, so that people know we're legal ;)
* acinclude.m4.in: set language to C++ before testing QIMGIO
1998-12-07 Alex Zepeda <garbanzo@hooked.net>
* acinclude.m4.in: Fix PNG test to use correct ANSI C code, and
not trip up gcc.
1998-12-07 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't hardcode -ldl
* acinclude.m4.in: move the LIB_X11 alias to the X test to make it
useful for kdesupport as well
* acinclude.m4.in: give the word CHECK_KIMGIO a meaning in really
checking for it
* acinclude.m4.in: simple fix to prevent kimgio test from compiling
KDE application in kdelibs
1998-12-05 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: let KDE_CHECK_KIMGIO depend on AC_PATH_KDE,
otherwise most tests fail. It didn't mean anything to 90% of the
packages since they test for KDE before kimgio, but for shaman
it does
* ltconfig: the real fix for the Solaris && gcc problem.
Thanks Kurt for reporting it and Alexandre for fixing it :)
1998-12-04 Stephan Kulow <coolo@kde.org>
* libtool.*: update again
* acinclude.m4.in: changed the function to test for libnsl to
inet_ntoa since UnixWare 7's version did not have gethostbyname,
but needs libnsl
1998-12-02 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed the MOC test (again) to use the PATH variable
correctly (with the correct seperator)
* config.guess: update from the soon to be released autoconf-2.13
1998-12-01 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixes for the MOC test. Use PATH now when found
1998-11-30 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: extended the MOC test. It checks now for the
first line of the output of "moc --help" and looks for Qt in it.
1998-11-27 Stephan Kulow <coolo@kde.org>
* ltconfig: another libtool update. Fixes an ugly bug on Solaris,
when GNU ld is in path before Solaris ld, but gcc uses the later
1998-11-26 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: made the Qt test more advance to check for qt
1.41 - I still need to make it better, but there shouldn't be too
many qt releases in a row, would there? ;)
* ltconfig: libtool update with better BSD/OS support
1998-11-22 Stephan Kulow <coolo@kde.org>
* ltconfig: cool - libtool uses g++ now to link libraries on Solaris.
This means, static objects become usuable on that plattforms (some
others as well).
1998-11-20 Stephan Kulow <coolo@kde.org>
* ltmain.sh: updated libtool from their CVS - fixes bugs we haven't
found and adds some more features, that we do not need ;-)
1998-11-19 David Faure <faure@kde.org>
* acinclude.m4.in: added AC_CHECK_UTMP_FILE, taken from kdebase
1998-11-16 Harri Porten <porten@kde.org>
* automoc: take care of "ar" object files, too.
1998-11-16 Stephan Kulow <coolo@kde.org>
* libtool.m4.in: revised my --silent patch. The solution
Alexandre suggested is much better.
1998-11-15 Stephan Kulow <coolo@kde.org>
* ltconfig.in: done some tweakings to support -export-dynamic
with egcs
* config.sub: wow - BeOS support :)
1998-11-14 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't use rpath for test program, if rpath is
disabled for applications
* ltconfig: patched libtool to make it silent without making
ltconfig silent
* acinclude.m4.in: make libtool silent again
* libtool.m4.in: update to libtool-981114 (untested stuff, but
we have to test it to make it tested - sounds that logical? :-)
* libtool.m4.in: moved the self stricked libtool tests to "our"
file.
* acinclude.m4.in: moved ChangeLog of kdebase which I used to
maintain acinclude.m4.in logs to kde-common/admin. Hopefully I
will maintain it more often from now on :)
1998-07-27 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed some things in the MOC test
* acinclude.m4.in: fixed this damn msgfmt test
1998-06-02 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: ignore msgfmt, if not GNU gettext
1998-05-28 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed KDE_CHECK_STL. Checks for HP and SGI type
* acinclude.m4.in: embraced every variable with "" to make
it consistent
* acinclude.m4.in: various fixes for the koffice checks
(mico, ministl and python)
1998-05-16 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't use KDE_CHECK_QT_DIRECT, when
--with-qt-libs are given
1998-04-21 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: cool, I found the trick to suppress the ls
errors
1998-04-20 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: rewrote the qt checking test, since it
didn't work under FreeBSD, since it relied on the .so link.
The new version is a little bit buggy, but I need some testing
to make it perfect
* acinclude.m4.in: fixed the side effects of the PAM test
1998-04-18 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: hopefully fixed the PAM test (I rewrote it)
1998-04-16 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: extended the getsockname test inspired
by a patch by Martin Baulig
* configure.in: added test for utmp file
* acinclude.m4.in: made --without-pam default
1998-04-06 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't test compiling, linking, running in
one step. This proved to be too dangerous for my mail box.
1998-03-21 Stephan Kulow <coolo@kde.org>
* libtool.m4.in: created some new macros to work around this
ugly (because long) help of configure --enable-shared/static
1998-03-05 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: set language to C++ before trying the ksize_t
test
* configure.in: sorted the Makefile entries alphabeticly (and all
together: we love xemacs! we love xemacs! ;)
* configure.in: added sk
* acinclude.m4.in: substitute x_libraries to fix the empty -rpath
1998-03-03 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: add a rpath for every shared library, that is
linked too (especially X11 libraries)
Tue Feb 24 22:04:59 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added kde_sounddir and set kde_minidir to
kde_icondir/mini to break not too much
Sun Feb 15 18:25:50 1998 Stephan Kulow <coolo@kde.org>
* configure.in: added bugfix by Bob Miller <kbob@engr.sgi.com>
(correct reset of IFS)
Wed Feb 11 00:53:11 1998 Stephan Kulow <coolo@kde.org>
* configure.in: made shadow under Linux default, since the
binaries will work also under non-shadow systems. The only problem
left is PAM, so I disabled shadow in case, PAM is present
Tue Feb 10 16:46:32 1998 Stephan Kulow <coolo@kde.org>
* configure.in: added test for nice to find out, if the option
-nice works for the screensavers
* acinclude.m4.in: port to LynxOS. For this I moved all library
search routines in KDE_MISC_TESTS, so I don't need to write this
in every package
* README: some grammar fixes
* acinclude.m4.in: search for the libs in the exec_prefix, when
it's present
Sun Feb 8 14:07:23 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: updated all packages
* libtool.m4.in: applied patch for libtool.m4.in to show the
correct default for shared and static
Sat Feb 7 10:56:00 1998 Stephan Kulow <coolo@kde.org>
* configure.in: good news - KDE is relocatable again.
* libtool.m4.in: updated to latest libtool 1.0i
Fri Feb 6 21:26:51 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added a AC_PROVIDE for AC_PROG_CC and
AC_PROG_CPP to KDE_CHECK_COMPILERS
Thu Feb 5 16:27:47 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: put $QTDIR/bin before /usr/bin in the path to
look for moc. I don't know why, but I got a report, that configure
found /usr/bin/moc under Solaris
Fri Jan 30 15:47:50 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: export LIBRARY_PATH after reset to the saved
value
* acinclude.m4.in: unset the LIBRARY_PATH to get a relieable
result when trying to find, if Qt compiles without -L
Sat Jan 24 00:45:52 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed another bug in AC_PATH_KDE
Thu Jan 22 14:46:15 1998 Stephan Kulow <coolo@kde.org>
* configure.in: fixed an ugly bug in AC_BASE_PATH_KDE
* kappfinder/kappfinder.in: let kappfinder create by configure to
allow the use of the kde_ paths
Wed Jan 21 22:19:35 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: - added a install_root prefix to all paths, if
set, to enable package managers to move the whole installation at once
- added --with-install-root to set the install_root prefix
Tue Jan 20 22:41:04 1998 Stephan Kulow <coolo@kde.org>
* configure.in: added NOOPT_CXXFLAGS to allow kioslave to be
compiled without -O2
Mon Jan 19 21:55:21 1998 Stephan Kulow <coolo@kde.org>
* configure.in: some little fixes for the Makefiles
* acinclude.m4.in: --prefix will no longer override the search for
libraries. If they are present somewhere, they are used (through
the methodes in KApplication)
Mon Jan 12 00:30:36 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in fixed an ugly bug, that accoured, when
qt_libraries is not set (empty/equals X11/not necessary)
* acinclude.m4.in moved the remove of the files after the error
detection
Sun Jan 11 17:27:53 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in added a new macro KDE_CHECK_QT_DIRECT to unset
the Qt library path, if a Qt program compiles without them
* acinclude.m4.in added a return value in the CREATE_KFSSTND
macro. Perhaps this has caused the problems
Sat Jan 10 17:40:44 1998 Stephan Kulow <coolo@kde.org>
* ChangeLog started to maintain a ChangeLog file again
* acinclude.m4.in the AC_CREATE_KFSSTND to get better debug output
to find the problem
Old logs, Stephan Kulow made:
0.1 : first steps with libkde
0.2 : first release with libkde, khtmlw, kdehelp, acli, kwm, kpanel
0.3 : added kfm and bugfixes
0.4 : updated khtmlw, kdehelp, kwm, changed install in all subdirs
0.5 : support libtool (chooseable shared libs)
0.6 : split libkde in kdecore and kdeui
0.6.1 : Bugfixes
0.7 : added code from Janos Farkas (configure)
: added @{kde,qt}_{includes,libraries}@
0.7.1: Bugfixes
0.7.2: Bugfixes
0.7.3: added @all_includes@ and @all_libraries@
replaced all incompatible flags like $(CC) and -DHAVE_UNISTD_H
0.7.4: changed support for libkde (back in it's own)
added kpat
updated kpanel, kwm, kghostview
0.8: removed a bug in kghostview
lifted installation process of several apps
splitt kdebase into kdelibs and kdeapps
updated khtmlw, kfm and kdehelp
added kcalc and kpaint
updated kdisplay
added kscreensaver
added --enable-kscreensaver
added --enable-debug (and @CXXFLAGS@ to all Makefile.ins)
updated kwm to 0.4.7
added make uninstall to every app
added kvt
added khexdit
added .kdelnk for kmines, kedit, ktetris
put kwm, kfind's .kdelnk in the right directories
replaced --enable-kscreensaver by --disable-kscreensaver
updated kpanel to 0.15
some bugfixes (thanks Marco)
some bugfixes (thanks Martin)
changed acinclude.m4, because aclocal won't
updated kwm to 0.4.8 (patched it again for Qt-1.2)
updated kvt to 0.13 (patch from Matthias)
patched kvt and kwm
updated kwm to 0.5.0
updated kvt for 0.14 (again and again :-)
updated kview to 0.10
updated kfm to 0.6.3
patched kscreensaver for FreeBSD (thanks Marc)
0.9: updated kdisplay to 0.5.3
added klogout
patches from Matthias
updated kfm to 0.6.4
updated kghostview to 0.4
added QTINC and QTLIB
updated kdehelp to 0.4.11
patched kfm to support ktoolbar
updated kedit to kedit+
added kfontmanager 0.2.1
0.9.1: changed kpaint's make style
bugfixing
updated kmines to 0.6.5
updated ktetris to 0.2.4
changed to Makefiles to depend on Makefile.in
changed the Makefiles to let install depend on all
added kjots-0.2.2
updated kjots-0.2.3
updated kfm to 0.6.6
updated kjots-0.2.4
updated kpaint-0.2
updated kedit to 0.5
updated kfontmanager to 0.2.2
updated kfm to 0.6.7
updated ktetris to 0.2.5
updated kjots to 0.2.5
0.10: added HAVE_SQRTL
added HAVE_CRYPT_H
updated kfind
updated kfm to kfm-0.8.1
re-introduced automake to kdebase
bugfixes for the configure.in
added XPM, GL and PAM tests to configure
added morph3d to kscreensavers
updated kfind to 0.3.2
added some patches for SGI
... lost the time to maintain a Changelog ;)

View File

@ -1,179 +0,0 @@
## generate API documentation with doxygen
apidox-am-yes:
@if test "$(subdir)" != "."; then \
$(mkinstalldirs) $(top_builddir)/apidocs/$(subdir) ;\
if test ! -x $(top_builddir)/apidocs/common; then \
if test -d $(top_srcdir)/doc/common; then \
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
else \
common_dir=$(kde_libs_htmldir)/en/common ;\
fi ;\
$(LN_S) $$common_dir $(top_builddir)/apidocs/common; \
fi ;\
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
echo "PROJECT_NAME = \"$(subdir) Library\"" >> Doxyfile; \
echo "PROJECT_NUMBER = \"Version $(VERSION)\"" >> Doxyfile; \
echo "INPUT = $(srcdir)" >> Doxyfile; \
echo "IMAGE_PATH = $(top_srcdir)/doc/api" >> Doxyfile ;\
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile; \
echo "HTML_OUTPUT = $(subdir)/html" >> Doxyfile; \
echo "HTML_HEADER = $(top_builddir)/apidocs/common/header.html" >> Doxyfile;\
echo "HTML_FOOTER = $(top_builddir)/apidocs/common/footer.html" >> Doxyfile;\
echo "HTML_STYLESHEET = $(top_builddir)/apidocs/common/doxygen.css" >> Doxyfile;\
echo "LATEX_OUTPUT = $(subdir)/latex" >> Doxyfile; \
echo "RTF_OUTPUT = $(subdir)/rtf" >> Doxyfile; \
echo "MAN_OUTPUT = $(subdir)/man" >> Doxyfile; \
echo "GENERATE_HTML = $(GENERATE_FLAG)" >> Doxyfile ;\
echo "GENERATE_MAN = $(GENERATE_FLAG)" >> Doxyfile ;\
echo "GENERATE_LATEX = $(GENERATE_FLAG)" >> Doxyfile ;\
if test -n "$(DOXYGEN_EXCLUDE)"; then \
patterns= ;\
dirs= ;\
for item in `echo "$(DOXYGEN_EXCLUDE)"`; do \
if test -d "$(srcdir)/$$item"; then \
dirs="$$dirs $(srcdir)/$$item/" ;\
else \
patterns="$$patterns $$item" ;\
fi ;\
done ;\
echo "EXCLUDE_PATTERNS += $$patterns" >> Doxyfile; \
echo "EXCLUDE += $$dirs" >> Doxyfile ;\
fi ;\
echo "TAGFILES = \\" >> Doxyfile; \
tags='$(DOXYGEN_REFERENCES) qt'; for tag in $$tags; do \
tagpath= ;\
path="../../$$tag" ;\
if test -f $(top_builddir)/apidocs/$$tag/$$tag.tag; then \
tagpath="$(top_builddir)/apidocs/$$tag/$$tag.tag" ;\
else \
tagpath=`ls -1 $(kde_htmldir)/en/*-apidocs/$$tag/$$tag.tag 2> /dev/null` ;\
if test -n "$$tagpath"; then \
path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,../../../\1/$$tag,"` ;\
fi ;\
fi ;\
if test "$$tag" = qt; then \
echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\
else if test -n "$$tagpath"; then \
echo "$$tagpath=$$path/html \\" >> Doxyfile ;\
fi ;\
fi ;\
done ;\
echo "GENERATE_TAGFILE = $(top_builddir)/apidocs/$(subdir)/`basename $(subdir)`.tag" >> Doxyfile ;\
echo "IGNORE_PREFIX = K" >> Doxyfile ;\
echo "HAVE_DOT = $(KDE_HAVE_DOT)" >> Doxyfile ;\
$(DOXYGEN) Doxyfile ;\
fi
apidox-am-no:
install-data-local: install-apidox
## install API documentation
install-apidox:
@if test "$(subdir)" != "."; then \
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
fi; \
if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
echo "installing $(top_builddir)/apidocs/$(subdir)/html" ;\
for file in $$list; do \
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
done; \
fi; \
rm -f $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
$(LN_S) $(kde_libs_htmldir)/en/common $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
else\
if test -d $(top_builddir)/apidocs; then \
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
list=`cd $(top_builddir)/apidocs && ls -1`; \
echo "installing $(top_builddir)/apidocs/$$file" ;\
for file in $$list; do \
if test -f $(top_builddir)/apidocs/$$file; then \
$(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
fi; \
done ; fi; \
fi
uninstall-local: uninstall-apidox
## uninstall API documentation
uninstall-apidox:
@if test "$(subdir)" != "."; then \
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
fi\
else\
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
fi\
fi
apidox:
@if test "$(subdir)" != "."; then \
$(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\
else \
$(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\
fi
@set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
list='$(SUBDIRS)'; \
for subdir in $$list; do \
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
echo "Making apidox in $$subdir"; \
if test "$$subdir" != "."; then \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no apidox) || exit 1; \
fi ; fi ;\
done; \
for subdir in $$list; do \
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
echo "Making apidox in $$subdir"; \
if test "$$subdir" != "."; then \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=yes apidox) || exit 1; \
fi ; fi ;\
done; \
fi
apidox-am-toplevel-no:
apidox-am-toplevel-yes:
@echo "*** Creating API documentation main page"; \
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
echo "PROJECT_NAME = \"$(DOXYGEN_PROJECT_NAME)\"" >> Doxyfile ; \
echo "PROJECT_NUMBER = \"$(DOXYGEN_PROJECT_NUMBER)\"" >> Doxyfile ; \
echo "INPUT = $(top_srcdir)" >> Doxyfile ; \
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile ; \
echo "FILE_PATTERNS = *.dox" >> Doxyfile ; \
echo "RECURSIVE = NO" >> Doxyfile ; \
echo "SOURCE_BROWSER = NO" >> Doxyfile ; \
echo "ALPHABETICAL_INDEX = NO" >> Doxyfile ; \
echo "HTML_OUTPUT = ." >> Doxyfile ; \
echo "HTML_HEADER = apidocs/common/mainheader.html" >> Doxyfile ; \
echo "HTML_FOOTER = apidocs/common/mainfooter.html" >> Doxyfile ; \
echo "HTML_STYLESHEET = apidocs/common/doxygen.css" >> Doxyfile ; \
echo "GENERATE_LATEX = NO" >> Doxyfile ; \
echo "GENERATE_RTF = NO" >> Doxyfile ; \
echo "GENERATE_MAN = NO" >> Doxyfile ; \
echo "GENERATE_XML = NO" >> Doxyfile ; \
echo "GENERATE_AUTOGEN_DEF = NO" >> Doxyfile ; \
echo "ENABLE_PREPROCESSING = NO" >> Doxyfile ; \
echo "CLASS_DIAGRAMS = NO" >> Doxyfile ; \
echo "HAVE_DOT = NO" >> Doxyfile ; \
echo "GENERATE_HTML = YES" >> Doxyfile ;\
$(mkinstalldirs) $(top_builddir)/apidocs ; \
rm -f $(top_builddir)/apidocs/common ; \
if test -d $(top_srcdir)/doc/common; then \
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
else \
common_dir=$(kde_libs_htmldir)/en/common ;\
fi ;\
$(LN_S) $$common_dir $(top_builddir)/apidocs/common ;\
doxygen Doxyfile; \
rm -f Doxyfile
.PHONY: apidox-am-yes apidox-am-no install-data-local install-apidox install-apidox uninstall-local uninstall-apidox uninstall-apidox apidox apidox-am-toplevel-no apidox-am-toplevel-yes
# Local Variables:
# mode: makefile
# End:

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +0,0 @@
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kapptemplate/admin
for file in $(srcdir)/*; do \
if [ -f $$file -a $$file != 'Makefile' -a $$file != 'Makefile.in' -a $$file != 'Makefile.am' ]; then \
destfile=`basename $$file` \
$(INSTALL_DATA) $$file \
$(DESTDIR)$(kde_datadir)/kapptemplate/admin/$$destfile; \
fi \
done
uninstall-local:
-/bin/rm -rf $(DESTDIR)$(kde_datadir)/kapptemplate/admin

View File

@ -1,35 +0,0 @@
### Makefile.common
###
### Copyright (C) 2002 by the KDE developers
### All the real work is done by the shellscript cvs.sh
SHELL=/bin/sh
cvs dist cvs-clean configure configure.in configure.files subdirs package-messages package-merge Makefile.am acinclude.m4:
@admindir=$(admindir); \
if test "x$$admindir" = x; then \
admindir=.; until test -f $$admindir/admin/cvs.sh; do \
admindir=$$admindir/..; \
if test `cd $$admindir && pwd` = / ; then break; fi; \
done; \
admindir=$$admindir/admin; \
if test -f $$admindir/cvs.sh; then :; else \
echo "Can't find the admin/ directory in any parent of the"; \
echo "current directory. Please set it with admindir=..."; \
exit 1; \
fi; \
fi; \
if test "$@" = "package-merge"; then \
MAKE="$(MAKE)" POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
$(SHELL) $$admindir/cvs.sh package-merge ;\
else \
MAKE="$(MAKE)" $(SHELL) $$admindir/cvs.sh $@ ;\
fi
configure.in: configure.files subdirs
configure.files: subdirs
.SILENT:
.PHONY: cvs dist cvs-clean package-merge package-messages

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,156 +0,0 @@
#!/usr/bin/perl -w
use DB_File;
use Fcntl ':flock';
if (!defined($ARGV[0])) {
print "usage: requires .class dump as parameter!\n";
exit;
}
sub bailout
{
untie %bcheckdb if(defined(%bcheckdb));
if(defined(MYLOCK)) {
flock MYLOCK, LOCK_UN;
close(MYLOCK);
}
print @_;
exit 5;
}
sub ask_user
{
my ($dbkey, $dbchunk) = @_;
if (defined($ENV{"BCHECK_UPDATE"})) {
$bcheckdb{$dbkey} = $dbchunk;
return;
}
&bailout("BC problem detected") if (! -t STDIN);
print "(I)gnore / (Q)uit / (U)pdate: ";
my $key;
while(defined(read STDIN, $key, 1)) {
$key = lc($key);
print "got: >$key<\n";
return if ($key eq 'i');
&bailout("BC problem. aborted") if ($key eq 'q');
if ($key eq 'u') {
$bcheckdb{$dbkey} = $dbchunk;
return;
}
print "\n(I)gnore / (Q)uit / (U)pdate: ";
}
}
sub diff_chunk($$)
{
my ($oldl, $newl) = @_;
my @old = split /^/m, $oldl;
my @new = split /^/m, $newl;
my $haschanges = 0;
my $max = $#old > $#new ? $#old : $#new;
die "whoops. key different" if ($old[0] ne $new[0]);
if ($#old != $#new) {
warn ("Structural difference.\n");
print @old;
print "-----------------------------------------------\n";
print @new;
$haschanges = 1;
return $haschanges;
}
print $old[0];
my ($class) = ($old[0] =~ /^(?:Class |Vtable for )(\S+)/);
my $c = 1;
while ($c < $max) {
my ($o, $n) = ($old[$c], $new[$c]);
chomp $o;
chomp $n;
$c++;
next if ($o eq $n);
if(defined($class) and $n =~ /^(\d+\s+)\w+(::\S+\s*.*)$/) {
next if ($n eq "$1$class$2");
}
$haschanges = 1;
print "-$o\n+$n\n\n";
}
return $haschanges;
}
local $dblock = $ENV{"HOME"} . "/bcheck.lock";
my $dbfile = $ENV{"HOME"} . "/bcheck.db";
my $cdump = $ARGV[0];
die "file $cdump is not readable: $!" if (! -f $cdump);
# make sure the advisory lock exists
open(MYLOCK, ">$dblock");
print MYLOCK "";
flock MYLOCK, LOCK_EX;
tie %bcheckdb, 'DB_File', $dbfile;
my $chunk = "";
open (IN, "<$cdump") or die "cannot open $cdump: $!";
while (<IN>) {
chop;
s/0x[0-9a-fA-F]+/0x......../g;
s/base size=/size=/g;
s/base align=/align=/g;
$chunk .= $_ . "\n";
if(/^\s*$/) {
my @lines = split /^/m, $chunk;
my $key = $lines[0];
chomp $key;
if($key !~ /<anonymous struct>/ &&
$key !~ /<anonymous union>/) {
if(defined($bcheckdb{$key})) {
my $dbversion = $bcheckdb{$key};
if($dbversion ne $chunk) {
&ask_user($key, $chunk) if(&diff_chunk($dbversion, $chunk));
}
}
else {
$bcheckdb{$key} = $chunk;
print "NEW: $key\n";
}
}
$chunk = "";
next;
}
}
close(IN);
untie %bcheckdb;
flock MYLOCK, LOCK_UN;
close(MYLOCK);
exit 0;

View File

@ -1,99 +0,0 @@
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Usage:
# compile PROGRAM [ARGS]...
# `-o FOO.o' is removed from the args passed to the actual compile.
prog=$1
shift
ofile=
cfile=
args=
while test $# -gt 0; do
case "$1" in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we do something ugly here.
ofile=$2
shift
case "$ofile" in
*.o | *.obj)
;;
*)
args="$args -o $ofile"
ofile=
;;
esac
;;
*.c)
cfile=$1
args="$args $1"
;;
*)
args="$args $1"
;;
esac
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$prog" $args
fi
# Name of file we expect compiler to create.
cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir $lockdir > /dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir $lockdir; exit 1" 1 2 15
# Run the compile.
"$prog" $args
status=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
fi
rmdir $lockdir
exit $status

View File

@ -1,191 +0,0 @@
#!/usr/bin/env perl
# this script patches a config.status file, to use our own perl script
# in the main loop
# we do it this way to circumvent hacking (and thereby including)
# autoconf function (which are GPL) into our LGPL acinclude.m4.in
# written by Michael Matz <matz@kde.org>
# adapted by Dirk Mueller <mueller@kde.org>
#
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public License
# along with this library; see the file COPYING.LIB. If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# we have to change two places
# 1. the splitting of the substitutions into chunks of 90 (or even 48 in
# later autoconf's
# 2. the big main loop which patches all Makefile.in's
use strict;
use File::Basename;
my $ac_aux_dir = dirname($0);
my ($flag);
my $ac_version = 0;
my $vpath_seen = 0;
$flag = 0;
while (<>) {
# usage of $flag: 0 -- we have seen nothing yet
# 1 -- we are in (1)
# 2 -- we have ended (1)
# 3 -- we are in (2)
# 4 -- we ended (2)
if ($flag == 4) {
print;
} elsif ($flag == 0) {
# 1. begins with (including): "ac_max_sed_\S+\s*=\s*[0-9]+..."
# ends with (excluding) "CONFIG_FILE=..."
# in later autoconf (2.14.1) there is no CONFIG_FILES= line,
# but instead the (2) directly follow (1)
if (/^\s*ac_max_sed_([a-z]+).*=\s*([0-9]+)/ ) {
$flag = 1;
if ($1 eq 'lines') {
# lets hope its different with 2141,
# wasn't able to verify that
if ($2 eq '48') {
$ac_version = 250;
}
else {
$ac_version = 2141;
}
} elsif ($1 eq 'cmds') {
$ac_version = 213;
}
# hmm, we don't know the autoconf version, but we try anyway
} else {
print;
}
} elsif ($flag == 1) {
if (/^\s*CONFIG_FILES=/ && ($ac_version != 250)) {
print;
$flag = 2;
} elsif (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
$flag = 3;
}
} elsif ($flag == 2) {
# 2. begins with: "for ac_file in.*CONFIG_FILES" (the next 'for' after (1))
# end with: "rm -f conftest.s\*"
# on autoconf 250, it ends with '# CONFIG_HEADER section'
#
# gg: if a post-processing commands section is found first,
# stop there and insert a new loop to honour the case/esac.
# (pattern: /^\s+#\sRun the commands associated with the file./)
if (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
$flag = 3;
} else {
print;
}
} elsif ($flag == 3) {
if (/^\s*rm\s+-f\s+conftest/ ) {
$flag = 4;
&insert_main_loop();
} elsif (/^\s*rm\s+-f\s+.*ac_cs_root/ ) {
$flag = 4;
&insert_main_loop();
#die "hhhhhhh";
if ($ac_version != 2141) {
print STDERR "hmm, don't know autoconf version\n";
}
} elsif (/^\#\s*CONFIG_(HEADER|COMMANDS) section.*|^\s+#\s(Run) the commands associated/) {
$flag = 4;
my $commands = defined $2;
&insert_main_loop();
$commands && insert_command_loop();
if($ac_version != 250) {
print STDERR "hmm, something went wrong :-(\n";
}
} elsif (/VPATH/ ) {
$vpath_seen = 1;
}
}
}
die "wrong input (flag != 4)" unless $flag == 4;
print STDERR "hmm, don't know autoconf version\n" unless $ac_version;
sub insert_main_loop {
if ($ac_version == 250) {
&insert_main_loop_250();
}
else {
&insert_main_loop_213();
}
}
sub insert_main_loop_250 {
print <<EOF;
#echo Doing the fast build of Makefiles -- autoconf $ac_version
EOF
if ($vpath_seen) {
print <<EOF;
# VPATH subst was seen in original config.status main loop
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >>\$tmp/subs.sed
EOF
}
print <<EOF;
rm -f \$tmp/subs.files
for ac_file in .. \$CONFIG_FILES ; do
if test "x\$ac_file" != x..; then
echo \$ac_file >> \$tmp/subs.files
fi
done
if test -f \$tmp/subs.files ; then
perl $ac_aux_dir/config.pl "\$tmp/subs.sed" "\$tmp/subs.files" "\$srcdir" "\$INSTALL"
fi
rm -f \$tmp/subs.files
fi
EOF
return;
}
sub insert_main_loop_213 {
print <<EOF;
#echo Doing the fast build of Makefiles -- autoconf $ac_version
if test "x\$ac_cs_root" = "x" ; then
ac_cs_root=conftest
fi
EOF
if ($vpath_seen) {
print <<EOF;
# VPATH subst was seen in original config.status main loop
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >> \$ac_cs_root.subs
EOF
}
print <<EOF;
rm -f \$ac_cs_root.sacfiles
for ac_file in .. \$CONFIG_FILES ; do
if test "x\$ac_file" != x..; then
echo \$ac_file >> \$ac_cs_root.sacfiles
fi
done
if test -f \$ac_cs_root.sacfiles ; then
perl $ac_aux_dir/config.pl "\$ac_cs_root.subs" "\$ac_cs_root.sacfiles" "\$ac_given_srcdir" "\$ac_given_INSTALL"
fi
rm -f \$ac_cs_root.s*
EOF
return;
}
sub insert_command_loop {
print <<EOF;
for ac_file in .. \$CONFIG_FILES ; do
EOF
}

1449
admin/config.guess vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,236 +0,0 @@
#!/usr/bin/env perl
# a script for use by autoconf to make the Makefiles
# from the Makefile.in's
#
# the original autoconf mechanism first splits all substitutions into groups
# of ca. 90, and than invokes sed for _every_ Makefile.in and every group
# (so around 2-3 times per Makefile.in). So this takes forever, as sed
# has to recompile the regexps every time.
#
# this script does better. It changes all Makefile.ins in one process.
# in kdelibs the time for building Makefile went down from 2:59 min to 13 sec!
#
# written by Michael Matz <matz@kde.org>
# adapted by Dirk Mueller <mueller@kde.org>
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public License
# along with this library; see the file COPYING.LIB. If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
use strict;
use File::Path;
my $ac_subs=$ARGV[0];
my $ac_sacfiles = $ARGV[1];
my $ac_given_srcdir=$ARGV[2];
my $ac_given_INSTALL=$ARGV[3];
my @comp_match;
my @comp_subs;
#print "ac_subs=$ac_subs\n";
#print "ac_sacfiles=$ac_sacfiles\n";
#print "ac_given_srcdir=$ac_given_srcdir\n";
#print "ac_given_INSTALL=$ac_given_INSTALL\n";
my $configure_input;
my ($srcdir, $top_srcdir);
my $INSTALL;
my $bad_perl = ($] < 5.005);
my $created_file_count = 0;
open(CF, "< $ac_subs") || die "can't open $ac_subs: $!";
my @subs = <CF>;
close(CF);
chomp @subs;
@comp_match=();
@comp_subs=();
if ($bad_perl) {
print "Using perl older than version 5.005\n";
foreach my $pat (@subs) {
if ( ($pat =~ m/s%([^%]*)%([^%]*)%g/ )
|| ($pat =~ m/s%([^%]*)%([^%]*)%;t/ )
|| ($pat =~ m/s,([^,]*),(.*),;t/)
|| ($pat =~ m%s/([^/]*)/([^/]*)/g% )
|| ($pat =~ m%s/([^/]*)/([^/]*)/;t% )
) {
# form : s%bla%blubb%g
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
# or s,bla,blubb,;t t (autoconf 2.52)
my $srch = $1;
my $repl = $2;
$repl =~ s/\\(.)/$1/g;
push @comp_subs, make_closure($srch, $repl);
} elsif ( ($pat =~ /%([^%]*)%d/ )
|| ($pat =~ m%/([^/]*)/d% )
) {
push @comp_subs, make_closure($1, "");
} else {
die "Uhh. Malformed pattern in $ac_subs ($pat)"
unless ( $pat =~ /^\s*$/ ); # ignore white lines
}
}
} else {
foreach my $pat (@subs) {
if ( ($pat =~ /s%([^%]*)%([^%]*)%g/ ) ||
($pat =~ /s%([^%]*)%([^%]*)%;t/ ) ||
($pat =~ /s,([^,]*),(.*),;t/) ) {
# form : s%bla%blubb%g
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
# or s,bla,blubb,;t t (autoconf 2.52)
my $srch = $1;
my $repl = $2;
push @comp_match, eval "qr/\Q$srch\E/"; # compile match pattern
$repl =~ s/\\(.)/$1/g;
push @comp_subs, $repl;
} elsif ( ($pat =~ /%([^%]*)%d/ )
|| ($pat =~ m%/([^/]*)/d% )
) {
push @comp_match, eval "qr/\Q$1\E/";
push @comp_subs, "";
} else {
die "Uhh. Malformed pattern in $ac_subs ($pat)"
unless ( $pat =~ /^\s*$/ ); # ignore white lines
}
}
}
undef @subs;
# read the list of files to be patched, form:
# ./Makefile arts/Makefile arts/examples/Makefile arts/flow/Makefile
open(CF, "< $ac_sacfiles") || die "can't open $ac_sacfiles: $!";
my @ac_files = <CF>;
close(CF);
chomp @ac_files;
my $ac_file;
foreach $ac_file (@ac_files) {
next if $ac_file =~ /\.\./;
next if $ac_file =~ /^\s*$/;
my $ac_file_in;
my ($ac_dir, $ac_dots, $ac_dir_suffix);
if ($ac_file =~ /.*:.*/ ) {
($ac_file_in = $ac_file) =~ s%[^:]*:%%;
$ac_file =~ s%:.*%%;
} else {
$ac_file_in = $ac_file.".in";
}
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
($ac_dir = $ac_file) =~ s%/[^/][^/]*$%%;
if ( ($ac_dir ne $ac_file) && ($ac_dir ne ".")) {
# The file is in a subdirectory.
if (! -d "$ac_dir") { mkpath "$ac_dir", 0, 0777; }
($ac_dir_suffix = $ac_dir) =~ s%^./%%;
$ac_dir_suffix="/".$ac_dir_suffix;
# A "../" for each directory in $ac_dir_suffix.
($ac_dots = $ac_dir_suffix) =~ s%/[^/]*%../%g;
} else {
$ac_dir_suffix="";
$ac_dots="";
}
if ($ac_given_srcdir eq ".") {
$srcdir=".";
if ($ac_dots) {
( $top_srcdir = $ac_dots) =~ s%/$%%;
} else { $top_srcdir="."; }
} elsif ($ac_given_srcdir =~ m%^/%) {
$srcdir=$ac_given_srcdir.$ac_dir_suffix;
$top_srcdir = $ac_given_srcdir;
} else {
$srcdir = $ac_dots.$ac_given_srcdir.$ac_dir_suffix;
$top_srcdir = $ac_dots.$ac_given_srcdir;
}
if ($ac_given_INSTALL) {
if ($ac_given_INSTALL =~ m%^/% ) {
$INSTALL = $ac_given_INSTALL;
} else {
$INSTALL = $ac_dots.$ac_given_INSTALL;
}
}
print "fast creating $ac_file\n";
unlink $ac_file;
my $ac_comsub="";
my $fname=$ac_file_in;
$fname =~ s%.*/%%;
$configure_input="$ac_file. Generated from $fname by config.pl.";
my $ac_file_inputs;
($ac_file_inputs = $ac_file_in) =~ s%^%$ac_given_srcdir/%;
$ac_file_inputs =~ s%:% $ac_given_srcdir/%g;
patch_file($ac_file, $ac_file_inputs);
++$created_file_count;
}
print "config.pl: fast created $created_file_count file(s).\n";
sub patch_file {
my ($outf, $infiles) = @_;
my $filedata;
my @infiles=split(' ', $infiles);
my $i=0;
foreach my $name (@infiles) {
if (open(CF, "< $name")) {
while (<CF>) {
$filedata .= $_;
}
close(CF);
} else {
print STDERR "can't open $name: $!"."\n";
}
}
$filedata =~ s%\@configure_input\@%$configure_input%g;
$filedata =~ s%\@srcdir\@%$srcdir%g;
$filedata =~ s%\@top_srcdir\@%$top_srcdir%g;
$filedata =~ s%\@INSTALL\@%$INSTALL%g;
if ($bad_perl) {
while ($i <= $#comp_subs) {
my $ref = $comp_subs[$i];
&$ref(\$filedata);
$i++;
}
} else {
while ($i <= $#comp_match) {
$filedata =~ s/$comp_match[$i]/$comp_subs[$i]/g;
$i++;
}
}
open(CF, "> $outf") || die "can't create $outf: $!";
print CF $filedata;
close(CF);
}
sub make_closure {
my ($pat, $sub) = @_;
my $ret = eval "return sub { my \$ref=shift; \$\$ref =~ s%\Q$pat\E%\Q$sub\E%g; }";
if ($@) {
print "can't create CODE: $@\n";
}
return $ret;
}

View File

1552
admin/config.sub vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +0,0 @@
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
fi
fi
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

View File

@ -1,57 +0,0 @@
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
dnl Boston, MA 02111-1307, USA.
# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acinclude.m4) dnl a source file from your sub dir
dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH
dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
KDE_SET_PREFIX
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS
dnl KDE_USE_QT
AC_PATH_KDE

View File

@ -1,87 +0,0 @@
#! /usr/bin/perl
#
# This script recursively (beginning with the current directory)
# wipes out everything not registered in CVS.
#
# written by Oswald Buddenhagen <ossi@kde.org>
# inspired by the "old" cvs-clean target from Makefile.common
#
# This file is free software in terms of the BSD license. That means
# that you can do anything with it except removing this license or
# the above copyright notice. There is NO WARRANTY of any kind.
#
sub rmrf()
{
my $fn = shift;
lstat ($fn);
if (-d _) {
if (opendir (DIR, $fn)) {
for my $efn (grep (!/^\.\.?$/, readdir (DIR))) {
&rmrf ($fn."/".$efn);
}
closedir (DIR);
rmdir ($fn);
}
} else {
unlink ($fn);
}
}
sub newfiles()
{
my ($indir, $incvs) = @_;
for my $n (keys (%$incvs)) { delete $$indir{$n} }
return sort (keys (%$indir));
}
sub cvsclean()
{
my $dir = shift;
my (%dirsdir, %filesdir, %dirscvs, %filescvs);
my $dnam = $dir ? $dir : ".";
if (!opendir (DIR, $dnam)) {
print STDERR "Cannot enter \"".$dnam."\".\n";
return;
}
for my $fn (grep (!/^\.\.?$/, readdir (DIR))) {
if (-d $dir.$fn) {
$fn eq "CVS" or $dirsdir{$fn} = 1;
} else {
$filesdir{$fn} = 1;
}
}
closedir (DIR);
if (!open (FILE, "<".$dir."CVS/Entries")) {
print STDERR "No CVS information in \"".$dnam."\".\n";
return;
}
while (<FILE>) {
m%^D/([^/]+)/.*$% and $dirscvs{$1} = 1;
m%^/([^/]+)/.*$% and $filescvs{$1} = 1;
}
close (FILE);
if (open (FILE, "<".$dir."CVS/Entries.Log")) {
while (<FILE>) {
m%^A D/([^/]+)/.*$% and $dirscvs{$1} = 1;
m%^A /([^/]+)/.*$% and $filescvs{$1} = 1;
m%^R D/([^/]+)/.*$% and delete $dirscvs{$1};
m%^R /([^/]+)/.*$% and delete $filescvs{$1};
}
close (FILE);
}
for my $fn (&newfiles (\%filesdir, \%filescvs)) {
print ("F ".$dir.$fn."\n");
&rmrf ($dir.$fn);
}
for my $fn (&newfiles (\%dirsdir, \%dirscvs)) {
print ("D ".$dir.$fn."\n");
&rmrf ($dir.$fn);
}
for my $fn (sort (keys (%dirscvs))) {
&cvsclean ($dir.$fn."/");
}
}
&cvsclean ("");

View File

@ -1,669 +0,0 @@
#! /bin/sh
#
# cvs.sh
#
# This file contains support code from Makefile.common
# It defines a shell function for each known target
# and then does a case to call the correct function.
call_and_fix_autoconf()
{
$AUTOCONF || exit 1
if test -r configure.in.in ; then
perl -pi -e "print \"if test \\\"x\\\$with_fast_perl\\\" = \\\"xyes\\\"; then\
\\n perl -i.bak \\\$ac_aux_dir/conf.change.pl \\\$CONFIG_STATUS\
\\\\\\n || mv \\\$CONFIG_STATUS.bak \\\$CONFIG_STATUS\
\\n rm -f \\\$CONFIG_STATUS.bak\\nfi\
\\n\" if /^\\s*chmod\\s+.*\\+x\\s+.*CONFIG_STATUS/; s,^#line.*LINENO.*\$,/* \$& */, ;" configure
fi
}
strip_makefile()
{
if test ! -f $makefile_wo; then
perl -e '$in=0; while ( <> ) { $in = 1 if ($_ =~ m/^if / ); print $_ unless ($in || $_ =~ m/^include /); $in = 0 if ($_ =~ m/^endif/); }' < $makefile_am > $makefile_wo
fi
}
check_autotool_versions()
{
required_autoconf_version="2.53 or newer"
AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
case $AUTOCONF_VERSION in
Autoconf*2.5* | autoconf*2.5* | autoconf*2.6* ) : ;;
"" )
echo "*** AUTOCONF NOT FOUND!."
echo "*** KDE requires autoconf $required_autoconf_version"
exit 1
;;
* )
echo "*** YOU'RE USING $AUTOCONF_VERSION."
echo "*** KDE requires autoconf $required_autoconf_version"
exit 1
;;
esac
AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
case $AUTOHEADER_VERSION in
Autoconf*2.5* | autoheader*2.5* | autoheader*2.6* ) : ;;
"" )
echo "*** AUTOHEADER NOT FOUND!."
echo "*** KDE requires autoheader $required_autoconf_version"
exit 1
;;
* )
echo "*** YOU'RE USING $AUTOHEADER_VERSION."
echo "*** KDE requires autoheader $required_autoconf_version"
exit 1
;;
esac
AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
required_automake_version="1.6.1 or newer"
case $AUTOMAKE_STRING in
automake*1.5d* | automake*1.5* | automake*1.5-* )
echo "*** YOU'RE USING $AUTOMAKE_STRING."
echo "*** KDE requires automake $required_automake_version"
exit 1
;;
automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* ) : ;;
"" )
echo "*** AUTOMAKE NOT FOUND!."
echo "*** KDE requires automake $required_automake_version"
exit 1
;;
unsermake* ) :
echo "*** YOU'RE USING UNSERMAKE."
echo "*** GOOD LUCK!! :)"
;;
* )
echo "*** YOU'RE USING $AUTOMAKE_STRING."
echo "*** KDE requires automake $required_automake_version"
exit 1
;;
esac
unset required_automake_version
}
cvs()
{
check_autotool_versions
acinclude_m4
### Make new subdirs and configure.in.
### The make calls could be optimized away here,
### with a little thought.
if test -r configure.in.in; then
rm -f configure.in
echo "*** Creating list of subdirectories"
create_subdirs
if test -r Makefile.am.in; then
echo "*** Creating Makefile.am"
if grep '\$(top_srcdir)/Makefile.am:' $makefile_am >/dev/null; then
strip_makefile
$MAKE -f $makefile_wo top_srcdir=. ./Makefile.am || exit 1
else
Makefile_am
fi
fi
configure_files
echo "*** Creating configure.in"
if grep '\$(top_srcdir)/configure.in:' $makefile_am >/dev/null; then
strip_makefile
$MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1
else
configure_in
fi
fi
echo "*** Creating aclocal.m4"
$ACLOCAL $ACLOCALFLAGS || exit 1
echo "*** Creating configure"
call_and_fix_autoconf
if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
echo "*** Creating config.h template"
$AUTOHEADER || exit 1
fi
echo "*** Creating Makefile templates"
$AUTOMAKE || exit 1
if test -z "$UNSERMAKE"; then
echo "*** Postprocessing Makefile templates"
perl -w admin/am_edit || exit 1
fi
if egrep "^cvs-local:" $makefile_am >/dev/null; then \
strip_makefile
$MAKE -f $makefile_wo cvs-local top_srcdir=. || exit 1
fi
echo "*** Creating date/time stamp"
touch stamp-h.in
echo "*** Finished"
echo " Don't forget to run ./configure"
echo " If you haven't done so in a while, run ./configure --help"
}
dist()
{
check_autotool_versions
###
### First build all of the files necessary to do just "make"
###
acinclude_m4
if test -r configure.in.in; then
rm -f configure.in
create_subdirs
if test -r Makefile.am.in; then
if grep '\$(top_srcdir)/Makefile.am:' $makefile_am >/dev/null; then
strip_makefile
$MAKE -f $makefile_wo top_srcdir=. ./Makefile.am || exit 1
else
Makefile_am
fi
fi
configure_files
if grep '\$(top_srcdir)/configure.in:' $makefile_am >/dev/null; then
strip_makefile
$MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1
else
configure_in
fi
fi
$ACLOCAL $ACLOCALFLAGS
if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
echo "*** Creating config.h template"
$AUTOHEADER || exit 1
fi
$AUTOMAKE --foreign
perl -w admin/am_edit
call_and_fix_autoconf
touch stamp-h.in
if grep "^cvs-local:" $makefile_am >/dev/null; then
strip_makefile
$MAKE -f $makefile_wo cvs-local top_srcdir=.
fi
###
### Then make messages
###
if test -d po; then
LIST=`find ./po -name "*.po"`
for i in $LIST; do
file2=`echo $i | sed -e "s#\.po#\.gmo#"`
msgfmt -o $file2 $i || touch $file2
done
fi
if grep "^cvs-dist-local:" $makefile_am >/dev/null; then
strip_makefile
$MAKE -f $makefile_wo cvs-dist-local top_srcdir=.
fi
}
subdir_dist()
{
$ACLOCAL $ACLOCALFLAGS
$AUTOHEADER
$AUTOMAKE
perl -w ../admin/am_edit --path=../admin
call_and_fix_autoconf
touch stamp-h.in
}
configure_in()
{
rm -f configure.in configure.in.new
kde_use_qt_param=
test -f configure.files || { echo "need configure.files for configure.in"; exit 1; }
list=`fgrep -v "configure.in.bot" < configure.files | fgrep -v "configure.in.mid"`
: > configure.in.new
for file in $list; do
echo "dnl =======================================================" >> configure.in.new
echo "dnl FILE: $file" >> configure.in.new
echo "dnl =======================================================" >> configure.in.new
echo "" >> configure.in.new
cat $file >> configure.in.new
done
echo "KDE_CREATE_SUBDIRSLIST" >> configure.in.new
if test -f Makefile.am.in; then
subdirs=`cat subdirs`
for dir in $subdirs; do
vdir=`echo $dir | sed -e 's,[-+.@],_,g'`
echo "AM_CONDITIONAL($vdir""_SUBDIR_included, test \"x\$$vdir""_SUBDIR_included\" = xyes)" >> configure.in.new
if test -f "$dir/configure.in"; then
echo "if test \"x\$$vdir""_SUBDIR_included\" = xyes; then " >> configure.in.new
echo " AC_CONFIG_SUBDIRS($dir)" >> configure.in.new
echo "fi" >> configure.in.new
fi
done
fi
echo "AC_CONFIG_FILES([ Makefile ])" >> configure.in.new
if test -n "$UNSERMAKE"; then
echo "AC_CONFIG_FILES([ Makefile.rules ])" >> configure.in.new
echo "AC_CONFIG_FILES([ Makefile.calls ])" >> configure.in.new
fi
if test -f inst-apps; then
topleveldirs=`cat inst-apps`
else
topleveldirs=
for dir in `ls -1d * | sort`; do
if test "$dir" != "debian" && test -d $dir; then
topleveldirs="$topleveldirs $dir"
fi
done
fi
for topleveldir in $topleveldirs; do
if test -f $topleveldir/configure.in; then
continue
fi
if test -f $topleveldir/Makefile.am; then :; else
continue
fi
mfs=`find $topleveldir -follow -name Makefile.am -print | fgrep -v "/." | \
sed -e 's#\./##; s#/Makefile.am$##' | sort | sed -e 's#$#/Makefile#'`
for i in $mfs; do
echo "AC_CONFIG_FILES([ $i ])" >> configure.in.new
if test -n "$UNSERMAKE"; then
echo "AC_CONFIG_FILES([ $i.rules ])" >> configure.in.new
echo "AC_CONFIG_FILES([ $i.calls ])" >> configure.in.new
fi
done
done
files=`cat configure.files`
list=`egrep '^dnl AC_OUTPUT\(.*\)' $files | sed -e "s#^.*dnl AC_OUTPUT(\(.*\))#\1#"`
for file in $list; do
echo "AC_CONFIG_FILES([ $file ])" >> configure.in.new
done
if test -n "$UNSERMAKE"; then
echo "AC_CONFIG_FILES([ MakeVars ])" >> configure.in.new
fi
midfiles=`cat configure.files | fgrep "configure.in.mid"`
test -n "$midfiles" && cat $midfiles >> configure.in.new
echo "AC_OUTPUT" >> configure.in.new
modulename=
if test -f configure.in.in; then
if head -n 2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
kde_use_qt_param=`cat configure.in.in | sed -n -e "s/#MIN_CONFIG(\(.*\))/\1/p"`
fi
if head -n 2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
line=`grep "^AM_INIT_AUTOMAKE(" configure.in.in`
if test -n "$line"; then
modulename=`echo $line | sed -e "s#AM_INIT_AUTOMAKE(\([^,]*\),.*#\1#"`
VERSION=`echo $line | sed -e "s#AM_INIT_AUTOMAKE([^,]*, *\([^)]*\)).*#\1#"`
fi
sed -e "s#AM_INIT_AUTOMAKE([^@].*#dnl PACKAGE set before#" \
configure.in.new > configure.in && mv configure.in configure.in.new
fi
fi
if test -z "$VERSION" || test "$VERSION" = "@VERSION@"; then
VERSION="\"3.3.0\""
fi
if test -z "$modulename" || test "$modulename" = "@MODULENAME@"; then
modulename=`pwd`;
modulename=`basename $modulename`
esc_VERSION=`echo $VERSION | sed -e "s#[^.0-9a-zA-Z]##g"`
modulename=`echo $modulename | sed -e "s#-$esc_VERSION##"`
fi
if test -n "$kde_use_qt_param"; then
sed -e "s#^dnl KDE_USE_QT#KDE_USE_QT($kde_use_qt_param)#" \
configure.in.new > configure.in && mv configure.in configure.in.new
fi
sed -e "s#@MODULENAME@#$modulename#" configure.in.new |
sed -e "s#@VERSION@#$VERSION#" > configure.in
botfiles=`cat configure.files | egrep "configure.in.bot"`
test -n "$botfiles" && cat $botfiles >> configure.in
cat $admindir/configure.in.bot.end >> configure.in
rm -f configure.in.new
}
configure_files()
{
echo "*** Creating configure.files"
admindir=NO
for i in . .. ../.. ../../..; do
if test -x $i/admin; then admindir=$i/admin; break; fi
done
rm -f configure.files
touch configure.files
if test -f configure.in.in && head -n 2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
echo $admindir/configure.in.min >> configure.files
fi
test -f configure.in.in && echo configure.in.in >> configure.files
# we collect files in the subdirs and do some sorting tricks, so subsubdirs come after subdirs
if test -f inst-apps; then
inst=`cat inst-apps`
list=""
for i in $inst; do
list="$list `find $i/ -follow -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | \
sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`"
done
else
list=`find . -follow -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | \
sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`
fi
for i in $list; do if test -f $i && test `dirname $i` != "." ; then
echo $i >> configure.files
fi; done
test -f configure.in.mid && echo configure.in.mid >> configure.files
test -f configure.in.bot && echo configure.in.bot >> configure.files
if test ! -s configure.files; then
echo "There are no files to build a configure. Please check your checkout."
exit 1
fi
}
create_subdirs()
{
if grep '\$(top_srcdir)/subdirs:' $makefile_am >/dev/null; then
# as many modules contain rules to create subdirs without any
# dependencies make won't create it unless there is no file.
# so we check if that's a dummy rule or one that works
rm -f subdirs.cvs.sh.$$
if test -f subdirs; then
mv subdirs subdirs.cvs.sh.$$
fi
strip_makefile
$MAKE -f $makefile_wo top_srcdir=. ./subdirs || exit 1
if test -f subdirs.cvs.sh.$$; then
if test -s subdirs; then
rm subdirs.cvs.sh.$$
else
mv subdirs.cvs.sh.$$ subdirs
fi
fi
else
subdirs
fi
}
subdirs()
{
dirs=
idirs=
if test -f inst-apps; then
idirs=`cat inst-apps`
else
idirs=`ls -1 | sort`
fi
compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
for i in $idirs; do
if test -f $i/Makefile.am; then
case " $compilefirst $compilelast " in
*" $i "*) ;;
*) dirs="$dirs $i"
esac
fi
done
: > ./_SUBDIRS
for d in $compilefirst; do
echo $d >> ./_SUBDIRS
done
(for d in $dirs; do
list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
for s in $list; do
echo $s $d
done
list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
for s in $list; do
echo $d $s
done
echo $d $d
done ) | tsort >> ./_SUBDIRS
for d in $compilelast; do
echo $d >> ./_SUBDIRS
done
if test -r subdirs && cmp -s subdirs _SUBDIRS; then
rm -f _SUBDIRS
fi
test -r _SUBDIRS && mv _SUBDIRS subdirs || true
}
Makefile_am()
{
if test -f Makefile.am.in; then
compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
idirs=
dirs=
if test -f inst-apps; then
idirs=`cat inst-apps`
else
idirs=`cat subdirs`
fi
for i in $idirs; do
case " $compilefirst $compilelast " in
*" $i "*) ;;
*) dirs="$dirs $i"
esac
done
adds=`fgrep '$(top_srcdir)/acinclude.m4:' Makefile.am.in | sed -e 's,^[^:]*: *,,; s,\$(top_srcdir)/,,g'`
if echo "$adds" | fgrep "*" >/dev/null ; then
adds=`ls -d -1 $adds 2>/dev/null`
fgrep -v '$(top_srcdir)/acinclude.m4:' Makefile.am.in > Makefile.am.in.adds
str='$(top_srcdir)/acinclude.m4:'
for add in $adds; do
str="$str \$(top_srcdir)/$add"
done
echo $str >> Makefile.am.in.adds
else
cat Makefile.am.in > Makefile.am.in.adds
fi
if test -n "$UNSERMAKE"; then
cat Makefile.am.in.adds > Makefile.am
topsubdirs=
for i in $compilefirst $dirs $compilelast; do
vari=`echo $i | sed -e "s,[-+],_,g"`
echo "if $vari""_SUBDIR_included" >> Makefile.am
echo "$vari""_SUBDIR=$i" >> Makefile.am
echo "endif" >> Makefile.am
topsubdirs="$topsubdirs \$($vari""_SUBDIR)"
done
echo "SUBDIRS=$topsubdirs" >> Makefile.am
else
cat Makefile.am.in.adds | \
sed -e 's,^\s*\(COMPILE_BEFORE.*\),# \1,' | \
sed -e 's,^\s*\(COMPILE_AFTER.*\),# \1,' > Makefile.am
echo "SUBDIRS="'$(TOPSUBDIRS)' >> Makefile.am
fi
rm Makefile.am.in.adds
fi
}
acinclude_m4()
{
echo "*** Creating acinclude.m4"
adds=
if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
strip_makefile
rm -f acinclude.m4
adds=`grep '\$(top_srcdir)/acinclude.m4:' $makefile_wo | sed -e 's,^[^:]*: *,,; s,\$(top_srcdir),.,g'`
if echo $adds | fgrep "*" >/dev/null ; then
adds=`ls -d -1 $adds 2>/dev/null`
else
$MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4 || exit 1
fi
else
rm -f acinclude.m4
fi
# if it wasn't created up to now, then we do it better
if test ! -f acinclude.m4; then
cat admin/acinclude.m4.in admin/libtool.m4.in $adds > acinclude.m4
fi
}
cvs_clean()
{
if test -d CVS; then :; else
echo "You don't have a toplevel CVS directory."
echo "You most certainly didn't use cvs to get these sources."
echo "But this function depends on cvs's information."
exit 1
fi
perl $admindir/cvs-clean.pl
}
package_merge()
{
catalogs=$POFILES
for cat in $catalogs; do
msgmerge -o $cat.new $cat $PACKAGE.pot
if test -s $cat.new; then
grep -v "\"POT-Creation" $cat.new > $cat.new.2
grep -v "\"POT-Creation" $cat >> $cat.new.1
if diff $cat.new.1 $cat.new.2; then
rm $cat.new
else
mv $cat.new $cat
fi
rm -f $cat.new.1 $cat.new.2
fi
done
}
package_messages()
{
rm -rf po.backup
mkdir po.backup
for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > po.backup/$i
cat po/$i > po.backup/backup_$i
touch -r po/$i po.backup/backup_$i
rm po/$i
done
podir=${podir:-$PWD/po}
files=`find . -name Makefile.am | xargs egrep -l '^messages:' `
dirs=`for i in $files; do echo \`dirname $i\`; done`
tmpname="$PWD/messages.log"
if test -z "$EXTRACTRC"; then EXTRACTRC=extractrc ; fi
if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
export EXTRACTRC PREPARETIPS
for subdir in $dirs; do
test -z "$VERBOSE" || echo "Making messages in $subdir"
(cd $subdir
if test -n "`grep -e '^messages:.*rc.cpp' Makefile.am`"; then
$EXTRACTRC *.rc *.ui *.kcfg > rc.cpp
else
candidates=`ls -1 *.rc *.ui *.kcfg 2>/dev/null`
if test -n "$candidates"; then
echo "$subdir has *.rc, *.ui or *.kcfg files, but not correct messages line"
fi
fi
if test -n "`find . -name \*.c\* -o -name \*.h\* | xargs grep -s KAboutData 2>/dev/null`"; then
echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp
else echo " " > _translatorinfo.cpp
fi
perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
kdepotpath=${includedir:-${KDEDIR:-`kde-config --prefix`}/include}/kde.pot
$MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" \
XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -kaliasLocale -x $kdepotpath" messages
exit_code=$?
if test "$exit_code" != 0; then
echo "make exit code: $exit_code"
fi
) 2>&1 | grep -v '^make\[1\]' > $tmpname
test -s $tmpname && { echo $subdir ; cat "$tmpname"; }
test -f $subdir/rc.cpp && rm -f $subdir/rc.cpp
rm -f $subdir/_translatorinfo.cpp
rm -f $subdir/_transMakefile
done
rm -f $tmpname
for i in `ls -1 po.backup/*.pot 2>/dev/null | sed -e "s#po.backup/##" | egrep -v '^backup_'`; do
test -f po/$i || echo "disappeared: $i"
done
for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
sed -e 's,^"Content-Type: text/plain; charset=CHARSET\\n"$,"Content-Type: text/plain; charset=UTF-8\\n",' po/$i > po/$i.new && mv po/$i.new po/$i
msgmerge -q -o po/$i po/$i po/$i
egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > temp.pot
if test -f po.backup/$i && test -n "`diff temp.pot po.backup/$i`"; then
echo "will update $i"
sed -e 's,^"Content-Type: text/plain; charset=CHARSET\\n"$,"Content-Type: text/plain; charset=UTF-8\\n",' po.backup/backup_$i > po/$i.new && mv po/$i.new po.backup/backup_$i
msgmerge -q po.backup/backup_$i po/$i > temp.pot
mv temp.pot po/$i
else
if test -f po.backup/backup_$i; then
test -z "$VERBOSE" || echo "I'm restoring $i"
mv po.backup/backup_$i po/$i
rm po.backup/$i
else
echo "will add $i"
fi
fi
done
rm -f temp.pot
rm -rf po.backup
}
unset LC_ALL || :
unset LANG || :
unset LC_CTYPE || :
unset LANGUAGE || :
unset CDPATH || :
admindir=`echo "$0" | sed 's%[\\/][^\\/][^\\/]*$%%'`
test "x$admindir" = "x$0" && admindir=.
test "x$MAKE" = x && MAKE=make
makefile_am=Makefile.am
makefile_wo=Makefile.am.wo
if test -f Makefile.am.in; then
makefile_am=Makefile.am.in
makefile_wo=Makefile.am.in.wo
rm -f $makefile_wo
fi
# Suck in the AUTOCONF detection code
. $admindir/detect-autoconf.sh
###
### Main
###
arg=`echo $1 | tr '\-.' __`
case $arg in
cvs | dist | subdir_dist | configure_in | configure_files | subdirs | \
cvs_clean | package_merge | package_messages | Makefile_am | acinclude_m4 ) $arg ;;
configure ) call_and_fix_autoconf ;;
* ) echo "Usage: cvs.sh <target>"
echo "Target can be one of:"
echo " cvs cvs-clean dist"
echo " configure.in configure.files"
echo " package-merge package-messages"
echo ""
echo "Usage: anything but $1"
exit 1 ;;
esac
if test -f $makefile_wo; then
rm $makefile_wo
fi
exit 0

View File

@ -1,43 +0,0 @@
#!/usr/bin/perl -w
use Shell qw(mv cp mkdir rm) ;
use File::Find;
use Cwd;
$origPwd = `pwd`;
chomp $origPwd;
$kde_prefix = "/usr";
$sysconfdir = "/etc";
$kde_includedir = "$kde_prefix/include/kde";
$infodir = "$kde_prefix/share/info";
$mandir = "$kde_prefix/share/man";
$qtdir = "/usr/share/qt3";
$kde_cgidir = "$kde_prefix/lib/cgi-bin";
$kde_confdir = "$sysconfdir/kde3";
$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
if (defined $ENV{DEB_BUILD_OPTIONS} &&
$ENV{DEB_BUILD_OPTIONS} =~ /\bnostrip\b/) {
$enable_debug="--enable-debug=full";
} else {
$enable_debug="--disable-debug";
}
if (@ARGV && $ARGV[0] eq 'echodirs') {
print STDOUT "export kde_prefix=$kde_prefix\n";
print STDOUT "export sysconfdir=$sysconfdir\n";
print STDOUT "export kde_includedir=$kde_includedir\n";
print STDOUT "export infodir=$infodir\n";
print STDOUT "export mandir=$mandir\n";
print STDOUT "export qtdir=$qtdir\n";
print STDOUT "export kde_cgidir=$kde_cgidir\n";
print STDOUT "export kde_confdir=$kde_confdir\n";
print STDOUT "export kde_htmldir=$kde_htmldir\n";
print STDOUT "configkde=$enable_debug --disable-rpath --prefix=\$(kde_prefix) --sysconfdir=\$(sysconfdir) --includedir=\$(kde_includedir) --infodir=\$(infodir) --mandir=\$(mandir) --with-qt-dir=\$(qtdir)\n";
exit
}

View File

@ -1,441 +0,0 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# `libtool' can also be set to `yes' or `no'.
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. This file always lives in the current directory.
# Also, the AIX compiler puts `$object:' at the start of each line;
# $object doesn't have directory information.
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
tmpdepfile="$stripped.u"
outname="$stripped.o"
if test "$libtool" = yes; then
"$@" -Wc,-M
else
"$@" -M
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
if test -f "$tmpdepfile"; then
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
icc)
# Must come before tru64.
# Intel's C compiler understands `-MD -MF file'. However
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# will fill foo.d with something like
# foo.o: sub/foo.c
# foo.o: sub/foo.h
# which is wrong. We want:
# sub/foo.o: sub/foo.c
# sub/foo.o: sub/foo.h
# sub/foo.c:
# sub/foo.h:
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
sed -e "s,^[^:]*: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
rm -f "$tmpdepfile"
;;
tru64)
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
tmpdepfile1="$object.d"
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
if test "$libtool" = yes; then
"$@" -Wc,-MD
else
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
if test -f "$tmpdepfile1"; then
tmpdepfile="$tmpdepfile1"
else
tmpdepfile="$tmpdepfile2"
fi
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a space and a tab in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
test -z "$dashmflag" && dashmflag=-M
( IFS=" "
case " $* " in
*" --mode=compile "*) # this is libtool, let us make it quiet
for arg
do # cycle over the arguments
case "$arg" in
"--mode=compile")
# insert --quiet before "--mode=compile"
set fnord "$@" --quiet
shift # fnord
;;
esac
set fnord "$@" "$arg"
shift # fnord
shift # "$arg"
done
;;
esac
"$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
# X makedepend
(
shift
cleared=no
for arg in "$@"; do
case $cleared in no)
set ""; shift
cleared=yes
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift;;
-*)
;;
*)
set fnord "$@" "$arg"; shift;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tail +3 "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
( IFS=" "
case " $* " in
*" --mode=compile "*)
for arg
do # cycle over the arguments
case $arg in
"--mode=compile")
# insert --quiet before "--mode=compile"
set fnord "$@" --quiet
shift # fnord
;;
esac
set fnord "$@" "$arg"
shift # fnord
shift # "$arg"
done
;;
esac
"$@" -E |
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
( IFS=" "
case " $* " in
*" --mode=compile "*)
for arg
do # cycle over the arguments
case $arg in
"--mode=compile")
# insert --quiet before "--mode=compile"
set fnord "$@" --quiet
shift # fnord
;;
esac
set fnord "$@" "$arg"
shift # fnord
shift # "$arg"
done
;;
esac
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0

View File

@ -1,59 +0,0 @@
#! /bin/sh
# Global variables...
AUTOCONF="autoconf"
AUTOHEADER="autoheader"
AUTOM4TE="autom4te"
AUTOMAKE="automake"
ACLOCAL="aclocal"
# Please add higher versions first. The last version number is the minimum
# needed to compile KDE. Do not forget to include the name/version #
# separator if one is present, e.g. -1.2 where - is the separator.
KDE_AUTOCONF_VERS="-2.60 -2.58 -2.57 257 -2.54 -2.53a -2.53 -2.52 -2.5x"
KDE_AUTOMAKE_VERS="-1.7 17 -1.6"
# We don't use variable here for remembering the type ... strings. Local
# variables are not that portable, but we fear namespace issues with our
# includer.
checkAutoconf()
{
for kde_autoconf_version in $KDE_AUTOCONF_VERS; do
if test -x "`$WHICH $AUTOCONF$kde_autoconf_version 2>/dev/null`"; then
AUTOCONF="`$WHICH $AUTOCONF$kde_autoconf_version`"
AUTOHEADER="`$WHICH $AUTOHEADER$kde_autoconf_version`"
AUTOM4TE="`$WHICH $AUTOM4TE$kde_autoconf_version`"
break
fi
done
}
checkAutomake ()
{
for kde_automake_version in $KDE_AUTOMAKE_VERS; do
if test -x "`$WHICH $AUTOMAKE$kde_automake_version 2>/dev/null`"; then
AUTOMAKE="`$WHICH $AUTOMAKE$kde_automake_version`"
ACLOCAL="`$WHICH $ACLOCAL$kde_automake_version`"
break
fi
done
if test -n "$UNSERMAKE"; then
AUTOMAKE="$UNSERMAKE"
fi
}
checkWhich ()
{
WHICH=""
for i in "type -p" "which" "type" ; do
T=`$i sh 2> /dev/null`
test -x "$T" && WHICH="$i" && break
done
}
checkWhich
checkAutoconf
checkAutomake
export WHICH AUTOHEADER AUTOCONF AUTOM4TE AUTOMAKE ACLOCAL

View File

@ -1,276 +0,0 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd=$cpprog
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd=$stripprog
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "$0: no input file specified" >&2
exit 1
else
:
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d "$dst" ]; then
instcmd=:
chmodcmd=""
else
instcmd=$mkdirprog
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f "$src" ] || [ -d "$src" ]
then
:
else
echo "$0: $src does not exist" >&2
exit 1
fi
if [ x"$dst" = x ]
then
echo "$0: no destination specified" >&2
exit 1
else
:
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d "$dst" ]
then
dst=$dst/`basename "$src"`
else
:
fi
fi
## this sed command emulates the dirname command
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-$defaultIFS}"
oIFS=$IFS
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS=$oIFS
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp=$pathcomp$1
shift
if [ ! -d "$pathcomp" ] ;
then
$mkdirprog "$pathcomp"
else
:
fi
pathcomp=$pathcomp/
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd "$dst" &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename "$dst"`
else
dstfile=`basename "$dst" $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename "$dst"`
else
:
fi
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/#inst.$$#
rmtmp=$dstdir/#rm.$$#
# Trap to clean up temp files at exit.
trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
# Move or copy the file name to the temp name
$doit $instcmd "$src" "$dsttmp" &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
# Now remove or move aside any old file at destination location. We try this
# two ways since rm can't unlink itself on some systems and the destination
# file might be busy for other reasons. In this case, the final cleanup
# might fail but the new file should still install successfully.
{
if [ -f "$dstdir/$dstfile" ]
then
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
{
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
(exit 1); exit
}
else
:
fi
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
fi &&
# The final little trick to "correctly" pass the exit status to the exit trap.
{
(exit 0); exit
}

5858
admin/libtool.m4.in vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,336 +0,0 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
fi
run=:
# In the cases where this matters, `missing' is being run in the
# srcdir already.
if test -f configure.ac; then
configure_ac=configure.ac
else
configure_ac=configure.in
fi
case "$1" in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
shift
"$@" && exit 0
;;
esac
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
case "$1" in
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
--run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
help2man touch the output file
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing 0.4 - GNU automake"
;;
-*)
echo 1>&2 "$0: Unknown \`$1' option"
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
;;
aclocal*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
touch aclocal.m4
;;
autoconf)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`${configure_ac}'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
touch configure
;;
autoheader)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
case "$f" in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
esac
done
touch $touch_files
;;
automake*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
find . -type f -name Makefile.am -print |
sed 's/\.am$/.in/' |
while read f; do touch "$f"; done
;;
autom4te)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them.
You can get \`$1Help2man' as part of \`Autoconf' from any GNU
archive site."
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo "#! /bin/sh"
echo "# Created by GNU Automake missing as a replacement of"
echo "# $ $@"
echo "exit 0"
chmod +x $file
exit 1
fi
;;
bison|yacc)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
if [ ! -f y.tab.h ]; then
echo >y.tab.h
fi
if [ ! -f y.tab.c ]; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
lex|flex)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
if [ ! -f lex.yy.c ]; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
help2man)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a dependency of a manual page. You may need the
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
fi
if [ -f "$file" ]; then
touch $file
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
exit 1
fi
;;
makeinfo)
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
# We have makeinfo, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
touch $file
;;
tar)
shift
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
fi
# We have already tried tar in the generic part.
# Look for gnutar/gtar before invocation to avoid ugly error
# messages.
if (gnutar --version > /dev/null 2>&1); then
gnutar "$@" && exit 0
fi
if (gtar --version > /dev/null 2>&1); then
gtar "$@" && exit 0
fi
firstarg="$1"
if shift; then
case "$firstarg" in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
case "$firstarg" in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
;;
esac
fi
echo 1>&2 "\
WARNING: I can't seem to be able to run \`tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments."
exit 1
;;
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
;;
esac
exit 0

View File

@ -1,111 +0,0 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help | --h*) # -h for help
echo "$usage" 1>&2
exit 0
;;
-m) # -m PERM arg
shift
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
dirmode=$1
shift
;;
--) # stop option processing
shift
break
;;
-*) # unknown option
echo "$usage" 1>&2
exit 1
;;
*) # first non-opt arg
break
;;
esac
done
for file
do
if test -d "$file"; then
shift
else
break
fi
done
case $# in
0) exit 0 ;;
esac
case $dirmode in
'')
if mkdir -p -- . 2>/dev/null; then
echo "mkdir -p -- $*"
exec mkdir -p -- "$@"
fi
;;
*)
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
echo "mkdir -m $dirmode -p -- $*"
exec mkdir -m "$dirmode" -p -- "$@"
fi
;;
esac
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case $pathcomp in
-*) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
else
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"
lasterr=""
chmod "$dirmode" "$pathcomp" || lasterr=$?
if test ! -z "$lasterr"; then
errstatus=$lasterr
fi
fi
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# End:
# mkinstalldirs ends here

View File

@ -1,371 +0,0 @@
#!/usr/bin/perl -w
# Check namespace cleanness of a library.
# Allowed symbols are passed as arguments.
# They may have trailing * = wildcard.
# Wildcards may be also specified as *::* (e.g. K*::* for all KDE classes)
# Symbols are listed as full function unmangled names without arguments,
# e.g. 'foo bar* nspace::*' allows foo(), foo(int), bar(), barbar()
# and all symbols in namespace/class nspace.
# If an argument has comma in it, it's a filename of a file containing
# allowed symbols, one per line.
$thisProg = "$0"; # This programs name
$library = "";
$allowed_symbols = "";
$debug = 0;
$allowed_weak = "";
$weak_specified = 0;
while( defined( $ARGV[ 0 ] ))
{
$_ = shift;
if( /^--verbose$|^-v$/ )
{
$debug = 1;
}
elsif( /^--help$|^-h$/ )
{
print STDOUT "Usage $thisProg [OPTION] ... library [allowed symbols] ...\n",
"\n",
"Check if the given library has only allowed public symbols.\n",
"\n",
" --allowweak=[symbol] allow only these weak symbols\n",
" -v, --verbose verbosely list files processed\n",
" -h, --help print this help, then exit\n";
exit 0;
}
elsif( /^--allowweak=(.*)$/ )
{
$allowed_weak .= " " . $1;
$weak_specified = 1;
}
elsif( /^--allowweak$/ ) # simply list all weak
{
$allowed_weak .= " ";
$weak_specified = 1;
}
elsif( /^--*/ )
{
die "Invalid argument!\n";
}
else
{
if( ! $library )
{
$library = $_;
}
else
{
$allowed_symbols .= " " . $_;
}
}
}
if( ! $weak_specified )
{
$allowed_weak = "*";
# allow all weak symbols by default
# instances of templates and similar stuff - unfortunately includes also things from other libraries,
# so it cannot be on by default
}
print STDERR "library:" . $library . "\n" if $debug;
print STDERR "allowed_symbols:" . $allowed_symbols . "\n" if $debug;
print STDERR "allowed_weak:" . $allowed_weak . "\n" if $debug;
$default_symbols = "_fini _init"; # system symbols
# on my system, every .so has :
# A _DYNAMIC
# A _GLOBAL_OFFSET_TABLE_
# A __bss_start
# A _edata
# A _end
# T _fini
# T _init
# no need to list A symbols in $default_symbols
print STDERR "default_symbols: " . $default_symbols . "\n" if $debug;
print STDOUT "Namespace cleanness check for " . $library . " :\n";
$lib_file = "";
if( $library =~ /\.la$/ )
{
# get the real library file from .la
open( FILEIN, $library ) || die "Couldn't open $! !\n";
while( $line = <FILEIN> )
{
if( $line =~ /library_names=\'([^ ]*).*/o )
{
$lib_file = $1;
}
}
close( FILEIN );
if( ! $lib_file )
{
print STDERR "Library file not found in .la file!\n";
exit 1;
}
my $libpath = $library;
$libpath =~ s%[^/]*$%%;
if( -e $libpath . ".libs/" . $lib_file )
{
$lib_file = $libpath . ".libs/" . $lib_file;
}
else
{
$lib_file = $libpath . $lib_file;
}
}
else
{
$lib_file = $library;
}
print STDERR "libfile: ". $lib_file . "\n" if $debug;
$allowed_symbols .= " " . $default_symbols;
sub process_symbols($\@\%\@);
@wildcards = ();
%exacts = ();
@regwildcards = ();
process_symbols( $allowed_symbols, @wildcards, %exacts, @regwildcards );
@weak_wildcards = ();
%weak_exacts = ();
@weak_regwildcards = ();
process_symbols( $allowed_weak, @weak_wildcards, %weak_exacts, @weak_regwildcards );
# grep is for stripping not exported symbols, which don't have address (=first column)
$nm_command = "nm -BDCg " . $lib_file . " | grep -v '^ ' |";
# TODO how portable is this nmcheck stuff?
print STDERR "nm command:" . $nm_command . "\n" if $debug;
open( FILEIN, $nm_command ) || die "nm command failed\n";
my $exit_code = 0;
while( $line = <FILEIN> )
{
my $type;
my $symbol;
if( $line =~ /^[^ ]* (.) (.*)$/o )
{
$type = $1;
$symbol = $2;
}
else
{
die "Invalid line: " . $line . "\n";
}
print STDERR "Type: " . $type . " , symbol: " . $symbol . "\n" if $debug;
if( $type eq "A" )
{ # these should be system symbols, so ignore them
next;
}
my $orig_symbol = $symbol;
if( $symbol =~ /\(anonymous namespace\)/o )
{ # TODO tell to prefer named namespaces? (shorter symbols)
next;
}
# strip prefixes
# the :: appending is to make "CLASS::*" work also for "vtable for CLASS"
$symbol =~ s/^typeinfo for (.*)$/$1::/o;
$symbol =~ s/^typeinfo fn for (.*)$/$1::/o;
$symbol =~ s/^typeinfo name for (.*)$/$1::/o;
$symbol =~ s/^vtable for (.*)$/$1::/o;
$symbol =~ s/^guard variable for (.*)$/$1::/o;
$symbol =~ s/^reference temporary for (.*)$/$1::/o;
$symbol =~ s/^VTT for (.*)$/$1::/o;
$symbol =~ s/^virtual thunk \[[^\]]*\] to (.*)$/$1::/o;
$symbol =~ s/^non-virtual thunk \[[^\]]*\] to (.*)$/$1::/o;
$symbol =~ s/^covariant return thunk \[[^\]]*\] to (.*)$/$1::/o;
$symbol =~ s/^construction vtable thunk for (.*)$/$1::/o;
$symbol =~ s/^construction vtable for .*-in-(.*) [0-9]*$/$1::/o;
# templates seem to have also return types mangled in their name, and nm prints it too
# they have also template arguments in the symbol
# get rid of both of those
while( $symbol =~ /<.*>/o )
{
$symbol =~ s/<[^<>]*>//o; # strip innermost <>
}
if( $symbol !~ /operator\(\)/o )
{
$symbol =~ s/ ?\(.*\).*$//o; # strip () and all after it
}
else
{
$symbol =~ s/(^|:| )operator\(\) ?\(.*\).*$//o; # strip () and all after it
}
$symbol =~ s/\[.*\] *$//o; # strip [in-charge] etc.
if( $symbol =~ /(^|:| )operator /o )
{
$symbol =~ s/.* ([^\s]*)operator /$1/o; # strip everything before 'X::operator blah'
}
else
{
$symbol =~ s/.* ([^\s]+) *$/$1/o; # get last word (strip return type)
}
# print STDERR "Processed symbol: " . $symbol . "\n" if $debug;
my $found = 0;
if( $exacts{ $symbol } )
{
$found = 1;
}
if( ! $found )
{
for my $wild ( @wildcards )
{
if( index( $symbol, $wild ) == 0 )
{
$found = 1;
last;
}
}
}
if( ! $found )
{
for my $wild ( @regwildcards )
{
if( $symbol =~ /^$wild$/ )
{
$found = 1;
last;
}
}
}
if( ( ! $found ) && ( $type eq "W" || $type eq "V" ))
{
if( $weak_exacts{ $symbol } )
{
$found = 1;
}
if( ! $found )
{
for my $wild ( @weak_wildcards )
{
if( index( $symbol, $wild ) == 0 )
{
$found = 1;
last;
}
}
}
if( ! $found )
{
for my $wild ( @weak_regwildcards )
{
if( $symbol =~ /^$wild$/ )
{
$found = 1;
last;
}
}
}
}
if( ! $found )
{
print STDERR "Public symbol " . $orig_symbol . " is not allowed!\n";
$exit_code = 1;
}
}
close( FILEIN );
print STDOUT $exit_code == 0 ? "OK\n" : "FAILED\n";
exit $exit_code;
sub process_symbols($\@\%\@)
{
my $allowed_symbols = $_[ 0 ];
my $wildcards_ref = $_[ 1 ];
my $exacts_ref = $_[ 2 ];
my $regwildcards_ref = $_[ 3 ];
$allowed_symbols =~ s/^ *//o; # strip whitespace
$allowed_symbols =~ s/ *$//o;
if( $allowed_symbols eq "NONE" )
{
$allowed_symbols = "";
}
my @symbols1 = split( ' ', $allowed_symbols );
my $i = 0;
my @symbols2 = ();
while( defined( $symbols1[ $i ] ))
{
my $symbol = $symbols1[ $i ];
if( $symbol =~ /\./ ) # dot in name -> file
{
open( SYMIN, $symbol ) || die ( "Cannot open file " . $symbol . "!" );
while( $line = <SYMIN> )
{
$line =~ s/^\s*//o; # strip whitespace
$line =~ s/\s*$//o;
if( $line !~ /^$/o # empty line
&& $line !~ /^\s*#/ ) # comment line starting with #
{
$symbols2[ $#symbols2 + 1 ] = $line;
}
}
close( SYMIN );
}
else
{
$symbols2[ $#symbols2 + 1 ] = $symbol;
}
$i++;
}
$i = 0;
while( defined( $symbols2[ $i ] ))
{
my $symbol = $symbols2[ $i ];
if( $symbol =~ /__/
|| $symbol =~ /^_[A-Z]/ )
{ # ISO C++ 2.10.2
die "Symbols containing a double underscore or beginning with an underscore and an upper-case letter are reserved!\n";
}
elsif( $symbol eq "main"
|| $symbol eq "main*" )
{
die "Symbol main is not allowed!\n";
}
if( $symbol =~ /^([^\*]*)\*$/o # trailing * without any * before it
&& $symbol !~ /operator\*$/o )
{
print STDERR "wildcard:" . $symbol . "\n" if $debug;
$wildcards_ref->[ $#{$wildcards_ref} + 1 ] = $1;
}
elsif( $symbol =~ /\*$/o
&& ( $symbol =~ /\*::/o || $symbol =~ /::\*/o )
&& $symbol !~ /^\*/o
&& $symbol !~ /operator\*$/o )
{
print STDERR "regwildcard:" . $symbol . "\n" if $debug;
$symbol =~ s/\*/\.\*/go; # change * to .* (regexp)
$regwildcards_ref->[ $#{$regwildcards_ref} + 1 ] = $symbol;
}
else
{
print STDERR "exact:" . $symbol . "\n" if $debug;
$exacts_ref->{ $symbol } = 1;
}
$i++;
}
}

View File

@ -1,143 +0,0 @@
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Usage:
# ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
# * INPUT is the input file
# * OUTPUT is file PROG generates
# * DESIRED is file we actually want
# * PROGRAM is program to run
# * ARGS are passed to PROG
# Any number of OUTPUT,DESIRED pairs may be used.
# The input.
input="$1"
shift
case "$input" in
[\\/]* | ?:[\\/]*)
# Absolute path; do nothing.
;;
*)
# Relative path. Make it absolute.
input="`pwd`/$input"
;;
esac
# The directory holding the input.
input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
# Quote $INPUT_DIR so we can use it in a regexp.
# FIXME: really we should care about more than `.' and `\'.
input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
echo "got $input_rx"
pairlist=
while test "$#" -ne 0; do
if test "$1" = "--"; then
shift
break
fi
pairlist="$pairlist $1"
shift
done
# The program to run.
prog="$1"
shift
# Make any relative path in $prog absolute.
case "$prog" in
[\\/]* | ?:[\\/]*) ;;
*[\\/]*) prog="`pwd`/$prog" ;;
esac
# FIXME: add hostname here for parallel makes that run commands on
# other machines. But that might take us over the 14-char limit.
dirname=ylwrap$$
trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
mkdir $dirname || exit 1
cd $dirname
$prog ${1+"$@"} "$input"
status=$?
if test $status -eq 0; then
set X $pairlist
shift
first=yes
# Since DOS filename conventions don't allow two dots,
# the DOS version of Bison writes out y_tab.c instead of y.tab.c
# and y_tab.h instead of y.tab.h. Test to see if this is the case.
y_tab_nodot="no"
if test -f y_tab.c || test -f y_tab.h; then
y_tab_nodot="yes"
fi
while test "$#" -ne 0; do
from="$1"
# Handle y_tab.c and y_tab.h output by DOS
if test $y_tab_nodot = "yes"; then
if test $from = "y.tab.c"; then
from="y_tab.c"
else
if test $from = "y.tab.h"; then
from="y_tab.h"
fi
fi
fi
if test -f "$from"; then
# If $2 is an absolute path name, then just use that,
# otherwise prepend `../'.
case "$2" in
[\\/]* | ?:[\\/]*) target="$2";;
*) target="../$2";;
esac
# Edit out `#line' or `#' directives. We don't want the
# resulting debug information to point at an absolute srcdir;
# it is better for it to just mention the .y file with no
# path.
sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
else
# A missing file is only an error for the first file. This
# is a blatant hack to let us support using "yacc -d". If -d
# is not specified, we don't want an error when the header
# file is "missing".
if test $first = yes; then
status=1
fi
fi
shift
shift
first=no
done
else
status=$?
fi
# Remove the directory.
cd ..
rm -rf $dirname
exit $status

View File

@ -0,0 +1,79 @@
trigger:
- main
strategy:
matrix:
Linux:
imageName: 'ubuntu-latest'
enableLibavif: 'OFF'
enableGLUT: 'ON'
Mac:
imageName: 'macos-latest'
enableLibavif: 'ON'
enableGLUT: 'OFF'
pool:
vmImage: $(imageName)
steps:
- checkout: self
submodules: true
- bash: echo "##vso[task.setvariable variable=shellopts]errexit"
displayName: "Force exit on error (bash)"
- script: |
sudo apt update
sudo apt install -y libeigen3-dev \
libepoxy-dev \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libswscale-dev \
libjpeg-dev \
libpng-dev \
libglu1-mesa-dev \
qtbase5-dev \
qtbase5-dev-tools \
libqt5opengl5-dev \
libgtk2.0-dev \
libgtkglext1-dev \
libfreetype6-dev \
libsdl2-dev \
libluajit-5.1-dev \
freeglut3-dev \
libfmt-dev
displayName: 'Install Linux dependencies'
condition: eq( variables['Agent.OS'], 'Linux' )
- script: |
brew install pkg-config \
eigen \
ffmpeg \
gtk+ \
gtkglext \
cspice \
fmt \
jpeg \
gettext \
libpng \
lua \
qt5 \
freetype \
libepoxy \
sdl2 \
freeglut \
libavif
brew link gettext --force
brew link lua --force
displayName: 'Install macOS dependencies'
condition: eq( variables['Agent.OS'], 'Darwin' )
- script: |
mkdir build
cd build
cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=ON -DENABLE_GTK=ON -DENABLE_GLUT=$(enableGLUT) -DENABLE_FFMPEG=ON -DENABLE_LIBAVIF=$(enableLibavif) ..
make -j $(nproc || echo 4)
CTEST_OUTPUT_ON_FAILURE=1 ctest
workingDirectory: "$(system.defaultworkingdirectory)"
displayName: "Build and test"

BIN
celestia-logo.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -1,3 +1,4 @@
#************************************************************************
# Celestia Configuration File
#
@ -7,8 +8,8 @@
# make any changes to it.
#
# To learn more about Celestia, visit the Celestia forums at:
# http://www.shatters.net/forum/
# or the Celestia web site at: http://www.shatters.net/celestia/
# https://celestia.space/forum/
# or the Celestia web site at: https://celestia.space/
#************************************************************************
@ -21,8 +22,8 @@ Configuration
# these file names or the order in which they are listed, unless you
# know exactly what you are doing. Most of these files can be viewed
# with a plain text editor. Discussion about their content and formats
# can be found on the Celestia forums: http://www.shatters.net/forum/
#
# can be found on the Celestia forums: https://celestia.space/forum/
# If you want to load all your stars from .stc files, you can now comment
# out the StarDatabase entry.
#------------------------------------------------------------------------
@ -30,36 +31,45 @@ Configuration
StarNameDatabase "data/starnames.dat"
StarCatalogs [ "data/revised.stc"
"data/extrasolar.stc"
"data/nearstars.stc"
"data/nearstars.stc"
"data/visualbins.stc"
"data/spectbins.stc" ]
"data/spectbins.stc"
"data/charm2.stc"
"data/pulsars.stc" ]
HDCrossIndex "data/hdxindex.dat"
SAOCrossIndex "data/saoxindex.dat"
GlieseCrossIndex "data/gliesexindex.dat"
SolarSystemCatalogs [ "data/solarsys.ssc"
"data/dwarfplanets.ssc"
"data/asteroids.ssc"
"data/comets.ssc"
"data/outersys.ssc"
"data/spacecraft.ssc"
"data/minormoons.ssc"
"data/extrasolar.ssc"
"data/eros_locs.ssc"
"data/gaspra_locs.ssc"
"data/ida_locs.ssc"
"data/merc_locs.ssc"
"data/venus_locs.ssc"
"data/earth_locs.ssc"
"data/mars_locs.ssc"
"data/moon_locs.ssc"
"data/mars_locs.ssc"
"data/marsmoons_locs.ssc"
"data/jupitermoons_locs.ssc"
"data/saturnmoons_locs.ssc"
"data/uranusmoons_locs.ssc"
"data/neptunemoons_locs.ssc"
"data/plutocharon_locs.ssc"
"data/eros_locs.ssc"
"data/gaspra_locs.ssc"
"data/ida_locs.ssc"
"data/itokawa_locs.ssc"
"data/ring_locs.ssc"
"data/world-capitals.ssc" ]
DeepSkyCatalog "data/deepsky.dsc"
DeepSkyCatalogs [ "data/galaxies.dsc"
"data/globulars.dsc"
"data/openclusters.dsc" ]
AsterismsFile "data/asterisms.dat"
BoundariesFile "data/boundaries.dat"
@ -73,14 +83,14 @@ StarTextures
{
# This texture will be used for any spectral type not listed
# in this block.
Default "astar.jpg"
Default "astar.*"
O "bstar.*"
O "ostar.*"
B "bstar.*"
A "astar.*"
F "astar.*"
F "fstar.*"
G "gstar.*"
K "gstar.*"
K "kstar.*"
M "mstar.*"
# carbon stars
@ -90,16 +100,18 @@ StarTextures
S "mstar.*" # roughly between M and C
# Wolf-Rayet stars
WC "bstar.*"
WN "bstar.*"
WC "ostar.*"
WN "ostar.*"
WO "ostar.*"
# brown dwarfs
L "browndwarf.*"
L "lstar.*"
T "browndwarf.*"
Y "exo-class4night.*"
# stellar remnants
WD "astar.jpg"
NeutronStar "astar.jpg"
WD "whitedwarf.*"
NeutronStar "ostar.*"
}
@ -167,7 +179,7 @@ StarTextures
#
# To learn more about how to use and write CEL scripts and Lua scripts
# in Celestia, please visit the Celestia Scripting forum at:
# http://www.shatters.net/forum/viewforum.php?f=9
# https://celestia.space/forum/viewforum.php?f=9
#------------------------------------------------------------------------
InitScript "start.cel"
DemoScript "demo.cel"
@ -177,21 +189,37 @@ StarTextures
# The 'extras' directory is located under the celestia root directory
# and is used for storing third-party add-ons to Celestia. To learn
# more about Add-Ons for Celestia, visit the Celestia Add-Ons forum at:
# http://www.shatters.net/forum/viewforum.php?f=6
# https://celestia.space/forum/viewforum.php?f=6
#
# You may specify additional add-on directories by adding additional
# entries, such as the following example shows:
# ExtrasDirectories [ "extras" "myextras1" "myextras2" ]
#
# To specify absolute paths on windows, you either have to use "/" or
# To specify absolute paths on windows, you either have to use "/" or
# double backslashes to seperate path components. Example:
# ExtrasDirectories [ "D:/celestia-extras" ]
# or
# ExtrasDirectories [ "D:\\celestia-extras" ]
#------------------------------------------------------------------------
ExtrasDirectories [ "extras" ]
ExtrasDirectories [ "extras-standard" "extras" ]
#------------------------------------------------------------------------
# Addons in 'extras' directories can be skipped. For example, if you have
# an addon which provides a better version of ISS spacecraft you might
# want to use it instead of the default one shipped with Celestia. But if
# you load it you will have two spacecraft rendered in the same place. So
# you can either remove the default one but it will be reinstalled on
# Celestia upgrade or you can it to the skip list. Example:
# SkipExtras "extras-standard/iss/iss.ssc"
# or
# SkipExtras ["extras/wostars.stc" "extras-standard/iss/iss.ssc"]
#
# Please note that 1) only relative paths work, 2) directories are not
# accepted in the list only catalog file names.
#------------------------------------------------------------------------
# SkipExtras [ ]
#------------------------------------------------------------------------
# Font definitions.
#
@ -199,20 +227,21 @@ StarTextures
# text on the display screen. To view the list of fonts available with
# your distribution of Celestia, look in the fonts directory located
# under the Celestia root directory. The default fonts are UTF-8
# compatible in order to display non-English characters.
# compatible in order to display non-English characters. Font size is
# measured in points to ensure the same sizes on all DPI configurations.
#
# Font: Used to display all informational text.
# Default: "sans12.txf"
# Default: "DejaVuSans.ttf,9"
#
# LabelFont: Used to display all label text (objects, locations, etc.).
# Default "sans12.txf"
# Default "DejaVuSans.ttf,9"
#
# TitleFont: Used to display object names, messages, and script text.
# Default "sansbold20.txf"
# Default "DejaVuSans-Bold.ttf,15"
#------------------------------------------------------------------------
Font "sans12.txf"
LabelFont "sans12.txf"
TitleFont "sansbold20.txf"
Font "DejaVuSans.ttf,9"
LabelFont "DejaVuSans.ttf,9"
TitleFont "DejaVuSans-Bold.ttf,15"
#------------------------------------------------------------------------
@ -250,11 +279,18 @@ StarTextures
MouseRotationSensitivity 1.0
#------------------------------------------------------------------------
# ReverseMouseWheel performs a change of command rotates
# the mouse wheel on the opposite. The default value is false.
#------------------------------------------------------------------------
# ReverseMouseWheel true
#------------------------------------------------------------------------
# The following parameter is used in Lua (.celx) scripting.
#
# ScriptScreenshotDirectory defines the directory where screenshots
# are to be stored. The default value is "", i.e. Celestia's
# are to be stored. The default value is "", i.e. Celestia's
# installation directory.
#------------------------------------------------------------------------
ScriptScreenshotDirectory ""
@ -262,8 +298,8 @@ StarTextures
#------------------------------------------------------------------------
# CELX-scripts can request permission to perform dangerous operations,
# such as reading, writing and deleting files or executing external
# programs. If granted, a malicious script could use this to destroy
# such as reading, writing and deleting files or executing external
# programs. If granted, a malicious script could use this to destroy
# data or compromise system security.
# The following parameter determines what Celestia does upon such
# requests:
@ -304,6 +340,28 @@ StarTextures
EclipseTextureSize 128
#------------------------------------------------------------------------
# Orbit rendering parameters
#------------------------------------------------------------------------
# OrbitWindowEnd ->
# End of the orbit window relative to the current simulation time.
# Units are orbital periods. The default value is 0.5.
# The range of values 0.0 - 1.0.
#
# OrbitPeriodsShown ->
# Number of orbit periods shown.
# The default value is 1.0.
#
# LinearFadeFraction ->
# Fraction of the window over which the orbit fades from opaque
# to transparent. Fading is disabled when this value is zero.
# The default value is 0.0. The range of values 0.0 - 1.0.
#------------------------------------------------------------------------
OrbitWindowEnd 0.0
# OrbitPeriodsShown 1.0
LinearFadeFraction 0.8
#-----------------------------------------------------------------------
# Set the level of multisample antialiasing. Not all 3D graphics
# hardware supports antialiasing, though most newer graphics chipsets
@ -327,50 +385,41 @@ StarTextures
#------------------------------------------------------------------------
# The LabelledStars section defines which stars will have text labels
# assigned to them, which are visible when this option is turned on.
# The number of rows in the debug log (displayable onscreen by pressing
# the ~ (tilde). The default log size is 200.
#------------------------------------------------------------------------
LabelledStars
[
"Sol"
"Sirius"
"Canopus"
"\u03b1 Centauri"
"Arcturus"
"Vega"
"Capella"
"Rigel"
"Procyon"
"Achernar"
"Betelgeuse"
"\u03b2 Centauri"
"Altair"
"Aldebaran"
"Antares"
"Spica"
"Acrux"
"Pollux"
"Fomalhaut"
"Deneb"
"\u03b2 Crucis"
"Regulus"
"Adhara"
"Castor"
"\u03b3 Crucis"
"Shaula"
"Bellatrix"
"Elnath"
"Miaplacidus"
"Alnilam"
"Al Nair"
"Alioth"
"\u03b3 Velorum"
"Dubhe"
"Mirfak"
"Wezen"
"Alkaid"
"\u03b5 Carinae"
"\u03b2 Aurigae"
"Polaris"
]
# LogSize 1000
#------------------------------------------------------------------------
# The following define options for x264 and ffvhuff video codecs when
# Celestia is compiled with ffmpeg library support for video capture.
#------------------------------------------------------------------------
# X264EncoderOptions ""
# FFVHEncoderOptions ""
#------------------------------------------------------------------------
# The following define the measurement system Celestia uses to display
# in HUD, available options for MeasurementSystem are `metric` and
# `imperial`. By default, metric measurement system is used. Available
# options for TemperatureScale are `kelvin`, `celsius`, and `fahrenheit`.
# By default kelvin is used.
#------------------------------------------------------------------------
# MeasurementSystem "imperial"
# TemperatureScale "celsius"
#------------------------------------------------------------------------
# The following options are used to configure how scenes in Celestia
# are projected and what distortion method is used.
# Available options for ProjectionMode are `perspective` (default) and
# `fisheye`. Available `ViewportEffect`s (distortion methods) are `none`
# (default), `passthrough`, and `warpmesh`.
# For `warpmesh` viewport effect, you need to specify a warp mesh file
# under the parameter name `WarpMeshFile`, The file should be placed
# inside the `warp` folder.
# File format for warp mesh: http://paulbourke.net/dataformats/meshwarp/
#------------------------------------------------------------------------
# ProjectionMode "fisheye"
# ViewportEffect "warpmesh"
# WarpMeshFile "warp.map"
}

File diff suppressed because it is too large Load Diff

View File

@ -1,783 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on celestia.dsp
!IF "$(CFG)" == ""
CFG=celestia - Win32 Debug
!MESSAGE No configuration specified. Defaulting to celestia - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "celestia - Win32 Release" && "$(CFG)" != "celestia - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "celestia.mak" CFG="celestia - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "celestia - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "celestia - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "celestia - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
ALL : "$(OUTDIR)\celestia.exe"
CLEAN :
-@erase "$(INTDIR)\3dsmesh.obj"
-@erase "$(INTDIR)\3dsmodel.obj"
-@erase "$(INTDIR)\3dsread.obj"
-@erase "$(INTDIR)\asterism.obj"
-@erase "$(INTDIR)\astro.obj"
-@erase "$(INTDIR)\bigfix.obj"
-@erase "$(INTDIR)\body.obj"
-@erase "$(INTDIR)\catalogxref.obj"
-@erase "$(INTDIR)\celestia.res"
-@erase "$(INTDIR)\celestiacore.obj"
-@erase "$(INTDIR)\cmdparser.obj"
-@erase "$(INTDIR)\color.obj"
-@erase "$(INTDIR)\command.obj"
-@erase "$(INTDIR)\configfile.obj"
-@erase "$(INTDIR)\constellation.obj"
-@erase "$(INTDIR)\customorbit.obj"
-@erase "$(INTDIR)\debug.obj"
-@erase "$(INTDIR)\destination.obj"
-@erase "$(INTDIR)\dispmap.obj"
-@erase "$(INTDIR)\execution.obj"
-@erase "$(INTDIR)\favorites.obj"
-@erase "$(INTDIR)\filetype.obj"
-@erase "$(INTDIR)\galaxy.obj"
-@erase "$(INTDIR)\glext.obj"
-@erase "$(INTDIR)\imagecapture.obj"
-@erase "$(INTDIR)\lodspheremesh.obj"
-@erase "$(INTDIR)\meshmanager.obj"
-@erase "$(INTDIR)\observer.obj"
-@erase "$(INTDIR)\octree.obj"
-@erase "$(INTDIR)\orbit.obj"
-@erase "$(INTDIR)\overlay.obj"
-@erase "$(INTDIR)\parser.obj"
-@erase "$(INTDIR)\perlin.obj"
-@erase "$(INTDIR)\regcombine.obj"
-@erase "$(INTDIR)\render.obj"
-@erase "$(INTDIR)\selection.obj"
-@erase "$(INTDIR)\simulation.obj"
-@erase "$(INTDIR)\solarsys.obj"
-@erase "$(INTDIR)\spheremesh.obj"
-@erase "$(INTDIR)\star.obj"
-@erase "$(INTDIR)\stardb.obj"
-@erase "$(INTDIR)\starname.obj"
-@erase "$(INTDIR)\stellarclass.obj"
-@erase "$(INTDIR)\texmanager.obj"
-@erase "$(INTDIR)\texture.obj"
-@erase "$(INTDIR)\texturefont.obj"
-@erase "$(INTDIR)\tokenizer.obj"
-@erase "$(INTDIR)\univcoord.obj"
-@erase "$(INTDIR)\util.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vertexlist.obj"
-@erase "$(INTDIR)\vertexprog.obj"
-@erase "$(INTDIR)\visstars.obj"
-@erase "$(INTDIR)\wingotodlg.obj"
-@erase "$(INTDIR)\winmain.obj"
-@erase "$(INTDIR)\winssbrowser.obj"
-@erase "$(INTDIR)\winstarbrowser.obj"
-@erase "$(INTDIR)\wintourguide.obj"
-@erase "$(INTDIR)\wintimer.obj"
-@erase "$(OUTDIR)\celestia.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D WINVER=0x0400 /D _WIN32_WINNT=0x0400 /Fp"$(INTDIR)\celestia.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\celestia.res" /d "NDEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\celestia.bsc"
BSC32_SBRS=
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib winmm.lib opengl32.lib glu32.lib ijgjpeg.lib zlib.lib libpng1.lib /nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\celestia.pdb" /machine:I386 /out:"$(OUTDIR)\celestia.exe"
LINK32_OBJS= \
"$(INTDIR)\3dsmesh.obj" \
"$(INTDIR)\3dsmodel.obj" \
"$(INTDIR)\3dsread.obj" \
"$(INTDIR)\asterism.obj" \
"$(INTDIR)\astro.obj" \
"$(INTDIR)\bigfix.obj" \
"$(INTDIR)\body.obj" \
"$(INTDIR)\catalogxref.obj" \
"$(INTDIR)\celestiacore.obj" \
"$(INTDIR)\cmdparser.obj" \
"$(INTDIR)\color.obj" \
"$(INTDIR)\command.obj" \
"$(INTDIR)\configfile.obj" \
"$(INTDIR)\constellation.obj" \
"$(INTDIR)\customorbit.obj" \
"$(INTDIR)\debug.obj" \
"$(INTDIR)\destination.obj" \
"$(INTDIR)\dispmap.obj" \
"$(INTDIR)\execution.obj" \
"$(INTDIR)\favorites.obj" \
"$(INTDIR)\filetype.obj" \
"$(INTDIR)\frustum.obj" \
"$(INTDIR)\galaxy.obj" \
"$(INTDIR)\glext.obj" \
"$(INTDIR)\imagecapture.obj" \
"$(INTDIR)\lodspheremesh.obj" \
"$(INTDIR)\meshmanager.obj" \
"$(INTDIR)\observer.obj" \
"$(INTDIR)\octree.obj" \
"$(INTDIR)\orbit.obj" \
"$(INTDIR)\overlay.obj" \
"$(INTDIR)\parser.obj" \
"$(INTDIR)\perlin.obj" \
"$(INTDIR)\regcombine.obj" \
"$(INTDIR)\render.obj" \
"$(INTDIR)\selection.obj" \
"$(INTDIR)\simulation.obj" \
"$(INTDIR)\solarsys.obj" \
"$(INTDIR)\spheremesh.obj" \
"$(INTDIR)\star.obj" \
"$(INTDIR)\stardb.obj" \
"$(INTDIR)\starname.obj" \
"$(INTDIR)\stellarclass.obj" \
"$(INTDIR)\texmanager.obj" \
"$(INTDIR)\texture.obj" \
"$(INTDIR)\texturefont.obj" \
"$(INTDIR)\tokenizer.obj" \
"$(INTDIR)\univcoord.obj" \
"$(INTDIR)\util.obj" \
"$(INTDIR)\vertexlist.obj" \
"$(INTDIR)\vertexprog.obj" \
"$(INTDIR)\visstars.obj" \
"$(INTDIR)\wingotodlg.obj" \
"$(INTDIR)\winmain.obj" \
"$(INTDIR)\winssbrowser.obj" \
"$(INTDIR)\winstarbrowser.obj" \
"$(INTDIR)\wintourguide.obj" \
"$(INTDIR)\wintimer.obj" \
"$(INTDIR)\celestia.res"
"$(OUTDIR)\celestia.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "celestia - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "$(OUTDIR)\celestia.exe"
CLEAN :
-@erase "$(INTDIR)\3dsmesh.obj"
-@erase "$(INTDIR)\3dsmodel.obj"
-@erase "$(INTDIR)\3dsread.obj"
-@erase "$(INTDIR)\asterism.obj"
-@erase "$(INTDIR)\astro.obj"
-@erase "$(INTDIR)\bigfix.obj"
-@erase "$(INTDIR)\body.obj"
-@erase "$(INTDIR)\catalogxref.obj"
-@erase "$(INTDIR)\celestia.res"
-@erase "$(INTDIR)\celestiacore.obj"
-@erase "$(INTDIR)\cmdparser.obj"
-@erase "$(INTDIR)\color.obj"
-@erase "$(INTDIR)\command.obj"
-@erase "$(INTDIR)\configfile.obj"
-@erase "$(INTDIR)\constellation.obj"
-@erase "$(INTDIR)\customorbit.obj"
-@erase "$(INTDIR)\debug.obj"
-@erase "$(INTDIR)\destination.obj"
-@erase "$(INTDIR)\dispmap.obj"
-@erase "$(INTDIR)\execution.obj"
-@erase "$(INTDIR)\favorites.obj"
-@erase "$(INTDIR)\filetype.obj"
-@erase "$(INTDIR)\frustum.obj"
-@erase "$(INTDIR)\galaxy.obj"
-@erase "$(INTDIR)\glext.obj"
-@erase "$(INTDIR)\imagecapture.obj"
-@erase "$(INTDIR)\lodspheremesh.obj"
-@erase "$(INTDIR)\meshmanager.obj"
-@erase "$(INTDIR)\observer.obj"
-@erase "$(INTDIR)\octree.obj"
-@erase "$(INTDIR)\orbit.obj"
-@erase "$(INTDIR)\overlay.obj"
-@erase "$(INTDIR)\parser.obj"
-@erase "$(INTDIR)\perlin.obj"
-@erase "$(INTDIR)\regcombine.obj"
-@erase "$(INTDIR)\render.obj"
-@erase "$(INTDIR)\selection.obj"
-@erase "$(INTDIR)\simulation.obj"
-@erase "$(INTDIR)\solarsys.obj"
-@erase "$(INTDIR)\spheremesh.obj"
-@erase "$(INTDIR)\star.obj"
-@erase "$(INTDIR)\stardb.obj"
-@erase "$(INTDIR)\starname.obj"
-@erase "$(INTDIR)\stellarclass.obj"
-@erase "$(INTDIR)\texmanager.obj"
-@erase "$(INTDIR)\texture.obj"
-@erase "$(INTDIR)\texturefont.obj"
-@erase "$(INTDIR)\tokenizer.obj"
-@erase "$(INTDIR)\univcoord.obj"
-@erase "$(INTDIR)\util.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(INTDIR)\visstars.obj"
-@erase "$(INTDIR)\vertexlist.obj"
-@erase "$(INTDIR)\vertexprog.obj"
-@erase "$(INTDIR)\wingotodlg.obj"
-@erase "$(INTDIR)\winmain.obj"
-@erase "$(INTDIR)\winssbrowser.obj"
-@erase "$(INTDIR)\winstarbrowser.obj"
-@erase "$(INTDIR)\wintimer.obj"
-@erase "$(INTDIR)\wintourguide.obj"
-@erase "$(OUTDIR)\celestia.exe"
-@erase "$(OUTDIR)\celestia.ilk"
-@erase "$(OUTDIR)\celestia.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D WINVER=0x0400 /D _WIN32_WINNT=0x0400 /Fp"$(INTDIR)\celestia.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\celestia.res" /d "_DEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\celestia.bsc"
BSC32_SBRS=
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib winmm.lib opengl32.lib glu32.lib ijgjpeg.lib zlibd.lib libpng1d.lib /nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\celestia.pdb" /debug /machine:I386 /out:"$(OUTDIR)\celestia.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\3dsmesh.obj" \
"$(INTDIR)\3dsmodel.obj" \
"$(INTDIR)\3dsread.obj" \
"$(INTDIR)\asterism.obj" \
"$(INTDIR)\astro.obj" \
"$(INTDIR)\bigfix.obj" \
"$(INTDIR)\body.obj" \
"$(INTDIR)\catalogxref.obj" \
"$(INTDIR)\celestiacore.obj" \
"$(INTDIR)\cmdparser.obj" \
"$(INTDIR)\color.obj" \
"$(INTDIR)\command.obj" \
"$(INTDIR)\configfile.obj" \
"$(INTDIR)\constellation.obj" \
"$(INTDIR)\customorbit.obj" \
"$(INTDIR)\debug.obj" \
"$(INTDIR)\destination.obj" \
"$(INTDIR)\dispmap.obj" \
"$(INTDIR)\execution.obj" \
"$(INTDIR)\favorites.obj" \
"$(INTDIR)\filetype.obj" \
"$(INTDIR)\frustum.obj" \
"$(INTDIR)\galaxy.obj" \
"$(INTDIR)\glext.obj" \
"$(INTDIR)\imagecapture.obj" \
"$(INTDIR)\lodspheremesh.obj" \
"$(INTDIR)\meshmanager.obj" \
"$(INTDIR)\observer.obj" \
"$(INTDIR)\octree.obj" \
"$(INTDIR)\orbit.obj" \
"$(INTDIR)\overlay.obj" \
"$(INTDIR)\parser.obj" \
"$(INTDIR)\perlin.obj" \
"$(INTDIR)\regcombine.obj" \
"$(INTDIR)\render.obj" \
"$(INTDIR)\selection.obj" \
"$(INTDIR)\simulation.obj" \
"$(INTDIR)\solarsys.obj" \
"$(INTDIR)\spheremesh.obj" \
"$(INTDIR)\star.obj" \
"$(INTDIR)\stardb.obj" \
"$(INTDIR)\starname.obj" \
"$(INTDIR)\stellarclass.obj" \
"$(INTDIR)\texmanager.obj" \
"$(INTDIR)\texture.obj" \
"$(INTDIR)\texturefont.obj" \
"$(INTDIR)\tokenizer.obj" \
"$(INTDIR)\univcoord.obj" \
"$(INTDIR)\util.obj" \
"$(INTDIR)\visstars.obj" \
"$(INTDIR)\vertexlist.obj" \
"$(INTDIR)\vertexprog.obj" \
"$(INTDIR)\wingotodlg.obj" \
"$(INTDIR)\winmain.obj" \
"$(INTDIR)\winssbrowser.obj" \
"$(INTDIR)\winstarbrowser.obj" \
"$(INTDIR)\wintimer.obj" \
"$(INTDIR)\wintourguide.obj" \
"$(INTDIR)\celestia.res"
"$(OUTDIR)\celestia.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("celestia.dep")
!INCLUDE "celestia.dep"
!ELSE
!MESSAGE Warning: cannot find "celestia.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "celestia - Win32 Release" || "$(CFG)" == "celestia - Win32 Debug"
SOURCE=.\src\3dsmesh.cpp
"$(INTDIR)\3dsmesh.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\3dsmodel.cpp
"$(INTDIR)\3dsmodel.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\3dsread.cpp
"$(INTDIR)\3dsread.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\asterism.cpp
"$(INTDIR)\asterism.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\astro.cpp
"$(INTDIR)\astro.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\bigfix.cpp
"$(INTDIR)\bigfix.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\body.cpp
"$(INTDIR)\body.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\catalogxref.cpp
"$(INTDIR)\catalogxref.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\color.cpp
"$(INTDIR)\color.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\celestiacore.cpp
"$(INTDIR)\celestiacore.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\cmdparser.cpp
"$(INTDIR)\cmdparser.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\command.cpp
"$(INTDIR)\command.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\configfile.cpp
"$(INTDIR)\configfile.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\constellation.cpp
"$(INTDIR)\constellation.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\customorbit.cpp
"$(INTDIR)\customorbit.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\debug.cpp
"$(INTDIR)\debug.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\destination.cpp
"$(INTDIR)\destination.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\dispmap.cpp
"$(INTDIR)\dispmap.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\execution.cpp
"$(INTDIR)\execution.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\favorites.cpp
"$(INTDIR)\favorites.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\filetype.cpp
"$(INTDIR)\filetype.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\frustum.cpp
"$(INTDIR)\frustum.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\galaxy.cpp
"$(INTDIR)\galaxy.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\glext.cpp
"$(INTDIR)\glext.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\imagecapture.cpp
"$(INTDIR)\imagecapture.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\lodspheremesh.cpp
"$(INTDIR)\lodspheremesh.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\meshmanager.cpp
"$(INTDIR)\meshmanager.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\observer.cpp
"$(INTDIR)\observer.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\octree.cpp
"$(INTDIR)\octree.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\orbit.cpp
"$(INTDIR)\orbit.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\overlay.cpp
"$(INTDIR)\overlay.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\parser.cpp
"$(INTDIR)\parser.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\perlin.cpp
"$(INTDIR)\perlin.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\regcombine.cpp
"$(INTDIR)\regcombine.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\render.cpp
"$(INTDIR)\render.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\selection.cpp
"$(INTDIR)\selection.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\simulation.cpp
"$(INTDIR)\simulation.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\solarsys.cpp
"$(INTDIR)\solarsys.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\spheremesh.cpp
"$(INTDIR)\spheremesh.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\star.cpp
"$(INTDIR)\star.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\stardb.cpp
"$(INTDIR)\stardb.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\starname.cpp
"$(INTDIR)\starname.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\stellarclass.cpp
"$(INTDIR)\stellarclass.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\texmanager.cpp
"$(INTDIR)\texmanager.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\texture.cpp
"$(INTDIR)\texture.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\texturefont.cpp
"$(INTDIR)\texturefont.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\tokenizer.cpp
"$(INTDIR)\tokenizer.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\univcoord.cpp
"$(INTDIR)\univcoord.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\util.cpp
"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\visstars.cpp
"$(INTDIR)\visstars.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\vertexlist.cpp
"$(INTDIR)\vertexlist.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\vertexprog.cpp
"$(INTDIR)\vertexprog.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\wingotodlg.cpp
"$(INTDIR)\wingotodlg.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\winmain.cpp
"$(INTDIR)\winmain.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\winssbrowser.cpp
"$(INTDIR)\winssbrowser.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\winstarbrowser.cpp
"$(INTDIR)\winstarbrowser.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\wintimer.cpp
"$(INTDIR)\wintimer.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\src\wintourguide.cpp
"$(INTDIR)\wintourguide.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
SOURCE=.\res\celestia.rc
!IF "$(CFG)" == "celestia - Win32 Release"
"$(INTDIR)\celestia.res" : $(SOURCE) "$(INTDIR)"
$(RSC) /l 0x409 /fo"$(INTDIR)\celestia.res" /i "res" /d "NDEBUG" $(SOURCE)
!ELSEIF "$(CFG)" == "celestia - Win32 Debug"
"$(INTDIR)\celestia.res" : $(SOURCE) "$(INTDIR)"
$(RSC) /l 0x409 /fo"$(INTDIR)\celestia.res" /i "res" /d "_DEBUG" $(SOURCE)
!ENDIF
!ENDIF

View File

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual C++ Express 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "celestia", "celestia.vcproj", "{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Debug|Win32.ActiveCfg = Debug|Win32
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Debug|Win32.Build.0 = Debug|Win32
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Release|Win32.ActiveCfg = Release|Win32
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
#include <charconv>
int main()
{
const char* src = "123";
float x;
std::from_chars_result result = std::from_chars(src, src + 3, x);
}

View File

@ -0,0 +1,8 @@
#include <charconv>
int main()
{
const char* src = "123";
int x;
std::from_chars_result result = std::from_chars(src, src + 3, x, 10);
}

View File

@ -0,0 +1,11 @@
function(EnableFastMath flag)
if(NOT flag)
return()
endif()
if(MSVC)
add_compile_options("/fp:fast")
else()
add_compile_options("-ffast-math -fno-finite-math-only")
endif()
endfunction()

View File

@ -0,0 +1,58 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindCspice
# --------
#
# Find the NAIF toolkit cspice headers and libraries.
#
# This module reports information about the Gettext cspice
# installation in several variables. General variables::
#
# CSPICE_FOUND - true if the cspice headers and libraries were found
# CSPICE_INCLUDE_DIRS - the directory containing the cspice headers
# CSPICE_LIBRARIES - cspice libraries to be linked
#
# The following cache variables may also be set::
#
# CSPICE_INCLUDE_DIR - the directory containing the cspice headers
# CSPICE_LIBRARY - the cspice library (if any)
# Find include directory
find_path(CSPICE_INCLUDE_DIR
NAMES "SpiceUsr.h"
HINTS CSPICE_DIR
PATH_SUFFIXES "include" "include/cspice"
DOC "cspice include directory")
mark_as_advanced(CSPICE_INCLUDE_DIR)
# Find CSPICE library
find_library(CSPICE_LIBRARY
NAMES "cspice" "libcspice" "cspice.a"
HINTS CSPICE_DIR
DOC "cspice libraries")
mark_as_advanced(CSPICE_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(CSPICE
FOUND_VAR CSPICE_FOUND
REQUIRED_VARS CSPICE_INCLUDE_DIR CSPICE_LIBRARY
FAIL_MESSAGE "Failed to find cspice")
if(CSPICE_FOUND)
set(CSPICE_INCLUDE_DIRS "${CSPICE_INCLUDE_DIR}")
if(CSPICE_LIBRARY)
set(CSPICE_LIBRARIES "${CSPICE_LIBRARY}")
else()
unset(CSPICE_LIBRARIES)
endif()
if(NOT TARGET CSPICE::CSPICE)
add_library(CSPICE::CSPICE UNKNOWN IMPORTED)
set_target_properties(CSPICE::CSPICE PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${CSPICE_INCLUDE_DIRS}")
set_target_properties(CSPICE::CSPICE PROPERTIES
IMPORTED_LOCATION "${CSPICE_LIBRARY}")
endif()
endif()

View File

@ -0,0 +1,86 @@
macro(find_ffmpeg_lib)
if(NOT(${ARGC} EQUAL 3))
message(FATAL_ERROR "find_ffmpeg_lib requires exactly 3 arguments")
endif()
set(__name ${ARGV0})
set(__header ${ARGV1})
set(__lib ${ARGV2})
find_library(${__name}_LIBRARY ${__lib})
find_path(${__name}_INCLUDE_DIR ${__header}
HINTS /usr/include/ffmpeg)
set(FPHSA_NAME_MISMATCHED 1)
find_package_handle_standard_args(${__name}
FOUND_VAR ${__name}_FOUND
REQUIRED_VARS ${__name}_INCLUDE_DIR ${__name}_LIBRARY
FAIL_MESSAGE "Failed to find ${__name}")
unset(FPHSA_NAME_MISMATCHED)
set(${__name}_INCLUDE_DIRS ${${__name}_INCLUDE_DIR})
set(${__name}_LIBRARIES ${${__name}_LIBRARY})
list(APPEND FFMPEG_INCLUDE_DIRS ${${__name}_INCLUDE_DIR})
list(REMOVE_DUPLICATES FFMPEG_INCLUDE_DIRS)
list(APPEND FFMPEG_LIBRARIES ${${__name}_LIBRARY})
list(REMOVE_DUPLICATES FFMPEG_LIBRARIES)
if(NOT TARGET FFMPEG::${__name})
add_library(FFMPEG::${__name} UNKNOWN IMPORTED)
set_target_properties(FFMPEG::${__name} PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${${__name}_INCLUDE_DIR}"
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
IMPORTED_LOCATION "${${__name}_LIBRARY}")
endif()
mark_as_advanced(${__name}_INCLUDE_DIR ${__name}_LIBRARY ${__name}_INCLUDE_DIRS ${__name}_LIBRARIES)
endmacro()
include(FindPackageHandleStandardArgs)
if(FFMPEG_FIND_COMPONENTS)
foreach(component ${FFMPEG_FIND_COMPONENTS})
string(TOUPPER ${component} _COMPONENT)
set(FFMPEG_USE_${_COMPONENT} 1)
endforeach()
endif()
set(FFMPEG_INCLUDE_DIRS)
set(FFMPEG_LIBRARIES)
if(FFMPEG_USE_AVCODEC)
find_ffmpeg_lib(AVCODEC libavcodec/avcodec.h avcodec)
endif()
if(FFMPEG_USE_AVFORMAT)
find_ffmpeg_lib(AVFORMAT libavformat/avformat.h avformat)
endif()
if(FFMPEG_USE_AVUTIL)
find_ffmpeg_lib(AVUTIL libavutil/avutil.h avutil)
endif()
if(FFMPEG_USE_AVDEVICE)
find_ffmpeg_lib(AVDEVICE libavdevice/avdevice.h avdevice)
endif()
if(FFMPEG_USE_SWSCALE)
find_ffmpeg_lib(SWSCALE libswscale/swscale.h swscale)
endif()
if(NOT TARGET FFMPEG::FFMPEG)
add_library(FFMPEG::FFMPEG UNKNOWN IMPORTED)
set_target_properties(FFMPEG::FFMPEG PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
INTERFACE_INCLUDE_DIRECTORIES "${FFMPEG_INCLUDE_DIR}")
if(TARGET FFMPEG::AVCODEC)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVCODEC)
endif()
if(TARGET FFMPEG::AVUTIL)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVUTIL)
endif()
if(TARGET FFMPEG::AVDEVICE)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVDEVICE)
endif()
if(TARGET FFMPEG::AVFORMAT)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVFORMAT)
endif()
if(TARGET FFMPEG::SWSCALE)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::SWSCALE)
endif()
endif()

View File

@ -0,0 +1,247 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#[=======================================================================[.rst:
FindFilesystem
##############
This module supports the C++17 standard library's filesystem utilities. Use the
:imp-target:`std::filesystem` imported target to
Options
*******
The ``COMPONENTS`` argument to this module supports the following values:
.. find-component:: Experimental
:name: fs.Experimental
Allows the module to find the "experimental" Filesystem TS version of the
Filesystem library. This is the library that should be used with the
``std::experimental::filesystem`` namespace.
.. find-component:: Final
:name: fs.Final
Finds the final C++17 standard version of the filesystem library.
If no components are provided, behaves as if the
:find-component:`fs.Final` component was specified.
If both :find-component:`fs.Experimental` and :find-component:`fs.Final` are
provided, first looks for ``Final``, and falls back to ``Experimental`` in case
of failure. If ``Final`` is found, :imp-target:`std::filesystem` and all
:ref:`variables <fs.variables>` will refer to the ``Final`` version.
Imported Targets
****************
.. imp-target:: std::filesystem
The ``std::filesystem`` imported target is defined when any requested
version of the C++ filesystem library has been found, whether it is
*Experimental* or *Final*.
If no version of the filesystem library is available, this target will not
be defined.
.. note::
This target has ``cxx_std_17`` as an ``INTERFACE``
:ref:`compile language standard feature <req-lang-standards>`. Linking
to this target will automatically enable C++17 if no later standard
version is already required on the linking target.
.. _fs.variables:
Variables
*********
.. variable:: CXX_FILESYSTEM_IS_EXPERIMENTAL
Set to ``TRUE`` when the :find-component:`fs.Experimental` version of C++
filesystem library was found, otherwise ``FALSE``.
.. variable:: CXX_FILESYSTEM_HAVE_FS
Set to ``TRUE`` when a filesystem header was found.
.. variable:: CXX_FILESYSTEM_HEADER
Set to either ``filesystem`` or ``experimental/filesystem`` depending on
whether :find-component:`fs.Final` or :find-component:`fs.Experimental` was
found.
.. variable:: CXX_FILESYSTEM_NAMESPACE
Set to either ``std::filesystem`` or ``std::experimental::filesystem``
depending on whether :find-component:`fs.Final` or
:find-component:`fs.Experimental` was found.
Examples
********
Using `find_package(Filesystem)` with no component arguments:
.. code-block:: cmake
find_package(Filesystem REQUIRED)
add_executable(my-program main.cpp)
target_link_libraries(my-program PRIVATE std::filesystem)
#]=======================================================================]
if(TARGET std::filesystem)
# This module has already been processed. Don't do it again.
return()
endif()
cmake_minimum_required(VERSION 3.10)
include(CMakePushCheckState)
include(CheckIncludeFileCXX)
# If we're not cross-compiling, try to run test executables.
# Otherwise, assume that compile + link is a sufficient check.
if(CMAKE_CROSSCOMPILING)
include(CheckCXXSourceCompiles)
macro(_cmcm_check_cxx_source code var)
check_cxx_source_compiles("${code}" ${var})
endmacro()
else()
include(CheckCXXSourceRuns)
macro(_cmcm_check_cxx_source code var)
check_cxx_source_runs("${code}" ${var})
endmacro()
endif()
cmake_push_check_state()
set(CMAKE_REQUIRED_QUIET ${Filesystem_FIND_QUIETLY})
# All of our tests required C++17 or later
set(CMAKE_CXX_STANDARD 17)
# Normalize and check the component list we were given
set(want_components ${Filesystem_FIND_COMPONENTS})
if(Filesystem_FIND_COMPONENTS STREQUAL "")
set(want_components Final)
endif()
# Warn on any unrecognized components
set(extra_components ${want_components})
list(REMOVE_ITEM extra_components Final Experimental)
foreach(component IN LISTS extra_components)
message(WARNING "Extraneous find_package component for Filesystem: ${component}")
endforeach()
# Detect which of Experimental and Final we should look for
set(find_experimental TRUE)
set(find_final TRUE)
if(NOT "Final" IN_LIST want_components)
set(find_final FALSE)
endif()
if(NOT "Experimental" IN_LIST want_components)
set(find_experimental FALSE)
endif()
if(find_final)
check_include_file_cxx("filesystem" _CXX_FILESYSTEM_HAVE_HEADER)
mark_as_advanced(_CXX_FILESYSTEM_HAVE_HEADER)
if(_CXX_FILESYSTEM_HAVE_HEADER)
# We found the non-experimental header. Don't bother looking for the
# experimental one.
set(find_experimental FALSE)
endif()
else()
set(_CXX_FILESYSTEM_HAVE_HEADER FALSE)
endif()
if(find_experimental)
check_include_file_cxx("experimental/filesystem" _CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER)
mark_as_advanced(_CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER)
else()
set(_CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER FALSE)
endif()
if(_CXX_FILESYSTEM_HAVE_HEADER)
set(_have_fs TRUE)
set(_fs_header filesystem)
set(_fs_namespace std::filesystem)
set(_is_experimental FALSE)
elseif(_CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER)
set(_have_fs TRUE)
set(_fs_header experimental/filesystem)
set(_fs_namespace std::experimental::filesystem)
set(_is_experimental TRUE)
else()
set(_have_fs FALSE)
endif()
set(CXX_FILESYSTEM_HAVE_FS ${_have_fs} CACHE BOOL "TRUE if we have the C++ filesystem headers")
set(CXX_FILESYSTEM_HEADER ${_fs_header} CACHE STRING "The header that should be included to obtain the filesystem APIs")
set(CXX_FILESYSTEM_NAMESPACE ${_fs_namespace} CACHE STRING "The C++ namespace that contains the filesystem APIs")
set(CXX_FILESYSTEM_IS_EXPERIMENTAL ${_is_experimental} CACHE BOOL "TRUE if the C++ filesystem library is the experimental version")
set(_found FALSE)
if(CXX_FILESYSTEM_HAVE_FS)
# We have some filesystem library available. Do link checks
string(CONFIGURE [[
#include <cstdlib>
#include <@CXX_FILESYSTEM_HEADER@>
int main() {
auto cwd = @CXX_FILESYSTEM_NAMESPACE@::current_path();
printf("%s", cwd.c_str());
return EXIT_SUCCESS;
}
]] code @ONLY)
# Check a simple filesystem program without any linker flags
_cmcm_check_cxx_source("${code}" CXX_FILESYSTEM_NO_LINK_NEEDED)
set(can_link ${CXX_FILESYSTEM_NO_LINK_NEEDED})
if(NOT CXX_FILESYSTEM_NO_LINK_NEEDED)
set(prev_libraries ${CMAKE_REQUIRED_LIBRARIES})
# Add the libstdc++ flag
set(CMAKE_REQUIRED_LIBRARIES ${prev_libraries} -lstdc++fs)
_cmcm_check_cxx_source("${code}" CXX_FILESYSTEM_STDCPPFS_NEEDED)
set(can_link ${CXX_FILESYSTEM_STDCPPFS_NEEDED})
if(NOT CXX_FILESYSTEM_STDCPPFS_NEEDED)
# Try the libc++ flag
set(CMAKE_REQUIRED_LIBRARIES ${prev_libraries} -lc++fs)
_cmcm_check_cxx_source("${code}" CXX_FILESYSTEM_CPPFS_NEEDED)
set(can_link ${CXX_FILESYSTEM_CPPFS_NEEDED})
endif()
endif()
if(can_link)
add_library(std::filesystem INTERFACE IMPORTED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_COMPILE_FEATURES cxx_std_17)
set(_found TRUE)
if(CXX_FILESYSTEM_NO_LINK_NEEDED)
# Nothing to add...
elseif(CXX_FILESYSTEM_STDCPPFS_NEEDED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_LINK_LIBRARIES -lstdc++fs)
elseif(CXX_FILESYSTEM_CPPFS_NEEDED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_LINK_LIBRARIES -lc++fs)
endif()
endif()
endif()
cmake_pop_check_state()
set(Filesystem_FOUND ${_found} CACHE BOOL "TRUE if we can run a program using std::filesystem" FORCE)
if(Filesystem_FIND_REQUIRED AND NOT Filesystem_FOUND)
message(FATAL_ERROR "Cannot run simple program using std::filesystem")
endif()

View File

@ -0,0 +1,72 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindIntl
# --------
#
# Find the Gettext libintl headers and libraries.
#
# This module reports information about the Gettext libintl
# installation in several variables. General variables::
#
# Intl_FOUND - true if the libintl headers and libraries were found
# Intl_INCLUDE_DIRS - the directory containing the libintl headers
# Intl_LIBRARIES - libintl libraries to be linked
#
# The following cache variables may also be set::
#
# Intl_INCLUDE_DIR - the directory containing the libintl headers
# Intl_LIBRARY - the libintl library (if any)
#
# .. note::
# On some platforms, such as Linux with GNU libc, the gettext
# functions are present in the C standard library and libintl
# is not required. ``Intl_LIBRARIES`` will be empty in this
# case.
#
# .. note::
# If you wish to use the Gettext tools (``msgmerge``,
# ``msgfmt``, etc.), use :module:`FindGettext`.
# Written by Roger Leigh <rleigh@codelibre.net>
# brew support is by Alexis Hildebrandt <https://github.com/afh>
# Append custom gettext path to CMAKE_PREFIX_PATH
# if installed via Mac Hombrew
if(APPLE)
find_program(HOMEBREW_PROG brew)
if(EXISTS ${HOMEBREW_PROG})
execute_process(COMMAND ${HOMEBREW_PROG} --prefix gettext
OUTPUT_STRIP_TRAILING_WHITESPACE
OUTPUT_VARIABLE HOMEBREW_GETTEXT_PREFIX)
list(APPEND CMAKE_PREFIX_PATH "${HOMEBREW_GETTEXT_PREFIX}")
endif()
endif()
# Find include directory
find_path(Intl_INCLUDE_DIR
NAMES "libintl.h"
DOC "libintl include directory")
mark_as_advanced(Intl_INCLUDE_DIR)
# Find all Intl libraries
find_library(Intl_LIBRARY
NAMES "intl" "libintl"
DOC "libintl libraries (if not in the C library)")
mark_as_advanced(Intl_LIBRARY)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Intl
FOUND_VAR Intl_FOUND
REQUIRED_VARS Intl_INCLUDE_DIR
FAIL_MESSAGE "Failed to find Gettext libintl")
if(Intl_FOUND)
set(Intl_INCLUDE_DIRS "${Intl_INCLUDE_DIR}")
if(Intl_LIBRARY)
set(Intl_LIBRARIES "${Intl_LIBRARY}")
else()
unset(Intl_LIBRARIES)
endif()
endif()

View File

@ -0,0 +1,59 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindLibavif
# --------
#
# Find the avif headers and libraries.
#
# This module reports information about the avif
# installation in several variables. General variables::
#
# LIBAVIF_FOUND - true if the avif headers and libraries were found
# LIBAVIF_INCLUDE_DIRS - the directory containing the avif headers
# LIBAVIF_LIBRARIES - avif libraries to be linked
#
# The following cache variables may also be set::
#
# LIBAVIF_INCLUDE_DIR - the directory containing the avif headers
# LIBAVIF_LIBRARY - the avif library (if any)
# Find include directory
# TODO: use pkgconfig
find_path(LIBAVIF_INCLUDE_DIR
NAMES avif/avif.h
HINTS LIBAVIF_DIR
DOC "avif headers")
mark_as_advanced(LIBAVIF_INCLUDE_DIR)
find_library(LIBAVIF_LIBRARY
NAMES avif
HINTS LIBAVIF_DIR
DOC "avif libraries")
mark_as_advanced(LIBAVIF_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libavif
FOUND_VAR LIBAVIF_FOUND
REQUIRED_VARS LIBAVIF_INCLUDE_DIR LIBAVIF_LIBRARY
FAIL_MESSAGE "Failed to find avif")
if(LIBAVIF_FOUND)
set(LIBAVIF_INCLUDE_DIRS "${LIBAVIF_INCLUDE_DIR}")
if(LIBAVIF_LIBRARY)
set(LIBAVIF_LIBRARIES "${LIBAVIF_LIBRARY}")
else()
unset(LIBAVIF_LIBRARIES)
endif()
if(NOT TARGET libavif::libavif)
add_library(libavif::libavif UNKNOWN IMPORTED)
set_target_properties(libavif::libavif PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${LIBAVIF_INCLUDE_DIRS}")
set_target_properties(libavif::libavif PROPERTIES
IMPORTED_LOCATION "${LIBAVIF_LIBRARY}")
endif()
endif()

View File

@ -0,0 +1,59 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindLibepoxy
# --------
#
# Find the epoxy headers and libraries.
#
# This module reports information about the epoxy
# installation in several variables. General variables::
#
# LIBEPOXY_FOUND - true if the epoxy headers and libraries were found
# LIBEPOXY_INCLUDE_DIRS - the directory containing the epoxy headers
# LIBEPOXY_LIBRARIES - epoxy libraries to be linked
#
# The following cache variables may also be set::
#
# LIBEPOXY_INCLUDE_DIR - the directory containing the epoxy headers
# LIBEPOXY_LIBRARY - the epoxy library (if any)
# Find include directory
# TODO: use pkgconfig
find_path(LIBEPOXY_INCLUDE_DIR
NAMES epoxy/gl.h
HINTS LIBEPOXY_DIR
DOC "epoxy headers")
mark_as_advanced(LIBEPOXY_INCLUDE_DIR)
find_library(LIBEPOXY_LIBRARY
NAMES epoxy
HINTS LIBEPOXY_DIR
DOC "epoxy libraries")
mark_as_advanced(LIBEPOXY_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libepoxy
FOUND_VAR LIBEPOXY_FOUND
REQUIRED_VARS LIBEPOXY_INCLUDE_DIR LIBEPOXY_LIBRARY
FAIL_MESSAGE "Failed to find epoxy")
if(LIBEPOXY_FOUND)
set(LIBEPOXY_INCLUDE_DIRS "${LIBEPOXY_INCLUDE_DIR}")
if(LIBEPOXY_LIBRARY)
set(LIBEPOXY_LIBRARIES "${LIBEPOXY_LIBRARY}")
else()
unset(LIBEPOXY_LIBRARIES)
endif()
if(NOT TARGET libepoxy::libepoxy)
add_library(libepoxy::libepoxy UNKNOWN IMPORTED)
set_target_properties(libepoxy::libepoxy PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${LIBEPOXY_INCLUDE_DIRS}")
set_target_properties(libepoxy::libepoxy PROPERTIES
IMPORTED_LOCATION "${LIBEPOXY_LIBRARY}")
endif()
endif()

View File

@ -0,0 +1,107 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindLuaJIT
# ---------
#
#
#
# Locate Lua library This module defines
#
# ::
#
# LUAJIT_FOUND, if false, do not try to link to Lua
# LUA_LIBRARIES
# LUA_INCLUDE_DIR, where to find lua.h
# LUA_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
# LUA_VERSION_MAJOR - the major version of Lua
# LUA_VERSION_MINOR - the minor version of Lua
# LUA_VERSION_PATCH - the patch version of Lua
# LUAJIT_VERSION_STRING, the version of LuaJIT found (since CMake 2.8.8)
# LUAJIT_VERSION_MAJOR - the major version of LuaJIT
# LUAJIT_VERSION_MINOR - the minor version of LuaJIT
# LUAJIT_VERSION_PATCH - the patch version of LuaJIT
#
#
#
# Note that the expected include convention is
#
# ::
#
# #include "lua.h"
#
# and not
#
# ::
#
# #include <lua/lua.h>
#
# This is because, the lua location is not standardized and may exist in
# locations other than lua/
find_path(LUA_INCLUDE_DIR luajit.h
HINTS
ENV LUA_DIR
PATH_SUFFIXES include/luajit-2.0 include/luajit-2.1 include/luajit
PATHS
~/Library/Frameworks
/Library/Frameworks
/sw # Fink
/opt/local # DarwinPorts
/opt/csw # Blastwave
/opt
)
find_library(LUA_LIBRARY
NAMES luajit-5.1 lua51
HINTS
ENV LUA_DIR
PATH_SUFFIXES lib
PATHS
~/Library/Frameworks
/Library/Frameworks
/sw
/opt/local
/opt/csw
/opt
)
if(LUA_LIBRARY)
# include the math library for Unix
if(UNIX AND NOT APPLE AND NOT BEOS AND NOT HAIKU)
find_library(LUA_MATH_LIBRARY m)
set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY};${CMAKE_DL_LIBS}" CACHE STRING "Lua Libraries")
# For Windows and Mac, don't need to explicitly include the math library
else()
set( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries")
endif()
endif()
if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/lua.h")
file(STRINGS "${LUA_INCLUDE_DIR}/lua.h" lua_version_str REGEX "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua .+\"")
string(REGEX REPLACE "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua ([^\"]+)\".*" "\\1" LUA_VERSION_STRING "${lua_version_str}")
unset(lua_version_str)
string(REGEX REPLACE "^([0-9]+)\\.[0-9.]*$" "\\1" LUA_VERSION_MAJOR "${LUA_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.([0-9]+)[0-9.]*$" "\\1" LUA_VERSION_MINOR "${LUA_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]).*" "\\1" LUA_VERSION_PATCH "${LUA_VERSION_STRING}")
endif()
if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/luajit.h")
file(STRINGS "${LUA_INCLUDE_DIR}/luajit.h" lua_version_str REGEX "^#define[ \t]+LUAJIT_VERSION[ \t]+\".+\"")
string(REGEX REPLACE "^#define[ \t]+LUAJIT_VERSION[ \t]+\"LuaJIT ([0-9.]+).*\"" "\\1" LUAJIT_VERSION_STRING "${lua_version_str}")
unset(lua_version_str)
string(REGEX REPLACE "^([0-9]+)\\.[0-9.]*$" "\\1" LUAJIT_VERSION_MAJOR "${LUAJIT_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.([0-9]+)[0-9.]*$" "\\1" LUAJIT_VERSION_MINOR "${LUAJIT_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]).*" "\\1" LUAJIT_VERSION_PATCH "${LUAJIT_VERSION_STRING}")
endif()
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if
# all listed variables are TRUE
find_package_handle_standard_args(LuaJIT
REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR
VERSION_VAR LUAJIT_VERSION_STRING)
mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARIES LUA_LIBRARY LUA_MATH_LIBRARY)

View File

@ -0,0 +1,49 @@
macro(GETTEXT_CREATE_TRANSLATIONS2 _potFile _firstPoFileArg)
# make it a real variable, so we can modify it here
set(_firstPoFile "${_firstPoFileArg}")
set(_gmoFiles)
get_filename_component(_potName ${_potFile} NAME)
string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _potBasename ${_potName})
get_filename_component(_absPotFile ${_potFile} ABSOLUTE)
set(_addToAll)
if(${_firstPoFile} STREQUAL "ALL")
set(_addToAll "ALL")
set(_firstPoFile)
endif()
foreach (_currentPoFile ${_firstPoFile} ${ARGN})
get_filename_component(_absFile ${_currentPoFile} ABSOLUTE)
get_filename_component(_abs_PATH ${_absFile} PATH)
get_filename_component(_lang ${_absFile} NAME_WE)
set(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo)
set(_poFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.po)
add_custom_command(
OUTPUT ${_gmoFile}
COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --output-file=${_poFile} --lang=${_lang} --sort-output ${_absFile} ${_absPotFile}
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_poFile}
DEPENDS ${_absPotFile} ${_absFile}
)
if(NATIVE_OSX_APP)
install(FILES ${_gmoFile} DESTINATION Resources/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
else()
install(FILES ${_gmoFile} DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
endif()
set(_gmoFiles ${_gmoFiles} ${_gmoFile})
endforeach ()
if(NOT TARGET translations)
add_custom_target(translations)
endif()
_GETTEXT_GET_UNIQUE_TARGET_NAME(translations uniqueTargetName)
add_custom_target(${uniqueTargetName} ${_addToAll} DEPENDS ${_gmoFiles})
add_dependencies(translations ${uniqueTargetName})
endmacro()

View File

@ -0,0 +1,11 @@
macro(test_case)
set(trgt ${ARGV0})
set(libs ${ARGV})
list(REMOVE_AT libs 0 0)
add_executable(${trgt} $<TARGET_OBJECTS:catch_main> "${trgt}_test.cpp")
target_include_directories(${trgt} PRIVATE "${CMAKE_SOURCE_DIR}/test/common")
target_link_libraries(${trgt} PRIVATE celestia ${libs})
add_test(${trgt} ${trgt})
set_target_properties(${trgt} PROPERTIES FOLDER test/unit)
endmacro()

View File

@ -0,0 +1,5 @@
# the RPATH to be used when installing, but only if it's not a system directory
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES ${CMAKE_INSTALL_FULL_LIBDIR} isSystemDir)
if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
endif()

View File

@ -0,0 +1,52 @@
function(_WINDRES_GET_UNIQUE_TARGET_NAME _name _unique_name)
set(propertyName "_WINDRES_UNIQUE_COUNTER_${_name}")
get_property(currentCounter GLOBAL PROPERTY "${propertyName}")
if(NOT currentCounter)
set(currentCounter 1)
endif()
set(${_unique_name} "${_name}_${currentCounter}" PARENT_SCOPE)
math(EXPR currentCounter "${currentCounter} + 1")
set_property(GLOBAL PROPERTY ${propertyName} ${currentCounter} )
endfunction()
macro(WINDRES_CREATE_TRANSLATIONS _rcFile _firstPoFileArg)
# make it a real variable, so we can modify it here
set(_firstPoFile "${_firstPoFileArg}")
set(_addToAll)
if(${_firstPoFile} STREQUAL "ALL")
set(_addToAll "ALL")
set(_firstPoFile)
endif()
set(_dllFiles)
foreach(_currentPoFile ${_firstPoFile} ${ARGN})
get_filename_component(_absFile ${_currentPoFile} ABSOLUTE)
get_filename_component(_lang ${_absFile} NAME_WE)
set(_locRcFile ${CMAKE_CURRENT_BINARY_DIR}/celestia_${_lang}.rc)
set(_dllFile res_${_lang})
add_custom_command(
OUTPUT ${_locRcFile}
COMMAND perl ${CMAKE_SOURCE_DIR}/po/translate_resources.pl ${_lang}
DEPENDS ${_absFile}
)
add_library(${_dllFile} MODULE ${_locRcFile})
set_target_properties(${_dllFile} PROPERTIES PREFIX "" LINKER_LANGUAGE C)
if(MSVC)
set_target_properties(${_dllFile} PROPERTIES LINK_FLAGS "/MANIFEST:NO /NODEFAULTLIB /NOENTRY")
endif()
install(TARGETS ${_dllFile} LIBRARY DESTINATION ${CMAKE_INSTALL_BINDIR})
set(_dllFiles ${_dllFiles} ${_dllFile})
endforeach()
if(NOT TARGET resources)
add_custom_target(resources)
endif()
_WINDRES_GET_UNIQUE_TARGET_NAME(resources uniqueTargetName)
add_custom_target(${uniqueTargetName} ${_addToAll} DEPENDS ${_dllFiles})
add_dependencies(resources ${uniqueTargetName})
endmacro()

1088
config.guess vendored

File diff suppressed because it is too large Load Diff

7
config.h.in 100644
View File

@ -0,0 +1,7 @@
#cmakedefine HAVE_BYTESWAP_H
#cmakedefine HAVE_CHARCONV
#cmakedefine HAVE_FLOAT_CHARCONV
#cmakedefine HAVE_STD_FILESYSTEM
#cmakedefine HAVE_WORDEXP
#cmakedefine HAVE_MESHOPTIMIZER
#cmakedefine WORDS_BIGENDIAN

1216
config.sub vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,501 +0,0 @@
dnl
dnl Celestia autoconf file
dnl Process this file with autoconf to make a configure script
dnl
AC_PREREQ(2.57)
AC_INIT([celestia], [1.5.0], [celestia-developers@lists.sf.net])
AC_CONFIG_SRCDIR(acinclude.m4)
dnl The following section confirms that the user provided necessary option
dnl BEFORE anything is checked.
AC_ARG_WITH([glut],
AC_HELP_STRING([--with-glut], [Use Glut for the UI]),
ui_glut="yes"; ui_gtk="no"; ui_gnome="no"; ui_kde="no",
ui_glut="no")
AC_ARG_WITH([gtk],
AC_HELP_STRING([--with-gtk], [Use Gtk for an enhanced GUI]),
ui_gtk="yes"; ui_glut="no"; ui_gnome="no"; ui_kde="no",
ui_gtk="no")
AC_ARG_WITH([gnome],
AC_HELP_STRING([--with-gnome], [Use Gnome for an enhanced GUI]),
ui_gnome="yes"; ui_gtk="yes"; ui_glut="no"; ui_kde="no",
ui_gnome="no")
AC_ARG_WITH([kde],
AC_HELP_STRING([--with-kde], [Use KDE for an enhanced GUI]),
ui_kde="yes"; ui_glut="no"; ui_gtk="no"; ui_gnome="no",
ui_kde="no")
dnl Following line left in: great for debugging.
dnl AC_MSG_ERROR([$ui_glut $ui_gtk $ui_gnome $ui_kde])
dnl Check that an interface was provided
if (test "$ui_glut" != "yes" -a "$ui_gtk" != "yes" -a "$ui_gnome" != "yes" -a "$ui_kde" != "yes"); then
AC_MSG_ERROR([You must select an interface to build.
Possible options are:
--with-glut GLUT front-end
--with-gtk Enhanced GTK GUI
--with-gnome GTK GUI with Gnome features
--with-kde Enhanced KDE GUI]);
fi
AC_ARG_ENABLE([cairo],
AC_HELP_STRING([--enable-cairo],
[use cairo for GTK splash screen]),
enable_cairo="$enableval", enable_cairo="auto")
AC_ARG_ENABLE([theora],
AC_HELP_STRING([--enable-theora],
[create Ogg/Theora video]),
enable_theora="$enableval", enable_theora="auto")
dnl For KDE interface
AC_CONFIG_AUX_DIR(admin)
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH
dnl Check system type
AC_CANONICAL_HOST
dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM
AM_INIT_AUTOMAKE([-Wno-portability])
AM_CONFIG_HEADER(config.h)
AM_PO_SUBDIRS
AM_GNU_GETTEXT([external])
dnl Check for compilers. Set CFLAGS and CXXFLAGS to null if unset, so
dnl that these macros won't set the to default values that we don't want.
if (test "x${CFLAGS-notset}" = "xnotset"); then
export CFLAGS
CFLAGS=""
fi
AC_PROG_CC
if (test "x${CXXFLAGS-notset}" = "xnotset"); then
export CXXFLAGS
CXXFLAGS=""
fi
AC_PROG_CXX
dnl Checks for programs.
AC_PROG_CPP
AC_PROG_CXXCPP
AC_PROG_INSTALL
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
dnl AC_PROG_RANLIB
dnl
dnl Compilation options
dnl
CELESTIA_CPPFLAGS=""
CELESTIA_CFLAGS="-O2 -Wall -ffast-math -fexpensive-optimizations"
CELESTIA_CXXFLAGS="-O2 -Wall -ffast-math -fexpensive-optimizations"
AC_MSG_CHECKING([whether to include debugging code])
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug],
[Produce an executable with debugging symbols]), ,
enable_debug="no")
if (test "$enable_debug" = "yes"); then
CELESTIA_CFLAGS="-g -Wall";
CELESTIA_CXXFLAGS="-g -Wall"
AC_DEFINE(DEBUG, 1, [Are we debugging ?])
fi
AC_MSG_RESULT($enable_debug)
AC_MSG_CHECKING([whether to be pedantic])
AC_ARG_ENABLE([pedantic],
AC_HELP_STRING([--enable-pedantic],
[Enable -pedantic when compiling]), ,
enable_pedantic="no")
if (test "$enable_pedantic" = "yes"); then
CELESTIA_CFLAGS="$CELESTIA_CFLAGS -ansi -pedantic";
CELESTIA_CXXFLAGS="$CELESTIA_CXXFLAGS -pedantic"
fi
AC_MSG_RESULT($enable_pedantic)
AC_MSG_CHECKING([whether to do profiling])
AC_ARG_ENABLE([profile],
AC_HELP_STRING([--enable-profile],
[Produce a profiled executable[default=no]]), ,
enable_profile="no")
if (test "$enable_profile" = "yes"); then
CELESTIA_CFLAGS="$CELESTIA_CFLAGS -pg";
CELESTIA_CXXFLAGS="$CELESTIA_CXXFLAGS -pg"
else
if (test "$enable_debug" != "yes"); then
dnl must be set here instead of above because -pg and
dnl -fomit-frame-pointer are incompatible
CELESTIA_CFLAGS="$CELESTIA_CFLAGS -fomit-frame-pointer";
CELESTIA_CXXFLAGS="$CELESTIA_CXXFLAGS -fomit-frame-pointer"
fi
fi
AC_MSG_RESULT($enable_profile)
dnl
dnl GL and GLUT libs
dnl
AC_ARG_WITH([gl-libs],
AC_HELP_STRING([--with-gl-libs=DIR],
[Specify OpenGL library location]),
CELESTIALIBS="$CELESTIALIBS -L$withval")
AC_ARG_WITH([gl-inc],
AC_HELP_STRING([--with-gl-inc=DIR],
[Specify OpenGL header file location]),
CELESTIAFLAGS="$CELESTIAFLAGS -I$withval")
AC_ARG_WITH([glut-libs],
AC_HELP_STRING([--with-glut-libs=DIR],
[Specify GLUT library location]),
CELESTIALIBS="$CELESTIALIBS -L$withval")
AC_ARG_WITH([glut-inc],
AC_HELP_STRING([--with-glut-inc=DIR],
[Specify GLUT header file location]),
CELESTIAFLAGS="$CELESTIAFLAGS -I$withval")
dnl
dnl SPICE lib
dnl
AC_ARG_WITH([cspice-dir],
AC_HELP_STRING([--with-cspice-dir=DIR], [Specify SPICE directory location]),
CELESTIAFLAGS="$CELESTIAFLAGS -I$withval/include -DUSE_SPICE";
SPICELIB="$withval/lib/cspice.a")
AC_SUBST(SPICELIB)
AM_CONDITIONAL(ENABLE_SPICE, test "$SPICELIB" != "")
LIBS="$LIBS -lm"
dnl Use Gtk if requested
GTK_LIBS=""
GTKGL_LIBS=""
GTK_CFLAGS=""
AC_MSG_CHECKING([whether to enable GLUT])
if (test "$ui_glut" != "no"); then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([whether to enable GTK])
if (test "$ui_gtk" != "no"); then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([whether to enable Gnome])
if (test "$ui_gnome" != "no"); then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([whether to enable KDE])
if (test "$ui_kde" != "no"); then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_CHECK_COMPILERS
AC_PATH_XTRA
CFLAGS="$CFLAGS $X_CFLAGS"
CFLAGS="$CFLAGS $CELESTIAFLAGS $CELESTIA_CFLAGS"
CXXFLAGS="$CXXFLAGS $CELESTIAFLAGS $CELESTIA_CXXFLAGS"
LIBS="$LIBS $CELESTIALIBS"
LIBS="$X_PRE_LIBS $LIBS $X_LIBS -lXmu -lXi -lXext -lX11 -lm -lz $X_EXTRA_LIBS"
dnl Check for zlib -- libGL requires it.
AC_CHECK_LIB(z, deflate, ,
[AC_MSG_ERROR([zlib not found.])])
dnl Check for OpenGL headers first.
AC_CHECK_HEADERS(GL/gl.h, ,
[AC_MSG_ERROR([No gl.h found. See INSTALL file for help.])])
LIBS="$LIBS -lGL"
dnl Check for OpenGL. Taken partly from the plib sources.
AC_CHECK_LIB(GL, glNewList)
if (test "x$ac_cv_lib_GL_glNewList" = "xno"); then
dnl Check for MesaGL.
AC_CHECK_LIB(MesaGL, glNewList, ,
[AC_MSG_ERROR([GL library was not found])])
fi
dnl Check for GLU headers.
AC_CHECK_HEADERS(GL/glu.h, ,
[AC_MSG_ERROR([No glu.h found. See INSTALL file for help.])])
AC_CHECK_LIB(GLU, gluLookAt)
if (test "x$ac_cv_lib_GLU_gluLookAt" = "xno"); then
dnl Check for MesaGLU.
AC_CHECK_LIB(MesaGLU, gluLookAt, ,
[AC_MSG_ERROR([GLU library was not found])])
fi
PKG_PROG_PKG_CONFIG
if (test "$ui_glut" = "yes"); then
dnl Check for GLUT headers first.
AC_CHECK_HEADERS(GL/glut.h, ,
[AC_MSG_ERROR([No glut.h found. See INSTALL file for help.])])
dnl Check for GLUT.
AC_CHECK_LIB(glut, glutKeyboardUpFunc, ,
[AC_MSG_ERROR([GLUT library version >= 3.7 not found])])
fi
AM_CONDITIONAL(ENABLE_GLUT, test "$ui_glut" = "yes")
dnl Default GConf to FALSE
dnl (this is a silly trick to make configure behave)
AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test "x" = "y")
if (test "$ui_gtk" != "no"); then
dnl GNOME is an extension to the GTK options
if (test "$ui_gnome" = "yes"); then
PKG_CHECK_MODULES(GTK, libgnomeui-2.0 gtk+-2.0 >= 2.6 gtkglext-1.0)
AM_GCONF_SOURCE_2
AC_DEFINE(GNOME, 1, [Use Gnome Flag])
else
dnl Otherwise, vanilla GTK
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6 gtkglext-1.0)
fi
dnl Check for cairo. Default to trying yes. Want this structure to not
dnl fail when not found if not explicitly enabled.
if (test "x$enable_cairo" != "xno"); then
PKG_CHECK_MODULES(CAIRO, cairo, enable_cairo="yes",
if (test "x$enable_cairo" = "xauto"); then
enable_cairo="no"
else
AC_ERROR([Cairo not found (explicitly enabled)!])
fi)
fi
check_theora="yes"
if (test "x$enable_cairo" = "xyes"); then
AC_DEFINE(CAIRO, 1, [Use Cairo for Splash])
fi
CFLAGS="$CFLAGS $GTK_CFLAGS $CAIRO_CFLAGS"
CXXFLAGS="$CXXFLAGS $GTK_CFLAGS $CAIRO_CFLAGS"
LIBS="$LIBS $GTK_LIBS $CAIRO_LIBS"
fi
dnl If all the GTK tests succeeded, safe to enable GTK
AM_CONDITIONAL(ENABLE_GTK, test "$ui_gtk" = "yes")
AM_CONDITIONAL(ENABLE_GNOME, test "$ui_gnome" = "yes")
dnl
dnl KDE
dnl
dnl Make certain ARTS is not conditionally defined, like GConf for Gnome
AM_CONDITIONAL(include_ARTS, test "x" = "y")
if (test "$ui_kde" != "no"); then
dnl KDE_SET_PREFIX
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
AM_KDE_WITH_NLS
dnl KDE_USE_QT(3)
AC_PATH_KDE
check_theora="yes"
fi
AM_CONDITIONAL(ENABLE_KDE, test "$ui_kde" = "yes")
if (test "$check_theora" = "yes"); then
dnl Check for theora. Default to trying yes. Want this structure to not
dnl fail when not found if not explicitly enabled.
if (test "x$enable_theora" != "xno"); then
PKG_CHECK_MODULES(THEORA, theora, enable_theora="yes",
if (test "x$enable_theora" = "xauto"); then
enable_theora="no"
else
AC_ERROR([Theora not found (explicitly enabled)!])
fi)
fi
if (test "x$enable_theora" = "xyes"); then
AC_DEFINE(THEORA, 1, [Use OGG Theora for video])
CFLAGS="$CFLAGS $THEORA_CFLAGS"
CXXFLAGS="$CXXFLAGS $THEORA_CFLAGS"
LIBS="$LIBS $THEORA_LIBS"
fi
fi
AM_CONDITIONAL(ENABLE_THEORA, test "$enable_theora" = "yes")
dnl Check for JPEG library.
AC_CHECK_LIB(jpeg, jpeg_start_decompress, ,
[AC_MSG_ERROR([jpeg library not found])])
dnl Check for PNG library.
AC_CHECK_LIB(png, png_create_info_struct,,
[AC_MSG_ERROR([png library not found])])
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(byteswap.h)
AC_C_BIGENDIAN
dnl Establish the main data directory (defined in Makefiles)
PKGDATADIR='${datadir}'/$PACKAGE
AC_SUBST(PKGDATADIR)
enable_hipparcos="no"
AC_ARG_ENABLE([hipparcos-dir],
AC_HELP_STRING([--enable-hipparcos-dir=DIR],
[Specify location of HIPPARCOS/TYCHO stardata]),
HIPDIR="$enableval",HIPDIR="$PKGDATADIR")
AC_SUBST(HIPDIR)
AC_MSG_CHECKING([whether we can create a new star database])
if (test -f "$HIPDIR/hip_main.dat"); then
enable_hipparcos="yes"
fi
AC_MSG_RESULT($enable_hipparcos)
AM_CONDITIONAL(ENABLE_HIPPARCOS, test "x$enable_hipparcos" = "xyes")
AC_ARG_WITH([lua],
AC_HELP_STRING([--with-lua],
[Use Lua for Celestia Extension Language support]),
enable_lua="$withval",
enable_lua="auto")
if (test "$enable_lua" != "no"); then
LUA_VER=0
PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1.0, LUA_VER=0x050100,
[ PKG_CHECK_MODULES(LUA, lua >= 5.1.0, LUA_VER=0x050100,
[ PKG_CHECK_MODULES(LUA, lua50 >= 5.0.0 lua50 < 5.1.0, LUA_VER=0x050000,
[ PKG_CHECK_MODULES(LUA, lua >= 5.0.0 lua < 5.1.0, LUA_VER=0x050000, AC_MSG_RESULT([no])) ]
) ]
) ]
)
if (test "$LUA_VER" = "0x050000"); then
PKG_CHECK_MODULES(LUALIB, lualib50 >= 5.0.0 lualib50 < 5.1.0, ,
[ PKG_CHECK_MODULES(LUALIB, lualib >= 5.0.0 lualib < 5.1.0, , AC_MSG_RESULT([no])) ]
)
fi
if (test "$LUA_VER" = "0"); then
if (test "x$enable_lua" != "xauto"); then
AC_ERROR([Lua not found (explicitly enabled)!])
else
enable_lua="no"
fi
else
enable_lua="yes"
fi
fi
if (test "$enable_lua" = "yes"); then
CXXFLAGS="$CXXFLAGS $LUA_CFLAGS $LUALIB_CFLAGS -DLUA_VER=$LUA_VER -DCELX"
LIBS="$LIBS $LUA_LIBS $LUALIB_LIBS"
fi
AM_CONDITIONAL(ENABLE_CELX, test "$enable_lua" != "no")
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ src/celutil/Makefile ])
AC_CONFIG_FILES([ src/celmath/Makefile ])
AC_CONFIG_FILES([ src/cel3ds/Makefile ])
AC_CONFIG_FILES([ src/celtxf/Makefile ])
AC_CONFIG_FILES([ src/celengine/Makefile ])
AC_CONFIG_FILES([ src/celestia/Makefile ])
AC_CONFIG_FILES([ data/Makefile ])
AC_CONFIG_FILES([ extras/Makefile ])
AC_CONFIG_FILES([ textures/Makefile ])
AC_CONFIG_FILES([ textures/lores/Makefile ])
AC_CONFIG_FILES([ textures/medres/Makefile ])
AC_CONFIG_FILES([ textures/hires/Makefile ])
AC_CONFIG_FILES([ models/Makefile ])
AC_CONFIG_FILES([ shaders/Makefile ])
AC_CONFIG_FILES([ fonts/Makefile ])
AC_CONFIG_FILES([ src/celestia/res/Makefile ])
AC_CONFIG_FILES([ src/celestia/kde/Makefile ])
AC_CONFIG_FILES([ src/celestia/kde/data/Makefile ])
AC_CONFIG_FILES([ src/celestia/kde/doc/Makefile ])
AC_CONFIG_FILES([ src/celestia/kde/doc/celestia/Makefile ])
AC_CONFIG_FILES([ src/celestia/gtk/Makefile ])
AC_CONFIG_FILES([ src/celestia/gtk/data/Makefile ])
AC_CONFIG_FILES([ po/Makefile.in ])
AC_CONFIG_FILES([ po2/Makefile.in ])
AC_CONFIG_FILES([ locale/Makefile ])
AC_CONFIG_FILES([ scripts/Makefile ])
AC_OUTPUT()
AC_MSG_RESULT()
AC_MSG_RESULT()
AC_MSG_RESULT(***************************************************************)
AC_MSG_RESULT(** Celestia configuration complete. Now do a 'make' followed **)
AC_MSG_RESULT(** by 'make install' **)
AC_MSG_RESULT(***************************************************************)
AC_MSG_RESULT()
if (test "$ui_glut" = "yes"); then
AC_MSG_RESULT([Front-End: GLUT]);
fi
if (test "$ui_gtk" = "yes" -a "$ui_gnome" = "no"); then
AC_MSG_RESULT([Front-End: GTK]);
fi
if (test "$ui_gnome" = "yes"); then
AC_MSG_RESULT([Front-End: Gnome]);
fi
if (test "$ui_kde" = "yes"); then
AC_MSG_RESULT([Front-End: KDE]);
fi
if (test "$ui_gtk" = "yes" -o "$ui_gnome" = "yes"); then
AC_MSG_RESULT([Use Cairo: $enable_cairo]);
fi
AC_MSG_RESULT([Use Lua: $enable_lua]);
if (test "$LUA_VER" = "0x050000"); then
AC_MSG_RESULT([ Warning: Lua 5.1 is not available on your system, Lua 5.0 will be used
instead but it may not be fully compatible with existing CELX scripts.
It is recommanded that you install Lua 5.0 and rerun configure.]);
fi
AC_MSG_RESULT([Use Theora: $enable_theora]);
AC_MSG_RESULT()

View File

@ -1,140 +1,191 @@
Mouse and Keyboard Controls for Celestia
Celestia Mouse, Keyboard and Joystick Controls
Mouse Functions:
Left drag: orient camera
Right drag: orbit the selected object
Wheel: adjust distance to selection
Right + Left drag: adjust distance to selection
Ctrl + Left drag: adjust distance to selection
Shift + Left drag: change field of view (e.g. => telescopic view)
Wheel (middle button) click: toggle field of view between 45 degrees
and the previous field (e.g. telescopic view)
Left - click: select object
Left double click: center selection
Right - click: bring up context menu
------------------------------------------
MOUSE CONTROLS
------------------------------------------
Left Drag ................................. Orient camera
Right drag ............................... Orbit selected object [Shift+Arrow keys]
Left+Right Drag left/right ........ Roll view left/right [Left/Right arrows]
Left+Right Drag up/down ....... Adjust distance to selection [Home/End]
Wheel ..................................... Adjust distance to selection [Home/End]
Ctrl+Left Drag up/down .......... Adjust distance to selection [Home/End]
Shift+Left Drag ....................... Change Field of View (FOV) [. / ,]
Middle Button ......................... Toggle FOV between 45 degrees and previous setting
Left Click (on object) .............. Select object [Enter key -- by object name]
Left Click (on no object) ......... Cancel selection
Left Double Click (on object) ...Select and Center object
Right Click .............................. Bring up context menu
Keyboard Commands:
Navigation:
H : Select the sun (Home)
C : Center on selected object
G : Goto selected object
F : Follow selected object
Y : Orbit the selected object at a rate synced to its rotation
: : Lock on selected object
" : Chase selected object (orientation is based on selection's velocity)
T : Track selected object (keep selected object centered in view)
HOME : Move closer to object
* : Look back
END : Move farther from object
ESC : Cancel motion or script
Shift+C : Center/orbit--center the selected object without changing the
position of the reference object.
Left/Right Arrows : Roll Camera
Up / Down Arrows : Change Camera Pitch
Shift+Arrows : Orbit object
1-9 : Select planets around nearby sun
------------------------------------------------
KEYBOARD CONTROLS
------------------------------------------------
Time:
Space : stop time
L : Time 10x faster
Shift+L : Time 2x faster
K : Time 10x slower
Shift+K : Time 2x slower
J : Reverse time
! : Set time to now
? : Display light-travel delay between observer and selected object
- : Subtract light-travel delay from current simulation time
--- Navigation ---
Labels:
= : Toggle constellation labels
B : Toggle star labels
E : Toggle galaxy labels
M : Toggle moon labels
W : Toggle asteroid & comet labels
N : Toggle spacecraft labels
P : Toggle planet labels
& : Toggle location labels
1 - 9 .................................. Select planet around the nearest star
0 (zero) ............................. Select parent star of current planet or system
H ...................................... Select Sol (Home system)
C ....................................... Center on selected object
G ...................................... Goto selected object
F ....................................... Follow selected object
T ....................................... Track selected object
Y ....................................... Sync Orbit selected object at a rate synced to its rotation
: ........................................ Lock on selected object
" ........................................ Chase selected object
Shift+C .............................. Center/orbit --center the selected object without changing
the position of the reference object
Ctrl+G ............................... Goto surface of selected object
Ctrl+F ................................ Toggle Alt-azimuth mode
Home ................................ Move closer to object
End ................................... Move further away from object
* ........................................ Look back
Backspace ....................... Select parent of current object or clear the selection
Esc ................................... Cancel motion or script
V : Toggle verbosity of info text
Options:
I : Toggle cloud textures
U : Toggle galaxy rendering
O : Toggle planet orbits
/ : Toggle constellation diagrams
^ : Toggle nebula rendering
% : Toggle star color tables
; : Show an earth-based equatorial coordinate sphere
[ : If autoMag OFF: Decrease limiting magnitude (fewer stars visible)
If autoMag ON : Decrease limiting magnitude at 45 deg field of view
] : If autoMag OFF: Increase limiting magnitude (more stars visible)
If autoMag ON : Increase limiting magnitude at 45 deg field of view
{ : Decrease ambient illumination
} : Increase ambient illumination
( : Decrease galaxy brightness independently of star brightness
) : Increase galaxy brightness independently of star brightness
, : Narrow field of view
. : Widen field of view
Backspace: Cancel current selection
Ctrl+A : Toggle atmospheres
Ctrl+B : Toggle constellation boundaries
Ctrl+E : Toggle eclipse shadow rendering
Ctrl+K : Toggle display of markers
Ctrl+L : Toggle night side planet maps (light pollution)
Ctrl+P : Mark selected object
Ctrl+S : Cycle the star style between fuzzy discs, points, and scaled discs
Ctrl+T : Toggle rendering of comet tails
Ctrl+V : Cycle between supported OpenGL render paths
Ctrl+W : Toggle wireframe mode
Ctrl+X : Toggle antialias lines
Ctrl+Y : Toggle autoMag = auto adaptation of star visibility to field
of view
r R: lower or raise texture resolution
+ : Switch between artistic and limit of knowledge planet textures
--- Time Control ---
Multiview:
Ctrl+R : Split view vertically
Ctrl+U : Split view horizontally
TAB : Cycle active view
DEL : Delete active view
Ctrl+D : Delete all views except active one
Spacebar .......................... Pause/Resume the flow of time and scripts (toggle)
J ....................................... Reverse/Forward time (toggle)
\ ....................................... Set time rate: 1x forward (norm), cancels faster/slower x factors
L ....................................... Change time rate: 10x faster
K ....................................... Change time rate: 10x slower
Shift+L .............................. Change time rate: 2x faster
Shift+K .............................. Change time rate: 2x slower
! ........................................ Set time to current system date and time
? ....................................... Display light-travel delay between observer / selected object
- (hyphen).......................... Subtract light-travel delay from current simulation time
Spaceflight:
F1 : Stop
F2 : Set velocity to 1 km/s
F3 : Set velocity to 1,000 km/s
F4 : Set velocity to speed of light
F5 : Set velocity to 10x the speed of light.
F6 : Set velocity to 1 AU/s
F7 : Set velocity to 1 ly/s
A : Increase velocity
Z : Decrease velocity
Q : Reverse direction
X : Set movement direction toward center of screen
Number pad:
4 : Yaw left
6 : Yaw right
8 : Pitch down
2 : Pitch up
7 : Roll left
9 : Roll right
5 : Stop rotation
--- Labels (on/off Toggles) ---
Joystick:
X axis : yaw
Y axis : pitch
L trigger : roll left
R trigger : roll right
Button 1 : slower
Button 2 : faster
E ...................................... Galaxies
Shift+E ............................. Globulars
B ...................................... Stars
P ...................................... Planets
Shift+P ............................. Dwarf Planets
M ...................................... Moons
Shift+M ............................. Minor Moons
W ..................................... Asteroids
Shift+W ............................ Comets
N ...................................... Spacecraft
= ....................................... Constellations
& ....................................... Locations
--- Render/Display (on/off Toggles) --
U ..................................... Galaxies
Shift+U ............................ Globulars
^ ...................................... Nebulae
Ctrl+A .............................. Atmospheres
I ....................................... Clouds
Ctrl+L ............................... Night side maps
Ctrl+T ............................... Comet tails
Ctrl+E ............................... Eclipse shadows
Ctrl+B ............................... Constellation boundaries
/ ....................................... Constellation diagrams
; ........................................ Earth-based equatorial coordinate sphere
Ctrl+K ............................... Markers (placed on objects)
O ...................................... Orbits (toggle ALL selected orbits)
--- Render Options ---
{ ....................................... Decrease Ambient Light
} ....................................... Increase Ambient Light
( ....................................... Decrease Galaxy Light Gain
) ....................................... Increase Galaxy Light Gain
[ ....................................... Decrease Magnitude Limit :
- If AutoMag OFF: Decrease limiting magnitude (fewer stars)
- If AutoMag ON : Decrease limiting magnitude at 45 deg FOV
] ....................................... Increase Magnitude :
- If AutoMag OFF: Increase limiting magnitude (more stars)
- If AutoMag ON : Increase limiting magnitude at 45 deg FOV
Ctrl+Y ............................... Toggle Auto Magnitude (auto adaptation of star visibility to FOV
, ....................................... Narrow Field Of View [Shift+Left Drag]
. ....................................... Widen Field Of View [Shift+Left Drag]
Ctrl+X ............................... Toggle Antialias lines
Alt+Enter .......................... Toggle Display mode (Full-Screen / Windowed)
Ctrl+P ............................... Mark selected object
Ctrl+V ............................... Cycle among supported OpenGL render paths
+ ...................................... Toggle Planet Texture type (Artistic / Limit of Knowledge)
% ..................................... Star color table toggle
Ctrl+S ............................... Cycle the Star Style (points / fuzzy discs / scaled discs)
V ...................................... Cycle the Info text verbosity (None / Terse / Verbose)
Ctrl+W .............................. Toggle Wireframe mode
--- Multiview Options ---
Ctrl+U ................................ Split view horizontally
Ctrl+R ................................ Split view vertically
Tab ................................... Cycle through all active views
Del .................................... Delete active view
Ctrl+D ................................ Delete all views except active one (reset to Single view)
--- Navigation via Arrow Keys ---
Up/Down Arrow ................. Pitch down/up
Left/Right Arrow ................. Roll left/right
Shift+Left/Right Arrow ........ Orbit object: right/left
Shift+Up/Down Arrow ........ Orbit object: down/up
--- Navigation via number Pad Keys (with NumLock active) ---
8 ...................................... Pitch down [Down arrow]
2 ...................................... Pitch up [Up arrow]
7 ...................................... Roll left [Left arrow]
9 ...................................... Roll right [Right arrow]
5 ...................................... Stop rotation
4 ...................................... Yaw left
6 ...................................... Yaw right
--- Motion (Spaceflight) ---
Z ...................................... Decrease velocity
A ...................................... Increase velocity
Q ...................................... Reverse direction
X ...................................... Set movement direction toward center of screen
F2 .................................... Set velocity to 1 km/second
F3 .................................... Set velocity to 1,000 km/second
F4 .................................... Set velocity to speed of light (1 c)
F5 .................................... Set velocity to 10x the speed of light (10 c)
F6 .................................... Set velocity to 1 AU/second
F7 .................................... Set velocity to 1 light year/second
F1 .................................... Stop motion
S ...................................... Stop motion
--- Other Functions ---
Ctrl+C .............................. Copy location URL to clipboard (Cel:// URL)
Ctrl+Insert ........................ Copy location URL to clipboard (Cel:// URL)
F10 .................................. Capture Image to file (screenshot)
Shift+F10 ......................... Capture Movie to file (video)
F11 .................................. While in Movie Capture: Start / Pause capture
F12 .................................. While in Movie Capture: Stop capture
~ ..................................... Toggle debug console (use Up/Down arrow keys to scroll list)
` ...................................... Toggle display of "frames per second" (FPS) being rendered
Ctrl+O .............................. Display "Select Object" dialog box
@ .................................... Edit Mode toggle (to assist in the placement of objects)
D ..................................... Run demo script (/celestia/demo.cel)
Enter ............................... Toggle Name entry Mode (use Tab / Shift+Tab to highlight
an item, Esc to exit)
--------------------------------------------
JOYSTICK CONTROLS
--------------------------------------------
F8 .................................... Toggle Joystick control
X axis ............................... Yaw Left/Right
Y axis ............................... Pitch Up/Down
L trigger ............................ Roll Left
R trigger ........................... Roll Right
Button 1 ........................... Move slower
Button 2 ........................... Move faster
Other:
D : Run demo
F8 : Enable joystick
F10 : Capture image to file
` : Show frames rendered per second
ENTER : Select a star or planet by typing its name
Ctrl+C, Ctrl+INS : Copy location URL to clipboard

View File

@ -1,29 +0,0 @@
pkgdatadir = @datadir@/@PACKAGE@/data
## Only attempt to remake the Star Database if we have the HIPPARCOS sources
if ENABLE_HIPPARCOS
HIP_DAT = stars.dat
else
HIP_DAT =
endif
BUILT_SOURCES = $(HIP_DAT)
pkgdata_DATA = \
$(wildcard *.ssc) \
$(wildcard *.dat) \
$(wildcard *.xyz) \
$(wildcard *.dsc) \
$(wildcard *.stc) \
stars.dat
EXTRA_DIST = \
$(pkgdata_DATA) \
stars.txt
MAINTAINERCLEANFILES = stars.dat
if ENABLE_HIPPARCOS
stars.dat: @HIPDIR@/hip_main.dat
../src/buildstardb -q
endif

View File

@ -1,528 +0,0 @@
"Andromeda"
[
[ "Beta And" "Upsilon And" "Almach" ]
[ "Beta And" "Delta And" "Alpha And" ]
[ "Beta And" "Mu And" "Nu And" ]
[ "Upsilon And" "51 And" ]
]
"Antlia"
[
[ "Iota Ant" "Alpha Ant" "Theta Ant" "Epsilon Ant" ]
]
"Apus"
[
[ "Beta Aps" "Gamma Aps" "Delta1 Aps" "Alpha Aps" ]
]
"Aquarius"
[
[ "88 Aqr" "Delta Aqr" "Tau Aqr" "Lambda Aqr" "Phi Aqr" "Zeta Aqr" "Gamma Aqr" "Alpha Aqr" "Beta Aqr" "Mu Aqr" "Epsilon Aqr" ]
[ "Alpha Aqr" "Theta Aqr" "Iota Aqr" ]
]
"Aquila"
[
[ "Epsilon Aql" "Zeta Aql" "Gamma Aql" "Alpha Aql" "Beta Aql" "Theta Aql" "Eta Aql" "Delta Aql" "Zeta Aql" ]
[ "Delta Aql" "Lambda Aql" "12 Aql" ]
]
"Ara"
[
[ "Delta Ara" "Gamma Ara" "Beta Ara" "Alpha Ara" "Epsilon1 Ara" "Zeta Ara" "Eta Ara" ]
[ "Zeta Ara" "Gamma Ara" ]
]
"Aries"
[
[ "41 Ari" "Alpha Ari" "Beta Ari" "Gamma Ari" ]
]
"Auriga"
[
[ "Beta Aur" "To Aur" "Eta Aur" "Eta Aur" "Alpha Aur" "Beta Aur" ]
]
"Boötes"
[
[ "Gamma Boo" "Beta Boo" "Delta Boo" "Epsilon Boo" "Alpha Boo" "Pi1 Boo" "Zeta Boo" ]
[ "Upsilon Boo" "Tau Boo" "Eta Boo" "Alpha Boo" "Rho Boo" "Gamma Boo" "Lambda Boo" "Kappa2 Boo"]
[ "Delta Boo" "Mu1 Boo" ]
]
"Caelum"
[
[ "Alpha Cae" "Beta Cae" ]
]
"Camelopardalis"
[
[ "7 Cam" "Beta Cam" "Alpha Cam" "Gamma Cam" ]
]
"Cancer"
[
[ "Alpha Cnc" "Delta Cnc" "Gamma Cnc" "Iota Cnc" ]
[ "Delta Cnc" "Beta Cnc" ]
]
"Canes Venatici"
[
[ "Alpha1 CVn" "Beta CVn" ]
]
"Canis Major"
[
[ "Beta CMa" "Alpha CMa" "Iota CMa" "Gamma CMa" "Theta CMa" "Alpha CMa" ]
[ "Alpha CMa" "Omicron2 CMa" "Delta CMa" "Sigma CMa" "Epsilon CMa" "Zeta CMa" ]
[ "Delta CMa" "Omega CMa" "Eta CMa" ]
[ "Omega CMa" "Tau CMa" ]
]
"Canis Minor"
[
[ "Alpha CMi" "Beta CMi" ]
]
"Capricornus"
[
[ "Alpha1 Cap" "Beta Cap" "Psi Cap" "Omega Cap" "24 Cap" "Zeta Cap" "Epsilon Cap" "Delta Cap" "Gamma Cap" "Iota Cap" "Theta Cap" "Beta Cap" ]
]
"Carina"
[
[ "Alpha Car" "N Car" "Chi Car" "Epsilon Car" "Iota Car" "Q Car" "P Car" "Theta Car" "Omega Car" "Beta Car" "Upsilon Car" ]
]
"Cassiopeia"
[
[ "Epsilon Cas" "Delta Cas" "Gamma Cas" "Alpha Cas" "Beta Cas" ]
]
"Centaurus"
[
[ "Iota Cen" "D Cen" "Nu Cen" ]
[ "Theta Cen" "Nu Cen" ]
[ "Kappa Cen" "Eta Cen" "Nu Cen" "Mu Cen" "Zeta Cen" "Epsilon Cen" "Gamma Cen" "Sigma Cen" "Delta Cen" "Rho Cen" "Pi Cen" "Lambda Cen" ]
[ "Beta Cen" "Epsilon Cen" "Alpha Cen" ]
]
"Cepheus"
[
[ "Theta Cep" "Eta Cep" "Alpha Cep" "Beta Cep" "Gamma Cep" "Iota Cep" "Zeta Cep" "Alpha Cep" ]
[ "Zeta Cep" "Epsilon Cep" "Delta Cep" ]
]
"Cetus"
[
[ "Gamma Cet" "Alpha Cet" "Lambda Cet" "Mu Cet" "Xi2 Cet" "Nu Cet" "Gamma Cet" "Delta Cet" "Omicron Cet" "Zeta Cet" "Theta Cet" "Eta Cet" "Iota Cet" "Beta Cet" "Tau Cet" "Zeta Cet" ]
]
"Chamaeleon"
[
[ "Alpha Cha" "Gamma Cha" "Beta Cha" "Delta2 Cha" "Theta Cha" "Alpha Cha" ]
]
"Circinus"
[
[ "Beta Cir" "Alpha Cir" "Gamma Cir" ]
]
"Columba"
[
[ "Epsilon Col" "Alpha Col" "Beta Col" "Gamma Col" "Kappa Col" "Delta Col" ]
[ "Beta Col" "Eta Col" ]
]
"Coma Berenices"
[
[ "Alpha Com" "Beta Com" "Gamma Com" ]
]
"Corona Australis"
[
[ "Epsilon CrA" "Gamma CrA" "Alpha CrA" "Beta CrA" "Delta CrA" "Zeta CrA" ]
]
"Corona Borealis"
[
[ "Theta CrB" "Beta CrB" "Alpha CrB" "Gamma CrB" "Delta CrB" "Epsilon CrB" "Iota CrB" ]
]
"Corvus"
[
[ "Alpha Crv" "Epsilon Crv" "Gamma Crv" "Delta Crv" "Beta Crv" "Epsilon Crv" ]
]
"Crater"
[
[ "Eta Crt" "Zeta Crt" "Gamma Crt" "Delta Crt" "Epsilon Crt" "Theta Crt" ]
[ "Gamma Crt" "Beta Crt" "Alpha Crt" "Delta Crt" ]
]
"Crux"
[
[ "Alpha Cru" "Gamma Cru" ]
[ "Beta Cru" "Delta Cru" ]
]
"Cygnus"
[
[ "Kappa Cyg" "Iota Cyg" "Theta Cyg" "Delta Cyg" "Gamma Cyg" "Epsilon Cyg" "Zeta Cyg" ]
[ "Alpha Cyg" "Gamma Cyg" "Eta Cyg" "Beta Cyg" ]
]
"Delphinus"
[
[ "Epsilon Del" "Beta Del" "Delta Del" "Gamma1 Del" "Alpha Del" "Beta Del" ]
]
"Dorado"
[
[ "Gamma Dor" "Alpha Dor" "Zeta Dor" "Beta Dor" "Delta Dor" ]
[ "Beta Dor" ]
]
"Draco"
[
[ "Nu1 Dra" "Beta Dra" "Gamma Dra" "Xi Dra" "Nu1 Dra" ]
[ "Xi Dra" "Delta Dra" "Epsilon Dra" "Chi Dra" "Zeta Dra" "Eta Dra" "Theta Dra" "Iota Dra" "Alpha Dra" "Kappa Dra" "Lambda Dra" ]
]
"Equuleus"
[
[ "Delta Equ" "Beta Equ" "Alpha Equ" "Gamma Equ" ]
]
"Eridanus"
[
[ "Lambda Eri" "Beta Eri" "Omega Eri" "Mu Eri" "Nu Eri" "Omicron1 Eri" "Gamma Eri" "Pi Eri" "Delta Eri" "Epsilon Eri" "Eta Eri" "Tau1 Eri" "Tau2 Eri" "Tau3 Eri" "Tau4 Eri" "Tau5 Eri" "Tau6 Eri" "Tau9 Eri" "Upsilon1 Eri" "Upsilon2 Eri" "43 Eri" "41 Eri" "G Eri" "F Eri" "E Eri" "Theta Eri" "Iota Eri" "S Eri" "Kappa Eri" "Phi Eri" "Chi Eri" "Alpha Eri" ]
]
"Fornax"
[
[ "Alpha For" "Beta For" "Nu For" ]
]
"Gemini"
[
[ "Beta Gem" "Upsilon Gem" "Delta Gem" "Zeta Gem" "Gamma Gem" ]
[ "1 Gem" "Eta Gem" "Mu Gem" "Epsilon Gem" "Tau Gem" "Rho Gem" "Alpha Gem" ]
[ "Delta Gem" "Lambda Gem" "51 Gem" "Xi Gem"]
[ "Nu Gem" "Epsilon Gem" ]
[ "Tau Gem" "Theta Gem" ]
[ "Upsilon Gem" "Kappa Gem" ]
[ "Upsilon Gem" "Iota Gem" "Tau Gem" ]
]
"Grus"
[
[ "Gamma Gru" "Lambda Gru" "Mu1 Gru" "Delta1 Gru" "Beta Gru" "Epsilon Gru" "Zeta Gru" ]
[ "Alpha Gru" "Beta Gru" "Iota Gru" "Theta Gru" ]
]
"Hercules"
[
[ "Pi Her" "Epsilon Her" "Zeta Her" ]
[ "Phi Her" "Sigma Her" "Eta Her" "Zeta Her" "Beta Her" "Gamma Her" ]
[ "Beta Her" "Alpha Her" ]
[ "Iota Her" "Theta Her" "Rho Her" "Pi Her" "Eta Her" ]
[ "Epsilon Her" "Delta Her" "Lambda Her" "Mu Her" "Xi Her" "Omicron Her" "Nu Her" ]
[ "Omicron Her" "109 Her" "110 Her" "111 Her" ]
[ "109 Her" "102 Her" ]
]
"Horologium"
[
[ "Alpha Hor" "Iota Hor" "Eta Hor" "Zeta Hor" "Mu Hor" "Beta Hor" ]
]
"Hydra"
[
[ "Gamma Hya" "Beta Hya" "Xi Hya" ]
[ "Pi Hya" "Gamma Hya" ]
[ "Xi Hya" "Nu Hya" "Mu Hya" "Lambda Hya" "Upsilon2 Hya" "Upsilon1 Hya" "Alpha Hya" "Iota Hya" "Theta Hya" "Zeta Hya" "Eta Hya" "Sigma Hya" "Delta Hya" "Epsilon Hya" "Zeta Hya" ]
]
"Hydrus"
[
[ "Gamma Hyi" "Beta Hyi" "Alpha Hyi" "Gamma Hyi" ]
]
"Indus"
[
[ "Alpha Ind" "Theta Ind" "Delta Ind" ]
[ "Theta Ind" "Beta Ind" ]
]
"Lacerta"
[
[ "1 Lac" "Star Lac" "6 Lac" "2 Lac" "5 Lac" "4 Lac" "Alpha Lac" "Beta Lac" ]
]
"Leo"
[
[ "Gamma1 Leo" "Epsilon Leo" "Mu Leo" "Zeta Leo" "Gamma1 Leo" "Eta Leo" "Alpha Leo" "Theta Leo" "Beta Leo" "Delta Leo" "Gamma1 Leo" ]
[ "Alpha Leo" "Omicron Leo" ]
[ "Theta Leo" "Iota Leo" "Sigma Leo" ]
]
"Leo Minor"
[
[ "46 LMi" "Beta LMi" "21 LMi" ]
]
"Lepus"
[
[ "Mu Lep" "Alpha Lep" "Zeta Lep" "Eta Lep" ]
[ "Alpha Lep" "Beta Lep" ]
[ "Delta Lep" "Gamma Lep" "Beta Lep" "Epsilon Lep" ]
]
"Libra"
[
[ "Sigma Lib" "Beta Lib" ]
[ "48 Lib" "Theta Lib" "Eta Lib" "Gamma Lib" "Beta Lib" "Alpha2 Lib" "Sigma Lib" "Upsilon Lib" "Tau Lib" ]
]
"Lupus"
[
[ "Theta Lup" "Eta Lup" "Gamma Lup" "Epsilon Lup" "Kappa Lup" "Zeta Lup" "Alpha Lup" "Beta Lup" "Delta Lup" "Phi1 Lup" "Chi Lup" ]
[ "Gamma Lup" "Delta Lup" ]
]
"Lynx"
[
[ "Alpha Lyn" "38 Lyn" "31 Lyn" "21 Lyn" "15 Lyn" "2 Lyn" ]
]
"Lyra"
[
[ "Epsilon1 Lyr" "Alpha Lyr" "Zeta1 Lyr" "Beta Lyr" "Gamma Lyr" "Delta1 Lyr" "Zeta1 Lyr" ]
[ "Alpha Lyr" "Kappa Lyr" ]
]
"Mensa"
[
[ "Alpha Men" "Gamma Men" "Eta Men" "Beta Men" ]
]
"Microscopium"
[
[ "Theta1 Mic" "Epsilon Mic" "Gamma Mic" "Alpha Mic" ]
]
"Monoceros"
[
[ "Zeta Mon" "Alpha Mon" "Delta Mon" "Beta Mon" "Gamma Mon" ]
[ "Delta Mon" "18 Mon" "8 Mon" "13 Mon" ]
]
"Musca"
[
[ "Delta Mus" "Alpha Mus" "Gamma Mus" ]
[ "Beta Mus" "Alpha Mus" "Epsilon Mus" "Mu Mus" ]
]
"Norma"
[
[ "Epsilon Nor" "Gamma1 Nor" "Gamma2 Nor" "Eta Nor" ]
]
"Octans"
[
[ "Delta Oct" "Nu Oct" "Epsilon Oct" "Beta Oct" "Delta Oct" ]
]
"Ophiuchus"
[
[ "Kappa Oph" "Alpha Oph" "Beta Oph" "Eta Oph" ]
[ "45 Oph" "Theta Oph" "44 Oph" "Xi Oph" "Eta Oph" "Zeta Oph" "Epsilon Oph" "Delta Oph" "Kappa Oph" ]
[ "Beta Oph" "Gamma Oph" "67 Oph" "70 Oph" ]
[ "Gamma Oph" "Nu Oph" ]
]
"Orion"
[
[ "Xi Ori" "Mu Ori" "Alpha Ori" "Zeta Ori" "Kappa Ori" "Beta Ori" "Delta Ori" "Gamma Ori" "Lambda Ori" "Alpha Ori" ]
[ "Chi2 Ori" "Nu Ori" "Xi Ori" "68 Ori" ]
[ "Gamma Ori" "Pi3 Ori" "Pi4 Ori" "Pi5 Ori" "Pi6 Ori" ]
[ "Pi3 Ori" "Pi2 Ori" "Pi1 Ori" ][ "Zeta Ori" "Epsilon Ori" "Delta Ori" ]
]
"Pavo"
[
[ "Alpha Pav" "Beta Pav" "Upsilon Pav" "Epsilon Pav" "Zeta Pav" "Eta Pav" "Pi Pav" "Xi Pav" "Lambda Pav" "Delta Pav" "Beta Pav" "Gamma Pav" ]
]
"Pegasus"
[
[ "Epsilon Peg" "Theta Peg" "Zeta Peg" "Xi Peg" "Alpha Peg" "Gamma Peg" ]
[ "Kappa Peg" "Iota Peg" "Eta Peg" "Beta Peg" "Mu Peg" "Lambda Peg" "9 Peg" ]
[ "Alpha Peg" "Beta Peg" ]
]
"Perseus"
[
[ "Alpha Per" "Gamma Per" "Eta Per" ]
[ "Alpha Per" "Iota Per" "Kappa Per" "Beta Per" "Rho Per" "20 Per" "16 Per" ]
[ "Alpha Per" "Psi Per" "Delta Per" "Nu Per" "Epsilon Per" "Xi Per" "Zeta Per" "Omicron Per" ]
[ "Delta Per" "48 Per" "Mu Per" "Lambda Per" ]
[ "Iota Per" "Theta Per" ]
]
"Phoenix"
[
[ "Delta Phe" "Gamma Phe" "Nu Phe" "Beta Phe" "Alpha Phe" "Epsilon Phe" "Eta Phe" "Beta Phe" ]
]
"Pictor"
[
[ "Alpha Pic" "Gamma Pic" "Beta Pic" ]
]
"Pisces"
[
[ "Tau Psc" "Upsilon Psc" "Phi Psc" "Eta Psc" "Omicron Psc" "Alpha Psc" "Nu Psc" "Mu Psc" "Epsilon Psc" "Delta Psc" "Omega Psc" "Iota Psc" "Theta Psc" "Gamma Psc" "Kappa Psc" "Lambda Psc" "Iota Psc" ]
]
"Piscis Austrinus"
[
[ "Alpha PsA" "Epsilon PsA" "Lambda PsA" "Theta PsA" "Iota PsA" "Mu PsA" "Beta PsA" "Gamma PsA" "Delta PsA" "Alpha PsA" ]
]
"Puppis"
[
[ "Xi Pup" "K Pup" "Pi Pup" "Nu Pup" "Tau Pup" "Sigma Pup" "Zeta Pup"
"Rho Pup" "11 Pup" "Xi Pup" ]
[ "11 Pup" "16 Pup" ]
]
"Pyxis"
[
[ "Beta Pyx" "Alpha Pyx" "Gamma Pyx" ]
]
"Reticulum"
[
[ "Beta Ret" "Alpha Ret" "Epsilon Ret" "Iota Ret" "Delta Ret" "Beta Ret" ]
]
"Sagitta"
[
[ "Eta Sge" "Gamma Sge" "Delta Sge" "Beta Sge" ]
[ "Delta Sge" "Alpha Sge" ]
]
"Sagittarius"
[
[ "Phi Sgr" "Delta Sgr" ]
[ "Beta2 Sgr" "Iota Sgr" "Alpha Sgr" ]
[ "Iota Sgr" "Theta1 Sgr" "Theta2 Sgr" "62 Sgr" "59 Sgr" "52 Sgr" "Psi Sgr" "Tau Sgr" "Zeta Sgr" "Phi Sgr" "Sigma Sgr" "Tau Sgr" ]
[ "Sigma Sgr" "Omicron Sgr" "Pi Sgr" "53 Sgr" "Rho1 Sgr" ]
[ "Omicron Sgr" ]
[ "Phi Sgr" "Lambda Sgr" "Mu Sgr" ]
[ "Lambda Sgr" "Delta Sgr" "Epsilon Sgr" "Eta Sgr" ]
[ "Delta Sgr" "Gamma Sgr" "3 Sgr" ]
[ "Zeta Sgr" "Epsilon Sgr" "Gamma Sgr" ]
]
"Scorpius"
[
[ "Delta Sco" "Sigma Sco" "Alpha Sco" "Tau Sco" "Epsilon Sco" "Mu Sco" "Zeta Sco" "Eta Sco" "Theta Sco" "Iota1 Sco" "Kappa Sco" "Lambda Sco" ]
[ "Beta2 Sco" "Omega1 Sco" "Nu Sco" "11 Sco" "Beta2 Sco" "Delta Sco" "Pi Sco" "Rho Sco" ]
[ "Iota1 Sco" "G Sco" ]
]
"Sculptor"
[
[ "Alpha Scl" "Iota Scl" "Delta Scl" "Gamma Scl" "Beta Scl" ]
]
"Scutum"
[
[ "Beta Sct" "Alpha Sct" "Gamma Sct" ]
[ "Alpha Sct" "Zeta Sct" ]
]
"Serpens Caput"
[
[ "Mu Ser" "Omega Ser" "Epsilon Ser" "Alpha Ser" "Delta Ser" "Beta Ser" "Gamma Ser" "Kappa Ser" "Beta Ser" ]
]
"Serpens Cauda"
[
[ "Nu Ser" "Xi Ser" "Omicron Ser" ]
[ "Omicron Ser" "Eta Ser" "Theta Ser" ]
]
"Sextans"
[
[ "Beta Sex" "Alpha Sex" "Gamma Sex" ]
]
"Taurus"
[
[ "Beta Tau" "Tau Tau" "Epsilon Tau" "68 Tau" "Delta1 Tau" "Gamma Tau" "Theta2 Tau" "Alpha Tau" "Zeta Tau" ]
[ "Gamma Tau" "Lambda Tau" "47 Tau" "Mu Tau" "Nu Tau" ]
[ "Lambda Tau" "5 Tau" "Xi Tau" "Omicron Tau" ]
[ "Alpha Tau" "Epsilon Tau" ]
]
"Telescopium"
[
[ "Zeta Tel" "Alpha Tel" ]
[ "Alpha Tel" "Epsilon Tel" ]
]
"Triangulum"
[
[ "Alpha Tri" "Epsilon Tri" "Beta Tri" "Gamma Tri" "Alpha Tri" ]
]
"Triangulum Australe"
[
[ "Beta TrA" "Epsilon TrA" "Gamma TrA" "Alpha TrA" "Beta TrA" ]
]
"Tucana"
[
[ "Delta Tuc" "Alpha Tuc" "Gamma Tuc" "Epsilon Tuc" "Zeta Tuc" "Beta Tuc" "Gamma Tuc" ]
]
"Ursa Major"
[
[ "Eta UMa" "Zeta UMa" "Epsilon UMa" "Delta UMa" "Gamma UMa" "Beta UMa" "Alpha UMa" "Delta UMa" ]
]
"Ursa Minor"
[
[ "Alpha UMi" "Delta UMi" "Epsilon UMi" "Zeta UMi" "Beta UMi" "Gamma UMi" "Eta UMi" "Zeta UMi" ]
]
"Vela"
[
[ "Mu Vel" "Rho Vel" "Q Vel" "Psi Vel" "Lambda Vel" "D Vel" "E Vel" "Gamma Vel" "Delta Vel" "Kappa Vel" "Phi Vel" "Mu Vel" ]
[ "Delta Vel" ]
[ "Kappa Vel" ]
]
"Virgo"
[
[ "Beta Vir" "Eta Vir" "Gamma Vir" "Delta Vir" "Epsilon Vir" ]
[ "Delta Vir" "Zeta Vir" "Alpha Vir" "Theta Vir" "Gamma Vir" ]
[ "Zeta Vir" "Tau Vir" "109 Vir" ]
[ "Alpha Vir" "Kappa Vir" "Iota Vir" "Mu Vir" ]
]
"Volans"
[
[ "Alpha Vol" "Beta Vol" "Epsilon Vol" "Delta Vol" "Gamma Vol" "Zeta Vol" "Epsilon Vol" ]
]
"Vulpecula"
[
[ "13 Vul" "Alpha Vul" "1 Vul" ]
]

View File

@ -1,543 +0,0 @@
# All asteroid colors (except for Dactyl) are derived from SMASS spectra
# and converted to RGB values using Matt Wronkiewicz's spectrum2rgb utility
# that is distributed with the Celestia source package.
# A few main belt asteroids . .
"Ceres" "Sol"
{
Class "asteroid"
Texture "asteroid.jpg"
Color [ 1.000 0.945 0.881 ]
BlendTexture true
Radius 487.5 # 975x909km
Oblateness 0.068 # Thomas et al, Nature, 8 Sep 2005
EllipticalOrbit
{
Epoch 2452600.5 # 2002 Nov 22 00:00UT
Period 4.60014
SemiMajorAxis 2.7660
Eccentricity 0.0793
Inclination 10.584
AscendingNode 80.483
ArgOfPericenter 74.043
MeanAnomaly 232.067
}
UniformRotation
{
Period 9.074170 # Icarus 2007,188(2):451
Epoch 2449249.91125 # 1993 Sep 19 09:52:12UT
Inclination 11
AscendingNode 29
MeridianAngle 339.85
}
Albedo 0.113
}
"Pallas" "Sol"
{
Class "asteroid"
Texture "asteroid.jpg"
Color [ 1.000 0.952 0.903 ]
BlendTexture true
Radius 263
EllipticalOrbit
{
Epoch 2452600.5 # 2002 Nov 22 00:00UT
Period 4.61868
SemiMajorAxis 2.7733
Eccentricity 0.2300
Inclination 34.846
AscendingNode 173.166
ArgOfPericenter 310.423
MeanAnomaly 218.057
}
UniformRotation
{
Period 7.81323264
Inclination 102
AscendingNode 162
MeridianAngle 352.77
}
Albedo 0.159
}
"Juno" "Sol"
{
Class "asteroid"
Texture "asteroid.jpg"
Color [ 1.000 0.912 0.833 ]
BlendTexture true
Radius 130
EllipticalOrbit
{
Epoch 2452600.5 # 2002 Nov 22 00:00UT
Period 4.35540
SemiMajorAxis 2.6669
Eccentricity 0.2589
Inclination 12.972
AscendingNode 170.133
ArgOfPericenter 247.948
MeanAnomaly 119.146
}
UniformRotation
{
Period 7.811
Inclination 56
AscendingNode 196
}
Albedo 0.238
}
"Vesta" "Sol"
{
Class "asteroid"
Mesh "vesta.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.923 0.851 ]
BlendTexture true
Radius 279 # maximum semi-axis
MeshCenter [ 0.77 3.424 -0.554 ]
InfoURL "http://www.solarviews.com/eng/vesta.htm"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 3.62729
SemiMajorAxis 2.3670775
Eccentricity 0.089753
Inclination 7.1346
AscendingNode 103.9510
ArgOfPericenter 149.4585
MeanAnomaly 104.980
}
UniformRotation
{
Period 5.342
Epoch 2450124.90833 # 1996 May 11 09:48UT
Inclination 40
AscendingNode 91
MeridianAngle 325.77
}
Albedo 0.423
}
# Some of the asteroids visited by spacecraft
"Gaspra" "Sol"
{
Class "asteroid"
Mesh "gaspra.cmod"
Texture "gaspramosaic.*" # Phil Stooke
Color [ 1.000 0.883 0.769 ]
BlendTexture true
Radius 9.1 # maximum semi-axis
MeshCenter [ 1.540 -0.064 -0.118 ]
EllipticalOrbit
{
Epoch 2448559.0 # 1991 Oct 29 12:00UT (Galileo encounter)
Period 3.2837 # average
SemiMajorAxis 2.2096348 # at epoch
Eccentricity 0.1738752 # at epoch
Inclination 4.0975771 # at epoch
AscendingNode 253.445592 # at epoch
ArgOfPericenter 129.045896 # at epoch
MeanAnomaly 280.769206 # at epoch
}
UniformRotation
{
Period 7.042073
Inclination 69.28
AscendingNode 109.59
MeridianAngle 58.865
}
Albedo 0.1
}
"Ida" "Sol"
{
Class "asteroid"
Mesh "ida.cmod"
Texture "idamosaic.*" # Phil Stooke
Color [ 1.000 0.901 0.815 ]
BlendTexture true
Radius 28.9 # maximum semi-axis
MeshCenter [ -1.424 -0.417 0.115 ]
EllipticalOrbit
{
Epoch 2449228.0 # 1993 Aug 28 12:00UT (Galileo encounter)
Period 4.8417 # mean
SemiMajorAxis 2.863731 # at epoch
Eccentricity 0.043109 # at epoch
Inclination 1.137110 # at epoch
AscendingNode 324.586055 # at epoch
ArgOfPericenter 113.017101 # at epoch
MeanAnomaly 131.594945 # at epoch
}
UniformRotation
{
Period 4.633632
Inclination 156.96
AscendingNode 352.77
MeridianAngle 359.46
}
Albedo 0.24
}
"Dactyl" "Sol/Ida"
{
# Data for Dactyl taken from:
# Petit et al.: The Long-Term Dynamics of Dactyl's Orbit
# (Icarus 1997: 130; 177-197) - linked in the InfoURL
InfoURL "http://www.lpl.arizona.edu/~hurfordt/research/papers/Icarus130.pdf"
Class "asteroid"
Texture "asteroid.jpg"
# Use the same color as for Ida--uncertain if this is correct
Color [ 1.000 0.901 0.815 ]
BlendTexture true
Mesh "roughsphere.cms"
Radius 0.7
EllipticalOrbit
{
Epoch 2449228.2028 # 1993 Aug 28 16:52:05UT
Period 0.96534 # stable 5:1 resonant orbit (Petit et al.)
SemiMajorAxis 83.5 # stable 5:1 resonant orbit (Petit et al.)
Eccentricity 0.13 # stable 5:1 resonant orbit (Petit et al.)
LongOfPericenter 310 # stable pericenter at 90:E Ida longitude (Petit et al.)
AscendingNode 90 # VERY approximate - chosen to place Dactyl north
# of Ida's equator, as seen at time of Galileo encounter
Inclination 8 # estimated at 7-9 degrees (Petit et al.)
}
UniformRotation
{
MeridianAngle 123 # place prime meridian facing Ida
}
Albedo 0.2
}
"Eros" "Sol"
{
Class "asteroid"
Mesh "eros.cmod"
Texture "eros.*"
# NormalMap "erosbump2k.jpg"
Color [ 1.000 0.880 0.764 ]
# The texture is already tinted with the asteroid color
#BlendTexture true
Radius 16.3 # maximum semi-axis
MeshCenter [ -1.262 0.168 -0.164 ]
EllipticalOrbit
{
Epoch 2451171.0 # 1998 Dec 23 12:00UT (NEAR-Shoemaker encounter)
Period 1.761 # average
SemiMajorAxis 1.458261 # at epoch
Eccentricity 0.222885 # at epoch
Inclination 10.830143 # at epoch
AscendingNode 304.430882 # at epoch
ArgOfPericenter 178.613184 # at epoch
MeanAnomaly 208.403434 # at epoch
}
UniformRotation
{
Period 5.270
Inclination 78.70
AscendingNode 107.23
MeridianAngle 338.165
}
Albedo 0.16
}
# Radar-imaged asteroids
"Toutatis" "Sol"
{
Class "asteroid"
Mesh "toutatis.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.904 0.803 ]
BlendTexture true
Radius 2.3 # maximum semi-axis
MeshCenter [ 0.0313 0.2171 0.0064 ]
InfoURL "http://echo.jpl.nasa.gov/asteroids/4179_Toutatis/toutatis.html"
EllipticalOrbit
{
Epoch 2452200.5 # 2001 Oct 18 00:00UT
Period 3.976715
SemiMajorAxis 2.5100537
Eccentricity 0.6342274
Inclination 0.46959
AscendingNode 128.24788
ArgOfPericenter 274.78070
MeanAnomaly 86.28120
}
PrecessingRotation
{
Period 129.6 # 5.41 days
Inclination 145
PrecessionPeriod -49.67 # 7.35 day period
}
Albedo 0.16
}
"Geographos" "Sol"
{
Class "asteroid"
Mesh "geographos.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.901 0.802 ]
BlendTexture true
Radius 2.53 # maximum semi-axis
MeshCenter [ 0.154 -0.002 -0.026 ]
InfoURL "http://www.solarviews.com/eng/geograph.htm"
EllipticalOrbit
{
Epoch 2450800.5 # 1997 Dec 18 00:00UT
Period 1.39
SemiMajorAxis 1.2455
Eccentricity 0.3354
Inclination 13.34
AscendingNode 337.352
ArgOfPericenter 276.756
MeanAnomaly 180.595
}
UniformRotation
{
Period 5.223
Inclination 136
AscendingNode 145
}
Albedo 0.326
}
"Kleopatra" "Sol"
{
Class "asteroid"
Mesh "kleopatra.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.932 0.888 ]
BlendTexture true
Radius 110 # maximum semi-axis
MeshCenter [ -3.049 2.379 1.429 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/kle/index.html"
EllipticalOrbit
{
Epoch 2450800.5 # 1997 Dec 12 00:00UT
Period 4.67
SemiMajorAxis 2.791
Eccentricity 0.2531
Inclination 13.138
AscendingNode 215.699
ArgOfPericenter 179.350
MeanAnomaly 225.804
}
UniformRotation
{
Period 5.385
Inclination 63
AscendingNode 162
}
Albedo 0.16
# Class M
}
"1998 KY26" "Sol"
{
Class "asteroid"
Mesh "ky26.cmod"
Texture "asteroid.jpg"
Radius 0.015 # maximum semi-axis
MeshCenter [ -0.000718 -0.000099 0.000556 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/KY26/index.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 1.3752
SemiMajorAxis 1.2320798
Eccentricity 0.20151423
Inclination 1.48127
AscendingNode 84.45490
ArgOfPericenter 209.14766
MeanAnomaly 356.6879717
}
UniformRotation
{
Period 0.178
}
Albedo 0.15
}
"Bacchus" "Sol"
{
Class "asteroid"
Mesh "bacchus.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.899 0.777 ]
BlendTexture true
Radius 0.55 # maximum semi-axis
MeshCenter [ -0.00936 -0.00610 0.00289 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/bacchus/index.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 1.1223
SemiMajorAxis 1.0781035
Eccentricity 0.34951251
Inclination 9.43160
AscendingNode 33.23590
ArgOfPericenter 55.18040
MeanAnomaly 229.8627955
}
UniformRotation
{
Period 14.90
Inclination 116
AscendingNode 114
}
Albedo 0.15
}
"Golevka" "Sol"
{
Class "asteroid"
Mesh "golevka.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.856 0.747 ]
BlendTexture true
Radius 0.34 # maximum semi-axis
MeshCenter [ -0.0289 -0.0111 -0.0331 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/gol/index.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 3.995
SemiMajorAxis 2.5120500
Eccentricity 0.60117380
Inclination 2.28701
AscendingNode 212.16560
ArgOfPericenter 65.25133
MeanAnomaly 159.8983670
}
UniformRotation
{
Period 6.0289
Inclination 135
AscendingNode 292
}
Albedo 0.15
}
"Castalia" "Sol"
{
Class "asteroid"
Mesh "castalia.cmod"
Texture "asteroid.jpg"
BlendTexture true
Radius 0.81 # maximum semi-axis
MeshCenter [ -0.0456 -0.0347 -0.0178 ]
InfoURL "http://echo.jpl.nasa.gov/asteroids/4769_Castalia/cast01.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 1.096
SemiMajorAxis 1.0632007
Eccentricity 0.48324394
Inclination 8.88806
AscendingNode 325.71246
ArgOfPericenter 121.26355
MeanAnomaly 152.5186007
}
UniformRotation
{
Period 4.095
Inclination 146
AscendingNode 325
}
Albedo 0.15
}
# Centaurs
"Chiron" "Sol"
{
Class "asteroid"
Texture "asteroid.jpg"
Color [ 1.000 0.960 0.919 ]
BlendTexture true
Radius 144
EllipticalOrbit
{
Epoch 2449608.5 # 1994 Sep 13 00:00UT
Period 50.90359
SemiMajorAxis 13.734941
Eccentricity 0.384424
Inclination 6.927771
AscendingNode 209.395188
ArgOfPericenter 339.432152
MeanAnomaly 349.983669
}
UniformRotation
{
Period 5.918
}
Albedo 0.048
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,93 +0,0 @@
# Comets
"Halley" "Sol"
{
Class "comet"
Mesh "halley.cmod"
Texture "asteroid.jpg"
Radius 7.6 # maximum semi-axis
MeshCenter [ -0.338 1.303 0.230 ]
EllipticalOrbit
{
Epoch 2449400.5 #1994 Feb 17 00:00UT
Period 75.31589
SemiMajorAxis 17.834144
Eccentricity 0.967143
Inclination 162.262690
AscendingNode 58.420081
ArgOfPericenter 111.332485
MeanAnomaly 38.384264
}
# chaotic rotation, imperfectly defined:
# this version from "The New Solar System", 4th Edition; Eds.
# JK Beatty, CC Petersen, A Chaikin
PrecessingRotation
{
Period 170 # 7.1 day axial rotation period
Inclination 66
PrecessionPeriod 98.72 # 3.7 day precession period
}
Albedo 0.04
}
"Borrelly" "Sol"
{
Class "comet"
Mesh "borrelly.cms"
Texture "asteroid.jpg"
Radius 2.2
InfoURL "http://www.solarviews.com/eng/borrelly.htm"
EllipticalOrbit
{
Epoch 2452174.5 # 2001 Sep 22 00:00UT
Period 6.86302
SemiMajorAxis 3.611363
Eccentricity 0.623908
Inclination 30.324612
AscendingNode 75.424869
ArgOfPericenter 353.375385
MeanAnomaly 358.956091
}
UniformRotation
{
Period 25
Inclination 90
AscendingNode 315
}
Albedo 0.04
}
"Ikeya-Zhang" "Sol"
{
Class "comet"
Texture "asteroid.jpg"
Mesh "roughsphere.cms"
EllipticalOrbit
{
Epoch 2452352.47847 # 2002 Mar 18 23:29UT
Period 367.181906
SemiMajorAxis 51.276792
Eccentricity 0.990111
Inclination 28.1206
AscendingNode 93.3718
ArgOfPericenter 34.6666
MeanAnomaly 0
}
# These are all made up (copied from Halley)
Radius 7.5
UniformRotation
{
Period 170
}
Albedo 0.04
}

File diff suppressed because it is too large Load Diff

View File

@ -1,84 +0,0 @@
Location "NORTH AMERICA" "Sol/Earth"
{
LongLat [ -105 40 0 ]
Size 5000
Type "TA"
}
Location "SOUTH AMERICA" "Sol/Earth"
{
LongLat [ -60 -10 0 ]
Size 4200
Type "TA"
}
Location "EURASIA" "Sol/Earth"
{
LongLat [ 60 50 0 ]
Size 7300
Type "TA"
}
Location "AFRICA" "Sol/Earth"
{
LongLat [ 20 5 0 ]
Size 5500
Type "TA"
}
Location "AUSTRALIA" "Sol/Earth"
{
LongLat [ 135 -25 0 ]
Size 2800
Type "TA"
}
Location "ANTARCTICA" "Sol/Earth"
{
LongLat [ 0 -90 0 ]
Size 3600
Type "TA"
}
Location "NORTH ATLANTIC OCEAN" "Sol/Earth"
{
LongLat [ -45 40 0 ]
Size 6400
Type "ME"
}
Location "SOUTH ATLANTIC OCEAN" "Sol/Earth"
{
LongLat [ -15 -15 0 ]
Size 6400
Type "ME"
}
Location "NORTH PACIFIC OCEAN" "Sol/Earth"
{
LongLat [ 180 30 0 ]
Size 9000
Type "ME"
}
Location "SOUTH PACIFIC OCEAN" "Sol/Earth"
{
LongLat [ -160 -10 0 ]
Size 9000
Type "ME"
}
Location "INDIAN OCEAN" "Sol/Earth"
{
LongLat [ 75 -15 0 ]
Size 8500
Type "ME"
}
Location "ARCTIC OCEAN" "Sol/Earth"
{
LongLat [ 0 90 0 ]
Size 3700
Type "ME"
}

View File

@ -1,288 +0,0 @@
Location "Abelard" "Sol/Eros"
{
LongLat [ -12.2 -3.5 0 ]
Size 1.1
Type "AA"
}
Location "Aida" "Sol/Eros"
{
LongLat [ -130.5 7.9 0 ]
Size 1.6
Type "AA"
}
Location "Avtandil" "Sol/Eros"
{
LongLat [ -233.1 -22.5 0 ]
Size 1.2
Type "AA"
}
Location "Bovary" "Sol/Eros"
{
LongLat [ -27.3 -61.0 0 ]
Size 0.8
Type "AA"
}
Location "Casanova" "Sol/Eros"
{
LongLat [ -236.0 46.6 0 ]
Size 0.9
Type "AA"
}
Location "Catherine" "Sol/Eros"
{
LongLat [ -171.1 9.1 0 ]
Size 1.1
Type "AA"
}
Location "Cupid" "Sol/Eros"
{
LongLat [ -230.2 8.1 0 ]
Size 1.8
Type "AA"
}
Location "Don Juan" "Sol/Eros"
{
LongLat [ -356.7 29.5 0 ]
Size 1.1
Type "AA"
}
Location "Don Quixote" "Sol/Eros"
{
LongLat [ -250.8 -57.7 0 ]
Size 0.9
Type "AA"
}
Location "Dulcinea" "Sol/Eros"
{
LongLat [ -272.9 -76.1 0 ]
Size 1.4
Type "AA"
}
Location "Eurydice" "Sol/Eros"
{
LongLat [ -170.0 13.5 0 ]
Size 2.2
Type "AA"
}
Location "Fujitsubo" "Sol/Eros"
{
LongLat [ -62.7 -3.7 0 ]
Size 1.7
Type "AA"
}
Location "Galatea" "Sol/Eros"
{
LongLat [ -183.1 -10.2 0 ]
Size 1.4
Type "AA"
}
Location "Gamba" "Sol/Eros"
{
LongLat [ -54.1 -20.6 0 ]
Size 1.3
Type "AA"
}
Location "Genji" "Sol/Eros"
{
LongLat [ -88.6 -19.5 0 ]
Size 1.5
Type "AA"
}
Location "Heathcliff" "Sol/Eros"
{
LongLat [ -167.9 7.4 0 ]
Size 1.1
Type "AA"
}
Location "Himeros" "Sol/Eros"
{
LongLat [ -282.3 21.2 0 ]
Size 10.0
Type "AA"
}
Location "Hios" "Sol/Eros"
{
LongLat [ -130.9 -9.4 0 ]
Size 1.3
Type "AA"
}
Location "Jahan" "Sol/Eros"
{
LongLat [ -293.5 74.2 0 ]
Size 2.1
Type "AA"
}
Location "Kastytis" "Sol/Eros"
{
LongLat [ -161.3 6.8 0 ]
Size 1.7
Type "AA"
}
Location "Leander" "Sol/Eros"
{
LongLat [ -210.3 25.6 0 ]
Size 1.4
Type "AA"
}
Location "Leylie" "Sol/Eros"
{
LongLat [ -23.5 -3.0 0 ]
Size 1.9
Type "AA"
}
Location "Lolita" "Sol/Eros"
{
LongLat [ -197.7 -35.2 0 ]
Size 1.8
Type "AA"
}
Location "Mahal" "Sol/Eros"
{
LongLat [ -170.0 79.4 0 ]
Size 1.2
Type "AA"
}
Location "Majnoon" "Sol/Eros"
{
LongLat [ -28.8 3.8 0 ]
Size 2.1
Type "AA"
}
Location "Mélisande" "Sol/Eros"
{
LongLat [ -185.6 67.1 0 ]
Size 1.0
Type "AA"
}
Location "Narcissus" "Sol/Eros"
{
LongLat [ -7.1 18.2 0 ]
Size 2.9
Type "AA"
}
Location "Orpheus" "Sol/Eros"
{
LongLat [ -176.7 25.6 0 ]
Size 1.1
Type "AA"
}
Location "Pao-yü" "Sol/Eros"
{
LongLat [ -105.6 -73.2 0 ]
Size 0.8
Type "AA"
}
Location "Pelléas" "Sol/Eros"
{
LongLat [ -221.3 63.1 0 ]
Size 1.2
Type "AA"
}
Location "Psyche" "Sol/Eros"
{
LongLat [ -94.6 31.6 0 ]
Size 4.8
Type "AA"
}
Location "Pygmalion" "Sol/Eros"
{
LongLat [ -191.1 -1.8 0 ]
Size 1.7
Type "AA"
}
Location "Radames" "Sol/Eros"
{
LongLat [ -115.1 -5.2 0 ]
Size 1.6
Type "AA"
}
Location "Selene" "Sol/Eros"
{
LongLat [ -12.5 -14.2 0 ]
Size 3.6
Type "AA"
}
Location "Tai-yü" "Sol/Eros"
{
LongLat [ -126.1 -47.0 0 ]
Size 1.4
Type "AA"
}
Location "Tutanekai" "Sol/Eros"
{
LongLat [ -3.3 56.4 0 ]
Size 2.1
Type "AA"
}
Location "Valentine" "Sol/Eros"
{
LongLat [ -208.4 14.6 0 ]
Size 2.2
Type "AA"
}
Location "CHARLOIS REGIO" "Sol/Eros"
{
LongLat [ -330 -16 0 ]
Size 10
Type "RE"
}
Location "WITT REGIO" "Sol/Eros"
{
LongLat [ -348 18 0 ]
Size 10
Type "RE"
}
Location "Finsen Dorsum" "Sol/Eros"
{
LongLat [ -350 -48 0 ]
Size 10
Type "DO"
}
Location "Hinks Dorsum" "Sol/Eros"
{
LongLat [ -318 42 0 ]
Size 10
Type "DO"
}

File diff suppressed because it is too large Load Diff

View File

@ -1,623 +0,0 @@
# Stars which are not included in the Hipparcos catalog, but are
# orbited by extrasolar planets. (The planets are defined in the file
# "extrasolar.ssc".)
#
# Additionally, some companion stars and orbits for named binary stars
# with extrasolar planets.
# OGLE survey
"OGLE-TR-10"
{
RA 267.867708
Dec -29.876361
Distance 4900
SpectralType "G2V" # from Simbad: mass and luminosity seem too high, however
AppMag 14.93
}
"OGLE-TR-56"
{
RA 269.148070
Dec -29.539412
Distance 8900 # to give known apparent magnitude
SpectralType "G0V" # from estimated mass and radius
AbsMag 4.4 # from spectral class
}
"OGLE-TR-111"
{
RA 163.324625
Dec -60.405639
Distance 3300 # estimate from mass and app. mag.
SpectralType "G8V" # estimated from mass
AppMag 15.55
}
"OGLE-TR-113"
{
RA 163.101667
Dec -61.446667
Distance 1400 # from radius, temperature and app mag
SpectralType "K3V" # from estimated mass and temperature
AbsMag 6.5 # from spectral class
}
"OGLE-TR-132"
{
RA 162.640417
Dec -61.957222
Distance 8800 # from radius, temperature and app mag
SpectralType "F5V" # from estimated mass and temperature
AbsMag 3.6 # from spectral class
}
"OGLE-TR-182"
{
RA 167.32833
Dec -61.09528
Distance 10000 # from apparent magnitude and estimated spectral class
SpectralType "G0V" # from mass, radius and temperature
AppMag 16.84
}
"OGLE-TR-211"
{
RA 160.0625
Dec -62.45555
Distance 5200 # from estimated apparent magnitude and spectral class
SpectralType "F8V"
AppMag 15 # estimated from I magnitude and spectral class
}
# TrES survey
1013242652 "TrES-1 (parent star):GSC 02652-01324"
{
RA 286.04083
Dec 36.6325
Distance 490 # From spectral class and visual magnitude
SpectralType "K0V"
AppMag 11.79
}
1028113549 "TrES-2 (parent star):GSC 03549-02811"
{
RA 286.80848
Dec 49.31641
Distance 750
SpectralType "G0V"
AppMag 11.41
}
"TrES-3 (parent star):GSC 03089-00929"
{
RA 268.02917
Dec 37.54611
Distance 940 # from inferred spectrum
SpectralType "G5V" # from inferred mass and temp
AppMag 12.4
}
1006482620 "TrES-4 (parent star):GSC 02620-00648"
{
RA 268.304375
Dec 37.211833
Distance 1430
SpectralType "G0IV" # from inferred mass, radius and temp
AbsMag 3.36
}
# XO survey
1016572041 "XO-1:GSC 02041-01657"
{
RA 240.549167
Dec 28.169722
Distance 650
SpectralType "G1V"
AppMag 11.3
}
1000053413 "XO-2:GSC 03413-00005"
{
RA 117.0292
Dec 50.2258
Distance 486
SpectralType "K0V"
AppMag 11.18
}
1010643727 "XO-3:GSC 03727-01064"
{
RA 65.46958
Dec 57.81694
Distance 850
SpectralType "F5V"
AppMag 9.8
}
# HAT-P survey
"HAT-P-1:SAO 72884"
{
RA 344.445104
Dec 38.674953
Distance 453
SpectralType "G0V"
AppMag 10.4
}
1008193466 "HAT-P-3:GSC 03466-00819"
{
RA 206.094167
Dec 48.028611
Distance 460
SpectralType "K0V" # from temp and luminosity
AbsMag 5.86
}
1015992569 "HAT-P-4:GSC 02569-01599"
{
RA 229.99125
Dec 36.229722
Distance 1010
SpectralType "F9V" # from temperature and radius
AppMag 11.2
}
1010872634 "HAT-P-5:GSC 02634-01087"
{
RA 274.40542
Dec 36.621389
Distance 1110
SpectralType "G1V" # from temperature and radius
AppMag 12
}
1009923239 "HAT-P-6:GSC 03239-00992"
{
RA 354.77417
Dec 42.466111
Distance 650
SpectralType "F4V" # from temperature and radius
AppMag 10.5
}
# WASP survey
"WASP-1"
{
RA 5.167083
Dec 31.990000
Distance 1200
SpectralType "F7V"
AppMag 11.79
}
"WASP-2"
{
RA 307.725417
Dec 6.429444
Distance 470
SpectralType "K1V"
AppMag 11.98
}
1001952636 "WASP-3:GSC 02636-00195"
{
RA 278.63167
Dec 35.66167
Distance 727
SpectralType "F7V"
AppMag 10.64
}
"WASP-4"
{
RA 353.56292
Dec -42.06139
Distance 980
SpectralType "G7V"
AppMag 12.6
}
# HD stars without Hip numbers
1000370197 # HD 70573
{
RA 125.7083
Dec 1.8594
Distance 149
SpectralType "G1V"
AppMag 8.70
}
1001013304 # HD 17092
{
RA 41.5917
Dec 49.6531
Distance 355
SpectralType "K0III"
AppMag 7.73
}
1014500458 # HD 171028
{
RA 206.094167
Dec 6.94583
Distance 290
SpectralType "G0"
AppMag 8.31
}
# Other non-Hip stars
1009465503 "BD-10 3166"
{
RA 164.61993
Dec -10.77038
Distance 378.39
SpectralType "G4V"
AppMag 10.0
}
1021565409 "NGC 2423 3:GSC 05409-02156"
{
RA 114.2875
Dec -13.90667
Distance 2500
SpectralType "GIV"
AppMag 9.45
}
"Gliese 317"
{
RA 130.24583
Dec -23.45639
Distance 29.9
SpectralType "M3.5V"
AppMag 12.0
}
"Cha Hα 8:Cha Ha 8"
{
RA 166.949167
Dec -77.668889
Distance 520
SpectralType "M6.5V"
AppMag 20.1
}
"V391 Peg"
{
RA 331.05083
Dec 26.41889
Distance 4600
SpectralType "B0" # from effective temperature, gives correct radius
AppMag 14.57
}
"Lupus-TR-3"
{
RA 232.579167
Dec -42.979444
Distance 5900 # estimate from spectral class and app. mag.
SpectralType "K1V"
AppMag 17.4
}
"GD 66:V361 Aur:WD 0517+307"
{
RA 80.159583
Dec +30.806667
Distance 166
SpectralType "DA"
AppMag 15.6
}
53911 "TW Hya" # redefined because of absent spectral
# class in stars.dat
{
RA 165.46625
Dec -34.70472
Distance 184.07
SpectralType "K8V"
AppMag 10.91
}
# Definitions for some exoplanet stars in multiple systems
Barycenter "TAU Boo:4 Boo"
{
RA 206.815676
Dec 17.456869
Distance 50.868
}
67275 "TAU Boo A:4 Boo A"
{
OrbitBarycenter "TAU Boo"
SpectralType "F7V"
AppMag 4.50
EllipticalOrbit {
Period 2000
SemiMajorAxis 45.4 # est. mass ratio 1.3:0.33
Eccentricity 0.91
Inclination 102.8
AscendingNode 160.2
ArgOfPericenter 33.2
MeanAnomaly 356.9
}
}
"TAU Boo B:4 Boo B"
{
OrbitBarycenter "TAU Boo"
SpectralType "M2V"
AppMag 11.1
EllipticalOrbit {
Period 2000
SemiMajorAxis 179.0 # est. mass ratio 1.3:0.33
Eccentricity 0.91
Inclination 102.8
AscendingNode 160.2
ArgOfPericenter 213.2
MeanAnomaly 356.9
}
}
Barycenter "UPS And:50 And"
{
RA 24.198715 # mass ratio 1.2:0.2
Dec 41.404487 #
Distance 43.928
}
7513 "UPS And A:50 And A"
{
RA 24.199904
Dec 41.406384
Distance 43.928
SpectralType "F8V"
AppMag 4.10
}
"UPS And B:50 And B:2MASS J0136504+412332"
{
RA 24.19158317
Dec 41.39310511
Distance 43.928
SpectralType "M4.5V"
AbsMag 11.8 # from spectral class
}
10138 "Gliese 86 A"
{
RA 32.600005
Dec -50.825314
Distance 35.596
SpectralType "K0V"
AppMag 6.12
}
# Originally classified as a brown dwarf
# Present data from Mugrauer & Neuhauser
# http://de.arxiv.org/abs/astro-ph/0506311
"Gliese 86 B"
{
RA 32.600829 # from measured separation
Dec -50.825444 # position angle
Distance 35.596
SpectralType "DC9" # "cool white dwarf, 5000±500K"
AbsMag 14.5 # typical for class
}
Barycenter "83 Leo"
{
RA 171.692540
Dec 3.009373
Distance 57.637
}
55846 "83 Leo A"
{
OrbitBarycenter "83 Leo"
SpectralType "K0IV"
AppMag 6.49
EllipticalOrbit {
Period 32000
SemiMajorAxis 348.4 # est. mass ratio 0.79:0.74
Eccentricity 0.46
Inclination 60.1
AscendingNode 307.3
ArgOfPericenter 229.0
MeanAnomaly 324.0
}
}
55848 "83 Leo B"
{
OrbitBarycenter "83 Leo"
SpectralType "K2V"
AppMag 7.58
EllipticalOrbit {
Period 32000
SemiMajorAxis 371.9 # est. mass ratio 0.79:0.74
Eccentricity 0.46
Inclination 60.1
AscendingNode 307.3
ArgOfPericenter 49.0
MeanAnomaly 324.0
}
}
Barycenter "94 Cet"
{
RA 48.193016
Dec -1.195933
Distance 72.984
}
14954 "94 Cet A"
{
OrbitBarycenter "94 Cet"
SpectralType "F8V"
AppMag 5.06
EllipticalOrbit {
Period 1420
SemiMajorAxis 50.2 # est. mass ratio 1.15:0.57
Eccentricity 0.26
Inclination 43.7
AscendingNode 149.1
ArgOfPericenter 53.4
MeanAnomaly 4.6
}
}
"94 Cet B"
{
OrbitBarycenter "94 Cet"
SpectralType "M" # guess from est. mass and AppMag
AppMag 11.5
EllipticalOrbit {
Period 1420
SemiMajorAxis 101.3 # est. mass ratio 1.15:0.57
Eccentricity 0.26
Inclination 43.7
AscendingNode 149.1
ArgOfPericenter 233.4
MeanAnomaly 4.6
}
}
Barycenter "16 Cyg"
{
RA 295.460800
Dec 50.521685
Distance 70.522
}
96895 # 16 Cyg A
{
OrbitBarycenter "16 Cyg"
SpectralType "G2V"
AppMag 5.99
EllipticalOrbit {
Period 18212.2
SemiMajorAxis 440.94 # est. mass ratio 1:1
Eccentricity 0.862
Inclination 53.57
AscendingNode 354.87
ArgOfPericenter 7.15
MeanAnomaly 38.67
}
}
96901 # 16 Cyg B
{
OrbitBarycenter "16 Cyg"
SpectralType "G5V"
AppMag 6.25
EllipticalOrbit {
Period 18212.2
SemiMajorAxis 440.94 # est. mass ratio 1:1
Eccentricity 0.862
Inclination 53.57
AscendingNode 354.87
ArgOfPericenter 187.15
MeanAnomaly 38.67
}
}
Barycenter "Gliese 777"
# approximate barycentre based on mass ratio 0.9:0.2
{
RA 300.896216
Dec 29.872105
Distance 51.838
}
98767 "Gliese 777 A"
{
RA 300.90394
Dec 29.866333
Distance 51.838
SpectralType "G6IV"
AppMag 5.73
}
"Gliese 777 B"
{
RA 300.861458
Dec 29.898079
Distance 51.838
SpectralType "M4.5V"
AppMag 14.40
}
"PSR 1257+12:PSR B1257+12:PSR J1300+1240"
{
RA 195.0125
Dec 12.6825
Distance 1000
SpectralType "Q"
AbsMag 27 # for approximate radius in Celestia
RotationPeriod 0.000001727 # 0.006218 sec
}
Barycenter "PSR 1620-26:PSR B1620-26:PSR J1623-2631"
{
RA 245.90917
Dec -26.53167
Distance 12000
}
"PSR 1620-26 A:PSR B1620-26 A:PSR J1623-2631 A"
{
OrbitBarycenter "PSR 1620-26"
SpectralType "Q"
AbsMag 27 # for approximate radius in Celestia
EllipticalOrbit {
Period 0.5241 # 191.443 days
SemiMajorAxis 0.13 # est. mass ratio 1.35:0.3
Eccentricity 0.0253
Inclination 95 # approx. 55 degree tilt
AscendingNode 213 # to plane of sky
}
Obliquity 95 # guess, to match inclination
EquatorAscendingNode 213 # guess, to match ascending node
RotationPeriod 0.000003076 # 0.011076 sec
}
"WD J1623-266:PSR 1620-26 B:PSR B1620-26 B:PSR J1623-2631 B"
{
OrbitBarycenter "PSR 1620-26"
SpectralType "D" # white dwarf
AbsMag 15 # approximate
EllipticalOrbit {
Period 0.5241 # 191.443 days
SemiMajorAxis 0.65 # est. mass ratio 1.35:0.3
Eccentricity 0.0253
Inclination 95 # approx. 55 degree tilt
AscendingNode 213 # to plane of sky
ArgOfPericenter 180
}
Obliquity 95 # guess, to match inclination
EquatorAscendingNode 213 # guess, to match ascending node
}

File diff suppressed because it is too large Load Diff

View File

@ -1,245 +0,0 @@
# Feature locations on Phil Stooke's Gaspra mosaic do not
# match the coordinates given by the IAU. This file contains
# coordinates adjusted to match Stooke's shape model and
# mosaic, guided by the IAU labelled photos at:
# http://planetarynames.wr.usgs.gov/images/gaspra_craters.pdf
Location "Aix" "Sol/Gaspra"
{
LongLat [ -156 47 0 ]
Size 0.6
Type "AA"
}
Location "Alupka" "Sol/Gaspra"
{
LongLat [ -72 67 0 ]
Size 0.3
Type "AA"
}
Location "Baden-Baden" "Sol/Gaspra"
{
LongLat [ -57 42 0 ]
Size 0.3
Type "AA"
}
Location "Badagstein" "Sol/Gaspra"
{
LongLat [ -6 27 0 ]
Size 0.4
Type "AA"
}
Location "Bagnoles" "Sol/Gaspra"
{
LongLat [ -120 56 0 ]
Size 0.4
Type "AA"
}
Location "Bath" "Sol/Gaspra"
{
LongLat [ -11 12 0 ]
Size 0.9
Type "AA"
}
Location "Beppu" "Sol/Gaspra"
{
LongLat [ -58 -3 0 ]
Size 0.6
Type "AA"
}
Location "Brookton" "Sol/Gaspra"
{
LongLat [ -102 25 0 ]
Size 0.3
Type "AA"
}
Location "Calistoga" "Sol/Gaspra"
{
LongLat [ -5 30 0 ]
Size 1.2
Type "AA"
}
Location "Carlsbad" "Sol/Gaspra"
{
LongLat [ -86 29 0 ]
Size 0.5
Type "AA"
}
Location "Charax" "Sol/Gaspra"
{
LongLat [ 0 7 0 ]
Size 0.9
Type "AA"
}
Location "Helwan" "Sol/Gaspra"
{
LongLat [ -115 23 0 ]
Size 0.4
Type "AA"
}
Location "Ixtapan" "Sol/Gaspra"
{
LongLat [ -87 7 0 ]
Size 0.7
Type "AA"
}
Location "Katsiveli" "Sol/Gaspra"
{
LongLat [ -68 53 0 ]
Size 0.3
Type "AA"
}
Location "Krynica" "Sol/Gaspra"
{
LongLat [ -37 46 0 ]
Size 0.4
Type "AA"
}
Location "Lisdoonvarna" "Sol/Gaspra"
{
LongLat [ -357 14 0 ]
Size 0.4
Type "AA"
}
Location "Loutraki" "Sol/Gaspra"
{
LongLat [ -130 41 0 ]
Size 0.4
Type "AA"
}
Location "Mandal" "Sol/Gaspra"
{
LongLat [ -48 20 0 ]
Size 0.1
Type "AA"
}
Location "Manikaran" "Sol/Gaspra"
{
LongLat [ -152 66 0 ]
Size 0.5
Type "AA"
}
Location "Marienbad" "Sol/Gaspra"
{
LongLat [ -81 32 0 ]
Size 0.6
Type "AA"
}
Location "Miskhor" "Sol/Gaspra"
{
LongLat [ -66 8 0 ]
Size 0.5
Type "AA"
}
Location "Moree" "Sol/Gaspra"
{
LongLat [ -143 34 0 ]
Size 0.7
Type "AA"
}
Location "Ramlösa" "Sol/Gaspra"
{
LongLat [ -7 15 0 ]
Size 0.7
Type "AA"
}
Location "Rio Hondo" "Sol/Gaspra"
{
LongLat [ -22 30 0 ]
Size 0.6
Type "AA"
}
Location "Rotorua" "Sol/Gaspra"
{
LongLat [ -32 17 0 ]
Size 0.5
Type "AA"
}
Location "Saratoga" "Sol/Gaspra"
{
LongLat [ -221.5 16.2 0 ]
Size 2.8
Type "AA"
}
Location "Spa" "Sol/Gaspra"
{
LongLat [ -146 52 0 ]
Size 1.6
Type "AA"
}
Location "Tang-Shan" "Sol/Gaspra"
{
LongLat [ -258.8 50.6 0 ]
Size 0.7
Type "AA"
}
Location "Yalova" "Sol/Gaspra"
{
LongLat [ -12 27 0 ]
Size 0.4
Type "AA"
}
Location "Yalta" "Sol/Gaspra"
{
LongLat [ -231.3 45.7 0 ]
Size 1.4
Type "AA"
}
Location "Zohar" "Sol/Gaspra"
{
LongLat [ -117 21 0 ]
Size 0.4
Type "AA"
}
Location "DUNNE REGIO" "Sol/Gaspra"
{
LongLat [ -15 15 0 ]
Size 5
Type "RE"
}
Location "NEUJMIN REGIO" "Sol/Gaspra"
{
LongLat [ -80 2 0 ]
Size 5
Type "RE"
}
Location "YEATES REGIO" "Sol/Gaspra"
{
LongLat [ -75 65 0 ]
Size 5
Type "RE"
}

Binary file not shown.

View File

@ -1,13 +0,0 @@
2453364.5847 -533646361 1244906446 78147
2453364.5917 -533652245 1244903106 78921
2453377.1611 -542891082 1239949513 1010166
2453379.8139 -544524646 1239252727 1048926
2453381.2861 -545381103 1238952954 1029589
2453382.2375 -545914304 1238804254 995648
2453382.9111 -546281985 1238726572 958332
2453383.4181 -546553433 1238686918 921115
2453383.8208 -546766132 1238669425 884686
2453384.1542 -546940477 1238666190 848993
2453384.4319 -547084938 1238672715 814671
2453384.675 -547211107 1238686552 780581
2453384.8764 -547315738 1238705376 748748

View File

@ -1,174 +0,0 @@
Location "Afon" "Sol/Ida"
{
LongLat [ 0 6.5 0 ]
Size 25.0
Type "AA"
}
Location "Atea" "Sol/Ida"
{
LongLat [ -18.9 5.7 0 ]
Size 2.0
Type "AA"
}
Location "Azzurra" "Sol/Ida"
{
LongLat [ -217.2 -30.5 0 ]
Size 9.6
Type "AA"
}
Location "Bilemot" "Sol/Ida"
{
LongLat [ -29.2 27.8 0 ]
Size 1.8
Type "AA"
}
Location "Castellana" "Sol/Ida"
{
LongLat [ -335.2 13.4 0 ]
Size 5.2
Type "AA"
}
Location "Choukoutien" "Sol/Ida"
{
LongLat [ -23.6 -12.8 0 ]
Size 1.1
Type "AA"
}
Location "Fingal" "Sol/Ida"
{
LongLat [ -39.9 13.2 0 ]
Size 1.5
Type "AA"
}
Location "Kartchner" "Sol/Ida"
{
LongLat [ -179.0 7.0 0 ]
Size 0.9
Type "AA"
}
Location "Kazumura" "Sol/Ida"
{
LongLat [ -41.1 32.0 0 ]
Size 2.1
Type "AA"
}
Location "Lascaux" "Sol/Ida"
{
LongLat [ -161.2 -0.8 0 ]
Size 11.8
Type "AA"
}
Location "Lechuguilla" "Sol/Ida"
{
LongLat [ -357.1 -7.9 0 ]
Size 1.5
Type "AA"
}
Location "Mammoth" "Sol/Ida"
{
LongLat [ -180.3 18.3 0 ]
Size 10.2
Type "AA"
}
Location "Manjang" "Sol/Ida"
{
LongLat [ -90.5 28.3 0 ]
Size 1.0
Type "AA"
}
Location "Orgnac" "Sol/Ida"
{
LongLat [ -202.7 6.3 0 ]
Size 10.6
Type "AA"
}
Location "Padirac" "Sol/Ida"
{
LongLat [ -5.2 4.3 0 ]
Size 1.9
Type "AA"
}
Location "Peacock" "Sol/Ida"
{
LongLat [ -52.0 2.0 0 ]
Size 0.2
Type "AA"
}
Location "Postojna" "Sol/Ida"
{
LongLat [ -359.9 42.9 0 ]
Size 6.0
Type "AA"
}
Location "Sterkfontein" "Sol/Ida"
{
LongLat [ -54.1 4.1 0 ]
Size 4.7
Type "AA"
}
Location "Stiffe" "Sol/Ida"
{
LongLat [ -126.5 27.9 0 ]
Size 1.5
Type "AA"
}
Location "Undara" "Sol/Ida"
{
LongLat [ -113.8 -2.0 0 ]
Size 8.5
Type "AA"
}
Location "Viento" "Sol/Ida"
{
LongLat [ -343.9 -12.2 0 ]
Size 1.6
Type "AA"
}
Location "PALISA REGIO" "Sol/Ida"
{
LongLat [ -34 23 0 ]
Size 23
Type "RE"
}
Location "POLA REGIO" "Sol/Ida"
{
LongLat [ -184 11 0 ]
Size 8
Type "RE"
}
Location "VIENNA REGIO" "Sol/Ida"
{
LongLat [ -2 -8 0 ]
Size 13
Type "RE"
}
Location "Townsend Dorsum" "Sol/Ida"
{
LongLat [ -30 -25 0 ]
Size 40
Type "DO"
}

Some files were not shown because too many files have changed in this diff Show More