1. 19 Jul, 2017 1 commit
  2. 11 Jun, 2017 1 commit
  3. 21 Mar, 2017 1 commit
  4. 29 Sep, 2016 1 commit
  5. 16 Aug, 2016 1 commit
    • Akarsh Simha's avatar
      Experimental testing: using Name Resolver in Find Dialog · d36b326d
      Akarsh Simha authored
      Improvements needed (which is why this is not the end of it):
      
      1. Enable the resolver machinery using a flag in the FindDialog
         constructor.
      
      2. Find Dialog should show a phantom entry (eg: "Search the internet")
         to present users that option.
      
      3. We must commit the newly created DeepSkyObject gracefully into some
         SkyComponent so that it appears in objectNearest() searches and
         other such places.
      
      4. Allow commiting the newly created object into the SQLite Database.
      d36b326d
  6. 20 May, 2016 1 commit
    • Akarsh Simha's avatar
      Experimental testing: using Name Resolver in Find Dialog · b7f66ee4
      Akarsh Simha authored
      Improvements needed (which is why this is not the end of it):
      
      1. Enable the resolver machinery using a flag in the FindDialog
         constructor.
      
      2. Find Dialog should show a phantom entry (eg: "Search the internet")
         to present users that option.
      
      3. We must commit the newly created DeepSkyObject gracefully into some
         SkyComponent so that it appears in objectNearest() searches and
         other such places.
      
      4. Allow commiting the newly created object into the SQLite Database.
      b7f66ee4
  7. 31 Aug, 2015 1 commit
  8. 20 Jul, 2014 1 commit
  9. 11 Jul, 2014 1 commit
  10. 10 Jul, 2014 2 commits
  11. 08 Nov, 2010 1 commit
    • Charles Sheridan's avatar
      Changes to the Calculator for consistency in the Batch Mode UI for Solar... · 1cb5a86d
      Charles Sheridan authored
      Changes to the Calculator for consistency in the Batch Mode UI for Solar System->Planets Coordinates, Coordinate Converters->Apparent Coordinates, Coordinate Converters->Horizontal Coordinates, Coordinate Converters->Angular Distance, and Coordinate Converters->LSR Velocity.
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=1194060
      1cb5a86d
  12. 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
  13. 12 Feb, 2010 1 commit
    • Alexey Khudyakov's avatar
      Change signatures of member functions of SkyPoint · fe2c14fe
      Alexey Khudyakov authored
      namely: ra,ra0,dec,dec0,az,alt
      
      Now they return const reference to dms instead of pointer. Main
      reason bhid this change is to use plain dumb assignment for angles
      For example following code snippets could be found in KStars sources
      
      > a1.setH( p->ra().Hours() );
      
      Actually it is plain assignment but in obscure form and rather ineffective.
      It include two multiplications. Following code is equivalent:
      
      > a1 = p->ra();
      
      Much easier to understand.
      
      Change is very extensive but fairly trivial. At the very least code
      does compile and seems to work.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=1089286
      fe2c14fe
  14. 07 Feb, 2010 1 commit
    • Alexey Khudyakov's avatar
      * Replace · f84df15e
      Alexey Khudyakov authored
        > new FindDialog( (KStars*)topLevelWidget()->parent() );
        with
        > new FindDialog( this );
      * Replace someFun(void) with someFun()
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=1086511
      f84df15e
  15. 19 May, 2009 2 commits
  16. 26 Feb, 2009 1 commit
  17. 25 Feb, 2009 1 commit
  18. 23 Jul, 2008 1 commit
  19. 14 Jul, 2008 2 commits
    • Akarsh Simha's avatar
      Fixes pertaining to QString from EBN. Hope this didn't break anything. · 80ecdf54
      Akarsh Simha authored
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=832534
      80ecdf54
    • Jason Harris's avatar
      Fixing bug #165173: Date format is not localized · c7bcc496
      Jason Harris authored
      We had been using KDateTime::toString() to render date/time values in the UI.  I 
      had assumed that these strings would be localized, but apparently not.
      
      Now I am using KGlobal::locale()->formatDate(), which uses the date format as 
      specified in the System Settings tool.  
      
      However: I didn't like the Weekday string that is included by default.  So I added 
      code to strip out the weekday string from the format, but to otherwise leave it 
      intact.
      
      Will backport this fix to the 4.1 branch.
      
      BUG: 165173
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=832102
      c7bcc496
  20. 11 Nov, 2007 1 commit
    • Jason Harris's avatar
      Modifications in preparation of removing ExtDate and friends. · 7790c3ca
      Jason Harris authored
      KStarsDateTime now depends on the new KDateTime class, which covers
      dates -4713 to 11,000,000.  So there's a slight regression in the fact
      that we used to be able to go back to year -50,000.  This should
      eventually be fixed, but for now I'm using the regular KDateTime
      range.
      
      I need to remove ExtDate because it's based on Qt-3.x code, which is
      necessarily licensed under GPL v2 only.  KDE is migrating to GPL v3,
      which is not compatible with GPL v2.
      
      I also fixed the layout of the AltVsTime tool, which involved
      splitting the AVTPlotWidget into its own files, so that Qt designer
      could properly use it as a promoted widget.
      
      TODO: make sure all time-related functions work properly.  One thing
      to watchout for: KDateTime uses UT by default, so some parts of the
      code where local time was assumed needed to be changed.  I may have
      missed some of these.
      
      In the ObsListWizard, I need to enable the feature that allows the
      user to select objects observable from a given location, on a given
      date.
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=735399
      7790c3ca
  21. 22 Sep, 2007 1 commit
    • Jason Harris's avatar
      As discussed on kstars-devel, applying whitespace fixes to our · 64526106
      Jason Harris authored
      codebase.  This is mostly about indenting with 4 spaces instead of
      TAB, but other changes were applied too.  I used the program "astyle"
      to apply the changes; the following configuration file was used:
      
      # brackets should be attached to pre-bracket lines
      brackets=attach
      # set 4 spaces per indent
      indent=spaces=4
      # indent case labels in switch blocks
      #indent-switches
      #indent "public"/"private"/etc. in classes
      indent-classes
      #insert blank line before/after blocks
      break-blocks
      #add empty space inside parentheses
      pad=paren-in
      #don't break one-line blocks
      one-line=keep-blocks
      
      
      Try to use these style options when writing new code.
      
      I did *NOT* run astyle in the htmesh or satlib directories, as these
      contain third-party code.  I also did NOT run it in indi, because I
      thought maybe Jasem would like to use his own style options there.
      
      I noticed a couple of problems with comment blocks; please fix these
      as you find them.
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=715584
      64526106
  22. 27 May, 2007 1 commit
    • Jason Harris's avatar
      The Find Dialog is now fully functional. The select-by-type box works. · c74f849a
      Jason Harris authored
      I had to change the way object names are stored internally to make this 
      work efficiently.  Previously, object names were stored in a single 
      QStringList, accessible with SkyMapComposite::objectNames().  Now, 
      object names are stored in a QHash of QStringLists, indexed by the 
      SkyObject::TYPE enum identifiers.
      
      Now, SkyMapComposite::objectNames() will return the entire QHash.  I 
      added SkyMapComposite::objectNames( int type ), which will return the 
      QStringList containing names of the given type (e.g., 
      'data()->skyComposite()->objectNames( SkyObject::GALAXY )' will return 
      the names of all galaxies.
      
      If you need the names of all objects, regardless of type, you have to do 
      something like this:
      
      QStringList allNames;
      foreach ( int type, data()->skyComposite()->objectNames().keys() )
          allNames += p->data()->skyComposite()->objectNames( type );
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=668786
      c74f849a
  23. 30 Apr, 2007 1 commit
  24. 17 Mar, 2007 1 commit
    • Jason Harris's avatar
      New visual Equinox/Solstice calculator module. Instead of · f561c7a6
      Jason Harris authored
      displaying the date/time of the solstice and equinox events 
      for a given year, the events are highlighted on a plot of the 
      Sun's declinatin as a function of time over the course of the 
      given year.
      
      Please have a look and let me know what you think; I may try to 
      convert some other modules to this "visual" style as well.
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=643494
      f561c7a6
  25. 15 Jan, 2007 1 commit
    • Jason Harris's avatar
      1) Simplified Horizontal coordinates calc module, and renamed · ab15a144
      Jason Harris authored
      the files to modcalcaltaz.* (was modcalcazel.*)
      
      2) Simplified the VLSR calc module
      
      3) Apparent coords calc module: fixed signal/slot connection
      
      4) Removed SOHO and SOLWIND comets from comets.dat.  These are comets 
      that fall into the Sun, so their positions are not valid.
      
      5) modcalcdaylength.cpp: whitespace fix
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=623813
      ab15a144
  26. 02 Jan, 2007 1 commit
  27. 28 Jul, 2006 1 commit
  28. 28 Apr, 2006 1 commit
    • Pino Toscano's avatar
      TRUE -> true · 22ca25bc
      Pino Toscano authored
      FALSE -> false
      
      CCMAIL: kstars-devel@kde.org
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=535023
      22ca25bc
  29. 16 Apr, 2006 1 commit
    • Thorsten Roeder's avatar
      - another pass at fixing compiler warnings due to deprecated functions in Qt-4.1.2. · 9b6ed4da
      Thorsten Roeder authored
      - header fix in .ui
      
      addressed functions:
      
      QComboBox::currentItem() --> QComboBox::currentIndex()
      QComboBox::text() --> QComboBox::itemText()
      QString::lower() --> QString::toLower()
      QString::upper() --> QString::toUpper()
      QString::find() --> QString::indexOf()
      QString::findRev() --> QString::lastIndexOf()
      QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()}
      QList::remove() --> QList::removeAll()
      iterator QList::remove() --> iterator QList::erase()
      QSlider::QSlider()
      KComboBox::setCurrentItem() --> KComboBox::setCurrentIndex()
      QAbstractButton::isOn() --> QAbstractButton::isChecked()
      QFile::name() --> QFile::fileName()
      QFile::setName() --> QFile::setFileName()
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=530449
      9b6ed4da
  30. 14 Apr, 2006 1 commit
    • Jason Harris's avatar
      First pass at fixing compiler warnings due to deprecated functions in · b561aebd
      Jason Harris authored
      Qt-4.1.2.  A lot more to come :(.  Here are the function updates I 
      addressed this time:
      
      QComboBox::insertItem()  --> addItem()
      QComboBox::text()  --> itemText()  **not changed globally
      QComboBox::setCurrentText()  --> setEditText()
      QComboBox::currentItem()  --> currentIndex()
      QComboBox::setCurrentItem()  --> setCurrentIndex()
      QString::find()  --> indexOf()
      QString::lower()  --> toLower()
      QString::ascii()  --> toAscii()
      QStringList::split()  --> QString::split()
      QFile::setName()  --> setFileName()
      QFile::name()  --> fileName()
      QAbstractButton::setIconSet()  --> setIcon()
      QTextEdit::setText()  --> setHtml() **not changed globally
      QObject::name()  --> objectName()
      
      All of these were changed throughout the codebase, except the two 
      marked.  These have names used in a large number of classes, so it 
      wasn't easy to do a global search-and-replace.
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=529692
      b561aebd
  31. 10 Apr, 2006 1 commit
  32. 17 Mar, 2006 1 commit
    • Jason Harris's avatar
      Make Calculator work. Instead of deleting and creating widgets when a · 2c58ad7e
      Jason Harris authored
      module is selected, all modules are now loaded into a QStackedWidget.  
      This presizes the calculator to fit the largest module (LSR velocity).
      
      I also solved one problem with layouts of UI-designed widgets.  I kept 
      getting crashes when opening the calculator with messages like "Cannot 
      add layout to 'modCalcJD', it already has a layout.  This will cause 
      memory leaks".  I tried several things to solve it, but what finally 
      worked was simply modifying the setupUi line in each of the classes 
      derived from a UI-generated class.  For example, modCalcJD is derived 
      from modCalcJdDlg (created in Qt designer).  It's ctor looked like this:
      
      modCalcJD::modCalcJD(QWidget *parentSplit) : QFrame(parentSplit) {
      	setupUi(parentSplit);
      	showCurrentTime();
      	show();
      }
      
      I simply changed the first line to "setupUi(this);".  The argument to 
      setupUi(QWidget*) must be the derived widget itself, *not* the parent 
      of that widget.  This problem exists elsewhere in the code; I'm going to 
      fix that next.
      
      I suspect this is the same issue Jasem was having with layouts of the 
      Details window a while ago.
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=519561
      2c58ad7e
  33. 14 Feb, 2006 2 commits
    • Jason Harris's avatar
      Change QString function arguments to "const QString &" in tools · 68441412
      Jason Harris authored
      directory.  Also, removed all duplicate definitions of 
      getEpoch(QString) from the calculator modules; instead, KStarsDateTime 
      now has a function setFromEpoch( const QString& ).
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=509367
      68441412
    • Jason Harris's avatar
      A boring commit for better code: · 3067162b
      Jason Harris authored
      changed all empty-string instances ("") to QString().
      Changed QString function arguments to "const QString&"
      
      The first item was done in all code directories, but the second has only 
      been done in the main kstars directory.  Need to propagate changes to 
      tools, widgets, and skycomponents directories.
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=509265
      3067162b
  34. 07 Feb, 2006 1 commit
  35. 31 Dec, 2005 1 commit
    • Jason Harris's avatar
      Make the following calculator modules compile: · 123cfe21
      Jason Harris authored
      modCalcAngDist
      modCalcApCoord
      modCalcAzel
      modCalcDayLength
      modCalcEclCoords
      modCalcEquinox
      modCalcGalCoords
      modCalcGeodCoord
      
      CCMAIL: kstars-devel@kde.org
      
      
      svn path=/trunk/KDE/kdeedu/kstars/; revision=492782
      123cfe21