aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.h
blob: 5bff2d64b4ce9ea2c0ae5d2ca16ce162a24c00b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#ifndef _E_UTIL_H_
#define _E_UTIL_H_

#include <glib.h>
#include <gtk/gtktypeutils.h>
#include <sys/types.h>

#define E_MAKE_TYPE(l,str,t,ci,i,parent) \
GtkType l##_get_type(void)\
{\
    static GtkType type = 0;\
    if (!type){\
        GtkTypeInfo info = {\
            str,\
            sizeof (t),\
            sizeof (t##Class),\
            (GtkClassInitFunc) ci,\
            (GtkObjectInitFunc) i,\
            NULL, /* reserved 1 */\
            NULL, /* reserved 2 */\
            (GtkClassInitFunc) NULL\
        };\
                type = gtk_type_unique (parent, &info);\
    }\
    return type;\
}

typedef enum {
    E_FOCUS_NONE,
    E_FOCUS_CURRENT,
    E_FOCUS_START,
    E_FOCUS_END
} EFocus;
int          g_str_compare                                            (const void    *x,
                                       const void    *y);
int          g_int_compare                                            (const void    *x,
                                       const void    *y);

char        *e_strdup_strip                                           (char          *string);

void         e_free_object_list                                       (GList         *list);
void         e_free_string_list                                       (GList         *list);

char        *e_read_file                                              (const char    *filename);
int          e_write_file                                             (const char    *filename,
                                       const char    *data,
                                       int            flags);

int          e_mkdir_hier                                             (const char    *path,
                                       mode_t         mode);

gchar      **e_strsplit                                               (const gchar   *string,
                                       const gchar   *delimiter,
                                       gint           max_tokens);

const gchar *e_strstrcase                                             (const gchar   *haystack,
                                       const gchar   *needle);
void         e_filename_make_safe                                     (gchar         *string);
void         e_marshal_INT__INT_INT_POINTER                           (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);
void         e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL                (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);
void         e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE_BOOL              (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);
void         e_marshal_BOOL__OBJECT_DOUBLE_DOUBLE_BOOL                (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);

#define e_marshal_NONE__INT_INT_POINTER_POINTER_UINT_UINT e_marshal_NONE__INT_INT_POINTER_POINTER_INT_INT
void         e_marshal_NONE__INT_INT_POINTER_POINTER_INT_INT          (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);

#define e_marshal_NONE__INT_INT_POINTER_UINT e_marshal_NONE__INT_INT_POINTER_INT
void         e_marshal_NONE__INT_INT_POINTER_INT                      (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);

#define e_marshal_BOOL__INT_INT_POINTER_INT_INT_UINT e_marshal_BOOL__INT_INT_POINTER_INT_INT_INT
void         e_marshal_BOOL__INT_INT_POINTER_INT_INT_INT              (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);

#define e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_UINT_UINT e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT
void         e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT  (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);
void         e_marshal_NONE__POINTER_POINTER_INT                      (GtkObject     *object,
                                       GtkSignalFunc  func,
                                       gpointer       func_data,
                                       GtkArg        *args);

#endif /* _E_UTIL_H_ */
>2-2/+8 * Fixes #389961 Check if the item is a event before processing the end time.Wang Xin2007-01-082-16/+26 * fix the build failure caused by SVN revision 33110 (swedish quickrefAndre Klapper2007-01-082-0/+6 * Updated Estonian translation by Ivar Smolin.Priit Laes2007-01-072-5/+10 * vi.po: Updated Vietnamese translation.Clytie Siddall2007-01-051-1146/+1307 * vi.po: Updated Vietnamese translation.Clytie Siddall2007-01-051-0/+4 * Swedish addedDaniel Nylander2007-01-044-1/+125 * 2006-01-03 Jordi Mas <jmas@softcatala.org>, Bernat Tallaferro Jordi Mas2007-01-042-17/+22 * Updated Arabic Translation. Djihed Afifi2007-01-042-1/+5 * Updated Lithuanian translation.Gintautas Miliauskas2007-01-032-835/+944 * Updated Norwegian bokmÃ¥l translation.Kjartan Maraas2006-12-292-48/+54 * Updated English (British) translationDavid Lodge2006-12-292-1103/+1265 * Updated Arabic Translation. Completed by Farghal AhmedDjihed Afifi2006-12-282-1506/+1375 * Updated Arabic Translation.Djihed Afifi2006-12-282-347/+380 * Updated Arabic Translation.Djihed Afifi2006-12-282-271/+231 * Small fix to the Catalan translationJordi Mas2006-12-281-1/+1 * Updated Arabic Translation.Djihed Afifi2006-12-272-502/+320 * Updated Serbian translations.Danilo Šegan2006-12-273-2316/+2652 * Updated Arabic Translation.Djihed Afifi2006-12-252-604/+384 * Small change to the Catalan LocalisationJordi Mas2006-12-241-1/+1 * Small fix to Catalan translationJordi Mas2006-12-231-1/+2 * Updated Arabic Translation. Translation by Ahmad Farghal and Khaled HosnyDjihed Afifi2006-12-222-1899/+1267 * Fix the regression of bugzilla bug #352108.Simon Zheng2006-12-222-1/+6 * Updated Swedish translation. Added screenshots. Added sv to DOC_LINGUASDaniel Nylander2006-12-2216-1/+8024 * Disconnect handlers on image destroy. Fixes bug #340165.Nickolay V. Shmyrev2006-12-213-9/+9 * Disconnect handlers on image destroy. Fixes bug #340165.Nickolay V. Shmyrev2006-12-212-0/+15 * Evolution 2.9.4 release updates.Veerapuram Varadhan2006-12-193-2/+24 * Fixes bnc #208395Veerapuram Varadhan2006-12-192-1/+23 * Do not check for mails in all folders, for Exchange. Will be more thanSankar P2006-12-182-4/+12 * Updated Norwegian bokmÃ¥l translation.Kjartan Maraas2006-12-182-6/+16 * Updated Arabic Translation. Sync for gnome-2-18Djihed Afifi2006-12-182-7461/+9550 * Updated Norwegian bokmÃ¥l translation.Kjartan Maraas2006-12-152-17/+22 * Updated Spanish translation.Francisco Javier F. Serrador2006-12-143-320/+232 * Updated Spanish translation.Francisco Javier F. Serrador2006-12-142-727/+721 * Updated Norwegian bokmÃ¥l translation.Kjartan Maraas2006-12-112-755/+827 * Updated Spanish translation.Francisco Javier F. Serrador2006-12-102-203/+140 * Updated Finnish TranslationIlkka Tuohela2006-12-092-636/+715 * Updated German translation, fix #358310.Hendrik Richter2006-12-082-1015/+1211 * Added .cvsignore file Sent old xml files to ATTICFrancisco Javier F. Serrador2006-12-078-4959/+6 * Updated Spanish translation. Sent old xml files to ATTICFrancisco Javier F. Serrador2006-12-0716-5563/+71 * Fixes bug #355772.Jakub Friedl2006-12-062-131/+141 * Added icons to quick search menu items.Srinivasa Ragavan2006-12-062-8/+13 * Fixes bug #382431Matthew Barnes2006-12-052-0/+8 * Evolution 2.9.3 release updates.Harish Krishnaswamy2006-12-053-1/+24 * Fix installation problems on evolution.desktop, evolution.keys and evolution....Harish Krishnaswamy2006-12-051-8/+9 * Fixes bug #357970Matthew Barnes2006-12-042-1/+8 * Fixes bug #357970Matthew Barnes2006-12-0412-70/+85 * Fixes bug #357970Matthew Barnes2006-12-047-23/+19 * Fixes bug #357970Matthew Barnes2006-12-042-1/+8 * Fixes bug #357970Matthew Barnes2006-12-043-4/+12 * Fixes bug #357970Matthew Barnes2006-12-0414-103/+120 * Fixes bug #357970Matthew Barnes2006-12-044-3/+12 * Fixes bug #381642.Harish Krishnaswamy2006-12-042-0/+13 * Fix read of uninitialized ESearchBarItems. Partially fixes #381642.Harish Krishnaswamy2006-12-042-2/+7 * Fix memory leak of iid.Harish Krishnaswamy2006-12-042-0/+5 * Fixes #270751Chenthill Palanisamy2006-12-048-11/+154 * Fix for bug #380064Wang Xin2006-12-042-0/+12 * Add code to prune dead proxy entries (so they are executed regardless ofHarish Krishnaswamy2006-12-042-89/+83 * Do not attempt to prune GW proxies on startup as this handled by theHarish Krishnaswamy2006-12-042-1/+6 * Fix leaks of 'location' at various exit points.Harish Krishnaswamy2006-12-042-2/+9 * Mark description for translation.Kjartan Maraas2006-12-042-1/+6 * Register import eplugin type. Fixes bug #372528.Chris Halls2006-12-032-0/+7 * Translation updated by Ivar Smolin.Priit Laes2006-12-022-2/+6 * ** Fix bug #348679Parthasarathi Susarla2006-11-292-10/+23 * Fixed bug #373453.Jakub Friedl2006-11-282-5/+9 * Fixed bug #356884.Jakub Friedl2006-11-282-3612/+3518 * Srinivasa Ragavan <sragavan@novell.com>Srinivasa Ragavan2006-11-282-0/+51 * ** Fix for bug #349966Daniel Gryniewicz2006-11-2812-259/+258 * Missed to commit with the previous.Srinivasa Ragavan2006-11-271-1/+3 * Fix for bug #337439 DoS attach with large emailsSrinivasa Ragavan2006-11-2712-25/+396 * removed leftover filesFrancisco Javier F. Serrador2006-11-233-106/+5 * Added Evolution omf.Francisco Javier F. Serrador2006-11-232-0/+13 * Updated Spanish translation.Francisco Javier F. Serrador2006-11-232-6621/+238 * Modified to support gnome-doc-utils. Added Spanish translation. RemovedFrancisco Javier F. Serrador2006-11-2314-659/+18742 * type should be initialized to 0, not NULL.Harish Krishnaswamy2006-11-212-1/+6 * Remove unreachable code and fix the leak of basename.Harish Krishnaswamy2006-11-212-12/+8 * Fixes #367183.Chenthill Palanisamy2006-11-202-1/+17 * Translation updated by Ivar Smolin.Priit Laes2006-11-192-3/+7 * Fixed typoKarsten Bräckelmann2006-11-182-1/+5 * Remove an extraneous initialization that leaks a CamelUrl on eachHarish Krishnaswamy2006-11-172-1/+6 * Translation updated by Ivar Smolin.Priit Laes2006-11-172-11/+16 * Updated Spanish translation.Francisco Javier F. Serrador2006-11-162-15/+22 * Display a warning message when calendar fails to load.Chenthill Palanisamy2006-11-152-0/+10 * Translation updated by Ivar Smolin.Priit Laes2006-11-152-2/+40 * ** Fixes bug #357492 put the attachment pointes into a temporary array.Parthasarathi Susarla2006-11-152-4/+18 * Updated Spanish translation.Francisco Javier F. Serrador2006-11-152-54/+36 * Updated Spanish translation.Francisco Javier F. Serrador2006-11-152-129/+218 * Removed AddedFrancisco Javier F. Serrador2006-11-153-0/+5 * Disconnect signal handlers before gcal is destroyed. Fixes #208959Harish Krishnaswamy2006-11-152-1/+26 * Install evolution.desktop instead of evolution-<version>.desktop.Harish Krishnaswamy2006-11-152-3/+8 * Add targets help/quickref/es/Makefile and mail/default/es/Makefile.Harish Krishnaswamy2006-11-152-0/+7 * Update: Javier F. Serrador has provided a patch atHarish Krishnaswamy2006-11-141-2/+1 * Reverting the previous patch as it breaks the HEAD build. TargetHarish Krishnaswamy2006-11-142-7/+10 * Translation updated by Ivar Smolin.Priit Laes2006-11-132-12/+33 * Translation updated by Ivar Smolin.Priit Laes2006-11-122-2/+16 * Fixes #358249 Fixes #358249Francisco Javier F. Serrador2006-11-113-2/+7 * Fixes #76336 and fix Spanish quickref.Francisco Javier F. Serrador2006-11-112-1/+10 * quickref/Makefile.am quickref/es/Makefile.am quickref/es/quickref.pdfFrancisco Javier F. Serrador2006-11-115-1/+139 * Updated Spanish translation.Francisco Javier F. Serrador2006-11-102-294/+332 * Added file for Spanish translation.Francisco Javier F. Serrador2006-11-101-0/+2 * Added "es" to SUBDIRSFrancisco Javier F. Serrador2006-11-102-2/+7 * Added Spanish welcome mail. Added MakefileFrancisco Javier F. Serrador2006-11-103-0/+379 * Disable mail delete for proxy when there are not enough rightsSankar P2006-11-094-3/+44 * Translation updated by Ivar Smolin.Priit Laes2006-11-092-2/+6 * Fixes #208318.Chenthill Palanisamy2006-11-073-5/+27 * Evolution 2.9.1 release updates.Harish Krishnaswamy2006-11-073-1/+19 * Move prefer-plain plugin to the 'standard' list from 'experimental'.Harish Krishnaswamy2006-11-072-2/+7 * Fixes #354875Chenthill Palanisamy2006-11-062-6/+17 * Updated French translation.Christophe Merlet2006-11-062-9/+12 * Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>Alexander Shopov2006-11-042-262/+287 * Updated Spanish translation.Francisco Javier F. Serrador2006-11-032-215/+121 * Added execversion to evolution-shell.pc.inJules Colding2006-11-022-0/+7 * Translation updated by Ivar Smolin.Priit Laes2006-11-022-6/+12 * Translation updated by Ivar Smolin.Priit Laes2006-10-282-12/+18 * Updated Finnish translationIlkka Tuohela2006-10-262-77/+81 * Translation updated by Ivar Smolin.Priit Laes2006-10-252-8/+14 * Updated Spanish translation.Francisco Javier F. Serrador2006-10-242-120/+215 * Fixed typo in plugin description. Fixes bug 363999.Priit Laes2006-10-232-1/+6 * Updated French translation.Christophe Merlet2006-10-232-263/+315 * Translation updated.Priit Laes2006-10-222-83/+95 * Fix typo. Fixes #363999.Priit Laes2006-10-222-1/+5 * Updated Nepali TranslationPawan Chitrakar2006-10-202-1580/+1676 * Translation updated.Gabor Kelemen2006-10-202-441/+625 * Translation updated by Ivar Smolin.Priit Laes2006-10-202-43/+48 * Translation updated by Ivar Smolin.Priit Laes2006-10-192-37/+43 * Updated Catalan translation.Josep Puigdemont i Casamajó2006-10-191-5/+5 * Added Catalan translation.Josep Puigdemont i Casamajó2006-10-192-649/+782 * Translation updated by Ivar Smolin.Priit Laes2006-10-192-6/+29 * Evolution 2.9.1 release updates.Harish Krishnaswamy2006-10-173-3/+53 * Update last stable version.Harish Krishnaswamy2006-10-172-1/+6 * Fixes #332101Chenthill Palanisamy2006-10-1729-60/+128 * ** Fixes bug #347768Ushveen Kaur2006-10-162-2/+9 * List the function mail_win32_get_mail_thread_queued() instead of theTor Lillqvist2006-10-165-1/+36 * Fixes #360815Chenthill Palanisamy2006-10-166-5/+20 * Changed the parameter passed to gal_view_minicard_attach.Devashish Sharma2006-10-164-5/+27 * Updated Finnish translationIlkka Tuohela2006-10-162-177/+218 * Changes the string displayed in the status bar. Fixes #320615Sankar P2006-10-162-1/+7 * Add two files here. Update the translation.Kjartan Maraas2006-10-163-949/+1046 * Mark name and description for translation.Kjartan Maraas2006-10-162-2/+7 * ** Fixes bug #308276Ushveen Kaur2006-10-162-1/+7 * ** Fixes bug#332908Ushveen Kaur2006-10-163-9/+20 * ** Fixes bug #329696 String change to make it more clear.Ushveen Kaur2006-10-162-2/+8 * Disable tooltips on drag, resize and edit. Fixes #333224. Patch submittedHarish Krishnaswamy2006-10-162-8/+42 * ** Fix for bug #333864 and bug #351374Srinivasa Ragavan2006-10-162-2/+29 * Translation updated by Ivar Smolin.Priit Laes2006-10-162-4/+10 * 2006-10-15 Jovan Naumovski <jovanna@cvs.gnome.org> *mk.po: Updated Macedonian...Jovan Naumovski2006-10-162-8/+12 * Updated Finnish translationIlkka Tuohela2006-10-152-23/+24 * addressbook/importers/evolution-ldif-importer.cFrancisco Javier F. Serrador2006-10-159-9/+22 * Updated Spanish translation.Francisco Javier F. Serrador2006-10-152-33/+37 * Updated Finnish translationIlkka Tuohela2006-10-152-9/+13 * Updated Nepali TranslationPawan Chitrakar2006-10-151-2190/+2269 * Updated Swedish Translation and my emailJohan Dahlin2006-10-152-6/+10 * Fixed plurals-related problem.Satoru SATOH2006-10-142-753/+833 * Fixes bug #352546Matthew Barnes2006-10-142-1/+8 * Documentation updates. Committing on behalf of Radhika NairHarish Krishnaswamy2006-10-142-32/+40 * Translation updated by Ivar Smolin.Priit Laes2006-10-142-8/+18 * Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>Alexander Shopov2006-10-142-403/+467 * ** Fix for bug #334966Srinivasa Ragavan2006-10-142-1/+15 * Updated Italian translation.Luca Ferretti2006-10-112-289/+382 * ** Fix for bug #360237 & bug #359236Srinivasa Ragavan2006-10-112-2/+13 * Updated Lithuanian translation.Žygimantas Beručka2006-10-102-469/+542 * Updated Finnish translationIlkka Tuohela2006-10-092-4/+8 * Small fixes to Catalan translationJordi Mas2006-10-091-6/+5 * Updated French translation.Christophe Merlet2006-10-092-250/+316 * Catalan translation fixesJordi Mas2006-10-082-5/+9 * Translation updated by Ivar Smolin.Priit Laes2006-10-062-2/+6 * Updated Finnish translationIlkka Tuohela2006-10-052-61/+89 * Translation updated by Ivar Smolin.Priit Laes2006-10-052-2/+22 * Translation updated by Tino Meinen.Vincent van Adrighem2006-10-042-405/+471 * Translation updated by Ivar Smolin.Priit Laes2006-10-042-2/+22 * Updated TranslationAnkitkumar Rameshchandra Patel2006-10-042-403/+467 * Updated Swedish translation.Daniel Nylander2006-10-042-65/+91 * Translation updated by Ivar Smolin.Priit Laes2006-10-042-403/+450 * 2006-10-03 Jovan Naumovski <jovanna@cvs.gnome.org> *mk.po: Updated Macedonian...Jovan Naumovski2006-10-041-97/+120 * Updated Spanish translation.Francisco Javier F. Serrador2006-10-032-191/+117 * svn path=/trunk/; revision=32849Francisco Javier F. Serrador2006-10-032-4/+9 * Make two strings translatable.Francisco Javier F. Serrador2006-10-032-61/+73 * Make two strings translatable.Francisco Javier F. Serrador2006-10-032-2/+6 * Revert the previous patch as per rel-team disapproval on the commit.Harish Krishnaswamy2006-10-022-1/+6 * Evolution 2.8.1 release updates.Harish Krishnaswamy2006-10-023-1/+39 * Documentation updates. Committing on behalf of Radhika NairHarish Krishnaswamy2006-10-022-119/+273 * *** empty log message ***Ignacio Casal Quinteiro2006-10-02