From: SourceForge.net <no...@so...> - 2005-03-14 23:31:31
|
Plugins item #1121139, was opened at 2005-02-11 23:56 Message generated for change (Comment added) made by vhockey86 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390395&aid=1121139&group_id=235 Category: None Group: None Status: Open Priority: 5 Submitted By: VHockey86 (vhockey86) Assigned to: Nobody/Anonymous (nobody) Summary: Enhanced IM history plugin Initial Comment: I'm not entirely sure on the legalities of this.. so someone let me know if I've done something wrong. I modified the default "History" plugin that comes packaged with gAIM, such that it shows up to 7 previous conversations instead of just the previous one. I'm pretty much a newb with C, so I'm not sure why it was capping at 7, but anything higher and it crashed gaim everytime. Future Plans: - Fix the max of 7 - Added a preferences thing so that users can control the number of previous messages that will be displayed. Files: http://www.andrewpangborn.com/projects_gaim.php Andrew, an...@an... ---------------------------------------------------------------------- >Comment By: VHockey86 (vhockey86) Date: 2005-03-14 23:31 Message: Logged In: YES user_id=1217525 At one point I had thought about making it read in only a certain amount of data, but the # of lines is much friendlier from the user's perspective. I'll look into it, although I'm not exactly sure on the method yet (I find the gaim API to be a pain to understand implementation wise). The function I'm calling to print, just prints out the whole log, I'm not parsing line-by-line, thus limiting the # of lines could be moderately difficult (at least for a newb like myself). Thanks for the feedback. ---------------------------------------------------------------------- Comment By: Raccoon (Eric) (agvulpine) Date: 2005-03-14 23:00 Message: Logged In: YES user_id=1239238 Please add the following feature. "Display up to [N] lines of log history, from up to [N] logs." This should suppliment or replace the current ability to display N full logs, by allowing the user to specify the number of lines from up to N (or all) logs instead. This would offer a balance of history displayed between users who we have extremely long and extremely short conversations with. (ie. 7 logs may be several thouand lines, or only 7 lines.) ---------------------------------------------------------------------- Comment By: VHockey86 (vhockey86) Date: 2005-02-12 06:07 Message: Logged In: YES user_id=1217525 Updates: -Added a GUI for changing the number of previous chats that are displayed. -Changed name from "history" to "Enhanced History" ---------------------------------------------------------------------- Comment By: Stu Tomlinson (nosnilmot) Date: 2005-02-12 02:43 Message: Logged In: YES user_id=309779 Plugin ID's are covered here : http://gaim.sourceforge.net/api/plugin-ids.html ---------------------------------------------------------------------- Comment By: VHockey86 (vhockey86) Date: 2005-02-12 00:48 Message: Logged In: YES user_id=1217525 Fixed the code so the limit of 7 doesn't exist... I think the problem was with my array instantiation not being correct (Files on site are already updated) Could you explain the "plugin id" thing a little more? Thanks. ---------------------------------------------------------------------- Comment By: Luke Schierer (lschiere) Date: 2005-02-12 00:04 Message: Logged In: YES user_id=28833 the nice thing about the gpl is that this sort of modification is entirely legal so long as (as you have done) you release the source. on a side note, to avoid potential conflicts if someone installs this to a separate path, you do want to change the plugin id (if you have not done so) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390395&aid=1121139&group_id=235 |