pidgin/plugins/themeedit-icon.h

Tue, 07 May 2013 05:04:46 -0400

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Tue, 07 May 2013 05:04:46 -0400
changeset 33923
0fcc5635daba
parent 27267
5e5f4b6d880b
permissions
-rw-r--r--

Rewrite debug window filter in JS.

Note, this does cause a couple regressions, but they are probably not
that big a deal. First, the JS regular expression syntax is slightly
different. Second, the JS regex API lacks a way to reliably determine
the location of matched groups, so we can't highlight just the groups
and must highlight the entire expression.

I suspect that none of our users ever had to use any fancy regex in the
debug window, and that most of our developers didn't even know it could
be done. So I doubt these regressions will cause much pain.

27267
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
1 /* Pidgin
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
2 *
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
3 * Pidgin is the legal property of its developers, whose names are too numerous
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
5 * source distribution.
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
6 *
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
7 * This program is free software; you can redistribute it and/or modify
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
8 * it under the terms of the GNU General Public License as published by
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
10 * (at your option) any later version.
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
11 *
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
12 * This program is distributed in the hope that it will be useful,
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
15 * GNU General Public License for more details.
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
16 *
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
17 * You should have received a copy of the GNU General Public License
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
18 * along with this program; if not, write to the Free Software
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
20 */
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
21
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
22 #ifndef _THEMEEDIT_ICON_H_
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
23 #define _THEMEEDIT_ICON_H_
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
24
26869
210aa82531fe Fix two warnings in the theme editor plugin
Paul Aurich <darkrain42@pidgin.im>
parents: 26811
diff changeset
25 void pidgin_icon_theme_edit(PurplePluginAction *);
26811
72045103fad1 A status-icon theme editor.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
26
27267
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
27 #endif
5e5f4b6d880b This file is a lacking a certain something...
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26869
diff changeset
28

mercurial