moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kturtle / TODO
blob56165ada13b7f5cce57de02f3a901cd84dd4b6ca
1 This document goes on the BUGs and WISHes that regarding KTurtle
4     CHECKLIST FOR KTURTLE IN KDE 3.4:
6 annma> get some other sprites alternative to the turtle
8  cies> or a better website
10 annma> I would say: hunt bugs
12  cies> i think promotion will be an important part
14 annma> I would say make sure we test kturtle thoroughly
15 annma> remove config, remove installed files and try from scratch
17  cies> more examples? would that pull?
18 annma> more examples are only in en_US at the moment
20 annma> is all the code in the doc working correctly?
21  cies> dint check for a while
22  cies> i changed some syntaxt
23 annma> that is to be checked
25  cies> maybe a contest...
26  cies> best logo script gets in the examples of the next kturtle
27  cies> and get TRANSLATED to many lang.s
28  cies> how does that sound?
29 annma> yes
30  cies> good for a dot story
31 annma> sounds good
41 Chapeters in this documents:
43 BUGs
44  - urgent bugs (small/regular and critical)
45  - big ones (that need losts of work)
46  - regular ones (the phat cocroach type)
47  - small bugs (annoyances that can be considered urgent, ie poisonless musquito's)
48  - unconfirmed
50 WISHes
51  - important WISHes (that are needed for a 1.0 release and help to fulfill kturtles objectives)
52  - less important but nice WISHes
53  - WISHes that still have to be discussed
56        here we go!
59 My [cies] TODO list (in this order!):
60 - the connection with the manual should be fixed (might need a change in kdelibs)  FIXED tnx Waldo!
61 - bug, wishes, errmsgs-fixes concering the interpreter  HAS TO RESULT IN HUGE REFACTORING
62 - spice up the errormessage window with my great ideas  ON HOLD
65   
67 >>>>> BUGs::Urgent
69 cies> currently no urgent bugs that i know of. except for:
70 THERE IS NO HELP ON THE ERROR DIALOG! (nor on the ColorPicker Dialog and the Configure Dlg)
71                 this is needed for help button references
76 >>>>> BUGs::Big
77   - I porbably have to refine the way error message get emitted, problems: Ugly-, short-, technical messages.
79  I'll have to: 
81 - try to break up/refine the most common errors
82 - Reformulate all the error messages after simulating them
83 - have links in there to corresponing help pages --> see WISHes
84 - Maybe more LONGER, desciptive error messages should be triggered by the 'Help on Error", these messages should be stored in/out-side of the executer/parser, but maybe even better, the errormsg file. I18n should then be easy, and it should supply richtext ((k)html) + links to the manual. (this could be in the same dialog)
85 - errmsgs should maybe be filtered since there is quite some garbage in the errors that come back.
86 - possible no newlines in a command this could make the error messages more specific/descriptive. DONE
91 >>>>> BUGs::Regular
92 cies: get all the commands in the logokeywords.*.xml file working properly, and remove the commands that are not needed:
93 Need to work eventually:
94 - input (without window, grabKeyEvents... not easy :)
95 - sprite* (i'll maybe look into this when i have Qt3.3 which fixes the nasty crashbug that came across)
96 - 'speed' will come later [seperate 'move' methods have to be made inaddition to the line methods]
98 would be nice (not in yet):
99 - message, just a dialog with sone user defined text
100 - and a dialog that return a bool (YesNoDlg)
101 - more drawing functions, use directly from QCanvas; like: filled circle, filled square, filled triangle
102 - more expressers: isString, isNumber, isRound
103 - round()
104 - true and fasle as cunfiguarables  ---> in highlightstyle as Fat/grey
106 - <joke> and what about a 'goto' command ( you can never make them mistakes young enough, muahoahoaaaa >:-} ) </joke> well?
109 - use qt-richtext <qt></qt> in dialogs etc.
114 >>>>> BUGs::Small
115 have the slow-execution cursor stop at more places like: inputwindow, inline functions
117 if the inputwindow is canceled the returned value is empty. Yet we need to be a hybrid string ("") or number (0).
119 when aborting execution dont say "Done." in the statusbar
121 Maybe change the location of the Logo highlightstyles 
126 >>>>> BUGs::Unconfirmed
127 annma can you go though the next 2 bugs and supply some more info bout them to me? tnx
128 - The documentation of "not" seems wrong. Should it be a unary <-- annma
129    operator?
130 - German examples are twice the same (ask Matthias) <--annma
135 >>>>> WISHes::important
136 cies> refactor the interpreter so it is easier to add new commands (using meta programming)
141 >>>>> WISHes::less important but nice
142 I saw the KD Executer talk on the aKademy... I (cies) want KD Executer tests for KTurtle to better manage the quality! [ maybe this is important, :) ]
145 the default font can be a bit bigger and sans serif, and default the <tab> on 2 spaces
148 have a context menu on right-click in the canvas to save the drawing (right-click -> Save Canvas). cies: then also put "print canvas" and "fullscreen" in there
150 have the coords of the pixel under the mouse on the canvas in the statusbar
153 CLI-file-selection (for mimetype eaz)
156 cies: a fontchooser would be fun
157 30/12/2003 annma: for the editor font? I can do it ---> default editor font should be bigger and sans serif
158 04/01/2003 we'll see after the editor part is done
164 >>>>> WISHes::still subject to discussion
165 commands do not follow usual commands like forward is FD, reference: http://asijonline.net/ep/logo/logo_com.htm
166   -is there a logo standardisation? Compatibility is something that i (cies) would think is overdone. Logo is only used for a short moment, to learn programming; it will never produce real-world programs. So?
169 Preview in konqueror: (from IRC discussion about the preview thing a mimetype and a litle kpart-previewer would not be too dificult wouldn't it
170 <TSDgeos> you could put the widget you use in klogo in the kpart in read only mode
171 <polux> yeah good idea, instead of including it as a katepart, making a kturtlepart)
172 <cies> we could but what is the use of it? will it help to fulfill kturtles objectives?
175 Translating data in the knewstuff.xml file: how would the translators access the file which is on the server?
176   - i dunno what's ment by this.. annma?
180 After a conversiation with lypanov I came to the conclusion that making the executer 'statefull' is a very by thing! So I take the cheap approach using kapp->processEvents();... Maybe someday, later, I'll do it neatly -- the lypanov pointed out. FIXED
184 annma - 29th December 2003
185 about the resizing
186 I think the canvas size should fill all the right side under the toolbar when KTurtle is started. When resizing the window with the mouse, the canvas grows bigger, everything resize smoothly (-> resizeEvent( QResizeEvent * )).
187 You can leave the resizing option of the canvas in the Settings but only for having the canvas bigger. That would mean setting minimums in the config dialog.
189 cies: Sorry i have to disagree, let me explain: a lot of logoscripts will be written on a certain canvas size, if the canvas is made bigger the script will give 'broken' output. I also dont have a way to update the 'wrapping' if a canvas is resized. IMHO the canvassize should be changed by a command, nl. canvassize x,y -- which works on my side of mother earth :-) IMHO all changes to the canvas MUST be done by commands and not by clicky-clicky... Putting the 'initial canvas size' in the settings window is only for the teatcher to setup all his computers.
191 Sorry for beeing so inflexible... *Really*  I am still open for discussion! :-) I just have developed a certain vision of KTurtle's future that is really hard to let go.
192 (annma 30/12/2003 ok then, but the config option should be made clearer that the new canvas size will be next start)
196 Annma: Idea from my daughter: have a Tux and a Konqui as alternate turtle for the cursor. I don't know if it's possible and if you like it ;)
198 cies: That is a good plan!  I have tux allready in my sprites dir (I'm a fan too!)... but there's one nice thing about the turtle: this animal is very regocnisable from above, and the head points in the direction of movement. Tux is more a front faced character, so nice would be to have an option to put the automatic turning off, and to have a different method to turn tux by command. [please note that i wont do any extra work on getting qt3.3 (needed for sprites), it comes when it comes]
202   
205 >>>> RECENTLY FIXED BUGs
207 - settings->configure cauzes crash FIXED thanks to Martijn Klingens  ->  move "LanguageLabel = new QLabel(kcfg_LanguageComboBox..." down a few lines (after kcfg_LanguageComboBox is init'ed) BACKPORT
209 - default language translation somehow doesnt work, it seems NO Logo language is selected at all FIXED
210 - this also results in no examples FIXED
213 - About the language: when user is set to fr (not fr_FR but fr like me being in Canada), the parsing does not   work because Settings::LogoLanguage() is set to fr and NOT to fr_FR.
214   Syntax highlighting does not work for fr        DONE annma
216 - Default does not work in Language ComboBox -> I am not sure your use of KConfig XT is optimum here, Cies
217   and other bug: output: kturtle: desktopLanguage: fr:en_US
218   kturtle: defaultLanguage: en_US
219   Why is not default Language fr_FR?              DONE annma 02/04/2004
221 - open recent does not keep the files after quitting DONE annma 02/04/2004
223 - crash on quitting after Opening files           DONE annma 02/04/2004
225 - cies: Make the interpreter (stolen from wsbasic.sf.net) (executer, parser, lexer, number and treenode) more native Qt. Right now they are a mixture of standard-CLI-C++ and Qt thingies (i put the Qt thingies there). I tried do that but i found that i'm not comfortable with the concept of streams -- which are used a lot in the interpreter. Especially streaming QString was an obstacle i couldnt take.     DONE
226 >>>>> after this is done we can also make the ()[],.""-configurable
228 With long lines and wrapping the canvas can get into a endless loop -> 100%CPU, i tried a lot to fix this allready, maybe my solution needs some tuning :).
229 Maybe i should just catch errors and break that endless loop :)        FIXED!!! FINALLY
234 cies: The KconfigXT issue: If an error like this
236   make[4]: Entering directory `/home/cies/kdenonbeta/kturtle/src'
237   ./kturtle.kcfg ./settings.kcfgc; ret=$?; \
238   if test "$ret" != 0; then rm -f settings.h ; exit $ret ; fi
239   /bin/sh: line 1: ./kturtle.kcfg: Permission denied
240   make[4]: *** [settings.h] Error 126
242 happends when make'ing KTurtle form cvs one should change the first line of configure.in.in from:
243   #MIN_CONFIG(3.0)
244 into:
245   #MIN_CONFIG(3.2)
246 that will fix it :-)   FIXED with KDE 3.3 (I suspect)
250 - display the current command language in StatusBar? DONE apperently
253 print command is buggy, examples:        FIXED!
254       print 2004 + " before " + 25
255    from the manual should output
256       "2004 before 25"
257    according to the comment, but outputs
258       "2029"
259                 
260                 
261                 
262 RESEARCH ON THE HELP PROBLEM
264 then the help-kioslave is kdelibs/kdoctools
266 little help needed: when i use konq to go
267 "help:/kate?anchor=kate-part-selection-persistent" (which is the proper way to go
268 there iirc) i get seemingly transferred to
269 "help:/kate/index.html#kate-part-selection-persistent" but not to the anchor on that
270 page -- it stays on the top of that page. When i enter the location bar again i get
271 to the anchor.  --->  shoud i file a bug, for with apps should i do that OR where is
272 the code that handles this. Anyone? :)
274 yet this works wel if i go straight to (in konq):
275 help:/kate/index.html#kate-part-selection-persistent
277 or if i use kdcop to set "help:/kate/index.html#kate-part-selection-persistent" in
278 KHelpCenterIface-OpenUrl, than all works fine...
280 yet this doesnt work
281 dcop khelpcenter KHelpCenterIface openUrl "help:/kate/index.html#kate-part-selection-persistent", ""
284 Im tryered of this... I can fix it; too much for me. Sorry
287 in kdelibs/kdecore/kapp... :
288 url = QString("help:/%1?anchor=%2").arg(appname).arg(anchor);
290 DCOPRef( "khelpcenter", "KHelpCenterIface" ).send( "openUrl", url, startup_id );
305 *************
306 vi .cvsrc
307       cvs -z4 -q
308       diff -u3 -p
309       update -dP
310       checkout -P
312 touch /home/cies/.cvspass
314 export CVSROOT=:pserver:cies@cvs.kde.org:/home/kde
315 cvs login
317 mkdir kdecvs
318 cd kdecvs/
320 cvs co -l kdeedu
321 cvs co kdeedu/kturtle
322 cvs co -l kde-i18n
323 cvs co -l kde-i18n/nl
324 cvs co -l kde-i18n/nl/data
325 cvs co -l kde-i18n/nl/data/kdeedu
326 cvs co kde-i18n/nl/data/kdeedu/kturtle
327 cvs co -l kdeedu/doc
328 cvs co kdeedu/doc/kturtle
330 cd kdeedu/
331 cvs co admin
332 make -f Makefile.cvs && ./configure
334 cd ../kde-i18n
335 cvs co admin
336 make -f Makefile.cvs && ./configure