X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=TODO.txt;h=22f6f7d710052cf6e2d0ba4d68b7a2f0f54f198a;hb=0d31a3a2601987fa5576c50651f311f4855e8945;hp=77245c3b10bfe7a435149a97761cff268b8b0982;hpb=51cbc6a30572ce4787ebfaf4bfbd0df992d522d0;p=pandora-libraries.git diff --git a/TODO.txt b/TODO.txt index 77245c3..22f6f7d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,14 +1,38 @@ -Some things to be done.. +- pndnotifyd drops icons into a conf'd location (/tmp currently); it skips emitting them if that path is already + present (saves time after first emit!) .. the risk here is that the icon has changed or been removed, and we just + keep using the old one. Perhaps pndnotifyd should check the length of the icon (or a CRC32 or something), on occasion? -- review pnd_tinyxml to ensure the PXML_FILENAME is csae insensitive as needed +- pndnotifyd doesn't delete icons; it leaves them in /tmp as a cache of sorts. /tmp may not be wisest if it gets turfed on + boot, but I'm up in the air on that one; we want caching, but not unlimited lifespan, so /tmp seems useful. (Unless /tmp + is in RAM, which it could be, should check.) ANYWAY, my point is.. + - should we conf how many icons/bytes can be consumed in 'cache' this way? + - more to point, should we remove old icons (ie: say, a week old) by default, so occasional re-caching occurs, but + we also clean up unused icons? We could also keep an access-count or somesuch. Just sayin' + +- fill in the blanks in pnd-logger + +- more useful PXML.xml parser, to cover all the fields and provide iterators, and better support the treelike nature + +- applist memleak; ie: all those disco_t apps returned are never free'd properly + include/pnd_discovery.h:// TODO: A way to release the disco-lists and reclaim RAM :) + +- put in code to fetch clock speed, and add clock speed handler to pnd_apps_exec? maybe unify the whole emit-dotdesktop and + exec routines o they dont' have two representations of command line args .. + +- remove -u's from pnd_apps_exec and pnd_emit_dotdesktop? +- replace brute force memcmp() in pnd pnd with a fancy pants CS alg - make pnd_pndfiles seek of PXML more efficient; fread ( 1, nmemb ) gotta be slow :) +- review pnd_tinyxml to ensure the PXML_FILENAME is csae insensitive as needed + +- fix is_pxml_valid_app() .. right now it always returns 1! + +- make accrued PXML from pnd-buffer growable, not locked at 32k/X size + +- make sensible override code, so it picks up all fields... or compares fields; not just copies _en + apps/pndnotifyd.c:// TODO: Catch HUP and reparse config apps/pndnotifyd.c:// TODO: Should perhaps direct all printf's through a vsprintf handler to avoid redundant "if ! g_daemon_mode" -apps/pndnotifyd.c:// TODO: During daemon mode, should perhaps syslog or log errors -apps/pndnotifyd.c:// TODO: Removing stale .desktop checks that .desktop was created by libpnd; see 'TBD' below -include/pnd_discovery.h:// TODO: Copy the icon into this directory as well, if its source is a .pnd or info is in the dico struct -include/pnd_discovery.h:// TODO: A way to release the disco-lists and reclaim RAM :) -include/pnd_discovery.h:// TODO: A way to determine the list of excess .desktop files and remove them (ie: after poo.pnd is removed, ditch the .desktop) + apps/pndnotifyd.c:// TODO: During daemon mode, should perhaps syslog or log errors