comparison HACKING @ 7527:e64060a18be7

[gaim-migrate @ 8140] didn't notice my commits weren't happening, now i did, but you all miss out on having on-topic commit log this time around committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 16 Nov 2003 06:00:55 +0000
parents 754afaa07386
children 2c165d32f104
comparison
equal deleted inserted replaced
7526:77727178a1df 7527:e64060a18be7
150 are handled via this code. 150 are handled via this code.
151 151
152 accountopt.[ch]: 152 accountopt.[ch]:
153 Api and implemenation for account options. I'm not precisely 153 Api and implemenation for account options. I'm not precisely
154 sure how this meshes with account.[ch] 154 sure how this meshes with account.[ch]
155 155
156 away.c: 156 away.c:
157 This takes care of most of the away stuff: setting the away message 157 This takes care of most of the away stuff: setting the away message
158 (do_away_message); coming back (do_im_back); drawing the away window; 158 (do_away_message); coming back (do_im_back); drawing the away window;
159 etc. Away messages work really oddly due to multiple connections and 159 etc. Away messages work really oddly due to multiple connections and
160 multiple protocols; I think there are really only two or three people 160 multiple protocols; I think there are really only two or three people
161 who know how it works and I don't think any of us know why it works 161 who know how it works and I don't think any of us know why it works
162 that way. 162 that way.
163 163
164 browser.c:
165 Code for opening a browser window. Most of the code is trying to deal
166 with Netscape. The most important function here is open_url. Have fun.
167
168 blist.[ch]: 164 blist.[ch]:
169 This takes care of the buddy list backend, the blist.xml file, 165 This takes care of the buddy list backend, the blist.xml file,
170 importing old buddy list files, and related things like 166 importing old buddy list files, and related things like
171 finding buddies and groups. buddies, contacts, and groups 167 finding buddies and groups. buddies, contacts, and groups
172 are controled from these files. 168 are controled from these files.
173 169
174 buddy_chat.c: 170 buddy_chat.c:
175 This takes care of the buddy chat stuff. This used to be a lot bigger 171 This takes care of the buddy chat stuff. This used to be a lot bigger
176 until the chat and IM windows got merged in the code. Now it mostly 172 until the chat and IM windows got merged in the code. Now it mostly
177 just takes care of chat-specific stuff, like ignoring people and 173 just takes care of chat-specific stuff, like ignoring people and
178 keeping track of who's in the room. This is also where the chat window 174 keeping track of who's in the room. This is also where the chat window
199 195
200 gaimrc.c: 196 gaimrc.c:
201 This controls everything about the .gaimrc file. There's not really much 197 This controls everything about the .gaimrc file. There's not really much
202 to say about it; this is probably one of the better designed and easier 198 to say about it; this is probably one of the better designed and easier
203 to follow files in gaim. The important functions are towards the bottom. 199 to follow files in gaim. The important functions are towards the bottom.
204 This file is also utterly deprecated. It is used only for importing 200 This file is also utterly deprecated. It is used only for importing
205 on upgrade. the prefs.c and prefs.h files replace the control, 201 on upgrade. the prefs.c and prefs.h files replace the control,
206 and gtkprefs.c replaces the gui component. 202 and gtkprefs.c replaces the gui component.
207 203
208 gtkimhtml.c: 204 gtkimhtml.c:
209 This is gaim's HTML widget. It replaced the old widget, GtkHtml (which 205 This is gaim's HTML widget. It replaced the old widget, GtkHtml (which
210 was different than GNOME's GtkHTML). It's self-contained (it doesn't 206 was different than GNOME's GtkHTML). It's self-contained (it doesn't
211 use any of gaim's code) and is actually a separate project from gaim 207 use any of gaim's code) and is actually a separate project from gaim
212 (but is maintained by Eric). 208 (but is maintained by Eric).
213
214 html.c:
215 Don't ask my why this is called html.c. Most of it is just grab_url,
216 which does like the name says; it downloads a URL to show in the
217 GtkHTML widget. http.c would be a more appropriate name, but that's OK.
218 209
219 idle.c: 210 idle.c:
220 This file used to be entirely #if 0'd out of existance. However, thanks 211 This file used to be entirely #if 0'd out of existance. However, thanks
221 to some very generous people who submitted patches, this takes care of 212 to some very generous people who submitted patches, this takes care of
222 reporting idle time (imagine that). It's a pretty straight-forward file. 213 reporting idle time (imagine that). It's a pretty straight-forward file.
246 now...). account_editor is really the only function that the UI needs 237 now...). account_editor is really the only function that the UI needs
247 to be concerned with. 238 to be concerned with.
248 239
249 prefs.c: 240 prefs.c:
250 Read the documentation on this file. This handles the backend 241 Read the documentation on this file. This handles the backend
251 side of prefs. 242 side of prefs.
252 243
253 proxy.c: 244 proxy.c:
254 Adam (of libfaim glory) got bored one day and rewrote this file, so 245 Adam (of libfaim glory) got bored one day and rewrote this file, so
255 now everything actually works. The main function is proxy_connect, 246 now everything actually works. The main function is proxy_connect,
256 which figures out which proxy you want to use (if you want to use one 247 which figures out which proxy you want to use (if you want to use one
257 at all) and passes off the data to the appropriate function. This file 248 at all) and passes off the data to the appropriate function. This file
258 should be pretty straight-forward. 249 should be pretty straight-forward.
259 Except I STRONGLY suspect that time has broken this file. 250 Except I STRONGLY suspect that time has broken this file.
260 251
261 prpl.c: 252 prpl.c:
262 This file is what lets gaim dynamically load protocols, sort of. All 253 This file is what lets gaim dynamically load protocols, sort of. All
263 of the actual dlopen(), dlsym() stuff is in module.c. But this contains 254 of the actual dlopen(), dlsym() stuff is in module.c. But this contains
264 all of the functions that the protocol plugin needs to call, and manages 255 all of the functions that the protocol plugin needs to call, and manages