Hleb Valoshka
7daef79d2a
Fix failure if an incorrect URL is pasted
...
Closes : #637
2020-04-27 19:07:59 +03:00
Li Linfeng
552175e2de
fix warnings
2019-09-21 16:44:54 +08:00
Hleb Valoshka
569f0c8deb
Fix warning generated by g++ with -Wall
2019-09-10 23:02:13 +03:00
Chris Laurel
289216fa29
Corrected encoding of cel URLs with non-ASCII characters. This fixes problems
...
with storing cel URLs for bookmarks.
2011-02-02 21:59:19 +00:00
Chris Laurel
c9e60db060
Removed debugging code from url.cpp.
2009-03-20 18:07:24 +00:00
Chris Laurel
ac85ac92d2
Added encoding of special characters in cel URLs.
2009-03-17 21:57:23 +00:00
Chris Laurel
de41ec3813
Fixes to make Celestia build with gcc4.3
2008-11-16 10:19:38 +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
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
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
Christophe Teyssier
281176ec53
Fixed bug 1738359 Barycenter not included in URL Path
2007-11-03 14:54:42 +00:00
Christophe Teyssier
c60504c07a
Moved pauseState from CelestiaCore to Simulation
...
Removed timeScale from CelestiaCore
Fixed pause behaviour with urls [bug 1819753]
Fixed track handling in urls when body with empty name exists [bug 1824833]
Fixed timeScale display in overlay
Added localization to numbers in flash messages
2007-11-03 09:49:29 +00:00
Chris Laurel
83c24983a6
Fixes for selection name in cel: URLs:
...
- Star name was being omitted for objects that directly orbited a star (i.e. moons of planets were fine, but not the planets themselves)
- No name was stored when the current selection was a location
2007-10-23 03:52:03 +00:00
Chris Laurel
78ff681c20
Added version stamp for cel URLs.
2007-01-11 19:30:04 +00:00
Christophe Teyssier
8bb9a79ad7
Fixed crash for improbably large dates.
2006-10-11 20:44:17 +00:00
Chris Laurel
974213f905
Integrated changes from Fridger and Toti's Celestia FT 1.2
2005-11-18 09:00:39 +00:00
Christophe Teyssier
2318e423a3
Adding support for i18n with gettext.
2005-07-19 21:31:04 +00:00
Christophe Teyssier
e8aa62898d
Replaced strcasecmp (BSD only) with compareIgnoringCase.
2004-02-11 22:25:42 +00:00
Christophe Teyssier
314af3350f
Fix to make the 'mode' part case insensitive.
...
This is required because KDE 3.2 converts to lower case the server name in
URLs.
2004-02-09 21:06:41 +00:00
Christophe Teyssier
cd1bcf78e0
Removed duplicate rf and lm variables in url.
2003-07-22 19:29:39 +00:00
Chris Laurel
d7b3afc866
Redo the selection class to use a single pointer and a type field.
2003-06-25 17:40:24 +00:00
Christophe Teyssier
eda0d8df99
New FoV handling
2003-06-03 21:49:54 +00:00
Christophe Teyssier
54dd8a9d78
Bug fix.
2003-05-31 17:52:31 +00:00
Christophe Teyssier
39cfe46350
Added Settings URL type.
2003-05-31 17:40:19 +00:00
Christophe Teyssier
67f6ed472f
Compitability fix for old urls without light time delay information.
2003-05-17 09:55:05 +00:00
Christophe Teyssier
7ed945a8ef
Added Light Time Delay
2003-05-06 22:13:33 +00:00
Chris Laurel
1efce138ac
Removed dead code; modified position parsing to take advantage of BigFix(string) constructor.
2003-03-30 23:59:00 +00:00
Chris Laurel
70c2fa609d
Fix bugs when reading time from cel:// URLs: real all fractional digits of seconds, and handle > 4 digit years
2003-03-29 22:30:02 +00:00
Chris Laurel
66487efd26
Store the time with additional precision.
2003-03-28 18:40:23 +00:00
Chris Laurel
b8f1c84c3f
Added field of view member to Observer.
2003-02-12 10:35:50 +00:00
Chris Laurel
6218428245
Added new DeepSkyObject base class for Galaxy and Nebula
2003-01-29 05:47:50 +00:00
Christophe Teyssier
a5432b7e3f
Introduced new Relative url type.
...
The class interface stays backward compatible.
2003-01-23 22:46:46 +00:00
Christophe Teyssier
3968347921
Various corrections to suppress compilation warnings
2002-12-13 19:39:18 +00:00
Christophe Teyssier
21136d35ff
Addition of two decimals to time in URL.
2002-12-09 21:24:12 +00:00
Chris Laurel
c53c14f2e5
Implemented drag and drop and copy to clipboard for cel: URLs.
2002-11-13 18:22:21 +00:00
Chris Laurel
27198c9253
Fixed a typo (fallow -> follow)
2002-11-08 05:28:42 +00:00
Christophe Teyssier
e99b79f9c4
Corrected typo in 'Fallow'
2002-11-05 22:38:55 +00:00
Chris Laurel
053534ec2d
Christophe Teyssier's cel: URL implementation.
2002-11-03 20:33:30 +00:00