* move standard header files to source files
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Oct 2008 17:18:19 +0000 (17:18 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Oct 2008 17:18:19 +0000 (17:18 +0000)
 * remove gendoc

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@37158 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

28 files changed:
gendoc [deleted file]
src/bin/Makefile.am
src/bin/edje_cc.c
src/bin/edje_cc.h
src/bin/edje_cc_handlers.c
src/bin/edje_cc_mem.c
src/bin/edje_cc_out.c
src/bin/edje_cc_parse.c
src/bin/edje_cc_sources.c
src/bin/edje_decc.c
src/bin/edje_decc.h
src/bin/edje_main.h
src/lib/edje_cache.c
src/lib/edje_calc.c
src/lib/edje_edit.c
src/lib/edje_embryo.c
src/lib/edje_entry.c
src/lib/edje_load.c
src/lib/edje_main.c
src/lib/edje_match.c
src/lib/edje_message_queue.c
src/lib/edje_private.h
src/lib/edje_program.c
src/lib/edje_script_only.c
src/lib/edje_text.c
src/lib/edje_textblock_styles.c
src/lib/edje_util.c
src/lib/edje_var.c

diff --git a/gendoc b/gendoc
deleted file mode 100755 (executable)
index 1b20190..0000000
--- a/gendoc
+++ /dev/null
@@ -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
index 6a229a0..04e7f97 100644 (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
index fe8cc05..5b3ade7 100644 (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);
 
index d25410f..117a1bc 100644 (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,
index 9c4c04c..0d9d25d 100644 (file)
  * <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);
index 074d343..a4c2cf8 100644 (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 *
index 5db1064..3171d7b 100644 (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;
index 57e0a1b..57fcd69 100644 (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);
index 3685dd1..1e80fb6 100644 (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;
index 928b0bf..40e6179 100644 (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"
 
index 2f9050e..be0495c 100644 (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;
index 195af10..032a07e 100644 (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
index 0048b65..b0bd0c8 100644 (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;
index d412a00..91fc593 100644 (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"
 
index d8a31de..57b30e7 100644 (file)
  *
  */
 
+#include <string.h>
+#include <limits.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <errno.h>
+
 #include "edje_private.h"
 #include "edje_cc.h"
 
index dad30c5..11303a7 100644 (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"
 
 /*
index ec135b6..d44c4cc 100644 (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.)
index 25ecc16..1b07e6b 100644 (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);
index 40cdf72..2e80036 100644 (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;
index 596ab9b..550f7b2 100644 (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. */
index e20e00b..65ed934 100644 (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;
index 50f505b..1bed06b 100644 (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
index 691115d..46c78ef 100644 (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);
index 0dffa7b..cfc1c82 100644 (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"
 
 /*
index 771ae3c..356c7ab 100644 (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"
 
 
index 3a0bccb..232b1fd 100644 (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
index 131a4bc..0044e75 100644 (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;
index 56fc415..8aaf819 100644 (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);