-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
151 lines (145 loc) · 4.98 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
==============
MISCELLANY
==============
* convert records (shape) to being linked lists rather than the kludges they are now
* get the records to actually work. At the moment they don't
* ... then write the stuff to print them out
* sound viz context stuff
* ditto linebits and fillbits?
* finish last few functions that I forgot
* wrap in XS
* go through and check for memory leaks and stuff
* make it a proper shared library
* go through and take out all the 'todos' (22 of them I think)
[home/simon/gravel/libswfparse]$ grep todo *.[ch]| perl -ne 's!^\s*(/.\s*)*!!; s!(.+?)\*\/!$1!; print $_ unless (/^\s*\*/)' | wc -l
22
[home/simon/gravel/libswfparse]$ grep -n todo *.[ch] | perl -ne 'chomp;($name, $_) = split (/: /,$_);s!^\s*(/.\s*)*
!!; s!(.+?)\*\/!$1!; print "$name: $_\n" unless (/^\s*\*/)'
parser.c:954: todo simon
parser.c:1020: todo simon
parser.c:1039: todo simon
parser.h:42:extern void parse_defineshape_aux (swf_parser *, int, const char *); //todo make more consistent:
print_utils.c:43: todo simon
print_utils.c:80: todo simon
print_utils.c:540: //todo simon:
print_utils.c:790: todo
swf_parse.c:65://todo : since these are exported do they need to be declared final?
swf_parse.c:219: todo
swf_parse.c:666: todo
swf_parse.c:718: todo :
swf_parse.c:1729: todo :
swf_parse.c:1788: todo simon
swf_parse.c:1801: /* todo simon : should I return NULL here?
swf_parse.c:1830: /* todo simon : does this need to be done ???
swf_parse.c:2029: todo simon
swf_parse.c:2040: todo simon
swf_parse.c:2048: todo simon
swf_parse.c:2060: todo simon
swf_parse.c:2235: todo Simon
swf_parse.c:2355: todo simon?
==============
FUNCTIONS
==============
---------------------------+---+
ParseEnd | x |
---------------------------+---+
ParseShowFrame | x |
---------------------------+---+
ParseFreeCharacter | x |
---------------------------+---+
ParsePlaceObject | x |
---------------------------+---+
ParsePlaceObject2 | x |
---------------------------+---+
ParseRemoveObject | x |
---------------------------+---+
ParseRemoveObject2 | x |
---------------------------+---+
ParseSetBackgroundColor | x |
---------------------------+---+
ParseStartSound | x |
---------------------------+---+
ParseStopSound | x |
---------------------------+---+
ParseProtect | x |
---------------------------+---+
ParseShapeRecord | x |
---------------------------+---+
ParseShapeStyle | x |
---------------------------+---+
ParseDefineShape | x |
---------------------------+---+
ParseDefineShape2 | x |
---------------------------+---+
ParseDefineShape3 | x |
---------------------------+---+
ParseDefineBits | x |
---------------------------+---+
ParseDefineBitsJPEG2 | x |
---------------------------+---+
ParseDefineBitsJPEG3 | x |
---------------------------+---+
ParseDefineBitsLossless | x |
---------------------------+---+
ParseDefineBitsLossless2 | x |
---------------------------+---+
ParseJPEGTables | x |
---------------------------+---+
ParseButtonRecord | x |
---------------------------+---+
ParseDefineButton | x |
---------------------------+---+
ParseDefineButton2 | x |
---------------------------+---+
ParseDoAction | x |
---------------------------+---+
ParseDefineFont | x |
---------------------------+---+
ParseDefineFontInfo | x |
---------------------------+---+
ParseTextRecord | x |
---------------------------+---+
ParseDefineText | x |
---------------------------+---+
ParseDefineEditText | x |
---------------------------+---+
ParseDefineFont2 | x |
---------------------------+---+
ParseDefineText2 | x |
---------------------------+---+
ParseDefineMorphShape | x |
---------------------------+---+
DecodeMp3Frame | x |
---------------------------+---+
DecodeMp3Headers | x |
---------------------------+---+
AdpcmFillBuffer | |
---------------------------+---+
AdpcmGetBits | |
---------------------------+---+
AdpcmGetSBits | |
---------------------------+---+
AdpcmDecompress | |
---------------------------+---+
ParseDefineSound | x |
---------------------------+---+
ParseDefineButtonSound | x |
---------------------------+---+
ParseSoundStreamHead | x |
---------------------------+---+
ParseSoundStreamHead2 | x |
---------------------------+---+
ParseSoundStreamBlock | x |
---------------------------+---+
ParseDefineButtonCxform | x |
---------------------------+---+
ParseNameCharacter | x |
---------------------------+---+
ParseFrameLabel | x |
---------------------------+---+
ParseUnknown | x |
---------------------------+---+
ParseTags | x |
---------------------------+---+
ParseFile | x |
---------------------------+---+