1. 20 Feb, 2004 4 commits
    • Pablo de Vicente's avatar
      Fixed a small bug which broke compilation. Structure tm does not have members · 61eab744
      Pablo de Vicente authored
      called tm_month and tm_day, but tm_mon and tm_mday.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=289789
      61eab744
    • Jason Harris's avatar
      Implemented Manual stepping of the clock (wish #65476). · 7be00e53
      Jason Harris authored
      Press the "." / ">" key to advance one step forward; press the "," / "<"
      key to advance one step backward.  The stepsize is set by the TimeStep
      widget in the toolbar.
      
      If the clock is running, it will be automatically stopped when one of the
      manual-step keys is pressed.
      
      On my keyboard, "," and "<" appear together on the same key, and "." and
      ">" are on another key; is that generally true for all keyboards?
      
      At this point, there is no GUI way to do the manual-stepping.  It would
      make sense to add these buttons to the TimeStep widget, but it is already
      pretty complicated.  What do you think?
      
      CCMAIL: 65476-done@bugs.kde.org
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=289610
      7be00e53
    • Jason Harris's avatar
      Added missing "checkVisibility()" calls to solar system bodies (planets, · 21db0b2f
      Jason Harris authored
      comets, and asteroids).  This check allows for quick-skipping of offscreen
      objects in the drawing loop. Will backport to 3_2_BRANCH
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=289595
      21db0b2f
    • Jasem Mutlaq's avatar
      Set calender date · 1d4c027e
      Jasem Mutlaq authored
      svn path=/trunk/kdeedu/kstars/; revision=289587
      1d4c027e
  2. 19 Feb, 2004 1 commit
    • Jason Harris's avatar
      TransientLabel fixes: · 49e67a8c
      Jason Harris authored
      Added option to disable transient labels
      Transient labels now have same font size as other labels
      When label fades all the way, it is immediately erased
      (noticed this if transientLabel appears on top of another
      label)
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=289266
      49e67a8c
  3. 17 Feb, 2004 1 commit
  4. 16 Feb, 2004 2 commits
  5. 15 Feb, 2004 1 commit
    • Pablo de Vicente's avatar
      Added to the KStarsPopupMenu (triggered by clicking the right mouse · ba40fa10
      Pablo de Vicente authored
      button on the sky map) a label which shows the distance from the Earth
      to the sky object.  This information is in the Details entry and is coded
      in class DetailDialog.  If the object is a star the distance is shown
      in parsecs, if it is a planet or it is the sun it is shown in Astronomical
      Units. There is no distance information for asteroids yet.
      
        There are a couple of pending issues. The distance shown in the label
      is obtained from the parallax of the object in the Hipparcos catalog. It
      is not clear which is the smallest believable parallax. ESA says that
      the Hipparcos catalog has a median astrometric precission of 7 mas
      for magnitude < 9 and 25 mas for magnitudes > 10-11. However there
      are many stars in the catalog with parallax < 1 mas and an error in
      parallax lower than 1 mas. The manual for the catalog says that parallax
      is realistic if parallax/delta parallax > 3. However we cannot check
      this condition because we are using a customized Hipparcos catalog without
      parallax errors.
      
        I have placed a limit of 0.5 mas as the smallest believable parallax
      (corresponds to 2000 pc), but this is somehow arbitrary. If distance is
      greater than that value one gets a message saying that distance is > 2000 pc.
      Another way to estimate distance would be to get it from the relative and
      absolute magnitudes. We will leave that for the future....-)
      
        The second issue is concerning localization of values for magnitudes and
      distances. We are using QLabels to show the values. If we used KLineEdits
      we could use the localization. How can the localization be used in a QLabel
      as it is in KLineEdit?.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=288245
      ba40fa10
  6. 14 Feb, 2004 2 commits
    • Pablo de Vicente's avatar
      Clean rubbish · ea7ae1ea
      Pablo de Vicente authored
      svn path=/trunk/kdeedu/kstars/; revision=287978
      ea7ae1ea
    • Pablo de Vicente's avatar
      As far as I know I have addressed all pending issues concerning the · aa127bf6
      Pablo de Vicente authored
      angular distance measurement tool.
      
      - Instead of hardcoding the color Kstars now uses the colorscheme for plotting
        the ruler. This is defined in files .colors under the name AngularRuler.
      
      - The angular measurement tool now may be triggered:
         either pressing [
         or clicking on the right mouse button on a object in the sky and
          selecting the item "Angular distance to....   ["
        and it is finished by:
         pressing ]
         or clicking on the right mouse button on an object in the sky and
         selecting the item "Compute angular distance .... ]"
      
      - The angular distance can be measured on the empty sky when using the keys
        [ and ]. In that case the status bar only will show the result of the
        measurement. If one uses the popup menu one should select a valid sky
        object.
      
      - Now the angular distance measurement mode can be cancelled by pressing Esc
      
      - The ruler is correctly plotted in equatorial and horiontal coordinates mode.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=287977
      aa127bf6
  7. 13 Feb, 2004 1 commit
    • Jason Harris's avatar
      Reverting changes made to KDE_3_2_BRANCH that modified strings. I · 9bd7d8a8
      Jason Harris authored
      apologize for these commits, I thought BRANCH was open for strings
      changes.
      
      The changes that I have reverted were:
      
      Showing "Unknown" in the "Magnitude" field of the details dialog when an
      object's magnitude is not defined.
      
      Adding several cities to the database.
      
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=287768
      9bd7d8a8
  8. 12 Feb, 2004 3 commits
  9. 09 Feb, 2004 2 commits
  10. 06 Feb, 2004 2 commits
    • Jason Harris's avatar
      Adding transient object labels on mouse hover. To detect · 6c437268
      Jason Harris authored
      mouse hovering, KStarsData::updateTime() calls
      SkyMap::checkHoverPoint(), which checks to see if the mouse
      has been stationary for >0.5 sec.
      
      If a hover event is trigered, it searches for the nearest
      object to the mouse cursor, sets the TransientObject pointer
      to that object,  and adds a label with color UserLabelColor.
      
      checkHoverPoint() also determines when the mouse is moved,
      thus ending the hover event.  In this case,
      fadeTransientLabel() is called, which slowly fades the label
      into SkyColor and then sets TransientObject to NULL.
      
      In implementing this feature, I added
      SkyMap::objectNearest( SkyPoint* ), which returns a pointer to
      the SkyObject nearest the agument.  This code used to be inside
      SkyMap::mousePressEvent().
      
      Please review the new functions (especially
      SkyMap::checkHoverPoint(), and SkyMap::slotTransientTimeout() ).
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=285588
      6c437268
    • Pablo de Vicente's avatar
      Reworked the angular distance measurement mode. Now the angle measuring · fc87410b
      Pablo de Vicente authored
      mode is activated from the popupmenu or clicking on the skymap and
      pressing CTRL+[. The angle mode is finished from the popupmenu or
      clicking on the skymap and pressing CTRL+].
      
      When the angle measuring mode is on, a line is drawn from the first
      point to the second one. When the angle mode is finished the result is shown
      in the status bar and the line disappears.
      
      I have suppressed from skymapevent the event triggered from the left button
      click. To draw the line I defined a function called drawRuler in skymapdraw as
      Jason told me. That works nicely since it is very easy to implement it.
      
      TODO:
       - There are some errors when plotting the line. I do not know why yet, but
         the start point is offset by a small quantity from the clicked point.
       - I do not like the labels I have written in the KSPopMenu class. I will try
         to fix that, or better, somebody speaking good english (Jason :-) ) writes
         some better labels
       - Investigate if the line can flash or if another color is nicer.
       - See if it is possible to avoid clicking first with the left button and then
         press CTRL+[. It would be easier to just do CTRL+[ and the position where
         the mouse is hovering on is read.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=285577
      fc87410b
  11. 05 Feb, 2004 3 commits
    • Jason Harris's avatar
      Removing Quit and Handbook buttons from the Toolbar. Quit · e821548d
      Jason Harris authored
      should definitely not be there.  Handbook I am less sure
      about, but I have heard that handbook buttons don't belong
      in the toolbar...
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=285223
      e821548d
    • Jason Harris's avatar
      Fixing KStars icons. Apparently, KSVG does a very bad job · 2dfad7ec
      Jason Harris authored
      on our SVG file.  I manually generated the correct PNG's
      using inkscape.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=285221
      2dfad7ec
    • Jason Harris's avatar
      Patch from Leo Savernik to apply the preprocessor define of "_GNU_SOURCE" · c458aa7f
      Jason Harris authored
      globally.  Instead of using "#define _GNU_SOURCE" in the source code
      files, we use "KDE_CXXFLAGS = -D_GNU_SOURCE" in kstars/kstars/Makefile.am.
      (_GNU_SOURCE is needed when including math.h so we get the GNU function
      "sincos()", if it is available).
      
      This allows the non-INDI code to compile cleanly with "enable-final"
      active (recall that we have disabled enable-final in the INDI directory).
      
      Will backport to KDE_3_2_BRANCH as well.
      
      CCMAIL: kstars-devel@kde.org
      CCMAIL: l.savernik@aon.at
      
      svn path=/trunk/kdeedu/kstars/; revision=285168
      c458aa7f
  12. 04 Feb, 2004 1 commit
    • Jason Harris's avatar
      Adding options to control new constellation boundaries: · 514a29e2
      Jason Harris authored
      CBoundColor, including entries in the 4 predefined color schemes
      drawConstellBounds (controls whether the boundaries are drawn)
      hideCBounds (controls whether they are hidden while slewing.
      
      Options have been added to all parts of the code, including the DCOP function "changeViewOption()" and the Script Builder tool.
      
      One potential TODO: the "constellation lines" toggle button in the toolbar should maybe toggle boundaries as well.  Or perhaps boundaries should have their own toggle button?
      
      Don't forget "make install"; the color scheme files need to be reinstalled.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=285149
      514a29e2
  13. 03 Feb, 2004 3 commits
    • Pablo de Vicente's avatar
      Added funcionality to measure angles bewteen two points in the sky map. To · 158262cd
      Pablo de Vicente authored
      begin measuring one has to right click on any object of the skymap and select
      the appropiate item in the popup menu. This is coded in KSPopMenu. The
      coordinates of the clicked object are stored in PreviousClickedObject and a
      bool variable is set to true indicating that we are in measuring angle mode.
      This part is coded in SkyMap.
      
      To finish the measurement one has to left click on any point of the sky map
      and the result will be shown in the status bar together with the name of the
      clicked object. This part is coded in skymapevents.cpp. The computation of
      the angular distance is done here, the result is shown in the status bar and
      the masuring angle mode is set to false.
      
      Still have to add a way to indicate that we are in measuring angle mode. I
      want to draw a line from the first point to any place of the sky map. That
      line would be updated as we move the mouse while the mode is on. As soon
      as we click on the second point, the line will disappear and the result
      will be shown in the status bar.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=284708
      158262cd
    • Jasem Mutlaq's avatar
      Removing qfits, no longer needed. · 4af10af2
      Jasem Mutlaq authored
      svn path=/trunk/kdeedu/kstars/; revision=284705
      4af10af2
    • Jasem Mutlaq's avatar
      Using a different and simpler library for FITS I/O. We don't need qfits anymore. · c8d31180
      Jasem Mutlaq authored
      svn path=/trunk/kdeedu/kstars/; revision=284704
      c8d31180
  14. 02 Feb, 2004 5 commits
  15. 01 Feb, 2004 3 commits
    • Jason Harris's avatar
      Improved Constellation Lines. The "nodes" of the · 5afcab8a
      Jason Harris authored
      constellation lines are now anchored to the actual
      stars, rather than being independent points on the sky.
      This means that as stars drift due to their proper motions,
      the constellations will automatically distort to keep up
      with the new star positions.  In addition, all 88
      constellations now have lines.
      
      Thanks go to Clemens for identifying each of the stars that
      make up the constellation nodes.  We identify stars by their
      "Genitive name", which makes sense because these names refer
      to the parent constellation (i.e., "alpha Andromedae").
      
      One new feature required by this constellation scheme is
      that it is now possible to have genitive star names that do
      not contain greek letters (i.e., "51 Ursa Majoris").  At
      this point, only those stars which are constellation nodes
      have this new kind of genitive name, but there are thousands
      of stars that could be named in this way, if someone wants
      to tackle that :)
      
      I also had to make minor changes to the way that star names
      are assigned, in order to make this work properly.  Please
      test!  Don't forget to run "make install", as data files
      have changed.
      
      Also added missing name for zeta Orionis: "Alnitak"
      
      CCMAIL: kstars-devel@kde.org
      CCMAIL: 72632-done@bugs.kde.org
      
      ----------------------------------------------------------------------
      
      svn path=/trunk/kdeedu/kstars/; revision=284308
      5afcab8a
    • Jason Harris's avatar
      small fix in calc-apcoords.docbook · 6a4e2050
      Jason Harris authored
      CCMAIL: jjh.woldringh@planet.nl
      
      svn path=/trunk/kdeedu/doc/kstars/; revision=284260
      6a4e2050
    • Jason Harris's avatar
      Fixing three bugs in blackbody.docbook: · 56dd697a
      Jason Harris authored
      73930: Misspelled "Wien's Law"
      
      73931: Incomplete phrase:  actually, this phrase is not incomplete.  If
      you look at the handbook, you'll see that the last part of the sentence
      is an equation presented as an image in the document.  However, to make
      the sentence a bit clearer, I have changed it to:  "For example, the
      sun has an average temperature of 5800 K, so its wavelength of maximum
      emission is given by:"
      
      73932: Misspelled "Stefan-Boltzmann Law"
      
      CCMAIL: 73930-done@bugs.kde.org
      CCMAIL: 73931-done@bugs.kde.org
      CCMAIL: 73932-done@bugs.kde.org
      
      svn path=/trunk/kdeedu/doc/kstars/; revision=284250
      56dd697a
  16. 31 Jan, 2004 1 commit
    • Jason Harris's avatar
      fixing bug #73905: Filter by type in FindDialog gives empty lists. · 1058bfa9
      Jason Harris authored
      The symptoms described were actually caused by a few different bugs:
      + constellations recently moved from type 1 to type 11, and the FindDialog
      was not updated.
      + we incorrectly filtered out non-stellar objects which are fainter than
      the faint limit for stars (thus resulting in an empty "Planetary Nebula"
      list, and reduced lists in other nonstellar categories)
      + No objects in our database are classified as a "Supernova Remnant"
      (the SN remnants are simply called "nebulae"), so I removed this empty
      filter option.
      
      Also, I changed one filter name from "Planets" to "Solar System" since the
      Moon and Sun are included in this filter.  This is still not perfect,
      since we have other filters for "Asteroids" and "Comets" (which are
      certainly part of the Solar System!), but it's still better than
      "Planets", IMO.
      
      CCMAIL: kstars-devel@kde.org
      CCMAIL: 73905-done@bugs.kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=284099
      1058bfa9
  17. 30 Jan, 2004 1 commit
    • Jason Harris's avatar
      Implemented proper motion of stars. That was easy, should have done it · 87227c88
      Jason Harris authored
      a long time ago! :)
      
      I added StarObject::updateCoords(), which overrides the base version in
      SkyPoint.
      
      You can check it out by centering on a high PM star like Sirius or
      Procyon, and either setting the date to something like year 7000 or
      setting the timestep to 50 yrs or so.
      
      Note that constellation lines are not tied to the stars; this is going
      to change soon :).
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=283733
      87227c88
  18. 29 Jan, 2004 3 commits
  19. 27 Jan, 2004 1 commit