]> Git trees. - libqmvoc.git/log
libqmvoc.git
21 years agoFixing bug #89098 (Date not localized in What's Up Tonight tool).
Jason Harris [Mon, 20 Sep 2004 05:38:39 +0000 (05:38 +0000)]
Fixing bug #89098 (Date not localized in What's Up Tonight tool).
This is part one of a two-part fix.  ExtDate used to use Qt's format strings for expressing dates.  However, to localize the expression of the date, we need KGlobal::locale()->dateFormat(), which uses KDE's format strings (which are totally different from Qt's).  This commit makes ExtDate and ExtDateTime use KDE format strings.

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=347759

21 years agoFix highlighting of the selected date in the ExtDatePicker widget
Jason Harris [Thu, 19 Aug 2004 04:09:41 +0000 (04:09 +0000)]
Fix highlighting of the selected date in the ExtDatePicker widget
for years < 2000.  The highlighted date was off by one week because of a
bug in ExtDate::dayOfWeek().

Also, make ExtDate::addMonths() more robust.

This time I actually committed to the correct branch...

(TO BE BACKPORTED)

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=338991

21 years agocleaning up (I don't know why FreeBSD should require AM_CPPFLAGS instead of INCLUDES) v3.3.0
Stephan Kulow [Mon, 28 Jun 2004 08:01:56 +0000 (08:01 +0000)]
cleaning up (I don't know why FreeBSD should require AM_CPPFLAGS instead of INCLUDES)

svn path=/trunk/kdeedu/libkdeedu/; revision=324197

21 years agoBuild fix from Michael Nottebrock
Lauri Watts [Sun, 27 Jun 2004 16:27:13 +0000 (16:27 +0000)]
Build fix from Michael Nottebrock

svn path=/trunk/kdeedu/libkdeedu/; revision=324069

21 years agostdlib.h needed for "int exit(...)"
Andy Fawcett [Sat, 19 Jun 2004 18:13:10 +0000 (18:13 +0000)]
stdlib.h needed for "int exit(...)"

svn path=/trunk/kdeedu/libkdeedu/; revision=322002

21 years agomaking the ExtDate::fromString(s) and ExtDateTime::fromString(s) functions more
Jason Harris [Sun, 6 Jun 2004 02:39:47 +0000 (02:39 +0000)]
making the ExtDate::fromString(s) and ExtDateTime::fromString(s) functions more
robust.

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=318087

21 years agoFixing crash condition in ExtDateWidget. If initialized without a date
Jason Harris [Tue, 1 Jun 2004 01:33:18 +0000 (01:33 +0000)]
Fixing crash condition in ExtDateWidget.  If initialized without a date
argument, it was initialized to an invalid date, which caused a crash in the
function ExtDate::daysInMonth().  Two fixes make the widget much more robust:

+ ExtDate::daysInMonth() and ExtDate::leapYear() now check the validity of the
date first, and return sensible default values if the date is invalid.

+ the default ctor ExtDateWidget() now initializes to the current date, rather
than an invalid date.

This fixes the crash in the ScriptBuilder tool.

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=316636

21 years agoRemove QDate restriction on ExtDateTimeEdit. Can now set date between years
Jason Harris [Mon, 17 May 2004 03:14:25 +0000 (03:14 +0000)]
Remove QDate restriction on ExtDateTimeEdit.  Can now set date between years
-50000 and 50000.  (changes in extdatetime.cpp are just whitespace changes)

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=311960

21 years agofix includes
Anne-Marie Mahfouf [Thu, 13 May 2004 19:00:49 +0000 (19:00 +0000)]
fix includes

svn path=/trunk/kdeedu/libkdeedu/; revision=311158

21 years agoFixing some problems in ExtDate and friends:
Jason Harris [Thu, 13 May 2004 07:07:35 +0000 (07:07 +0000)]
Fixing some problems in ExtDate and friends:
Fixed ExtDate::setJD() (did not set calendar date)
Fixed ExtDateTime::addSecs() (bad conversion from int to uint; simplified code)
(added author comment to extdatetbl.cpp)

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=310907

21 years agoImproved ExtDate::isValid()
Jason Harris [Thu, 13 May 2004 04:05:20 +0000 (04:05 +0000)]
Improved ExtDate::isValid()

svn path=/trunk/kdeedu/libkdeedu/; revision=310874

21 years agofixed the warnings
Anne-Marie Mahfouf [Thu, 6 May 2004 12:36:51 +0000 (12:36 +0000)]
fixed the warnings

svn path=/trunk/kdeedu/libkdeedu/; revision=309071

21 years agoUpdated README file
Jason Harris [Thu, 6 May 2004 05:11:21 +0000 (05:11 +0000)]
Updated README file

svn path=/trunk/kdeedu/libkdeedu/; revision=308991

21 years agoExtDate now stores the date internally as the actual Julian Day number, rather than...
Jason Harris [Wed, 28 Apr 2004 05:44:59 +0000 (05:44 +0000)]
ExtDate now stores the date internally as the actual Julian Day number, rather than the count of days since 1 Jan 0001.  Added function ExtDate::jd() to return the Julian Day and ExtDate::setJD(long int) to set it.  Some other code cleanups as well.

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=306924

21 years agoForgot to remove reference to unused include file (extdatetimeeditor.h)
Jason Harris [Sun, 18 Apr 2004 08:56:58 +0000 (08:56 +0000)]
Forgot to remove reference to unused include file (extdatetimeeditor.h)
Thanks for catching it so quickly, Laurent.

CCMAIL: kde-edu@kde.org
CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=304585

21 years agoAdding ExtDate library to libkdeedu. ExtDate is a replacement for
Jason Harris [Sun, 18 Apr 2004 07:58:44 +0000 (07:58 +0000)]
Adding ExtDate library to libkdeedu.  ExtDate is a replacement for
QDate that eliminates its arbitrary date-range limits (QDate cannot
accept dates prior to year 1752 or after year 8000).  There is no
theoretical limit to the range of dates that ExtDate can accept, but
I have imposed a range of -50000 to +50000 for now.

The ExtDate library is based on the initial work of Michel Guitel, who
wrote the original ExtDate class.  I have added the following classes:

ExtDateTime (replaces QDateTime)
ExtCalendarSystem (replaces KCalendarSystem)
ExtCalendarSystemGregorian (replaces KCalendarSystemGregorian)
ExtDateTable (replaces KDateTable)
ExtDatePicker (replaces KDatePicker)
ExtDateTimeEdit (replaces QDateTimeEdit)
ExtDateWidget (replaces KDateWidget)

Most of the work was simply pasting in the class to be replaced, and
global-replacing QDate with ExtDate.  However, there are some
remaining issues:

+ currently, only the Gregorian calendar is supported
+ using KLocale to set the date string format does not work
+ API docs are needed

Once the issues have been worked out, I would like to propose to
kde-core-devel that these classes be added to kdelibs for KDE4.
However, I am not sure if any other apps besides KStars really need
very remote dates.

The library includes two test-programs for verifying the performance
of ExtDate.  The first (test_extdate) is a command-line program that
simply outputs the results of 9 tests comparing the performance of
ExtDate and QDate.  If ExtDate is working correctly, then the only
differences will be for dates outside of QDate's valid range.  The
second (test_extdatepicker) is a GUI app showing a KDatePicker and an
ExtDatePicker side-by-side (there is a slight rendering difference
between ExtDatePicker and KDatePicker on my system; I don't know
why this is happening).

The other way to test it is to run kstars; I am going to commit the
ExtDate code in kstars shortly...

CCMAIL: kde-edu@kde.org
CCMAIL: kstars-devel@kde.org
CCMAIL: michel.guitel@free.fr

svn path=/trunk/kdeedu/libkdeedu/; revision=304574

21 years agoCompile Warning --
Albert Astals Cid [Tue, 16 Mar 2004 18:15:07 +0000 (18:15 +0000)]
Compile Warning --

svn path=/trunk/kdeedu/libkdeedu/; revision=296371

21 years agotypo fix
Dirk Mueller [Sat, 13 Mar 2004 13:38:37 +0000 (13:38 +0000)]
typo fix

svn path=/trunk/kdeedu/libkdeedu/; revision=295637

22 years agofirst we try to get KDE CVS build on a fresh installation, world peace upstream/KDE/3.2 v3.2.0 v3.2.1 v3.2.2 v3.2.3
Stephan Kulow [Fri, 19 Sep 2003 08:54:26 +0000 (08:54 +0000)]
first we try to get KDE CVS build on a fresh installation, world peace
has to wait

svn path=/trunk/kdeedu/libkdeedu/; revision=252323

22 years agowhen drawing KPlotObject::LABEL items, the position of the label is now
Jason Harris [Mon, 15 Sep 2003 21:23:59 +0000 (21:23 +0000)]
when drawing KPlotObject::LABEL items, the position of the label is now
centered on the data point's X-coordinate, and slightly below the data
point in Y.  This is useful for (and in fact assumes that one is) plotting
the labels next to KPlotObject::POINT items that have the same
coordinates.  (This change was implemented in order to add planet labels
to the solar system plotter in KStars).

TODO: make the vertical offset adjustable.  Should be zero by default.
(have to wait for after 3.2)

svn path=/trunk/kdeedu/libkdeedu/; revision=251365

22 years ago- deleting null pointers is safe
Frerich Raabe [Sun, 31 Aug 2003 09:06:46 +0000 (09:06 +0000)]
- deleting null pointers is safe

svn path=/trunk/kdeedu/libkdeedu/; revision=247125

22 years agofreeing buffer in destructor
Jasem Mutlaq [Sun, 31 Aug 2003 08:59:36 +0000 (08:59 +0000)]
freeing buffer in destructor

svn path=/trunk/kdeedu/libkdeedu/; revision=247122

22 years agoadding guards
George Wright [Wed, 20 Aug 2003 01:12:41 +0000 (01:12 +0000)]
adding guards

svn path=/trunk/kdeedu/libkdeedu/; revision=243688

22 years agoAdded ability to add axis labels to the plot
Jason Harris [Sun, 20 Jul 2003 04:52:06 +0000 (04:52 +0000)]
Added ability to add axis labels to the plot
(setXAxisLabel(QString)/setYAxisLabel(QString)).
The "padding" space around the plot area is no longer hard-coded.
The amount of padding can be set explicitly with setXXXPadding(int),
where XXX={Left, Right, Top, Bottom}.  If not explicitly set, the code
will automatically choose a good amount of padding, depending on whether
there are Axis Labels and/or Tick Mark Labels present.
Also, the placement of Tick Mark Labels is a bit smarter now; the labels
should be better centered on the corresponding tick.

CCMAIL: kstars-devel@lists.sourceforge.net

svn path=/trunk/kdeedu/libkdeedu/; revision=238085

22 years agoCVS_SILENT -$Log
Stephan Binner [Thu, 17 Jul 2003 12:48:23 +0000 (12:48 +0000)]
CVS_SILENT -$Log

svn path=/trunk/kdeedu/libkdeedu/; revision=237589

22 years agoFix compiler warnings about unused arguments in paintEvent() and
Jason Harris [Fri, 11 Jul 2003 18:01:30 +0000 (18:01 +0000)]
Fix compiler warnings about unused arguments in paintEvent() and
resizeEvent().

CCMAIL: cniehaus@gmx.de, kstars@30doradus.org

svn path=/trunk/kdeedu/libkdeedu/; revision=236569

22 years agoAdding files for libkdeeduplot...sorry for the confusion; I had trouble
Jason Harris [Fri, 11 Jul 2003 13:11:18 +0000 (13:11 +0000)]
Adding files for libkdeeduplot...sorry for the confusion; I had trouble
adding these initially, but I thought I had finally committed them.  Hope
it works this time.

CCMAIL: mueller@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=236545

22 years agofix kdeeduplot's Makefile.am, and readd to SUBDIRS for when the dir will actually...
Dominique Devriese [Fri, 4 Jul 2003 19:20:01 +0000 (19:20 +0000)]
fix kdeeduplot's Makefile.am, and readd to SUBDIRS for when the dir will actually contain something useful..

svn path=/trunk/kdeedu/libkdeedu/; revision=235478

22 years agoremove broken directory likdeeduplot. Whats up with that? why was it added?
Dirk Mueller [Fri, 4 Jul 2003 18:52:27 +0000 (18:52 +0000)]
remove broken directory likdeeduplot. Whats up with that? why was it added?

svn path=/trunk/kdeedu/libkdeedu/; revision=235473

22 years agomake it build
Dominique Devriese [Wed, 2 Jul 2003 09:51:31 +0000 (09:51 +0000)]
make it build

CCMAIL:Jason Harris <kstars@30doradus.org>, kde-edu-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=235041

22 years agofor Jason :-)
Anne-Marie Mahfouf [Wed, 2 Jul 2003 01:20:42 +0000 (01:20 +0000)]
for Jason :-)

svn path=/trunk/kdeedu/libkdeedu/; revision=235004

22 years agofixes
Stephan Kulow [Sun, 25 May 2003 19:00:43 +0000 (19:00 +0000)]
fixes

svn path=/trunk/kdeedu/libkdeedu/; revision=227856

22 years agounbreak compilation
Dirk Mueller [Mon, 12 May 2003 10:35:19 +0000 (10:35 +0000)]
unbreak compilation

svn path=/trunk/kdeedu/libkdeedu/; revision=225355

22 years ago- use KDE_DEFAULT_CXXFLAGS
Dirk Mueller [Thu, 1 May 2003 11:53:54 +0000 (11:53 +0000)]
- use KDE_DEFAULT_CXXFLAGS
- fix compilation

svn path=/trunk/kdeedu/libkdeedu/; revision=223183

22 years agoIncludemoc
Laurent Montel [Thu, 10 Apr 2003 20:19:28 +0000 (20:19 +0000)]
Includemoc

svn path=/trunk/kdeedu/libkdeedu/; revision=219593

22 years agoexport proper version info
Dirk Mueller [Fri, 3 Jan 2003 03:25:00 +0000 (03:25 +0000)]
export proper version info

svn path=/trunk/kdeedu/libkdeedu/; revision=197109

23 years agoDon't install the headers for libkdeedu. We don't really want this to have v3.1.0 v3.1.1 v3.1.2
Scott Wheeler [Sat, 12 Oct 2002 18:03:00 +0000 (18:03 +0000)]
Don't install the headers for libkdeedu.  We don't really want this to have
to be binary compatible with future releases.

Also, I removed the "libkdeedu/kdeeduui" from the Makefile.am since it's
not currently being used for anything (and there hasn't been a commit since
June).

CCMAIL:kde-edu-devel@kde.org

svn path=/trunk/kdeedu/libkdeedu/; revision=183545

23 years agoStyle guide fixes according to http://developer.kde.org/documentation/standards/kde...
Stephan Binner [Sat, 20 Jul 2002 19:40:11 +0000 (19:40 +0000)]
Style guide fixes according to http://developer.kde.org/documentation/standards/kde/style/basics/

svn path=/trunk/kdeedu/libkdeedu/; revision=167785

23 years agoMoved KEduData to KEduVocData as discussed on kde-edu-devel. Made a couple
Scott Wheeler [Fri, 7 Jun 2002 16:46:40 +0000 (16:46 +0000)]
Moved KEduData to KEduVocData as discussed on kde-edu-devel.  Made a couple
of cleanups to the code (propper use of const and references).

svn path=/trunk/kdeedu/libkdeedu/; revision=159782

23 years agoRemoved the old sources for libkdeedu -- they confused me, as there were
Scott Wheeler [Fri, 7 Jun 2002 15:08:07 +0000 (15:08 +0000)]
Removed the old sources for libkdeedu -- they confused me, as there were
two versions.  I also updated the Makefile.am and FlashKard to reflect
the new location.

svn path=/trunk/kdeedu/libkdeedu/; revision=159765

23 years ago*** empty log message ***
Ewald Arnold [Sun, 2 Jun 2002 15:45:58 +0000 (15:45 +0000)]
*** empty log message ***

svn path=/trunk/kdeedu/libkdeedu/; revision=159019

23 years agostarted core and ui libs
Ewald Arnold [Sun, 2 Jun 2002 15:45:49 +0000 (15:45 +0000)]
started core and ui libs

svn path=/trunk/kdeedu/libkdeedu/; revision=159018

23 years agoadded ideas
Ewald Arnold [Thu, 30 May 2002 16:51:11 +0000 (16:51 +0000)]
added ideas

svn path=/trunk/kdeedu/libkdeedu/; revision=158629

23 years agoAdded the beginnings of a kde-edu library, libkdeedu, which at the moment
Scott Wheeler [Wed, 29 May 2002 23:59:11 +0000 (23:59 +0000)]
Added the beginnings of a kde-edu library, libkdeedu, which at the moment
just contains a simple kvtml parser.  I also made changes to FlashKard to
have it make use of this lib.

svn path=/trunk/kdeedu/libkdeedu/; revision=158533