[Commits] [SCM] claws branch, master, updated. 3.17.0-36-gee945a6
ticho at claws-mail.org
ticho at claws-mail.org
Fri Aug 31 13:44:28 CEST 2018
The branch, master has been updated
via ee945a68a8feca96d98608afc60d38272de8e385 (commit)
via f7b61e7f33aed0b07003d0e71a80023b1001c6fd (commit)
from 6a3c7a527721fde7cda8a7f287d44eb5ff97c153 (commit)
Summary of changes:
src/Makefile.am | 6 +-----
src/common/Makefile.am | 8 ++++++--
src/{ => common}/codeconv.c | 0
src/{ => common}/codeconv.h | 0
src/common/md5.c | 5 ++++-
src/common/template.c | 2 +-
src/{ => common}/unmime.c | 0
src/{ => common}/unmime.h | 0
src/common/utils.c | 2 +-
src/common/xml.c | 3 +--
src/plugins/rssyl/libfeed/parser_opml.c | 2 +-
11 files changed, 15 insertions(+), 13 deletions(-)
rename src/{ => common}/codeconv.c (100%)
rename src/{ => common}/codeconv.h (100%)
rename src/{ => common}/unmime.c (100%)
rename src/{ => common}/unmime.h (100%)
- Log -----------------------------------------------------------------
commit ee945a68a8feca96d98608afc60d38272de8e385
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Aug 31 13:43:59 2018 +0200
md5.c doesn't need to include entire utils.h.
diff --git a/src/common/md5.c b/src/common/md5.c
index 03fbedc..611b9ea 100644
--- a/src/common/md5.c
+++ b/src/common/md5.c
@@ -37,9 +37,12 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <unistd.h>
+
+#include <glib.h>
+#include <glib/gstdio.h>
#include "md5.h"
-#include "utils.h"
/****************
* Rotate a 32 bit integer by n bytes
commit f7b61e7f33aed0b07003d0e71a80023b1001c6fd
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Aug 31 13:39:04 2018 +0200
Moved codeconv.[ch] and unmime.[ch] to common/ subdir.
That's where they belong. This also clears up a few ugly
cases of other files in common including "../codeconv.h".
diff --git a/src/Makefile.am b/src/Makefile.am
index 1fb6dcd..30e85a4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -137,7 +137,6 @@ claws_mail_SOURCES = \
alertpanel.c \
autofaces.c \
avatars.c \
- codeconv.c \
compose.c \
crash.c \
customheader.c \
@@ -146,7 +145,7 @@ claws_mail_SOURCES = \
enriched.c \
entity.c \
export.c \
- file_checker.c \
+ file_checker.c \
filtering.c \
folder.c \
folder_item_prefs.c \
@@ -236,7 +235,6 @@ claws_mail_SOURCES = \
textview.c \
toolbar.c \
undo.c \
- unmime.c \
uri_opener.c \
wizard.c \
$(abook_source)
@@ -257,7 +255,6 @@ claws_mailinclude_HEADERS = \
alertpanel.h \
autofaces.h \
avatars.h \
- codeconv.h \
compose.h \
crash.h \
customheader.h \
@@ -358,7 +355,6 @@ claws_mailinclude_HEADERS = \
textview.h \
toolbar.h \
undo.h \
- unmime.h \
uri_opener.h \
viewtypes.h \
wizard.h \
diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index f9ad434..56b6cdb 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -19,6 +19,7 @@ arch_header =
endif
libclawscommon_la_SOURCES = $(arch_sources) \
+ codeconv.c \
hooks.c \
log.c \
md5.c \
@@ -43,10 +44,12 @@ libclawscommon_la_SOURCES = $(arch_sources) \
uuencode.c \
xml.c \
xmlprops.c \
- pkcs5_pbkdf2.c
+ pkcs5_pbkdf2.c \
+ unmime.c
clawscommonincludedir = $(pkgincludedir)/common
clawscommoninclude_HEADERS = $(arch_headers) \
+ codeconv.h \
defs.h \
hooks.h \
log.h \
@@ -75,7 +78,8 @@ clawscommoninclude_HEADERS = $(arch_headers) \
version.h \
xml.h \
xmlprops.h \
- pkcs5_pbkdf2.h
+ pkcs5_pbkdf2.h \
+ unmime.h
AM_CPPFLAGS = \
-I$(top_srcdir)/intl \
diff --git a/src/codeconv.c b/src/common/codeconv.c
similarity index 100%
rename from src/codeconv.c
rename to src/common/codeconv.c
diff --git a/src/codeconv.h b/src/common/codeconv.h
similarity index 100%
rename from src/codeconv.h
rename to src/common/codeconv.h
diff --git a/src/common/template.c b/src/common/template.c
index 9e9e364..9d53d88 100644
--- a/src/common/template.c
+++ b/src/common/template.c
@@ -28,7 +28,7 @@
#include "utils.h"
#include "template.h"
-#include "../codeconv.h"
+#include "codeconv.h"
static GSList *template_list;
diff --git a/src/unmime.c b/src/common/unmime.c
similarity index 100%
rename from src/unmime.c
rename to src/common/unmime.c
diff --git a/src/unmime.h b/src/common/unmime.h
similarity index 100%
rename from src/unmime.h
rename to src/common/unmime.h
diff --git a/src/common/utils.c b/src/common/utils.c
index 0a7f421..bf20ec3 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -83,7 +83,7 @@
#include "utils.h"
#include "socket.h"
-#include "../codeconv.h"
+#include "codeconv.h"
#include "tlds.h"
#define BUFFSIZE 8192
diff --git a/src/common/xml.c b/src/common/xml.c
index 4868d98..4127fd0 100644
--- a/src/common/xml.c
+++ b/src/common/xml.c
@@ -24,8 +24,7 @@
#include "xml.h"
#include "utils.h"
-/* UGLY! */
-#include "../codeconv.h"
+#include "codeconv.h"
#define SPARSE_MEMORY
/* if this is defined all attr.names and tag.names are stored
diff --git a/src/plugins/rssyl/libfeed/parser_opml.c b/src/plugins/rssyl/libfeed/parser_opml.c
index 09e34aa..dc31980 100644
--- a/src/plugins/rssyl/libfeed/parser_opml.c
+++ b/src/plugins/rssyl/libfeed/parser_opml.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <ctype.h>
-#include <codeconv.h>
+#include <common/codeconv.h>
#include "feed.h"
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list