[Kstars-devel] kdeedu/kstars/kstars [POSSIBLY UNSAFE]

Jason Harris kstars at 30doradus.org
Fri Apr 9 22:33:00 CEST 2004


CVS commit by harris: 

Extensive overhaul of KStars header files:

+ Forward-declare classes wherever possible (i.e., 
use "class Foo;" instead of "#include <foo.h>")

+ Improve DOxygen comments

+ Remove some unused functions

+ Fix some compiler warnings

The forward-declarations caused a lot of changes.  
Many cpp files were depending on 
remotely-included headers (i.e, it needs a.h, but 
it uses '#include "b.h"'; b.h has '#include "c.h";
c.h has '#include "a.h"'...yuck).  We should now 
be much closer to the ideal where each file 
includes the headers of the classes that it needs.

Almost all of the header files now have good DOxygen 
API comments.  The few classes which don't are ones 
that I don't feel qualified to document (i.e., INDI).

CCMAIL: kstars-devel at kde.org


  M +4 -2      addcatdialog.cpp   1.9
  M +0 -1      addcatdialog.h   1.10
  M +4 -3      addlinkdialog.cpp   1.14
  M +12 -10    addlinkdialog.h   1.5
  M +1 -0      colorscheme.cpp   1.17
  M +64 -5     colorscheme.h   1.9
  M +1 -0      csegment.cpp   1.2
  M +39 -3     csegment.h   1.2
  M +6 -2      deepskyobject.cpp   1.4
  M +9 -13     deepskyobject.h   1.4
  M +368 -401  detaildialog.cpp   1.32
  M +170 -88   detaildialog.h   1.10
  M +1 -0      devicemanager.cpp   1.10
  M +2 -1      dmsbox.cpp   1.24
  M +74 -51    dmsbox.h   1.11
  M +20 -26    filesource.h   1.6
  M +11 -3     finddialog.cpp   1.25
  M +45 -47    finddialog.h   1.10
  M +1 -0      focusdialog.cpp   1.19
  M +5 -4      focusdialog.h   1.9
  M +3 -0      fov.h   1.3
  M +11 -3     fovdialog.cpp   1.7
  M +6 -5      fovdialog.h   1.3
  M +3 -0      geolocation.cpp   1.10
  M +118 -125  geolocation.h   1.14
  M +43 -41    imageviewer.h   1.5
  M +3 -0      indidriver.cpp   1.21
  M +7 -2      indistd.cpp   1.11
  M +2 -1      infobox.cpp   1.8
  M +113 -14   infobox.h   1.10
  M +6 -0      infoboxes.cpp   1.17
  M +28 -21    infoboxes.h   1.10
  M +7 -3      jupitermoons.cpp   1.8
  M +69 -5     jupitermoons.h   1.6
  M +1 -2      ksasteroid.cpp   1.9
  M +40 -29    ksasteroid.h   1.5
  M +39 -27    kscomet.h   1.5
  M +18 -15    ksfilereader.cpp   1.3
  M +34 -15    ksfilereader.h   1.3
  M +4 -1      ksmoon.cpp   1.22
  M +14 -10    ksmoon.h   1.14
  M +4 -6      ksplanet.cpp   1.21
  M +44 -26    ksplanet.h   1.13 [POSSIBLY UNSAFE: system]
  M +9 -1      ksplanetbase.cpp   1.17
  M +7 -7      ksplanetbase.h   1.20
  M +3 -1      kspluto.cpp   1.19
  M +11 -5     kspluto.h   1.11
  M +5 -4      kspopupmenu.cpp   1.21
  M +92 -6     kspopupmenu.h   1.7
  M +2 -0      kssun.cpp   1.16
  M +16 -15    kssun.h   1.9
  M +34 -6     kstars.cpp   1.82
  M +30 -49    kstars.h   1.68
  M +14 -7     kstarsactions.cpp   1.96
  M +26 -7     kstarsdata.cpp   1.126
  M +281 -161  kstarsdata.h   1.78
  M +5 -1      kstarsdcop.cpp   1.23
  M +12 -1     kstarsinit.cpp   1.86
  M +102 -5    kstarsinterface.h   1.9
  M +6 -4      kstarssplash.cpp   1.20
  M +12 -11    kstarssplash.h   1.11
  M +3 -3      ksutils.cpp   1.18
  M +21 -10    ksutils.h   1.9
  M +1 -0      kswizard.cpp   1.3
  M +10 -4     kswizard.h   1.3
  M +22 -4     locationdialog.cpp   1.37
  M +12 -16    locationdialog.h   1.20
  M +2 -2      magnitudespinbox.h   1.7
  M +5 -1      main.cpp   1.34
  M +5 -3      mapcanvas.cpp   1.14
  M +45 -18    mapcanvas.h   1.5
  M +6 -3      objectnamelist.cpp   1.14
  M +56 -37    objectnamelist.h   1.17
  M +1 -2      opsadvanced.cpp   1.3
  M +14 -3     opsadvanced.h   1.2
  M +5 -2      opscatalog.cpp   1.3
  M +17 -4     opscatalog.h   1.2
  M +9 -0      opscolors.cpp   1.2
  M +17 -2     opscolors.h   1.2
  M +10 -0     planetcatalog.cpp   1.15
  M +35 -17    planetcatalog.h   1.15
  M +1 -0      simclock.cpp   1.15
  M +5 -6      simclock.h   1.11
  M +38 -2     simclockinterface.h   1.4
  M +16 -5     skymap.cpp   1.128
  M +13 -13    skymap.h   1.59
  M +19 -6     skymapdraw.cpp   1.60
  M +9 -3      skymapevents.cpp   1.91
  M +5 -3      skyobject.cpp   1.37
  M +7 -8      skyobject.h   1.35
  M +1 -1      skyobjectname.cpp   1.10
  M +12 -7     skyobjectname.h   1.9
  M +2 -1      skypoint.cpp   1.24
  M +6 -9      skypoint.h   1.19
  M +2 -4      stardatasink.cpp   1.17
  M +6 -9      stardatasink.h   1.11
  M +3 -7      starobject.cpp   1.21
  M +3 -8      starobject.h   1.19
  M +5 -8      starpixmap.h   1.7
  M +4 -1      telescopewizardprocess.cpp   1.14
  M +8 -8      timebox.h   1.7
  M +5 -2      timedialog.cpp   1.14
  M +2 -3      timedialog.h   1.10
  M +17 -4     timespinbox.h   1.8
  M +16 -15    timestepbox.h   1.5
  M +37 -9     timeunitbox.h   1.4
  M +64 -38    timezonerule.h   1.7
  M +14 -8     toggleaction.h   1.5
  M +5 -7      viewopsdialog.cpp   1.58
  M +65 -88    viewopsdialog.h   1.20
  M +10 -6     tools/altvstime.cpp   1.15
  M +0 -1      tools/altvstime.h   1.8
  M +10 -2     tools/jmoontool.cpp   1.8
  M +3 -0      tools/lcgenerator.cpp   1.14
  M +1 -1      tools/lcgenerator.h   1.7
  M +2 -1      tools/modcalcdaylength.cpp   1.24
  M +8 -6      tools/modcalcsidtime.cpp   1.32
  M +5 -2      tools/planetviewer.cpp   1.12
  M +1 -1      tools/planetviewer.h   1.6
  M +7 -2      tools/scriptbuilder.cpp   1.30
  M +5 -4      tools/scriptbuilder.h   1.10
  M +3 -0      tools/wutdialog.cpp   1.27





More information about the Kstars-devel mailing list