* move standard header files to source files

* remove gendoc


SVN revision: 37158
This commit is contained in:
Vincent Torri 2008-10-26 17:18:19 +00:00
parent f0783945d9
commit 0d8b00fdeb
28 changed files with 178 additions and 71 deletions

View File

@ -1,17 +0,0 @@
#!/bin/sh
cp ./edje.c.in ./edje.c
cat ./src/lib/Edje.h >> ./edje.c
for I in `find ./src/lib -name "*.c" -print | grep -v edje_edit.c`; do
cat $I >> ./edje.c
done
rm -rf ./doc/html ./doc/latex ./doc/man
mkdir -p ./doc/html ./doc/latex ./doc/man
doxygen
cp doc/img/*.png doc/html/
cp doc/img/*.gif doc/html/
cp doc/img/*.jpg doc/html/
cp doc/*.css doc/html/
rm -f edje_docs.tar edje_docs.tar.gz
tar -cvf edje_docs.tar doc/html doc/man doc/latex
gzip -9 edje_docs.tar
exit 0

View File

@ -39,15 +39,12 @@ edje_decc
edje_cc_SOURCES = \
edje_cc.c \
edje_cc.h \
edje_cc_out.c \
edje_cc_parse.c \
edje_cc_mem.c \
edje_cc_handlers.c \
edje_cc_sources.c \
edje_prefix.c \
edje_prefix.h \
edje_main.h
edje_prefix.c
edje_cc_LDADD = $(top_builddir)/src/lib/libedje.la $(ECORE_EVAS_LIBS) $(EVIL_LIBS)
edje_cc_LDFLAGS = @lt_enable_auto_import@
@ -61,3 +58,5 @@ edje_cc_sources.c
edje_decc_LDADD = $(top_builddir)/src/lib/libedje.la $(ECORE_EVAS_LIBS) $(ECORE_FILE_LIBS)
edje_decc_LDFLAGS = @lt_enable_auto_import@
EXTRA_DIST = edje_prefix.h edje_cc.h

View File

@ -2,7 +2,13 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include <locale.h>
#include <limits.h>
#include <sys/stat.h>
#include "edje_cc.h"
#include "edje_prefix.h"
static void main_help(void);

View File

@ -1,7 +1,7 @@
#ifndef EDJE_CC_H
#define EDJE_CC_H
#include "edje_main.h"
#include <edje_private.h>
/*
* On Windows, if the file is not opened in binary mode,

View File

@ -41,6 +41,13 @@
* <table class="edcref" border="0">
*/
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <unistd.h>
#include "edje_cc.h"
static void st_images_image(void);

View File

@ -2,6 +2,9 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include <errno.h>
#include "edje_cc.h"
void *

View File

@ -2,7 +2,15 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <sys/stat.h>
#include <Ecore_Evas.h>
#include "edje_cc.h"
#include "edje_prefix.h"
typedef struct _Part_Lookup Part_Lookup;
typedef struct _Program_Lookup Program_Lookup;

View File

@ -2,6 +2,14 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include "edje_cc.h"
static void new_object(void);

View File

@ -2,6 +2,10 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include "edje_cc.h"
static Eet_Data_Descriptor *_srcfile_edd = NULL;

View File

@ -8,7 +8,16 @@
# include <config.h>
#endif
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <locale.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <Ecore_File.h>
#include <Ecore_Evas.h>
#include "edje_decc.h"

View File

@ -1,7 +1,7 @@
#ifndef EDJE_DECC_H
#define EDJE_DECC_H
#include "edje_main.h"
#include <edje_private.h>
/* types */
typedef struct _Font Font;

View File

@ -2,18 +2,19 @@
#define EDJE_MAIN_H
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
/* #ifdef HAVE_CONFIG_H */
/* # include <config.h> */
/* #endif */
#include <fcntl.h>
#include <stdarg.h>
#include <ctype.h>
#include <sys/mman.h>
/* #include <fcntl.h> */
/* #include <stdarg.h> */
/* #include <ctype.h> */
/* #include <sys/mman.h> */
/* #include <locale.h> */
#include <Ecore_Evas.h>
/* #include <Ecore_Evas.h> */
#include "edje_private.h"
#include "edje_prefix.h"
/* #include "edje_private.h" */
/* #include "edje_prefix.h" */
#endif

View File

@ -2,6 +2,30 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <string.h>
#include <sys/stat.h>
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "edje_private.h"
static Evas_Hash *_edje_file_hash = NULL;

View File

@ -2,7 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <eina_convert.h>
#include <string.h>
#include <math.h>
#include "edje_private.h"

View File

@ -10,6 +10,12 @@
*
*/
#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <sys/stat.h>
#include <errno.h>
#include "edje_private.h"
#include "edje_cc.h"

View File

@ -2,6 +2,29 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <string.h>
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "edje_private.h"
/*

View File

@ -2,6 +2,29 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <string.h>
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "edje_private.h"
// FIXME: need a way to propagate emits to selections and cursors (eg for disabled etc.)

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"
void _edje_collection_free_part_description_free(Edje_Part_Description *desc, unsigned int free_strings);

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <time.h>
#include "edje_private.h"
static int initted = 0;

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"
/* States manipulations. */

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"
static Ecore_Job *job = NULL;

View File

@ -5,43 +5,6 @@
# include <config.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include <time.h>
#include <assert.h>
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include <errno.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#ifdef HAVE_EVIL
# include <Evil.h>
#endif

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"
static void _edje_emit_cb(Edje *ed, const char *sig, const char *src);

View File

@ -2,6 +2,27 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "edje_private.h"
/*

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"
static int

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"
static Evas_Hash *_edje_color_class_hash = NULL;

View File

@ -2,6 +2,8 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include <string.h>
#include "edje_private.h"
static int _edje_var_timer_cb(void *data);