]> Git trees. - libqmvoc.git/log
libqmvoc.git
17 years agocompile with strict iterators
Albert Astals Cid [Wed, 22 Oct 2008 18:44:38 +0000 (18:44 +0000)]
compile with strict iterators

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=874906

17 years agoforeach knows how to iterate over the values of QMaps so don't call values() on the...
Albert Astals Cid [Sun, 12 Oct 2008 21:08:29 +0000 (21:08 +0000)]
foreach knows how to iterate over the values of QMaps so don't call values() on the QMaps, it's just slower and more memory intensive

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=870615

17 years agomore crazy fixes
Frederik Gladhorn [Wed, 8 Oct 2008 20:39:38 +0000 (20:39 +0000)]
more crazy fixes
break bc again :( but it's already changed in 4.1 to 4.2

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=869361

17 years agofix license
Frederik Gladhorn [Wed, 8 Oct 2008 20:30:36 +0000 (20:30 +0000)]
fix license

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=869358

17 years agohaving a public dptr somewhat defeats its purpose :o
Frederik Gladhorn [Wed, 8 Oct 2008 20:27:46 +0000 (20:27 +0000)]
having a public dptr somewhat defeats its purpose :o

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=869356

17 years agokrazy: Check for foreach loop issues (2 issues)
Eckhart Wörner [Sun, 28 Sep 2008 23:38:17 +0000 (23:38 +0000)]
krazy: Check for foreach loop issues (2 issues)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=865792

17 years agoReduce compiler warnings
Eckhart Wörner [Sun, 28 Sep 2008 18:22:08 +0000 (18:22 +0000)]
Reduce compiler warnings

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=865703

17 years agokrazy: Check for spelling errors
Eckhart Wörner [Sat, 27 Sep 2008 22:16:35 +0000 (22:16 +0000)]
krazy: Check for spelling errors

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=865516

17 years agosvn path=/trunk/KDE/kdeedu/libkdeedu/; revision=865515
Eckhart Wörner [Sat, 27 Sep 2008 21:48:46 +0000 (21:48 +0000)]
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=865515

17 years agolet me introduce: typo of the year "the the"
Frederik Schwarzer [Thu, 25 Sep 2008 15:05:22 +0000 (15:05 +0000)]
let me introduce: typo of the year "the the"

mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=864814

17 years agoFix reading of vokabeln.de files (version 1 only)
Frederik Gladhorn [Wed, 24 Sep 2008 12:48:58 +0000 (12:48 +0000)]
Fix reading of vokabeln.de files (version 1 only)
Add some verbose debug output to easier find errors for these obscure formats in the future.
BUG: 165088

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=864311

17 years agoConjugation is now complete. it uses personalpronouns + tense for the prompt when...
David Capel [Sat, 16 Aug 2008 11:10:09 +0000 (11:10 +0000)]
Conjugation is now complete. it uses personalpronouns + tense for the prompt when available, but it falls back to a generic description when a pronoun isn't.

Enabling of Hint and Show Solution in all modes.
Deletion of the Hint class (it was unused -- the hint KAction superceded it).

Various small bugfixes.

Fix to make keduvocpersionalpronoun more reliable.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847800

17 years agoMake language selection work somewhat.
Frederik Gladhorn [Fri, 15 Aug 2008 12:35:11 +0000 (12:35 +0000)]
Make language selection work somewhat.
config does not yet save it correctly though.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847466

17 years agoArticles are now saved, as are plural personal pronouns.
David Capel [Fri, 15 Aug 2008 12:24:51 +0000 (12:24 +0000)]
Articles are now saved, as are plural personal pronouns.

The personal pronouns were victim of my KEduVocWordFlag change, but the articles were victim of an API mixup: KEduVocIdentifier.articles() returned by value,
and kvtml2reader was modifying the return value. Returning by reference solves the problem.

Additionally I added some code to hopefully catch the null-d-pointer bug in KEduVocWordType.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847463

17 years agoget rid of doc->setTense()
Frederik Gladhorn [Fri, 15 Aug 2008 12:22:36 +0000 (12:22 +0000)]
get rid of doc->setTense()

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847462

17 years agoremove doc->setTenses
Frederik Gladhorn [Fri, 15 Aug 2008 12:22:32 +0000 (12:22 +0000)]
remove doc->setTenses

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847461

17 years agoread and write tenses for individual languages for kvtml2
Frederik Gladhorn [Fri, 15 Aug 2008 12:22:28 +0000 (12:22 +0000)]
read and write tenses for individual languages for kvtml2

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847460

17 years agomake editing languages work per identifier
Frederik Gladhorn [Fri, 15 Aug 2008 12:22:22 +0000 (12:22 +0000)]
make editing languages work per identifier

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847458

17 years agoprepare keduvocidentifier to contain the tenses
Frederik Gladhorn [Fri, 15 Aug 2008 12:22:19 +0000 (12:22 +0000)]
prepare keduvocidentifier to contain the tenses

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847457

17 years agounit test to make sure language deletion works as expected
Frederik Gladhorn [Fri, 15 Aug 2008 12:22:06 +0000 (12:22 +0000)]
unit test to make sure language deletion works as expected

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847452

17 years agomake sure to move the last language's translations if a previous language is deleted
Frederik Gladhorn [Fri, 15 Aug 2008 12:11:19 +0000 (12:11 +0000)]
make sure to move the last language's translations if a previous language is deleted

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847446

17 years agoFixes a crash (when wordType() is null).
David Capel [Thu, 14 Aug 2008 11:44:34 +0000 (11:44 +0000)]
Fixes a crash (when wordType() is null).

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847006

17 years agoFix to a nasty Bug.
David Capel [Wed, 6 Aug 2008 08:24:35 +0000 (08:24 +0000)]
Fix to a nasty Bug.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=842902

17 years agoI applied Eckhard patch.
Carsten Niehaus [Tue, 5 Aug 2008 16:49:51 +0000 (16:49 +0000)]
I applied Eckhard patch.

Yukiko, could you please test if this is fixed now? The fix will be in
KDE 4.1.1 and 4.2.0 (or in SVN as of now in case you compile KDE
yourself).

Sorry that the fix took that long...

BUG:142047

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=842624

17 years agoPatch contributed by Eckhart Woerner. Forwardport of r842612.
Carsten Niehaus [Tue, 5 Aug 2008 16:29:22 +0000 (16:29 +0000)]
Patch contributed by Eckhart Woerner. Forwardport of r842612.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=842615

17 years agoFixing the order of the glossary.
Carsten Niehaus [Mon, 4 Aug 2008 10:05:04 +0000 (10:05 +0000)]
Fixing the order of the glossary.

Also increasing the versionnumber.

BUG:167785

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=841888

17 years agomake const overload work - msvc happyness++
Frederik Gladhorn [Fri, 1 Aug 2008 20:57:31 +0000 (20:57 +0000)]
make const overload work - msvc happyness++

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=840798

17 years agoBug fix.
David Capel [Fri, 1 Aug 2008 05:48:55 +0000 (05:48 +0000)]
Bug fix.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=840421

17 years agomy gsoc commits to parley;-)
Patrick Spendrin [Thu, 31 Jul 2008 20:46:55 +0000 (20:46 +0000)]
my gsoc commits to parley;-)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=840299

17 years agoUus had the wrong date and the default value for "ancient" elements is
Carsten Niehaus [Thu, 31 Jul 2008 11:26:45 +0000 (11:26 +0000)]
Uus had the wrong date and the default value for "ancient" elements is
0, not -1.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=840104

17 years agoFixes so everything compiles.
David Capel [Thu, 31 Jul 2008 08:47:30 +0000 (08:47 +0000)]
Fixes so everything compiles.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=839961

17 years agoFurther consolidation of enums.
David Capel [Thu, 31 Jul 2008 07:07:55 +0000 (07:07 +0000)]
Further consolidation of enums.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=839941

17 years agomake KEduVocDocument::indexOfIdentifier const
Frederik Gladhorn [Wed, 30 Jul 2008 19:34:39 +0000 (19:34 +0000)]
make KEduVocDocument::indexOfIdentifier const
CCMAIL: avgoustinos.kadis@kdemail.net

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=839773

17 years agopedantic--
Dirk Mueller [Wed, 30 Jul 2008 11:48:02 +0000 (11:48 +0000)]
pedantic--

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=839602

17 years agoNOTE: Breaks binary compatibility. Make sure to make install after you make this.
David Capel [Wed, 30 Jul 2008 08:07:53 +0000 (08:07 +0000)]
NOTE: Breaks binary compatibility. Make sure to make install after you make this.

This consolidates various enums of word properties into one: KEduVocWordFlags

This stores the following sets of properties:
Number
Part of Speech
Gender
Definiteness
Regularity
Phrase (if it is actually a phrase and not a word)

Others may come later, but those work for now.

Instead of having functions accept multiple parameters for each type (gender, number, etc), they accept one KEduVocWordFlags parameter.
You can pass as many flags as you want by bitwise ORing (a|b) them together, similar to how Qt accepts various flags. QFlags is a handy helper class that does
this magic for us.

This implementation has the following benefits over the previous one:
(The previous had multiple enums floating around in various classes, new combinations were frequently made by making a new enum entry.)
* All the flags are in one place, instead of scattered and duplicated.
* You only need to set the flags you care about -- no dummy parameter-filling flags needed.
* We can extend the flags without breaking binary compatibility.
* It allows optional extra flags like verb regularity.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=839519

17 years agoAdded new function indexOfIdentifier() [no const]
Avgoustinos Kadis [Wed, 30 Jul 2008 07:55:45 +0000 (07:55 +0000)]
Added new function indexOfIdentifier() [no const]

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=839513

17 years agoImplemented indexOfIdentifier() function (in comments). Works only by
Avgoustinos Kadis [Wed, 30 Jul 2008 07:54:22 +0000 (07:54 +0000)]
Implemented indexOfIdentifier() function (in comments). Works only by
removing the const from the function definition. Not sure about binary
compatibility so I didn't remove it.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=839512

17 years agoMerge scripting work from soc-branch.
Frederik Gladhorn [Fri, 25 Jul 2008 21:26:30 +0000 (21:26 +0000)]
Merge scripting work from soc-branch.
Now everything should be up to date, let's close this branch.
CCMAIL: avgoustinos.kadis@kdemail.net

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=837852

17 years ago+ added setModified(true) to functions in KEduVocDocument so the upstream/soc-parley
Avgoustinos Kadis [Mon, 21 Jul 2008 11:02:38 +0000 (11:02 +0000)]
+ added setModified(true) to functions in KEduVocDocument so the
docModified() signal will be emitted in every document change.
+ docModified(bool) emits automatically the
ParleyDocument::documentChanged() signal

svn path=/branches/work/soc-parley/libkdeedu/; revision=835824

17 years agoebn happiness++
Christian Ehrlicher [Mon, 21 Jul 2008 04:40:09 +0000 (04:40 +0000)]
ebn happiness++

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=835710

17 years agomerge soc branch into trunk
Frederik Gladhorn [Sun, 20 Jul 2008 19:28:24 +0000 (19:28 +0000)]
merge soc branch into trunk

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=835561

17 years agoFix potential mem leak
Laurent Montel [Sun, 20 Jul 2008 15:31:14 +0000 (15:31 +0000)]
Fix potential mem leak

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=835439

17 years agosmall updates from trunk
Frederik Gladhorn [Sun, 20 Jul 2008 11:48:15 +0000 (11:48 +0000)]
small updates from trunk

svn path=/branches/work/soc-parley/libkdeedu/; revision=835288

17 years agoa few warnings less
Anne-Marie Mahfouf [Sun, 13 Jul 2008 08:54:53 +0000 (08:54 +0000)]
a few warnings less

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=831738

17 years agoremove translations from their leitner box when deleting them (fix one leitner crash)
Frederik Gladhorn [Thu, 3 Jul 2008 19:21:03 +0000 (19:21 +0000)]
remove translations from their leitner box when deleting them (fix one leitner crash)

svn path=/branches/work/soc-parley/libkdeedu/; revision=827781

17 years agomerge trunk (fixes a memleak and xsl dep)
Frederik Gladhorn [Sun, 29 Jun 2008 09:38:28 +0000 (09:38 +0000)]
merge trunk (fixes a memleak and xsl dep)

svn path=/branches/work/soc-parley/libkdeedu/; revision=825740

17 years agocheck for invalid lesson number in vokabeln.de reader. v4.0.98 v4.1.0
Frederik Gladhorn [Sun, 29 Jun 2008 00:35:30 +0000 (00:35 +0000)]
check for invalid lesson number in vokabeln.de reader.
does this fix anything?
CCBUG: 165088

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=825695

17 years agoonly create boxes when creating a new doc
Frederik Gladhorn [Sun, 29 Jun 2008 00:13:42 +0000 (00:13 +0000)]
only create boxes when creating a new doc

svn path=/branches/work/soc-parley/libkdeedu/; revision=825687

17 years agoalso write these little leitner beasties
Frederik Gladhorn [Sat, 28 Jun 2008 23:57:54 +0000 (23:57 +0000)]
also write these little leitner beasties

svn path=/branches/work/soc-parley/libkdeedu/; revision=825675

17 years agoMove a lot of stuff around to get Leitner Boxes functionallity in there.
Frederik Gladhorn [Sat, 28 Jun 2008 23:33:54 +0000 (23:33 +0000)]
Move a lot of stuff around to get Leitner Boxes functionallity in there.
Leitner Boxes are read now and their contents is displayed in the main view.
Crashes on exit. (need to investigate)
Not written yet.

svn path=/branches/work/soc-parley/libkdeedu/; revision=825666

17 years agokvt->parley and warn about bic in apidox
Frederik Gladhorn [Sat, 28 Jun 2008 21:45:40 +0000 (21:45 +0000)]
kvt->parley and warn about bic in apidox

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=825632

17 years agostart implementing leitner box stuff
Frederik Gladhorn [Sun, 22 Jun 2008 23:32:50 +0000 (23:32 +0000)]
start implementing leitner box stuff

svn path=/branches/work/soc-parley/libkdeedu/; revision=823303

17 years agolanguage editing fix (r821561)
Frederik Gladhorn [Tue, 17 Jun 2008 20:33:14 +0000 (20:33 +0000)]
language editing fix (r821561)

svn path=/branches/work/soc-parley/libkdeedu/; revision=821565

17 years agoNice catch Avgoustinos! v4.0.83
Frederik Gladhorn [Tue, 17 Jun 2008 20:21:24 +0000 (20:21 +0000)]
Nice catch Avgoustinos!
And in time for 4.1.
Editing languages should work now.
 - after adding and then immediately removing a language one of the existing languages would be blown away
 - reload the languages after they have been changed
CCMAIL: parley-devel@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=821561

17 years agoAdd Remove Grades to menu
Frederik Gladhorn [Sun, 15 Jun 2008 18:56:54 +0000 (18:56 +0000)]
Add Remove Grades to menu
adds two strings approved by kde-i18n-doc

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=820908

17 years agomerge trunk
Frederik Gladhorn [Sun, 15 Jun 2008 16:38:33 +0000 (16:38 +0000)]
merge trunk

svn path=/branches/work/soc-parley/libkdeedu/; revision=820874

17 years agoadd action to remove grades
Frederik Gladhorn [Sun, 15 Jun 2008 13:46:15 +0000 (13:46 +0000)]
add action to remove grades

svn path=/branches/work/soc-parley/libkdeedu/; revision=820806

17 years agodebug--
Frederik Gladhorn [Sun, 15 Jun 2008 12:53:11 +0000 (12:53 +0000)]
debug--

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=820787

17 years agomerge trunk copy stuff
Frederik Gladhorn [Sun, 15 Jun 2008 12:43:43 +0000 (12:43 +0000)]
merge trunk copy stuff

svn path=/branches/work/soc-parley/libkdeedu/; revision=820783

17 years agoCopy and paste word types.
Frederik Gladhorn [Sat, 14 Jun 2008 13:32:54 +0000 (13:32 +0000)]
Copy and paste word types.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=820483

17 years agoTag element as Devel
Laurent Montel [Sun, 8 Jun 2008 19:06:36 +0000 (19:06 +0000)]
Tag element as Devel

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=818545

17 years agomore merging
Frederik Gladhorn [Wed, 4 Jun 2008 11:38:51 +0000 (11:38 +0000)]
more merging

svn path=/branches/work/soc-parley/libkdeedu/; revision=816628

17 years agomerge in trunk
Frederik Gladhorn [Wed, 4 Jun 2008 11:05:42 +0000 (11:05 +0000)]
merge in trunk

svn path=/branches/work/soc-parley/libkdeedu/; revision=816610

17 years agoRe: Wrong translator's comment for libkdeedu
Frederik Gladhorn [Sun, 1 Jun 2008 11:22:35 +0000 (11:22 +0000)]
Re: Wrong translator's comment for libkdeedu
Fix cardinal and ordinal mixup.
Thank you Karl Ove Hufthammer!
CCMAIL: kde-i18n-doc@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=815179

17 years agominor cleanup, apidox
Frederik Gladhorn [Wed, 28 May 2008 13:18:09 +0000 (13:18 +0000)]
minor cleanup, apidox

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=813681

17 years agoadd missing const
Frederik Gladhorn [Wed, 28 May 2008 13:18:07 +0000 (13:18 +0000)]
add missing const

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=813680

17 years agoadd todo for the doc lib
Frederik Gladhorn [Wed, 28 May 2008 13:18:00 +0000 (13:18 +0000)]
add todo for the doc lib

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=813679

17 years agoKrazy fix (typo).
Peter Hedlund [Tue, 27 May 2008 22:00:06 +0000 (22:00 +0000)]
Krazy fix (typo).

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=813514

17 years agomerge trunk
Frederik Gladhorn [Sat, 24 May 2008 20:01:03 +0000 (20:01 +0000)]
merge trunk

svn path=/branches/work/soc-parley/libkdeedu/; revision=812200

17 years agoall the subdirs should be built, unconditionally.
Allen Winter [Thu, 22 May 2008 14:14:46 +0000 (14:14 +0000)]
all the subdirs should be built, unconditionally.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=811175

17 years agoOnly write personal pronoun tags when not empty. v4.0.80
Frederik Gladhorn [Sat, 17 May 2008 13:37:35 +0000 (13:37 +0000)]
Only write personal pronoun tags when not empty.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=808764

17 years agomerge trunk to soc branch
Frederik Gladhorn [Sat, 17 May 2008 12:05:44 +0000 (12:05 +0000)]
merge trunk to soc branch

svn path=/branches/work/soc-parley/libkdeedu/; revision=808713

17 years agoFix: delete of entries that had a wort type associated would kill the whole show.
Frederik Gladhorn [Sat, 17 May 2008 11:44:10 +0000 (11:44 +0000)]
Fix: delete of entries that had a wort type associated would kill the whole show.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=808709

17 years agoImplement copy, cut and paste.
Frederik Gladhorn [Sat, 17 May 2008 11:43:46 +0000 (11:43 +0000)]
Implement copy, cut and paste.
Vocabulary is now copied including grades, conjugations etc.
Not copied are synonym, antonym and false friend.
Some cleanup of the copy constructors of expression/translation to get copies right.
Fix deletion of entries.

Testing appreciated :)

CCMAIL: parley-devel@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=808703

17 years agoFix mem leak
Laurent Montel [Fri, 9 May 2008 07:24:52 +0000 (07:24 +0000)]
Fix mem leak

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=805689

17 years agoupdate branch
Frederik Gladhorn [Sun, 27 Apr 2008 18:12:51 +0000 (18:12 +0000)]
update branch

svn path=/branches/work/soc-parley/libkdeedu/; revision=801784

17 years agorespect color prefs in statistics
Frederik Gladhorn [Sat, 26 Apr 2008 23:21:53 +0000 (23:21 +0000)]
respect color prefs in statistics

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801593

17 years agoremove debug
Frederik Gladhorn [Sat, 26 Apr 2008 23:21:48 +0000 (23:21 +0000)]
remove debug

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801591

17 years agostatistics for all languages included now
Frederik Gladhorn [Sat, 26 Apr 2008 21:57:03 +0000 (21:57 +0000)]
statistics for all languages included now

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801578

17 years agoremove debug
Frederik Gladhorn [Sat, 26 Apr 2008 21:06:33 +0000 (21:06 +0000)]
remove debug

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801572

17 years agodo not use .values on foreach, foreach is smart enough to work on values and saves...
Albert Astals Cid [Sat, 26 Apr 2008 15:38:18 +0000 (15:38 +0000)]
do not use .values on foreach, foreach is smart enough to work on values and saves you an "expensive" call

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801422

17 years agoMassively fix conjugations - writing would bork them.
Frederik Gladhorn [Sat, 26 Apr 2008 14:57:37 +0000 (14:57 +0000)]
Massively fix conjugations - writing would bork them.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801407

17 years agoMassive speedup in word type view - cache entries in the container - otherwise modelv...
Frederik Gladhorn [Sat, 26 Apr 2008 14:57:34 +0000 (14:57 +0000)]
Massive speedup in word type view - cache entries in the container - otherwise modelview is pretty much unusable.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801406

17 years agoupdate the soc branch to include the latest trunk greatness
Frederik Gladhorn [Sat, 26 Apr 2008 11:15:00 +0000 (11:15 +0000)]
update the soc branch to include the latest trunk greatness

svn path=/branches/work/soc-parley/libkdeedu/; revision=801328

17 years agoless warnings
Albert Astals Cid [Fri, 25 Apr 2008 20:18:05 +0000 (20:18 +0000)]
less warnings

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=801159

17 years agoMerged revisions 799235-799546 via svnmerge from
Frederik Gladhorn [Mon, 21 Apr 2008 20:34:24 +0000 (20:34 +0000)]
Merged revisions 799235-799546 via svnmerge from
svn+ssh://gladhorn@svn.kde.org/home/kde/trunk/KDE/kdeedu

........
  r799238 | sengels | 2008-04-20 23:49:09 +0200 (Sun, 20 Apr 2008) | 3 lines

  make the option useful (it was behind the actual code using it)
  fix one typo
........
  r799268 | sengels | 2008-04-21 00:47:50 +0200 (Mon, 21 Apr 2008) | 1 line

  fix missing tiles directory
........
  r799274 | sengels | 2008-04-21 01:08:38 +0200 (Mon, 21 Apr 2008) | 4 lines

  patch by jm:
  This patchs removes the parameter of MapThemeManager::findMapThemes because it
  is constant ("maps/"). Removes redundant occurrence of literal "maps/" inside, too.
  CCMAIL: jensmh@gmx.de
........
  r799278 | sengels | 2008-04-21 01:24:37 +0200 (Mon, 21 Apr 2008) | 1 line

  CMAKE delivers QT_PLUGIN_PATH as QT_PLUGINS_DIR
........
  r799284 | sengels | 2008-04-21 01:52:30 +0200 (Mon, 21 Apr 2008) | 1 line

  make it easier to build only specific libraries
........
  r799287 | sengels | 2008-04-21 02:05:53 +0200 (Mon, 21 Apr 2008) | 3 lines

  patch by jm:
  Move code from MapThemeManager::findMapThemes that is duplicated for local (.marble) and system (kde/share/apps/marble) directories to overloaded helper method.
........
  r799328 | annma | 2008-04-21 10:29:29 +0200 (Mon, 21 Apr 2008) | 2 lines

  use entities as we are Monday
........
  r799331 | repinc | 2008-04-21 10:39:48 +0200 (Mon, 21 Apr 2008) | 2 lines

  Step objects info work from last week.
........
  r799367 | jordipolo | 2008-04-21 13:26:13 +0200 (Mon, 21 Apr 2008) | 4 lines

  Test till 100 so we got to the range of 10ms in most systems (currently real results can be hidden by the accurary of the system)
  When I did that I got results from 27ms to 37ms. Adding 2 more tests helps lowering the jitter (52-57).
........
  r799379 | gladhorn | 2008-04-21 14:12:07 +0200 (Mon, 21 Apr 2008) | 2 lines

  Add an author contact info field - this will ease the creation of kns2 meta data directly from the xml.
........
  r799380 | gladhorn | 2008-04-21 14:12:09 +0200 (Mon, 21 Apr 2008) | 2 lines

  better match xsl and what we produce in xml
........
  r799381 | gladhorn | 2008-04-21 14:12:12 +0200 (Mon, 21 Apr 2008) | 2 lines

  add file->export action
........
  r799382 | gladhorn | 2008-04-21 14:12:14 +0200 (Mon, 21 Apr 2008) | 4 lines

  clean up the export stuff
  *show a KFileDialog to select the file
  *use either libkdeedu (*.csv) or the new xsl stuff for export
........
  r799383 | gladhorn | 2008-04-21 14:12:16 +0200 (Mon, 21 Apr 2008) | 2 lines

  use the right ui file
........
  r799388 | gladhorn | 2008-04-21 14:34:40 +0200 (Mon, 21 Apr 2008) | 2 lines

  no need to crash on empty expressions
........
  r799389 | gladhorn | 2008-04-21 14:34:56 +0200 (Mon, 21 Apr 2008) | 2 lines

  Add the author contact (email) field to doc properties.
........
  r799391 | gladhorn | 2008-04-21 14:52:32 +0200 (Mon, 21 Apr 2008) | 2 lines

  tooltip fix
........
  r799410 | gladhorn | 2008-04-21 16:01:31 +0200 (Mon, 21 Apr 2008) | 2 lines

  Create the xml from the document in memory using qbytearray instead of needing to read from disk which would fail when not using kvtml2 and also needed a saved document to work.
........
  r799421 | gladhorn | 2008-04-21 16:10:11 +0200 (Mon, 21 Apr 2008) | 2 lines

  add forgotten files and only export when a filename is selected.
........
  r799430 | metellius | 2008-04-21 16:37:38 +0200 (Mon, 21 Apr 2008) | 2 lines

  Made Search Anywhere work for words, not only kanji. Updated match anywhere action
........
  r799432 | winterz | 2008-04-21 16:38:47 +0200 (Mon, 21 Apr 2008) | 2 lines

  use fullpath to tilecreator, else build fails for some folks.
........
  r799433 | sengels | 2008-04-21 16:45:59 +0200 (Mon, 21 Apr 2008) | 2 lines

  patch by jm:
  Remove extra semicolons.
........
  r799445 | metellius | 2008-04-21 17:16:07 +0200 (Mon, 21 Apr 2008) | 2 lines

  Fixed a bug where words have a word but no reading
........
  r799449 | sengels | 2008-04-21 17:25:48 +0200 (Mon, 21 Apr 2008) | 4 lines

  patch by jm:
  - Don't allocate local GeoSceneParser variable dynamically.
  - Remove useless null check.
........
  r799486 | sengels | 2008-04-21 19:00:26 +0200 (Mon, 21 Apr 2008) | 4 lines

  patch by jm:
  - Remove unused local variable.
  - Remove pointless delete.
........
  r799495 | chehrlic | 2008-04-21 19:33:11 +0200 (Mon, 21 Apr 2008) | 1 line

  the long command line problem with mingw no longer exists - remove it as it only make trouble with cmake 2.6. See also kdegraphics/kolourpaint
........

svn path=/branches/work/soc-parley/libkdeedu/; revision=799547

17 years agoCreate the xml from the document in memory using qbytearray instead of needing to... v4.0.71
Frederik Gladhorn [Mon, 21 Apr 2008 14:01:31 +0000 (14:01 +0000)]
Create the xml from the document in memory using qbytearray instead of needing to read from disk which would fail when not using kvtml2 and also needed a saved document to work.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=799410

17 years agono need to crash on empty expressions
Frederik Gladhorn [Mon, 21 Apr 2008 12:34:40 +0000 (12:34 +0000)]
no need to crash on empty expressions

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=799388

17 years agoAdd an author contact info field - this will ease the creation of kns2 meta data...
Frederik Gladhorn [Mon, 21 Apr 2008 12:12:07 +0000 (12:12 +0000)]
Add an author contact info field - this will ease the creation of kns2 meta data directly from the xml.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=799379

17 years agomake it easier to build only specific libraries
Patrick Spendrin [Sun, 20 Apr 2008 23:52:30 +0000 (23:52 +0000)]
make it easier to build only specific libraries

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=799284

17 years agoPlease EBN a tad
Matt Williams [Sun, 13 Apr 2008 00:20:18 +0000 (00:20 +0000)]
Please EBN a tad

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=796174

17 years agoMake sure entries are loaded and displayed in the order they are stored.
Peter Hedlund [Fri, 11 Apr 2008 17:11:55 +0000 (17:11 +0000)]
Make sure entries are loaded and displayed in the order they are stored.

The use of QSet made the order of expression items unspecified, i.e. random.
QSet is used elsewhere in the library. I will leave it to Frederik to review such code.

CCMAIL:frederik.gladhorn@gmx.de

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=795864

17 years agoRevert the last change for legal reasons. The involved people have been notified.
Carsten Niehaus [Sat, 29 Mar 2008 14:39:25 +0000 (14:39 +0000)]
Revert the last change for legal reasons. The involved people have been notified.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=791429

17 years agoClean up expression constructor and setting the lesson for an entry.
Frederik Gladhorn [Thu, 27 Mar 2008 00:18:50 +0000 (00:18 +0000)]
Clean up expression constructor and setting the lesson for an entry.
No need to crash when reassigning to a different lesson ;)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=790613

17 years agoChange Expression: allow them to be in only one lesson.
Frederik Gladhorn [Thu, 27 Mar 2008 00:18:34 +0000 (00:18 +0000)]
Change Expression: allow them to be in only one lesson.
There are only small advantages and too much confusion otherwise.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=790609

17 years agoinstall the headers of libscience
Patrick Spendrin [Wed, 26 Mar 2008 22:16:51 +0000 (22:16 +0000)]
install the headers of libscience
CCMAIL:cniehaus@gmx.de

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=790545

17 years agoFix csv import (bug 159053).
Frederik Gladhorn [Mon, 24 Mar 2008 13:44:57 +0000 (13:44 +0000)]
Fix csv import (bug 159053).

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789507

17 years agoEnable CSV export again.
Frederik Gladhorn [Mon, 24 Mar 2008 12:39:16 +0000 (12:39 +0000)]
Enable CSV export again.
(must have been forgotten while merging the branch)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789494

17 years agoFix reading of some kde3 kvtml1 docs.
Frederik Gladhorn [Sun, 23 Mar 2008 14:58:58 +0000 (14:58 +0000)]
Fix reading of some kde3 kvtml1 docs.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789195

17 years agoAlso show the new docks in the menu.
Frederik Gladhorn [Sun, 23 Mar 2008 11:02:35 +0000 (11:02 +0000)]
Also show the new docks in the menu.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789135