1. 01 Oct, 2016 5 commits
    • Robert Lancaster's avatar
      Fixes icons on systems that cannot load icons from system · 5b821a29
      Robert Lancaster authored and Jasem Mutlaq's avatar Jasem Mutlaq committed
       themes using the fromTheme method like OS X, Windows, and some Linux Distros.
        If there is no system theme, it tries to set the theme to one of the bundled
       themes if possible, but also adds the fallback method for loading icons
       without a theme to each icon if that doesn't work.   Added an icons directory
       to keep the theme icons and toolbar icons separate from the other data.
       Included two bundled custom themes, based on breeze and oxygen.  Also fixed
       the call to the "geographic" icon and the "edit indi profile" icon since they
       may have been referencing the wrong icons.
    • Akarsh Simha's avatar
      New workflow in the Observation Planner: Sort by % max. alt achieved · b10766db
      Akarsh Simha authored
      Adding a new workflow in the Observation Planner that helps find
      objects for observation without having to prepare a session plan with
      assigned times.
      1. Add all objects that you want to observe to the Wish List
      2. On the observing field, sort by the "Current Altitude" column in
         descending order. The column contains the percentage of the maximum
         altitude currently achieved by the object. The altitude uses the
         geographic location set in the observation planner, but _ignores_
         the date field -- so it is really current in system clock time.
      3. The list is automatically updated and dynamically sorted every 2
         minutes, so you can always observe the objects at the top of the
         list. As objects rise and set, they move up/down the list.
      Improvements needed:
      1. Support multiple wishlists, save wishlist, load wishlist etc.
         [ Or alternatively, move the feature to the session plan, although
         the session plan file format is more complicated]
      2. Make the workflow more obvious
         (Any pointers on how to do this will be very helpful)
      3. Support demotion of objects after "checking them off"
      4. Have an option to demote objects that are in the Dobsonian hole.
      CCMAIL: kstars-devel@kde.org
    • Akarsh Simha's avatar
      Add methods: SkyPoint::maxAlt() and SkyPoint::minAlt() · 94dc45f9
      Akarsh Simha authored
      Add two convenience methods to SkyPoint that return the maximum and
      minimum altitude of an object for a given location (latitude).
    • Akarsh Simha's avatar
      Replace includes by forward delcarations, change include order etc. · 922657ab
      Akarsh Simha authored
      Jasem, could you please look at the guide.h self-include and make sure
      I didn't do anything bad?
      CCMAIL: mutlaqja@ikarustech.com
    • Akarsh Simha's avatar
  2. 30 Sep, 2016 6 commits
  3. 29 Sep, 2016 24 commits
  4. 28 Sep, 2016 5 commits
    • Akarsh Simha's avatar
      FIXME! dms::reduce() doesn't modify the dms, it returns a new one · f838f262
      Akarsh Simha authored
      Ideally, reduce() should've reduced in-place, and reduced() should
      return a new dms, but this might need a lot of code changes. Well...
    • Akarsh Simha's avatar
      Some minor optimizations. · e01f22a4
      Akarsh Simha authored
    • Akarsh Simha's avatar
      Make EquatorialToHorizontal faster by a number of improvements · 786e4fcc
      Akarsh Simha authored
      1. Cache trigonometric values for RA, Dec and RA0, Dec0
         Warning: This might negatively affect performance of
         updateCoords(), which is another MAJOR bottleneck in KStars
      2. Avoid calling sincos() on HourAngle -- instead just compute it
         using CachingDms subtraction operator.
      3. Avoid cos( AltRad ) computation. Instead use cos x = sqrt(1 -
      The result is an improvement of EquatorialToHorizontal() average
      run-time from ~ 567 ns to ~ 341 ns per call. Note: I would have
      expected a more significant improvement, but it might be improved once
      we remove profiling instrumentation from dms and CachingDms.
    • Akarsh Simha's avatar
    • Akarsh Simha's avatar
      Make KSNumbers::obliquity() return CachingDms · 284282fc
      Akarsh Simha authored
      Profiling did not reveal a significant advantage here mostly because
      of the updateCoords() short-circuit in
      StarObject::JITUpdate(). However, I presume that the impact will be
      significant when slewing / zooming -- operations that are very hard to
      profile, and time steps of > 1 minute, which we will have to
      unfortunately address only later.