annotate TODO @ 4630:64c40b3e69f4

Added few g_messages() to ease debugging of certain D-Bus-related problems.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 11 Jun 2008 18:01:33 +0300
parents a615322374c8
children e36c207de2c1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4535
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 Long-term "TODO"
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 ================
4622
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
3 - output plugins should have some kind of (optional) "query available formats"
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
4 function, so that the core could determine what should be used. perhaps
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
5 offer users this info?
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
6
4617
de510eb8165a Added a note about XMMS compat output plugin hack.
Matti Hamalainen <ccr@tnsp.org>
parents: 4603
diff changeset
7 - remove the idiotic XMMS compatibility output plugin hack.
de510eb8165a Added a note about XMMS compat output plugin hack.
Matti Hamalainen <ccr@tnsp.org>
parents: 4603
diff changeset
8
4622
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
9 - all audio plugins (input, output, effect) should be made completely
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
10 re-entrant. this probably means severely breaking the API. not very
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
11 trivial either :(
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
12 * basically plugin init() should allocate / init a state struct to
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
13 be used in all operations, etc.
a615322374c8 Add notes about possible cleanups into TODO.
Matti Hamalainen <ccr@tnsp.org>
parents: 4617
diff changeset
14
4617
de510eb8165a Added a note about XMMS compat output plugin hack.
Matti Hamalainen <ccr@tnsp.org>
parents: 4603
diff changeset
15
4603
fba10959a743 Note about equalizer problems.
Matti Hamalainen <ccr@tnsp.org>
parents: 4538
diff changeset
16 - the equalizer should be fixed .. in more than one way:
fba10959a743 Note about equalizer problems.
Matti Hamalainen <ccr@tnsp.org>
parents: 4538
diff changeset
17 * equalizer was broken by asphyx's libSAD
fba10959a743 Note about equalizer problems.
Matti Hamalainen <ccr@tnsp.org>
parents: 4538
diff changeset
18 * lots of things are hardcoded, like number of EQ bands. this should
fba10959a743 Note about equalizer problems.
Matti Hamalainen <ccr@tnsp.org>
parents: 4538
diff changeset
19 be changed.
fba10959a743 Note about equalizer problems.
Matti Hamalainen <ccr@tnsp.org>
parents: 4538
diff changeset
20
fba10959a743 Note about equalizer problems.
Matti Hamalainen <ccr@tnsp.org>
parents: 4538
diff changeset
21
4537
9fb29ee322d3 Added a note about problems with certain URIs.
Matti Hamalainen <ccr@tnsp.org>
parents: 4535
diff changeset
22 - URIs with "?" are stripped (the subtune support uses that), which is bad,
9fb29ee322d3 Added a note about problems with certain URIs.
Matti Hamalainen <ccr@tnsp.org>
parents: 4535
diff changeset
23 because some (a lot) of real-world URLs use 'GET' arguments. this breaks
9fb29ee322d3 Added a note about problems with certain URIs.
Matti Hamalainen <ccr@tnsp.org>
parents: 4535
diff changeset
24 probing, but current input probing is confusing (and possibly broken anyway)
9fb29ee322d3 Added a note about problems with certain URIs.
Matti Hamalainen <ccr@tnsp.org>
parents: 4535
diff changeset
25 and should be refactored.
9fb29ee322d3 Added a note about problems with certain URIs.
Matti Hamalainen <ccr@tnsp.org>
parents: 4535
diff changeset
26
9fb29ee322d3 Added a note about problems with certain URIs.
Matti Hamalainen <ccr@tnsp.org>
parents: 4535
diff changeset
27
4535
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 - mime-types support:
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 * there is already code for mime support, but I think it may not be
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 sufficient as it is designed for input plugins only --
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 also playlist containers etc. need this (IMHO)
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 * might be nicer to have the type registrations in plugin struct
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 instead of a separate function, a'la vfs_extensions.
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37 - document the different APIs via Doxygen
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40 - unified debugging/message system, for core and plugins
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
41 * something like glib logging system, with logging levels
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42 * hardcoded "debugging" levels and/or macro-wrappers that would
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43 disable superfluous debugging output compile-time.
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 --- being planned by ccr
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 - audacious VFS is not 64-bit offset safe, breakage will most likely occur,
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
48 if files larger than 2^31 are used (rather unlikely, tho, but still...)
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 * nenolod says: current vfs sucks, it needs a "rewrite":
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 - buffering support
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52 - non-blocking I/O support
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55 - {core,plugins}/configure.ac need some cleanup loving.
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56 * make session management (SM) optional.
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 * build system cleanups .. extra.mk.in? wtf?
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 --- this is in progress, worked on by ccr
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 - plugin rewrites:
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62 * madplug
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
63 * modplug (in progress by ccr)
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
64 * scrobbler
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
65
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
66
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
67 - playlist.c: playlist_clear() is VERY slow, possible reasons?
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
68 * GList sucks? (it does, but is it the reason here?)
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
69 * playlist_entry_free()?
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
70 * mowgli_heap_free()?
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
71
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
72 possible solutions?
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
73 * mempools for playlist data? not sure if possible, the tuple heaps
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
74 should then somehow be collected into pools...
4536
b0def426de68 Add note about GtkTreeStore being fairly fast.
William Pitcock <nenolod@atheme.org>
parents: 4535
diff changeset
75 * storing the playlist as a GtkTreeModel seems to be fairly fast (at least
b0def426de68 Add note about GtkTreeStore being fairly fast.
William Pitcock <nenolod@atheme.org>
parents: 4535
diff changeset
76 in mudkip-player it is) --nenolod
4535
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
77
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
78 - playlist.c: racecondition in scanner thread vs. playlist manipulation
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
79 (playlist_clear(), free, etc.)
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
80 * go through scanner thread code and revise it.
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
81 * also all playlist manipulation should be double-checked.
2cfd5d48d787 Added a TODO (mostly my own semi-organized ramblings, feel free to add your own.)
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
82 * .. actually, the whole playlist.c should be refactored completely.