Mercurial > pidgin.yaz
view COPYRIGHT @ 9787:904b757835ca
[gaim-migrate @ 10655]
after an utter failure to get comments on this since it was updated, and
thinking that the functionality is worth having, i present to you:
" This is a patch to blist.c and blist.h to modify the
GaimBuddy structure to add a field for flags. It also
adds a single flag GAIM_BUDDY_NO_SAVE, which can be
used to indicate that a particular buddy should not be
saved to file. This will be particularly useful for
prpls with dynamic group support (which I am working on
adding to Meanwhile), such as Oscar's recent buddies group.
I used a negative flag (NO_SAVE rather than SAVE)
because the default should be for saving to happen, and
I didn't want to have to initiate the buddy with a save
flag set. To counteract this, there is a macro called
GAIM_BUDDY_SHOULD_SAVE which checks for the absense of
the flag. Woo-hoo double negative!!
The beefy part of this patch also factors out the
deeply nested loops of the saving code into separate
functions.
This code also fixes a minor possible bug wherein when
saving only a particular account, a group could be
written containing empty contacts (due to checking for
the specific account only at the group and buddy levels)
Here's a version that places the flags field in the
BlistNode, and checks for it at each stage (group, chat,
contact, buddy). It didn't erase my buddy list when I tried
it, so that's nice at least." --Christopher (siege) O'Brien
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 20 Aug 2004 03:40:33 +0000 |
parents | 958cfbb47ad6 |
children | 81a9ddc3f415 |
line wrap: on
line source
Gaim Copyright (C) 1998-2004 by the following: If you have contributed to Gaim, you deserve to be on this list. Contact us (see: AUTHORS) and we'll add you. Daniel Atallah Paul Aurich Patrick Aussems Kevin Barry Curtis Beattie Brian Bernas Jonas BirmĂ© Eric Blade Ethan Blanton Joshua Blanton Herman Bloggs David Blue Jason Boerner Graham Booker Craig Boston Chris Boyle Jeremy Brooks Philip Brown Sean Burke Cerulean Studios, LLC Jonathan Champ Ka-Hing Cheung Arturo Cisneros, Jr. Vincas Ciziunas Joe Clarke Todd Cohen Felipe Contreras Adam Cowell Jeramey Crawford Finlay Dobbie Mark Doliner Nuno Donato Jim Duchek Tom Dyas Marc E. Andrew Echols Sean Egan <sean.egan@binghamton.edu> Nelson Elhage Ignacio J. Elia Brian Enigma Stefan Esser Larry Ewing Jesse Farmer Gavan Fantom (gavan) Rob Flynn <gaim@robflynn.com> Rob (rwf) Foehl Alan Ford Nathan Fredrickson Chris J. Friesen Free Software Foundation Decklin Foster Adam Fritzler Max G. Evgueni V. Gavrilov Ignacy Gawedzki Michael Golden Ryan C. Gordon Christian Hammond Benjamin Herrenschmidt Andy Harrison G. Sumner Hayes Mike Heffner Casey Ho Iain Holmes Karsten Huneycutt Henry Jen Akuke Kok Cole Kowalski Gary Kramlich Tero Kuusela Scott Lamb Dennis Lambe Jr. Joe LaPenna Daniel Larsson Ho-seok Lee Moses Lei Ambrose C. Li Nicolas Lichtmaier Artem Litvinovich Syd Logan Uli Luckas Matthew Luckie Mike Lundy Brian Macke Paolo Maggi Willian T. Mahan John Matthews Ryan McCabe Kurt McKee Torrey McMahon Robert McQueen Robert Mibus Benjamin Miller Kevin Miller Paul Miller Arkadiusz Miskiewicz Andrew Molloy Novell Padraig O'Briain Christopher (siege) O'Brien Jon Oberheide Gudmundur Bjarni Olafsson Nathan (pianocomp81) Owens Matt Pandina Ricardo Fernandez Pascual Havoc Pennington Eduardo Pérez Ari Pollak Robey Pointer Nathan Poznick Brent Priddy Federicco Mena Quintero Yosef Radchenko David Raeman Etan Reisner Kristian Rietveld Pekka Riikonen Tim Ringenbach Luciano Miguel Ferreira Rocha Andrew Rodland Arvind Samptur Tom Samstag Neil Sanchala Carsten Schaar Luke Schierer Evan Schoenberg Torrey Searle Don Seiler Leonardo Serra Jim Seymour Joe Shaw John Silvestri Alex Smith David Smock Phil Snowberger Eddie (tr1sk) Sohn Mark Spencer <markster@marko.net> Lex Spoon Kevin Stange David Stoddard Sun Microsystems Mĺrten (fursten) Svantesson Robert T. Brian Tarricone Peter Teichman Philip Tellis Arun A. Tharuvai Douglas (douglaswth) Thrift Stu Tomlinson Bill Tompkins Tom Tromey Chris Toshok Junichi Uekawa István Váradi David Vermeille Bjoern Voigt Nathan Walp Eric Warmenhoven Andrew Wellington Dave West Andrew Whewell Dan Willemsen Jason Willis Matt Wilson Justin Wood Ximian Bleeter Yaluser Jared Yanovich Timmy Yee Nickolai Zeldovich Marco Ziech Jaroen Zwartepoorte