1. 26 Feb, 2004 2 commits
    • Jason Harris's avatar
      Removing reference to "Julian Calendar" · d8f74ed8
      Jason Harris authored
      CCMAIL: jjh.woldringh@planet.nl
      
      svn path=/trunk/kdeedu/doc/kstars/; revision=291626
      d8f74ed8
    • Jason Harris's avatar
      DetailDialog improvements: · b6cb4cbb
      Jason Harris authored
      Added Angular Size to "General Info" box, and added
      Hour Angle and Airmass to "Coordinates" box.
      
      Fixed layout of "General info" box (the left column
      stretches now instead of the right)
      
      When a data field (magnitude, distance, or angular
      size) is unknown, it is now consistently rendered
      as "--" (we used to use "?" and "unknown" as well).
      
      Now using the dms::to[D|H]MSString() functions
      instead of building the coordinate strings manually.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=291514
      b6cb4cbb
  2. 25 Feb, 2004 5 commits
  3. 22 Feb, 2004 1 commit
  4. 21 Feb, 2004 3 commits
    • Pablo de Vicente's avatar
      Modified the calculator's horizontal coordinates module (this was added to · 63a793e5
      Pablo de Vicente authored
      the wish list by Jasem ..:-) )
      
      Now it is possible to select the input coordinates and perform transformations
      of coordinates from catalog coordinates (or also from apparent
      coordinates) to horizontal coordinates or the other way round, from horizontal
      coordinates to apparent coordinates. If we go from horizontal coords to
      equatorial apparent coordinates the epoch is considered to be the one
      defined by the date and time in the upper group box. There is implementation
      to choose another epoch. That is, I do not allow to go from horizontal
      coordinates to a reference epoch like J2000 or 1950. If you need to do that,
      you may choose the date and time in the upper group box for January 1st 2000
      and you will get coordinates which are very similar the catalog ones for J2000.
      
      I have also removed the epochToJd function since this function is already
      defined in KSUtils so that it can be used from different calculator modules.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=290010
      63a793e5
    • Jason Harris's avatar
      Added display of Az/Alt coordinates of cursor to the Statusbar (wish · 9562237b
      Jason Harris authored
      #68579).  In addition, the status bar can now be hidden/shown from the
      
      Settings|Statusbar menu, and you can also hide/show the "RA/Dec" and
      "Az/Alt" fields.
      
      Don't forget to run "make install", as I modified kstarsui.rc.
      
      CCMAIL: kstars-devel@kde.org
      CCMAIL: 68579-done@bugs.kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=289909
      9562237b
    • Jasem Mutlaq's avatar
      remove dupliate time · c08bee5f
      Jasem Mutlaq authored
      svn path=/trunk/kdeedu/kstars/; revision=289906
      c08bee5f
  5. 20 Feb, 2004 6 commits
    • Pablo de Vicente's avatar
      This fixes the permanency of the transient label and the freeze of the · 8676f232
      Pablo de Vicente authored
      data in the right bottom status bar while being in angular distance measuring
      mode. Now the transient label disappears when moving the mouse and the
      status bar updates the coordinates of the mouse.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=289820
      8676f232
    • Pablo de Vicente's avatar
      Small hack to correct a little bug: the previous angle ruler is not drawn · 2b5414ff
      Pablo de Vicente authored
      anymore when pressing "[" if one does not move the mouse. I do not like
      too much the fix I have made, but it is only two lines and it works, so
      we can live with it.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/kdeedu/kstars/; revision=289806
      2b5414ff
    • 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
  6. 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
  7. 17 Feb, 2004 1 commit
  8. 16 Feb, 2004 2 commits
  9. 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
  10. 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
  11. 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
  12. 12 Feb, 2004 3 commits
  13. 09 Feb, 2004 2 commits
  14. 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
  15. 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
  16. 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
  17. 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
  18. 02 Feb, 2004 1 commit