KrossWordPuzzle

Board by fpuelz 165 comments

Yes, I didn't update the version for the about dialog. The changes were so small, that I forgot about that. I should write a small script, to test if I forgot something (again) ;) - Oct 23 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Yes, sorry. That's the faulty ark-version again on KDE 4.3.1. I couldn't get it to do it right. And my other machine had problems with it's BIOS (stupid BIOS didn't detect the HDD after installing Win7 and then reinstalling GRUB... I flashed it now with a newer BIOS, was complicated to get there, flashed from vista setup using a USB stick...). But now the machine boots again and I can build a better archive :) Yeah! - Oct 22 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Ah ok, when you commented it out it's not so strange to me anymore ;) But it says me that my Qt version checks doesn't work at all.
I have now uploaded version 0.11.3, there should be no more compile issues. I just tested it with Qt 4.5.3 and KDE 4.3 on another machine and it compiles perfectly again now :)
That's what I will do now before every new release. Sorry for the complications!!

But I want to have the new code for Qt 4.6 for me (and you later) and for the KDE SVN (I'm too excited about QtKinetic ;)). And having that code in the same files is much easier than having all files two times. I just need to test it and I will do it from now on ;) - Oct 22 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Sorry! That was because I had some mistake in a check for the Qt version. But I just uploaded version 0.11.3. I checked it with Qt 4.5.3 and KDE 4.3 and it compiles :) - Oct 22 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Strange, for Qt<4.6 QGraphicsObject shouldn't be used, because of the preprocessor switches. Did you comment out the Q_INTERFACES lines and then got these errors?
Maybe something is wrong with my Qt version checks..
I will try to compile it using Qt 4.5. - Oct 21 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hm.. I don't know why the preprocessor switch doesn't work. The error stayed the same.
Please comment out this line in krossword.h (line 85) and krosswordcell.h (line 68):
Q_INTERFACES( QGraphicsItem )

It should look like this:
#if QT_VERSION >= KDE_MAKE_VERSION(4,6,0)
Q_INTERFACES( QGraphicsItem )
#endif

Looks like qt's moc ignores the preprocessor switch. - Oct 21 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Corrected in version 0.11.2.
I forgot to add preprocessor switches for the new QGraphicsItem-Interface for Qt 4.6. For me it complained about missing interfaces, because I'm now using Qt 4.6 ;) Sorry about that.
Hopefully it compiles again with Qt 4.5.x now. - Oct 21 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Ok, corrected.
The KToolBar-constructor I used was instroduced with KDE 4.3, now I'm using a KDE 4.2-one. - Oct 14 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Sorry...! The same error again. - Oct 14 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Ah, I just found out what's wrong. I did a test-build. And that was included in the source archive :( So it was too big (~5MB). But there was no error message...
But now it's uploaded, sorry ;) - Oct 09 2009
KrossWordPuzzle

Board by fpuelz 165 comments

I found the cause for the error. It's in your crossword, the clue "God" has a wrong orientation, it should be vertical. Horizontal is wrong, because the answer overwrites an existing answer of another clue. This error wasn't checked before 0.8.3...
And with 0.8.3 it just stops reading your file when there's an error. That's because errors from the XML reader aren't shown when reading compressed XMLs. I fixed it for the next version. Normally it then doesn't open your crossword at all, but I changed it to open the crossword with all read correct clues. In my current development version it doesn't show an error message for incorrect clues. I will add that later.

For now you can extract the "crossword.kwp"-XML-file from your "esben1.kwpz" (using Ark for example). Then open the XML-file and change the orientation of the clue manually (replace "horizontal" with "vertical" in the <clue>-tag of the "God"-clue). Then save the XML and open it with the game. You can then save it again to "esben1.kwpz" and the file is fixed :)

Currently I'm trying to implement "double clue cells", which are cells that have two clue cells as child items. When that's ready I will upload the new version, which will be 0.9 I think (bigger new feature: double clue cells :)). - Oct 08 2009
KrossWordPuzzle

Board by fpuelz 165 comments

The game needs documentation, the keyboard input isn't too obvious I think. You can also click on a letter cell again, to switch to the other clue. And you can use pos1-/end-keys to go to the first/last letter of the current clue. Navigation through the crossword is possible using the arrow keys.
The clue properties action is new in version 0.8.3 and also appears in the edit menu. I wonder why I didn't list that in the TODO list ;)
If you have ideas for new features, tell me :) - Oct 07 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Great! :)

With the new version you can change all properties of existing clues. It uses the same dialog used for adding new clues. So you can make the answer longer/shorter or change the position of the first letter of the answer.
But what do you mean with "only one clue/cell is supported". Each letter cell stores a pointer to a horizontal and a vertical clue cell. You can use the tab-key to switch between both, when a letter cell has focus.
But it was indeed possible to add a clue which answer goes "over" the answer of another clue with the same orientation. This is no longer possible, maximally two clues per letter cell are allowed. - Oct 07 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hi! I just found out that the PCLinuxOS-link didn't work anymore. Then I found a package for version 0.8 for PCLinuxOS (in the same directory) :) I updated the link.
You should now be able to install the newer version. - Oct 06 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hi and thanks for the package!
There is support for clues inside the grid since the first version ;) I did this to write german crosswords. But the downloadable PUZ-files are all american/british crosswords.. There are currently no swedish/german crossword files available for the game. But you could create some :) That would be great! Just use the edit mode (edit menu > enable edit mode), then you can add clues and define the position of the first answer letter to something like 'right', 'bottom', 'bottom-right'. This will create a clue cell with the clue text inside the grid and the answer letter cells starting at the given offset. Then save it to *.kwp (XML) or *.kwpz (compressed XML).
You could create *.kwp-files from existing swedish crosswords. But be sure to not get into copyright conflicts.
- Oct 05 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Ok updated, sorry. I had some problems accessing the site.
Maybe that also killed my Contributions-text.. - Oct 01 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Good idea :) I have implemented an eraser tool for the next version (0.7.10, which I will upload after sending this comment). You can turn the eraser on/off and click letter cells to erase them. This also works in edit mode to erase correct letters.
I also added new popup menu entries for clearing letters/answers.

Do you have other ideas/wishes? Feel free to post them. I'll see if I can implement them. - Oct 01 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Did you ask for the SVN repo to contribute code or just to have the latest version? Because you need a KDE SVN account to upload to the SVN repository..
I requested an account to upload my public transport plasmoid (http://kde-look.org/content/show.php?content=106175). Here are some informations to get an account: http://techbase.kde.org/Contribute/Get_a_SVN_Account. But maybe that's too much, if you only want to do some little changes. But feel free to send me patches, in case you don't want/have such an account :) - Sep 30 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Thanks, I haven't noticed that!
I only needed to add a '!' to correct it... In the next version you will be able to erase again.
Do you want more "backspace functionality"? What do you mean with that? I could add popup menu entries, to clear cells / answers. Just as the ones to solve cells / clues. - Sep 30 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Ah, then it works for me because I'm currently using KDE 4.3.69 (openSuse unstable), sorry. I was viewing KDE 4.4 API...
I will change the switch so that you only have to uncomment the line if you're using trunk. In the next version.
Thanks! - Sep 30 2009
KrossWordPuzzle

Board by fpuelz 165 comments

I forgot some lines for the KDE 4.2 compilation switch (it's 7 lines for 4.2 vs. one line for 4.3 ;)).
But now it should work. - Sep 29 2009
KrossWordPuzzle

Board by fpuelz 165 comments

I checked the API for KDE 4.2. It's not possible to use KFileDialog's static method getSaveFileName(...) with having confirmation for overwriting in 4.2.
I added a preprocessor switch to make it compilable with KDE 4.2 in version 0.7.8.1. Just uncomment line 23 of krosswordpuzzle.h (see top of the (new) description of the game here on kde-apps).
Thanks!

Btw, why aren't you using KDE 4.3? - Sep 29 2009
PublicTransport

Plasma 4 Extensions by fpuelz 813 comments

Hm.. Where does cmake give the error? When configuring the applet, the data source or the icons?
And which version of KDE are you using? It's a bit strange, as all the CMakeLists.txt have correct DESTINATIONs. Maybe your build environment isn't correctly setup or you're missing some dev-packages for KDE4.

But this should solve your problem with the 32-bit-deb-package:
Move the file /usr/lib/kde4/plasma_applet_publictransport.so to
/usr/lib64/kde4/plasma_applet_publictransport.so. And also move the data engine file to the lib64-directory. - Sep 29 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hm.. Maybe you should ask in a PCLinuxOS forum. They should be able to tell you which package contains qmake. Maybe these packages contain qmake: pkgutils-kde4 or task-qt4?

I asked texstar, who build a package for KrossWordPuzzle 0.7.2 to update it to 0.7.7.
Then you can just install that package. - Sep 28 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hi! Could you update the package to KrossWordPuzzle 0.7.7? That would be great :)
d3f3nd3r tried to build it, but had some packages missing. I tried to help, but the last thing missing so far was qmake. Do you know which package contains qmake in PCLinuxOS?
Thanks! - Sep 28 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Thanks for the bug report! I corrected it for the next version. - Sep 28 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Did it work now? - Sep 28 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Great :)
And thanks for reporting the bug! - Sep 26 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Maybe it's in qt4-dev-tools for PCLinuxOS? Try searching google if not ;)
apt-file search qmake may give you the correct package name (if that's used in PCLinuxOS). - Sep 25 2009
KrossWordPuzzle

Board by fpuelz 165 comments

For me it's in libqt4-devel. - Sep 25 2009
KrossWordPuzzle

Board by fpuelz 165 comments

I found someone having the same problem with QtCurve. He had a solution:

Change line 52 in src/krosswordpuzzle.cpp
#include <KFileWidget>
to
#include <kfilewidget.h>

Maybe they've forgotten it before 4.3...
But that should work. I changed it for the next version, so that it will compile for KDE < 4.3. - Sep 25 2009
KrossWordPuzzle

Board by fpuelz 165 comments

You need the kde-games-libs dev-package, on openSuse it's called "libkdegames4-devel". - Sep 25 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Seems that you are missing the development packages for KDE4?
It also says you don't have a valid C++ compiler set, but maybe it's because of the missing cmake-files of KDE4.
You need to install those packages to compile the game. They have a name like libkde4-dev. I don't know exactly which packages are needed..
Which distribution are you using? - Sep 25 2009
KrossWordPuzzle

Board by fpuelz 165 comments

;) I just added it to KDE's SVN some minutes ago. It's in svn.kde.org/home/kde/trunk/playground/games/krosswordpuzzle/.
Here is the websvn-link: http://websvn.kde.org/trunk/playground/games/krosswordpuzzle/. - Sep 25 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Please try installing more KDE-dev-packages.
For me (using openSuse 11.1) it's in libkde4-devel. You can try searching the package-database for a package containing the file "kfilewidget.h" (I just did that with openSuse's YaST).
Hope that helps - Sep 25 2009
KrossWordPuzzle

Board by fpuelz 165 comments

It already saved the entered letters and also read them from the file when opened again.. I just forgot to set the read letters to the crossword. Thanks for the hint!
I will add an option in the save dialog to decide whether or not to store the current state in the next version.
And an option to automatically open the last edited crossword (will add a configuration dialog). Or maybe an option to open the last crossword if it haven't been completed and show the start page otherwise. - Sep 24 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Ah, and I changed the vertical tabs to become horizontal ones. I just found it looking nice ;) But didn't think too much about readability..
But now there are four tabs and there's also not enough place for the tabs when they're vertical now. - Sep 24 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Thanks for the hints! I fixed many things. The new version (0.7.6) should work much better! Automatic selection of the first answer letter cell after adding a new clue will come in the next version, I was out of time for now.
Sorry for the badly tested 0.7.5 version.. - Sep 24 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Thanks for the hints, I fixed both (and many others ;)). The new version (0.7.6) should work much better!
Sorry for the badly tested 0.7.5 version.. - Sep 24 2009
KrossWordPuzzle

Board by fpuelz 165 comments

There's a much improved version now :) You can save crosswords in puz-format (but there's still an error in some checksums, don't know if AcrossLite will open them?). If you want you can now also print crosswords or export them to PDF. It asks you to save modified / unsaved crosswords, instead of silently discarding them when closing a crossword.
It would be very nice if you could test the newest version :) - Sep 23 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hi!
There's a new version (0.7): The crossword title is now shown in the title bar of the game. Authors, copyright and notes can be viewed in the properties dialog (in edit menu).
Saving of *.puz files will come in a later version, but you can save crosswords in xml format (*.kwp). - Sep 16 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Alright, I changed the link credits.
I think kbuildsycoca needs to be run after install. Maybe the other apps don't use MIME types as filter in the open/save dialogs, and just use the file extension? I don't tell the dialog about the actual file extensions, just the MIME type names. So the app needs the MIME types to be installed. One good thing about this is that translations of the MIME type display names aren't app specific. - Sep 12 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hi!
Yes, the congratulations-text needs to go away.. I will add some buttons to the main view. And a special view, when the app starts and no file is opened. For now, you can only click "New".
When the open dialog doesn't show correct filters, the mime types aren't installed correctly. You need to "sudo make install" and then do "kbuildsycoca4", to read the new mime types.
Thanks for the packages, I will now add the link. - Sep 12 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Thanks, I added a link! - Sep 11 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Yes, it uses KEmoticon for getting emoticon icon names ;)
The background drawing will get better (currently it simply draws the whole background no matter how small the visible area is..).
And I will set the focus to the first letter cell, when a new clues is clicked in the clue dock, good idea :) When changing the item by keyboard (up, down) the focus should stay at the clue dock, I think. I will implement that for the next version. - Sep 11 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Yes, that's because it's currently a bit "over-synchronized", when solving all clues. It synchronizes each letter after the other.
I will disable this sync-behaviour when solving and sync it manually afterwards. Then it should be much quicker and look more synchronized ;) - Sep 11 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Great :)
I think I will try out the openSuse BuildService to create distribution-packages to make it easier to install. - Sep 10 2009
KrossWordPuzzle

Board by fpuelz 165 comments

Hm, normally there should be nothing painted in the main view (except for the background) until you open a crossword. Did you "sudo make install" the app? That's important. - Sep 10 2009
KrossWordPuzzle

Board by fpuelz 165 comments

You need a KDE4 development package (with header files), most distributions have one (with "...-dev" or "...-devel").
Or wait until someone creates a package for the app for your distribution ;) - Sep 10 2009
KrossWordPuzzle

Board by fpuelz 165 comments

As the error message says the archive isn't in gzip-format. I had problems compressing it with Ark (it created a weird directory structure in the archive), so I packed it with the shell command. I tried to compress it, but it said it's already in gzip-format.. I think it only tested the extension. Sorry, normally I just use Ark ;)
But Ark should be able to open the archive. Or just don't use the "z"-option for tar, e.g. "tar xvf krosswordpuzzle-0.5.1.tar.gz", that works.
Sorry for that, I will compress it correctly for the next version. - Sep 10 2009