* Remove unused `ggp_int64_compare`.
* Inline `ggp_list_copy_to_slist_deep`.
It's only used once.
* Rewrite `ggp_message_format_to_gg` using `GString`.
This may not be the best, but it's better than the implementation with `GList`.
* Use a string list pref to save gg server history.
This removes the need for gg to do the conversion to/from plain strings itself,
and thus removes the need for the `ggp_str*_list` functions.
* Embed `ggp_list_truncate` directly where used, and in simplified form.
* Embed `ggp_password_validate` at its caller.
There's only one use of it.
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/117/
/*
* pidgin
*
* Pidgin is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*
*/
#ifdef HAVE_CONFIG_H
#include<config.h>
#endif
#include<errno.h>
#include<glib/gi18n-lib.h>
#include<glib/gstdio.h>
#include<locale.h>
#include<purple.h>
#include"gtkaccount.h"
#include"gtkblist.h"
#include"gtkconn.h"
#include"gtkconv.h"
#include"gtkdialogs.h"
#include"gtkxfer.h"
#include"gtkidle.h"
#include"gtkmedia.h"
#include"gtknotify.h"
#include"gtkpounce.h"
#include"gtkprefs.h"
#include"gtkprivacy.h"
#include"gtkrequest.h"
#include"gtkroomlist.h"
#include"gtksavedstatuses.h"
#include"gtksmiley-theme.h"
#include"gtkutils.h"
#include"gtkwhiteboard.h"
#include"pidgincore.h"
#include"pidgindebug.h"
#include"pidginlog.h"
#include"pidginplugininfo.h"
#include"pidginstock.h"
#ifndef _WIN32
#include<signal.h>
#endif
#ifndef _WIN32
/*
* Lists of signals we wish to catch and those we wish to ignore.