This is really a work branch now.
Start the rewrite of the table model and lesson model.
The table now contains all single line things, the other editing will use dock widgets.
Nothing works.
Both models are not editable yet.
Rewrite of the lesson part of the lib - now there is one root lesson containing the world.
Another time crash and burn...
Reverted changes made earlier today - and I added the workaround in the root file as described in kde-buildsystem - please tell me again if this should go somewhere else 2/3
Add a xsl/xslt stylesheet that can be used to transform kvtml-xml to html.
So far it only creates a simple table with all vocabulary entries.
This will hopefully be a nice comfortable solution for printing some day.
Jason Harris [Tue, 30 Oct 2007 06:13:14 +0000 (06:13 +0000)]
Fixing bug #151302. Our implementation of weekNumber() was far too
simplistic. It now conforms to ISO 8601. Thank you for discovering
the problem! Also applied to the 3.5 branch.
In agreement with Peter I removed the leitner system implementation from libkdeedu.
- It was never completed
- It was used in none of our apps, only KWQ had some unfinished functions for it
This does not solve the Leitner implementation problem.
My current plan:
* Have a Leitner implementation in KDE 4.1
* Use the lesson class as leitner boxes
- since kvtml2 entries can be in multiple lessons, no need to reinvent the wheel
- have svg boxes to display the current state if possible
Details are still to be decided and this is just an idea.
KWordQuiz and Parley should share the implementation.
Cleanup conjugations.
Verify for conjugations is much improved and basically works.
Problems:
- you have to get all conjugations in all selected tenses right at the same time to have it count as correct.
- statistics are not considered when selecting the verbs (need grades for conjugations I guess)
- line edits that stay empty are now hidden, their labels not
Use the index from the Conjugation class in the conjugation practice for the line edits.
Much cleaner less redundant code.
Change from totaly unusable to actually somewhat working.
Askes the tenses chosen in the config and actually should even ask one tense after the other.
Cleanup and improve the vokabeln reader.
Original patch by Ilja.
> This patch should make possible to open .voc with longer header. (e.g.
> http://www.vokabeln.de/v1/download/GB_Technik.zip).
> KEduVocDocument::setDocumentComment changed to allow to insert
> multiline file comments from .voc files.
CCMAIL: iljuss@gmail.com
Read plural pronouns correctly from old docs.
Add isEmpty() to conjugations.
Attempt to make conjugations a little less broken:
- empty conjugations are ignored
- a stringlist contains possible tenses to practice
- for now only the first not empty tense is practiced
Add combobox to select special types (like noun) for a work type.
This empowers the mighty user to have even multiple noun types, each with subtypes.
Localization of the specialtypes is not implemented yet.
This breaks ABI since I removed an old debug call from the lib.
Added setSpecialType calls.
Add a real personal pronoun class. It contains if male/female/neuter conjugations exist.
Add methods to read/write personal ps.
Rewrite conjugation to use enums.
Redo the dialogs for entry conjugation and articles. Much simpler and nicer now.
Conjugation practice does not work yet.
Make declination class compile, not used still.
Don't pass the domDoc countless times in the kvtml-1 writer, it's a member now.
Adapt readers/writers, the kvtml-1 writer needs care, it will not work correctly.
Rewrite of the article class with enums.
Port parley.
Adapt CMakeLists.txt as discussed with Alex.
KDE4_ADD_TEST_EXECUTABLE is deprecated now use KDE4_ADD_EXECUTABLE(<target> TEST <files>) instead
QT4_ADD_DBUS_INTERFACE_NO_NAMESPACE and QT4_ADD_DBUS_INTERFACES_NO_NAMESPACE are deprecated too
used SET_SOURCE_FILES_PROPERTIES(<files> PROPERTIES NO_NAMESPACE TRUE) QT4_ADD_DBUS_INTERFACES(<srcList> <files>)
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) is put in each CMakeLists.txt where
KDE4_ADD_EXECUTABLE(<target> TEST <files>) and KDE4_ADD_UNIT_TEST were used.
Rewrite the article class using enums, only one get/set function is needed now.
So far we only read/write singular. But support is there for plural and dual.
Deprecated old constructor with arguments, but leave it for now, since porting will take some time.
This breaks compability with articles in kvtml2 docs!
Port parley to use that stuff.
Better url handling for sound/image.
Use KUrl internally, only save as relative path, when the sound/image is in the same or a subdir of the document.
Move handling of relative urls into the lib.
Remove irregular plural tags in favour of a real declination class (not used currently). This will also allow support for plurals and dual forms correctly.
The article class still had get/set natural instead of neutral as functions.
Make the article test work so far.
Only wrong answers don't count as wrong right now. (Before the dialog showed up and was completely disabled).
Make the grammar practice selection much better.
In the config dialog one can check the grammar tests to use now. This also allows for adverb (mixed with adjective or alone) tests.
Give the doc default grammar when using the wizard.
Rewrite the type for test selection funtion as checkType.
Deprecate a function that probably doesn't work, esp if multiple word types are allowed to share a special type.
BUG: 106451
Add the first real unit test:
Create a doc, write it to a temp file and read it again. Tests for the easy tags: author, title, comment, license and category.
Remove all gui elements from keduvocdocument.
This means that when opening a document fails, the apps have to check for the return value of doc->open().
Added an enum for the errors.
With KEduVocDocument::errorDescription a message can be generated to display to the user.
CCMAIL: peter@peterandlinda.com
Get rid of the m_inQuery for KEduVocExpression.
Only KVoc used to use it and it will just no longer be used.
It had no meaning for quite a while in parley, only confusing things.
The main table now only shows (in)active for the words.
(the chainsaw was here...)