1. 02 Jan, 2011 9 commits
    • Akarsh Simha's avatar
      Looks like that's the only way to do things, really · 963be66f
      Akarsh Simha authored
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210818
      963be66f
    • Akarsh Simha's avatar
      Remove some ugly debugging messages. · a2fe11b5
      Akarsh Simha authored
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210811
      a2fe11b5
    • Akarsh Simha's avatar
      + Set some properties of the QGraphicsView -- no borders, scroll bar policy. · 4abba2ce
      Akarsh Simha authored
      + Rename m_SkyScene to m_Scene. This member is still unused as of this
        change.
      
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210809
      4abba2ce
    • Akarsh Simha's avatar
      Okay, dynamic switching between OpenGL and Native backends! · 5ba830ed
      Akarsh Simha authored
      Bugs: Enable InfoBoxes. Nothing works as expected. You can't pan the
      SkyMap, the background is repainted while using OpenGL.
      
      TODO:
      
      + Get CMake to setup HAVE_OPENGL in the config.
      
      + Fix those bugs
      
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210804
      5ba830ed
    • Akarsh Simha's avatar
      Allow runtime switching between OpenGL and QPainter backends. Still buggy and ugly. · 60fd8cd1
      Akarsh Simha authored
      Note that as of this commit, HAVE_OPENGL is still not defined
      anywhere. Must be manually defined if required.
      
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210803
      60fd8cd1
    • Akarsh Simha's avatar
      Working OpenGL version. Still hackish, ugly and hardcoded. · 3938183b
      Akarsh Simha authored
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210802
      3938183b
    • Akarsh Simha's avatar
      Backends separated. Working, unclean, hackish version. · 83df2c8f
      Akarsh Simha authored
      + SkyMap is now a QGraphicsView
      
      + The widget on which all drawing is done is called SkyMapQDraw for
        the Qt version (and will be called SkyMapGLDraw for the GL version).
      
      + SkyMapQDraw and the future SkyMapGLDraw inherit from an abstract
        SkyMapDrawAbstract class which contains common methods that draw
        using QPainter, and allows the reimplementation of paintEvent() or
        paintGL() as is appropriate in the children.
      
      + The SkyMapQDraw is set as the child widget of the
        QGraphicsView::viewport(). This seems to be the typical workaround
        for getting an QGLWidget to work as a non-background widget in a
        QGV. I don't know if there is a more elegant way _that works_. This
        is one of those hackish things.
      
      + SkyMap::forceUpdate() calls a repaint() (for the time being, not
        update()) on the SkyMapQDraw instead of the SkyMap itself. I don't
        know why this is necessary as yet. This is one more of the hackish
        things.
      
      TODO:
      
      1. See if there are less hackish ways of doing things. (But this is
         not on priority for the 4.6 release. If it works, and is reasonably
         neat, I think we should let it in.) If these are actually Qt bugs,
         file them and triage them.
      
      2. Implement the GL backend.
      
      Please let me know what you think. If it's okay, I'll transfer this to
      4.6 after I'm done with the GL stuff. I solicit everyone's response on
      this as soon as possible, since the release is in a very very short
      time from now.
      
      CCMAIL: kstars-devel@kde.org, hdevalence@gmail.com
      
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210795
      83df2c8f
    • Akarsh Simha's avatar
      First steps of forking skymap into two classes. · 200d26b6
      Akarsh Simha authored
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210794
      200d26b6
    • Akarsh Simha's avatar
      Undo disabling of GL. · a90f9490
      Akarsh Simha authored
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210793
      a90f9490
  2. 29 Dec, 2010 1 commit
    • Akarsh Simha's avatar
      Temporary fix of KStars, just in case I don't fix everything before · e35ab6d7
      Akarsh Simha authored
      the 4.6 release.
      
      If this is done, the only significant changes, if I remember, in 4.6
      are fixing a lot of projection-related bugs, refraction code, moon
      phase almanac and some cities.dat fixes. Maybe there are a couple
      more, but I'm disabling OpenGL support.
      
      Hopefully, before the final release, I should have an option to switch
      to the "Beta" OpenGL rendering mode which will be a regression from a
      feature POV, but will run much much faster, so that many users will
      still be interested in that.
      
      CCMAIL: kstars-devel@kde.org, hdevalence@gmail.com
      
      
      svn path=/branches/KDE/4.6/kdeedu/kstars/; revision=1210036
      e35ab6d7
  3. 04 Nov, 2010 1 commit
  4. 17 Oct, 2010 2 commits
    • Akarsh Simha's avatar
      Undo last commit, which was an incorrect merge. Still not completely · 434a98b0
      Akarsh Simha authored
      fixed.
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=1186602
      434a98b0
    • Akarsh Simha's avatar
      Merging Harry's OpenGL branch into trunk! · 61fc2b3a
      Akarsh Simha authored
      Yippeeeee! Now everyone can have the OpenGL'd KStars!
      
      I must congratulate Harry on writing such beautiful code. I really
      like the way this stuff works now.
      
      There are a whole bunch of *regressions* introduced by this, which
      Harry has summarized in an earlier e-mail to the mailing list, which I
      hope, can be fixed at least to some extent before release.
      
      The GL version is much more smoother and nice on my machine.
      
      Also, this has NOT been tested to compile! I'm going to test it
      immediately after this commit, because I found it convenient that
      way. Expect follow up commits to fix compile errors.
      
      CCMAIL: kstars-devel@kde.org
      
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=1186600
      61fc2b3a
  5. 15 Oct, 2010 1 commit
  6. 11 Aug, 2010 4 commits
  7. 10 Aug, 2010 1 commit
  8. 08 Aug, 2010 5 commits
  9. 05 Aug, 2010 2 commits
  10. 04 Aug, 2010 1 commit
  11. 01 Aug, 2010 3 commits
  12. 31 Jul, 2010 1 commit
  13. 29 Jul, 2010 2 commits
  14. 27 Jul, 2010 1 commit
  15. 23 Jul, 2010 1 commit
  16. 16 Jul, 2010 1 commit
  17. 02 Jul, 2010 2 commits
  18. 29 Jun, 2010 2 commits