aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/edje/data
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-04 18:41:13 +1000
committerDavid Walter Seikel2012-01-04 18:41:13 +1000
commitdd7595a3475407a7fa96a97393bae8c5220e8762 (patch)
treee341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/edje/data
parentAdd the skeleton. (diff)
downloadSledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2
SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/edje/data')
-rw-r--r--libraries/edje/data/Makefile.am10
-rw-r--r--libraries/edje/data/Makefile.in686
-rw-r--r--libraries/edje/data/edc.vim340
-rw-r--r--libraries/edje/data/edje-mode.el512
-rw-r--r--libraries/edje/data/edje.xml11
-rw-r--r--libraries/edje/data/include/Makefile.am10
-rw-r--r--libraries/edje/data/include/Makefile.in485
-rw-r--r--libraries/edje/data/include/edje.inc219
8 files changed, 2273 insertions, 0 deletions
diff --git a/libraries/edje/data/Makefile.am b/libraries/edje/data/Makefile.am
new file mode 100644
index 0000000..bd673a0
--- /dev/null
+++ b/libraries/edje/data/Makefile.am
@@ -0,0 +1,10 @@
1
2MAINTAINERCLEANFILES = Makefile.in
3
4SUBDIRS = include
5
6mimedir = $(datadir)/mime/packages
7mime_DATA = edje.xml
8
9EXTRA_DIST = edc.vim edje-mode.el $(mime_DATA)
10
diff --git a/libraries/edje/data/Makefile.in b/libraries/edje/data/Makefile.in
new file mode 100644
index 0000000..8555a6e
--- /dev/null
+++ b/libraries/edje/data/Makefile.in
@@ -0,0 +1,686 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18VPATH = @srcdir@
19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkglibexecdir = $(libexecdir)/@PACKAGE@
23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24install_sh_DATA = $(install_sh) -c -m 644
25install_sh_PROGRAM = $(install_sh) -c
26install_sh_SCRIPT = $(install_sh) -c
27INSTALL_HEADER = $(INSTALL_DATA)
28transform = $(program_transform_name)
29NORMAL_INSTALL = :
30PRE_INSTALL = :
31POST_INSTALL = :
32NORMAL_UNINSTALL = :
33PRE_UNINSTALL = :
34POST_UNINSTALL = :
35build_triplet = @build@
36host_triplet = @host@
37subdir = data
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
41 $(top_srcdir)/m4/efl_binary.m4 \
42 $(top_srcdir)/m4/efl_coverage.m4 \
43 $(top_srcdir)/m4/efl_doxygen.m4 \
44 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
45 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
46 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
47 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
48am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49 $(ACLOCAL_M4)
50mkinstalldirs = $(install_sh) -d
51CONFIG_HEADER = $(top_builddir)/config.h
52CONFIG_CLEAN_FILES =
53CONFIG_CLEAN_VPATH_FILES =
54AM_V_GEN = $(am__v_GEN_$(V))
55am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
56am__v_GEN_0 = @echo " GEN " $@;
57AM_V_at = $(am__v_at_$(V))
58am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
59am__v_at_0 = @
60SOURCES =
61DIST_SOURCES =
62RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
63 html-recursive info-recursive install-data-recursive \
64 install-dvi-recursive install-exec-recursive \
65 install-html-recursive install-info-recursive \
66 install-pdf-recursive install-ps-recursive install-recursive \
67 installcheck-recursive installdirs-recursive pdf-recursive \
68 ps-recursive uninstall-recursive
69am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
70am__vpath_adj = case $$p in \
71 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
72 *) f=$$p;; \
73 esac;
74am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
75am__install_max = 40
76am__nobase_strip_setup = \
77 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
78am__nobase_strip = \
79 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
80am__nobase_list = $(am__nobase_strip_setup); \
81 for p in $$list; do echo "$$p $$p"; done | \
82 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
83 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
84 if (++n[$$2] == $(am__install_max)) \
85 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
86 END { for (dir in files) print dir, files[dir] }'
87am__base_list = \
88 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
89 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
90am__installdirs = "$(DESTDIR)$(mimedir)"
91DATA = $(mime_DATA)
92RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
93 distclean-recursive maintainer-clean-recursive
94AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
95 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
96 distdir
97ETAGS = etags
98CTAGS = ctags
99DIST_SUBDIRS = $(SUBDIRS)
100DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
101am__relativize = \
102 dir0=`pwd`; \
103 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
104 sed_rest='s,^[^/]*/*,,'; \
105 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
106 sed_butlast='s,/*[^/]*$$,,'; \
107 while test -n "$$dir1"; do \
108 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
109 if test "$$first" != "."; then \
110 if test "$$first" = ".."; then \
111 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
112 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
113 else \
114 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
115 if test "$$first2" = "$$first"; then \
116 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
117 else \
118 dir2="../$$dir2"; \
119 fi; \
120 dir0="$$dir0"/"$$first"; \
121 fi; \
122 fi; \
123 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
124 done; \
125 reldir="$$dir2"
126ACLOCAL = @ACLOCAL@
127ALLOCA = @ALLOCA@
128ALSA_CFLAGS = @ALSA_CFLAGS@
129ALSA_LIBS = @ALSA_LIBS@
130AMTAR = @AMTAR@
131AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
132AR = @AR@
133AS = @AS@
134AUTOCONF = @AUTOCONF@
135AUTOHEADER = @AUTOHEADER@
136AUTOMAKE = @AUTOMAKE@
137AWK = @AWK@
138CC = @CC@
139CCDEPMODE = @CCDEPMODE@
140CFLAGS = @CFLAGS@
141CHECK_CFLAGS = @CHECK_CFLAGS@
142CHECK_LIBS = @CHECK_LIBS@
143CPP = @CPP@
144CPPFLAGS = @CPPFLAGS@
145CYGPATH_W = @CYGPATH_W@
146DEFS = @DEFS@
147DEPDIR = @DEPDIR@
148DLLTOOL = @DLLTOOL@
149DSYMUTIL = @DSYMUTIL@
150DUMPBIN = @DUMPBIN@
151ECHO_C = @ECHO_C@
152ECHO_N = @ECHO_N@
153ECHO_T = @ECHO_T@
154ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@
155ECORE_IMF_LIBS = @ECORE_IMF_LIBS@
156EDJE_CC_CFLAGS = @EDJE_CC_CFLAGS@
157EDJE_CC_LIBS = @EDJE_CC_LIBS@
158EDJE_CC_PRG = @EDJE_CC_PRG@
159EDJE_CFLAGS = @EDJE_CFLAGS@
160EDJE_DECC_CFLAGS = @EDJE_DECC_CFLAGS@
161EDJE_DECC_LIBS = @EDJE_DECC_LIBS@
162EDJE_DECC_PRG = @EDJE_DECC_PRG@
163EDJE_EXTERNAL_INSPECTOR_CFLAGS = @EDJE_EXTERNAL_INSPECTOR_CFLAGS@
164EDJE_EXTERNAL_INSPECTOR_LIBS = @EDJE_EXTERNAL_INSPECTOR_LIBS@
165EDJE_EXTERNAL_INSPECTOR_PRG = @EDJE_EXTERNAL_INSPECTOR_PRG@
166EDJE_INSPECTOR_CFLAGS = @EDJE_INSPECTOR_CFLAGS@
167EDJE_INSPECTOR_LIBS = @EDJE_INSPECTOR_LIBS@
168EDJE_INSPECTOR_PRG = @EDJE_INSPECTOR_PRG@
169EDJE_LIBS = @EDJE_LIBS@
170EDJE_PLAYER_CFLAGS = @EDJE_PLAYER_CFLAGS@
171EDJE_PLAYER_LIBS = @EDJE_PLAYER_LIBS@
172EDJE_PLAYER_PRG = @EDJE_PLAYER_PRG@
173EDJE_RECC_PRG = @EDJE_RECC_PRG@
174EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@
175EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@
176EFL_EDJE_BUILD = @EFL_EDJE_BUILD@
177EGREP = @EGREP@
178EVIL_CFLAGS = @EVIL_CFLAGS@
179EVIL_LIBS = @EVIL_LIBS@
180EXEEXT = @EXEEXT@
181FGREP = @FGREP@
182FLAC_CFLAGS = @FLAC_CFLAGS@
183FLAC_LIBS = @FLAC_LIBS@
184GREP = @GREP@
185INSTALL = @INSTALL@
186INSTALL_DATA = @INSTALL_DATA@
187INSTALL_PROGRAM = @INSTALL_PROGRAM@
188INSTALL_SCRIPT = @INSTALL_SCRIPT@
189INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
190LD = @LD@
191LDFLAGS = @LDFLAGS@
192LIBOBJS = @LIBOBJS@
193LIBS = @LIBS@
194LIBTOOL = @LIBTOOL@
195LIPO = @LIPO@
196LN_S = @LN_S@
197LTLIBOBJS = @LTLIBOBJS@
198LUA_CFLAGS = @LUA_CFLAGS@
199LUA_LIBS = @LUA_LIBS@
200MAKEINFO = @MAKEINFO@
201MINIMAL_CFLAGS = @MINIMAL_CFLAGS@
202MINIMAL_LIBS = @MINIMAL_LIBS@
203MKDIR_P = @MKDIR_P@
204MODULE_ARCH = @MODULE_ARCH@
205NM = @NM@
206NMEDIT = @NMEDIT@
207OBJDUMP = @OBJDUMP@
208OBJEXT = @OBJEXT@
209OTOOL = @OTOOL@
210OTOOL64 = @OTOOL64@
211PACKAGE = @PACKAGE@
212PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
213PACKAGE_NAME = @PACKAGE_NAME@
214PACKAGE_STRING = @PACKAGE_STRING@
215PACKAGE_TARNAME = @PACKAGE_TARNAME@
216PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@
220PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
221PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
222PYTHON = @PYTHON@
223PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
224PYTHON_PLATFORM = @PYTHON_PLATFORM@
225PYTHON_PREFIX = @PYTHON_PREFIX@
226PYTHON_VERSION = @PYTHON_VERSION@
227RANLIB = @RANLIB@
228REMIX_CFLAGS = @REMIX_CFLAGS@
229REMIX_LIBS = @REMIX_LIBS@
230REMIX_PLUGIN_DIR = @REMIX_PLUGIN_DIR@
231SED = @SED@
232SET_MAKE = @SET_MAKE@
233SHELL = @SHELL@
234SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
235SNDFILE_LIBS = @SNDFILE_LIBS@
236STRIP = @STRIP@
237VERSION = @VERSION@
238VMAJ = @VMAJ@
239VORBISENC_CFLAGS = @VORBISENC_CFLAGS@
240VORBISENC_LIBS = @VORBISENC_LIBS@
241abs_builddir = @abs_builddir@
242abs_srcdir = @abs_srcdir@
243abs_top_builddir = @abs_top_builddir@
244abs_top_srcdir = @abs_top_srcdir@
245ac_ct_CC = @ac_ct_CC@
246ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
247am__include = @am__include@
248am__leading_dot = @am__leading_dot@
249am__quote = @am__quote@
250am__tar = @am__tar@
251am__untar = @am__untar@
252bindir = @bindir@
253build = @build@
254build_alias = @build_alias@
255build_cpu = @build_cpu@
256build_os = @build_os@
257build_vendor = @build_vendor@
258builddir = @builddir@
259datadir = @datadir@
260datarootdir = @datarootdir@
261docdir = @docdir@
262dvidir = @dvidir@
263edje_cc = @edje_cc@
264efl_doxygen = @efl_doxygen@
265efl_have_doxygen = @efl_have_doxygen@
266exec_prefix = @exec_prefix@
267have_lcov = @have_lcov@
268host = @host@
269host_alias = @host_alias@
270host_cpu = @host_cpu@
271host_os = @host_os@
272host_vendor = @host_vendor@
273htmldir = @htmldir@
274includedir = @includedir@
275infodir = @infodir@
276install_sh = @install_sh@
277libdir = @libdir@
278libexecdir = @libexecdir@
279localedir = @localedir@
280localstatedir = @localstatedir@
281lt_ECHO = @lt_ECHO@
282lt_enable_auto_import = @lt_enable_auto_import@
283lua_libs = @lua_libs@
284mandir = @mandir@
285mkdir_p = @mkdir_p@
286oldincludedir = @oldincludedir@
287pdfdir = @pdfdir@
288pkgconfig_requires_private = @pkgconfig_requires_private@
289pkgpyexecdir = @pkgpyexecdir@
290pkgpythondir = @pkgpythondir@
291prefix = @prefix@
292program_transform_name = @program_transform_name@
293psdir = @psdir@
294pyexecdir = @pyexecdir@
295pythondir = @pythondir@
296release_info = @release_info@
297requirement_edje = @requirement_edje@
298sbindir = @sbindir@
299sharedstatedir = @sharedstatedir@
300srcdir = @srcdir@
301sysconfdir = @sysconfdir@
302target_alias = @target_alias@
303top_build_prefix = @top_build_prefix@
304top_builddir = @top_builddir@
305top_srcdir = @top_srcdir@
306version_info = @version_info@
307vimdir = @vimdir@
308MAINTAINERCLEANFILES = Makefile.in
309SUBDIRS = include
310mimedir = $(datadir)/mime/packages
311mime_DATA = edje.xml
312EXTRA_DIST = edc.vim edje-mode.el $(mime_DATA)
313all: all-recursive
314
315.SUFFIXES:
316$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
317 @for dep in $?; do \
318 case '$(am__configure_deps)' in \
319 *$$dep*) \
320 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
321 && { if test -f $@; then exit 0; else break; fi; }; \
322 exit 1;; \
323 esac; \
324 done; \
325 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \
326 $(am__cd) $(top_srcdir) && \
327 $(AUTOMAKE) --gnu data/Makefile
328.PRECIOUS: Makefile
329Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
330 @case '$?' in \
331 *config.status*) \
332 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
333 *) \
334 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
335 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
336 esac;
337
338$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
339 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
340
341$(top_srcdir)/configure: $(am__configure_deps)
342 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
343$(ACLOCAL_M4): $(am__aclocal_m4_deps)
344 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
345$(am__aclocal_m4_deps):
346
347mostlyclean-libtool:
348 -rm -f *.lo
349
350clean-libtool:
351 -rm -rf .libs _libs
352install-mimeDATA: $(mime_DATA)
353 @$(NORMAL_INSTALL)
354 test -z "$(mimedir)" || $(MKDIR_P) "$(DESTDIR)$(mimedir)"
355 @list='$(mime_DATA)'; test -n "$(mimedir)" || list=; \
356 for p in $$list; do \
357 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
358 echo "$$d$$p"; \
359 done | $(am__base_list) | \
360 while read files; do \
361 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(mimedir)'"; \
362 $(INSTALL_DATA) $$files "$(DESTDIR)$(mimedir)" || exit $$?; \
363 done
364
365uninstall-mimeDATA:
366 @$(NORMAL_UNINSTALL)
367 @list='$(mime_DATA)'; test -n "$(mimedir)" || list=; \
368 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
369 test -n "$$files" || exit 0; \
370 echo " ( cd '$(DESTDIR)$(mimedir)' && rm -f" $$files ")"; \
371 cd "$(DESTDIR)$(mimedir)" && rm -f $$files
372
373# This directory's subdirectories are mostly independent; you can cd
374# into them and run `make' without going through this Makefile.
375# To change the values of `make' variables: instead of editing Makefiles,
376# (1) if the variable is set in `config.status', edit `config.status'
377# (which will cause the Makefiles to be regenerated when you run `make');
378# (2) otherwise, pass the desired values on the `make' command line.
379$(RECURSIVE_TARGETS):
380 @fail= failcom='exit 1'; \
381 for f in x $$MAKEFLAGS; do \
382 case $$f in \
383 *=* | --[!k]*);; \
384 *k*) failcom='fail=yes';; \
385 esac; \
386 done; \
387 dot_seen=no; \
388 target=`echo $@ | sed s/-recursive//`; \
389 list='$(SUBDIRS)'; for subdir in $$list; do \
390 echo "Making $$target in $$subdir"; \
391 if test "$$subdir" = "."; then \
392 dot_seen=yes; \
393 local_target="$$target-am"; \
394 else \
395 local_target="$$target"; \
396 fi; \
397 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
398 || eval $$failcom; \
399 done; \
400 if test "$$dot_seen" = "no"; then \
401 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
402 fi; test -z "$$fail"
403
404$(RECURSIVE_CLEAN_TARGETS):
405 @fail= failcom='exit 1'; \
406 for f in x $$MAKEFLAGS; do \
407 case $$f in \
408 *=* | --[!k]*);; \
409 *k*) failcom='fail=yes';; \
410 esac; \
411 done; \
412 dot_seen=no; \
413 case "$@" in \
414 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
415 *) list='$(SUBDIRS)' ;; \
416 esac; \
417 rev=''; for subdir in $$list; do \
418 if test "$$subdir" = "."; then :; else \
419 rev="$$subdir $$rev"; \
420 fi; \
421 done; \
422 rev="$$rev ."; \
423 target=`echo $@ | sed s/-recursive//`; \
424 for subdir in $$rev; do \
425 echo "Making $$target in $$subdir"; \
426 if test "$$subdir" = "."; then \
427 local_target="$$target-am"; \
428 else \
429 local_target="$$target"; \
430 fi; \
431 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
432 || eval $$failcom; \
433 done && test -z "$$fail"
434tags-recursive:
435 list='$(SUBDIRS)'; for subdir in $$list; do \
436 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
437 done
438ctags-recursive:
439 list='$(SUBDIRS)'; for subdir in $$list; do \
440 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
441 done
442
443ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
444 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
445 unique=`for i in $$list; do \
446 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
447 done | \
448 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
449 END { if (nonempty) { for (i in files) print i; }; }'`; \
450 mkid -fID $$unique
451tags: TAGS
452
453TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
454 $(TAGS_FILES) $(LISP)
455 set x; \
456 here=`pwd`; \
457 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
458 include_option=--etags-include; \
459 empty_fix=.; \
460 else \
461 include_option=--include; \
462 empty_fix=; \
463 fi; \
464 list='$(SUBDIRS)'; for subdir in $$list; do \
465 if test "$$subdir" = .; then :; else \
466 test ! -f $$subdir/TAGS || \
467 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
468 fi; \
469 done; \
470 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
471 unique=`for i in $$list; do \
472 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
473 done | \
474 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
475 END { if (nonempty) { for (i in files) print i; }; }'`; \
476 shift; \
477 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
478 test -n "$$unique" || unique=$$empty_fix; \
479 if test $$# -gt 0; then \
480 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
481 "$$@" $$unique; \
482 else \
483 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
484 $$unique; \
485 fi; \
486 fi
487ctags: CTAGS
488CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
489 $(TAGS_FILES) $(LISP)
490 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
491 unique=`for i in $$list; do \
492 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
493 done | \
494 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
495 END { if (nonempty) { for (i in files) print i; }; }'`; \
496 test -z "$(CTAGS_ARGS)$$unique" \
497 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
498 $$unique
499
500GTAGS:
501 here=`$(am__cd) $(top_builddir) && pwd` \
502 && $(am__cd) $(top_srcdir) \
503 && gtags -i $(GTAGS_ARGS) "$$here"
504
505distclean-tags:
506 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
507
508distdir: $(DISTFILES)
509 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
510 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
511 list='$(DISTFILES)'; \
512 dist_files=`for file in $$list; do echo $$file; done | \
513 sed -e "s|^$$srcdirstrip/||;t" \
514 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
515 case $$dist_files in \
516 */*) $(MKDIR_P) `echo "$$dist_files" | \
517 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
518 sort -u` ;; \
519 esac; \
520 for file in $$dist_files; do \
521 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
522 if test -d $$d/$$file; then \
523 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
524 if test -d "$(distdir)/$$file"; then \
525 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
526 fi; \
527 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
528 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
529 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
530 fi; \
531 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
532 else \
533 test -f "$(distdir)/$$file" \
534 || cp -p $$d/$$file "$(distdir)/$$file" \
535 || exit 1; \
536 fi; \
537 done
538 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
539 if test "$$subdir" = .; then :; else \
540 test -d "$(distdir)/$$subdir" \
541 || $(MKDIR_P) "$(distdir)/$$subdir" \
542 || exit 1; \
543 fi; \
544 done
545 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
546 if test "$$subdir" = .; then :; else \
547 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
548 $(am__relativize); \
549 new_distdir=$$reldir; \
550 dir1=$$subdir; dir2="$(top_distdir)"; \
551 $(am__relativize); \
552 new_top_distdir=$$reldir; \
553 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
554 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
555 ($(am__cd) $$subdir && \
556 $(MAKE) $(AM_MAKEFLAGS) \
557 top_distdir="$$new_top_distdir" \
558 distdir="$$new_distdir" \
559 am__remove_distdir=: \
560 am__skip_length_check=: \
561 am__skip_mode_fix=: \
562 distdir) \
563 || exit 1; \
564 fi; \
565 done
566check-am: all-am
567check: check-recursive
568all-am: Makefile $(DATA)
569installdirs: installdirs-recursive
570installdirs-am:
571 for dir in "$(DESTDIR)$(mimedir)"; do \
572 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
573 done
574install: install-recursive
575install-exec: install-exec-recursive
576install-data: install-data-recursive
577uninstall: uninstall-recursive
578
579install-am: all-am
580 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
581
582installcheck: installcheck-recursive
583install-strip:
584 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
585 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
586 `test -z '$(STRIP)' || \
587 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
588mostlyclean-generic:
589
590clean-generic:
591
592distclean-generic:
593 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
594 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
595
596maintainer-clean-generic:
597 @echo "This command is intended for maintainers to use"
598 @echo "it deletes files that may require special tools to rebuild."
599 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
600clean: clean-recursive
601
602clean-am: clean-generic clean-libtool mostlyclean-am
603
604distclean: distclean-recursive
605 -rm -f Makefile
606distclean-am: clean-am distclean-generic distclean-tags
607
608dvi: dvi-recursive
609
610dvi-am:
611
612html: html-recursive
613
614html-am:
615
616info: info-recursive
617
618info-am:
619
620install-data-am: install-mimeDATA
621
622install-dvi: install-dvi-recursive
623
624install-dvi-am:
625
626install-exec-am:
627
628install-html: install-html-recursive
629
630install-html-am:
631
632install-info: install-info-recursive
633
634install-info-am:
635
636install-man:
637
638install-pdf: install-pdf-recursive
639
640install-pdf-am:
641
642install-ps: install-ps-recursive
643
644install-ps-am:
645
646installcheck-am:
647
648maintainer-clean: maintainer-clean-recursive
649 -rm -f Makefile
650maintainer-clean-am: distclean-am maintainer-clean-generic
651
652mostlyclean: mostlyclean-recursive
653
654mostlyclean-am: mostlyclean-generic mostlyclean-libtool
655
656pdf: pdf-recursive
657
658pdf-am:
659
660ps: ps-recursive
661
662ps-am:
663
664uninstall-am: uninstall-mimeDATA
665
666.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
667 install-am install-strip tags-recursive
668
669.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
670 all all-am check check-am clean clean-generic clean-libtool \
671 ctags ctags-recursive distclean distclean-generic \
672 distclean-libtool distclean-tags distdir dvi dvi-am html \
673 html-am info info-am install install-am install-data \
674 install-data-am install-dvi install-dvi-am install-exec \
675 install-exec-am install-html install-html-am install-info \
676 install-info-am install-man install-mimeDATA install-pdf \
677 install-pdf-am install-ps install-ps-am install-strip \
678 installcheck installcheck-am installdirs installdirs-am \
679 maintainer-clean maintainer-clean-generic mostlyclean \
680 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
681 tags tags-recursive uninstall uninstall-am uninstall-mimeDATA
682
683
684# Tell versions [3.59,3.63) of GNU make to not export all variables.
685# Otherwise a system limit (for SysV at least) may be exceeded.
686.NOEXPORT:
diff --git a/libraries/edje/data/edc.vim b/libraries/edje/data/edc.vim
new file mode 100644
index 0000000..55e1f0b
--- /dev/null
+++ b/libraries/edje/data/edc.vim
@@ -0,0 +1,340 @@
1" Vim syntax file
2" Language: EDC
3" Maintainer: billiob <billiob@gmail.com>
4" Last Change: 05/08/2011
5
6" For version 5.x: Clear all syntax items
7" For version 6.x: Quit when a syntax file was already loaded
8if version < 600
9 syntax clear
10elseif exists("b:current_syntax")
11 finish
12endif
13
14" A bunch of useful C keywords
15syn keyword cStructure images data fonts collections group externals
16syn keyword cStructure part parts dragable description rel1 rel2
17syn keyword cStatement text image font fill origin size tag
18syn keyword cStructure programs program script script_only lua_script lua_script_only styles style base
19syn keyword cStructure spectra spectrum box
20syn match cType "+ + +;" contained
21
22syn keyword cLabel item name min max type effect
23syn keyword cLabel mouse_events repeat_events clip_to
24syn keyword cLabel color_class text_class x y confine
25syn keyword cLabel state visible align step aspect aspect_preference fixed
26syn keyword cLabel relative offset to to_x to_y normal tween
27syn keyword cLabel border color color2 color3 font size fit align
28syn keyword cLabel signal source action transition in target after
29syn keyword cLabel text smooth inherit scale middle ignore_flags
30syn keyword cLabel alias events entry_mode select_mode multiline
31syn keyword cLabel source1 source2 source3 source4 source5 source6
32syn keyword cLabel text_source transitions layout padding
33syn keyword cLabel size_w size_h size_max_w size_max_h size_min_w size_min_w
34syn keyword cLabel spread scale_hint elipsis ellipsis pointer_mode prefer
35syn keyword cLabel precise_is_inside use_alternate_font_metrics options
36syn keyword cLabel aspect_mode position span angle repch api
37syn keyword cLabel external params size_range border_scale
38
39syn keyword cConditional if else switch
40syn keyword cRepeat while for do
41syn keyword cConstant COMP RAW LOSSY USER
42syn keyword cConstant RECT TEXT IMAGE SWALLOW TEXTBLOCK GRADIENT
43syn keyword cConstant GROUP BOX TABLE EXTERNAL ITEM
44syn keyword cConstant SOLID AUTOGRAB NOGRAB
45syn keyword cConstant NONE PLAIN OUTLINE SOFT_OUTLINE SHADOW
46syn keyword cConstant SOFT_SHADOW OUTLINE_SHADOW OUTLINE_SOFT_SHADOW
47syn keyword cConstant FAR_SOFT_SHADOW FAR_SHADOW GLOW
48syn keyword cConstant STATE_SET ACTION_STOP SIGNAL_EMIT
49syn keyword cConstant SCRIPT LUA_SCRIPT
50syn keyword cConstant DRAG_VAL_SET DRAG_VAL_STEP DRAG_VAL_PAGE
51syn keyword cConstant LINEAR SINUSOIDAL ACCELERATE DECELERATE
52syn keyword cConstant VERTICAL HORIZONTAL ON_HOLD BOTH EDITABLE EXPLICIT
53syn keyword cConstant FOCUS_SET "default" NEITHER
54syn keyword cConstant DYNAMIC STATIC
55
56syn keyword cTodo contained TODO FIXME XXX
57
58" cCommentGroup allows adding matches for special things in comments
59syn cluster cCommentGroup contains=cTodo
60
61" String and Character constants
62" Highlight special characters (those which have a backslash) differently
63syn match cSpecial display contained "\\\(x\x\+\|\o\{1,3}\|.\|$\)"
64if !exists("c_no_utf")
65 syn match cSpecial display contained "\\\(u\x\{4}\|U\x\{8}\)"
66endif
67if exists("c_no_cformat")
68 syn region cString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial
69 " cCppString: same as cString, but ends at end of line
70 syn region cCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial
71else
72 syn match cFormat display "%\(\d\+\$\)\=[-+' #0*]*\(\d*\|\*\|\*\d\+\$\)\(\.\(\d*\|\*\|\*\d\+\$\)\)\=\([hlL]\|ll\)\=\([diuoxXfeEgGcCsSpn]\|\[\^\=.[^]]*\]\)" contained
73 syn match cFormat display "%%" contained
74 syn region cString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,cFormat
75 " cCppString: same as cString, but ends at end of line
76 syn region cCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat
77endif
78
79syn match cCharacter "L\='[^\\]'"
80syn match cCharacter "L'[^']*'" contains=cSpecial
81if exists("c_gnu")
82 syn match cSpecialError "L\='\\[^'\"?\\abefnrtv]'"
83 syn match cSpecialCharacter "L\='\\['\"?\\abefnrtv]'"
84else
85 syn match cSpecialError "L\='\\[^'\"?\\abfnrtv]'"
86 syn match cSpecialCharacter "L\='\\['\"?\\abfnrtv]'"
87endif
88syn match cSpecialCharacter display "L\='\\\o\{1,3}'"
89syn match cSpecialCharacter display "'\\x\x\{1,2}'"
90syn match cSpecialCharacter display "L'\\x\x\+'"
91
92"when wanted, highlight trailing white space
93if exists("c_space_errors")
94 if !exists("c_no_trail_space_error")
95 syn match cSpaceError display excludenl "\s\+$"
96 endif
97 if !exists("c_no_tab_space_error")
98 syn match cSpaceError display " \+\t"me=e-1
99 endif
100endif
101
102"catch errors caused by wrong parenthesis and brackets
103syn cluster cParenGroup contains=cParenError,cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cCommentSkip,cOctalZero,cCppOut,cCppOut2,cCppSkip,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom
104if exists("c_no_bracket_error")
105 syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cCppString
106 " cCppParen: same as cParen but ends at end-of-line; used in cDefine
107 syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString
108 syn match cParenError display ")"
109 syn match cErrInParen display contained "[{}]"
110else
111 syn region cParen transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,cCppString
112 " cCppParen: same as cParen but ends at end-of-line; used in cDefine
113 syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString
114 syn match cParenError display "[\])]"
115 syn match cErrInParen display contained "[\]{}]"
116 syn region cBracket transparent start='\[' end=']' contains=ALLBUT,@cParenGroup,cErrInParen,cCppParen,cCppBracket,cCppString
117 " cCppBracket: same as cParen but ends at end-of-line; used in cDefine
118 syn region cCppBracket transparent start='\[' skip='\\$' excludenl end=']' end='$' contained contains=ALLBUT,@cParenGroup,cErrInParen,cParen,cBracket,cString
119 syn match cErrInBracket display contained "[);{}]"
120endif
121
122"integer number, or floating point number without a dot and with "f".
123syn case ignore
124syn match cNumbers display transparent "\<\d\|\.\d" contains=cNumber,cFloat,cOctalError,cOctal
125" Same, but without octal error (for comments)
126syn match cNumbersCom display contained transparent "\<\d\|\.\d" contains=cNumber,cFloat,cOctal
127syn match cNumber display contained "\d\+\(u\=l\{0,2}\|ll\=u\)\>"
128"hex number
129syn match cNumber display contained "0x\x\+\(u\=l\{0,2}\|ll\=u\)\>"
130" Flag the first zero of an octal number as something special
131syn match cOctal display contained "0\o\+\(u\=l\{0,2}\|ll\=u\)\>" contains=cOctalZero
132syn match cOctalZero display contained "\<0"
133syn match cFloat display contained "\d\+f"
134"floating point number, with dot, optional exponent
135syn match cFloat display contained "\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\="
136"floating point number, starting with a dot, optional exponent
137syn match cFloat display contained "\.\d\+\(e[-+]\=\d\+\)\=[fl]\=\>"
138"floating point number, without dot, with exponent
139syn match cFloat display contained "\d\+e[-+]\=\d\+[fl]\=\>"
140" flag an octal number with wrong digits
141syn match cOctalError display contained "0\o*[89]\d*"
142syn case match
143
144if exists("c_comment_strings")
145 " A comment can contain cString, cCharacter and cNumber.
146 " But a "*/" inside a cString in a cComment DOES end the comment! So we
147 " need to use a special type of cString: cCommentString, which also ends on
148 " "*/", and sees a "*" at the start of the line as comment again.
149 " Unfortunately this doesn't very well work for // type of comments :-(
150 syntax match cCommentSkip contained "^\s*\*\($\|\s\+\)"
151 syntax region cCommentString contained start=+L\=\\\@<!"+ skip=+\\\\\|\\"+ end=+"+ end=+\*/+me=s-1 contains=cSpecial,cCommentSkip
152 syntax region cComment2String contained start=+L\=\\\@<!"+ skip=+\\\\\|\\"+ end=+"+ end="$" contains=cSpecial
153 syntax region cCommentL start="//" skip="\\$" end="$" keepend contains=@cCommentGroup,cComment2String,cCharacter,cNumbersCom,cSpaceError
154 syntax region cComment matchgroup=cCommentStart start="/\*" matchgroup=NONE end="\*/" contains=@cCommentGroup,cCommentStartError,cCommentString,cCharacter,cNumbersCom,cSpaceError
155else
156 syn region cCommentL start="//" skip="\\$" end="$" keepend contains=@cCommentGroup,cSpaceError
157 syn region cComment matchgroup=cCommentStart start="/\*" matchgroup=NONE end="\*/" contains=@cCommentGroup,cCommentStartError,cSpaceError
158endif
159" keep a // comment separately, it terminates a preproc. conditional
160syntax match cCommentError display "\*/"
161syntax match cCommentStartError display "/\*"me=e-1 contained
162
163syn keyword cOperator sizeof
164if exists("c_gnu")
165 syn keyword cStatement __asm__
166 syn keyword cOperator typeof __real__ __imag__
167endif
168syn keyword cType int long short char void
169syn keyword cType signed unsigned float double
170if !exists("c_no_ansi") || exists("c_ansi_typedefs")
171 syn keyword cType size_t wchar_t ptrdiff_t sig_atomic_t fpos_t
172 syn keyword cType clock_t time_t va_list jmp_buf FILE DIR div_t ldiv_t
173 syn keyword cType mbstate_t wctrans_t wint_t wctype_t
174endif
175if !exists("c_no_c99") " ISO C99
176 syn keyword cType bool complex
177 syn keyword cType int8_t int16_t int32_t int64_t
178 syn keyword cType uint8_t uint16_t uint32_t uint64_t
179 syn keyword cType int_least8_t int_least16_t int_least32_t int_least64_t
180 syn keyword cType uint_least8_t uint_least16_t uint_least32_t uint_least64_t
181 syn keyword cType int_fast8_t int_fast16_t int_fast32_t int_fast64_t
182 syn keyword cType uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t
183 syn keyword cType intptr_t uintptr_t
184 syn keyword cType intmax_t uintmax_t
185endif
186if exists("c_gnu")
187 syn keyword cType __label__ __complex__ __volatile__
188endif
189
190syn keyword cStructure struct union enum typedef
191syn keyword cStorageClass static register auto volatile extern const
192if exists("c_gnu")
193 syn keyword cStorageClass inline __attribute__
194endif
195
196if !exists("c_no_ansi") || exists("c_ansi_constants") || exists("c_gnu")
197 if exists("c_gnu")
198 syn keyword cConstant __GNUC__ __FUNCTION__ __PRETTY_FUNCTION__
199 endif
200 syn keyword cConstant __LINE__ __FILE__ __DATE__ __TIME__ __STDC__
201 syn keyword cConstant __STDC_VERSION__
202 syn keyword cConstant CHAR_BIT MB_LEN_MAX MB_CUR_MAX
203 syn keyword cConstant UCHAR_MAX UINT_MAX ULONG_MAX USHRT_MAX
204 syn keyword cConstant CHAR_MIN INT_MIN LONG_MIN SHRT_MIN
205 syn keyword cConstant CHAR_MAX INT_MAX LONG_MAX SHRT_MAX
206 syn keyword cConstant SCHAR_MIN SINT_MIN SLONG_MIN SSHRT_MIN
207 syn keyword cConstant SCHAR_MAX SINT_MAX SLONG_MAX SSHRT_MAX
208 syn keyword cConstant FLT_RADIX FLT_ROUNDS
209 syn keyword cConstant FLT_DIG FLT_MANT_DIG FLT_EPSILON
210 syn keyword cConstant DBL_DIG DBL_MANT_DIG DBL_EPSILON
211 syn keyword cConstant LDBL_DIG LDBL_MANT_DIG LDBL_EPSILON
212 syn keyword cConstant FLT_MIN FLT_MAX FLT_MIN_EXP FLT_MAX_EXP
213 syn keyword cConstant FLT_MIN_10_EXP FLT_MAX_10_EXP
214 syn keyword cConstant DBL_MIN DBL_MAX DBL_MIN_EXP DBL_MAX_EXP
215 syn keyword cConstant DBL_MIN_10_EXP DBL_MAX_10_EXP
216 syn keyword cConstant LDBL_MIN LDBL_MAX LDBL_MIN_EXP LDBL_MAX_EXP
217 syn keyword cConstant LDBL_MIN_10_EXP LDBL_MAX_10_EXP
218 syn keyword cConstant HUGE_VAL CLOCKS_PER_SEC NULL
219 syn keyword cConstant LC_ALL LC_COLLATE LC_CTYPE LC_MONETARY
220 syn keyword cConstant LC_NUMERIC LC_TIME
221 syn keyword cConstant SIG_DFL SIG_ERR SIG_IGN
222 syn keyword cConstant SIGABRT SIGFPE SIGILL SIGHUP SIGINT SIGSEGV SIGTERM
223 " Add POSIX signals as well...
224 syn keyword cConstant SIGABRT SIGALRM SIGCHLD SIGCONT SIGFPE SIGHUP
225 syn keyword cConstant SIGILL SIGINT SIGKILL SIGPIPE SIGQUIT SIGSEGV
226 syn keyword cConstant SIGSTOP SIGTERM SIGTRAP SIGTSTP SIGTTIN SIGTTOU
227 syn keyword cConstant SIGUSR1 SIGUSR2
228 syn keyword cConstant _IOFBF _IOLBF _IONBF BUFSIZ EOF
229 syn keyword cConstant FOPEN_MAX FILENAME_MAX L_tmpnam
230 syn keyword cConstant SEEK_CUR SEEK_END SEEK_SET
231 syn keyword cConstant TMP_MAX stderr stdin stdout
232 syn keyword cConstant EXIT_FAILURE EXIT_SUCCESS RAND_MAX
233 " Add POSIX errors as well
234 syn keyword cConstant E2BIG EACCES EAGAIN EBADF EBADMSG EBUSY
235 syn keyword cConstant ECANCELED ECHILD EDEADLK EDOM EEXIST EFAULT
236 syn keyword cConstant EFBIG EILSEQ EINPROGRESS EINTR EINVAL EIO EISDIR
237 syn keyword cConstant EMFILE EMLINK EMSGSIZE ENAMETOOLONG ENFILE ENODEV
238 syn keyword cConstant ENOENT ENOEXEC ENOLCK ENOMEM ENOSPC ENOSYS
239 syn keyword cConstant ENOTDIR ENOTEMPTY ENOTSUP ENOTTY ENXIO EPERM
240 syn keyword cConstant EPIPE ERANGE EROFS ESPIPE ESRCH ETIMEDOUT EXDEV
241 " math.h
242 syn keyword cConstant M_E M_LOG2E M_LOG10E M_LN2 M_LN10 M_PI M_PI_2 M_PI_4
243 syn keyword cConstant M_1_PI M_2_PI M_2_SQRTPI M_SQRT2 M_SQRT1_2
244endif
245if !exists("c_no_c99") " ISO C99
246 syn keyword cConstant true false
247endif
248
249syn region cPreCondit start="^\s*#\s*\(if\|ifdef\|ifndef\|elif\)\>" skip="\\$" end="$" end="//"me=s-1 contains=cComment,cCppString,cCharacter,cCppParen,cParenError,cNumbers,cCommentError,cSpaceError
250syn match cPreCondit display "^\s*#\s*\(else\|endif\)\>"
251if !exists("c_no_if0")
252 syn region cCppOut start="^\s*#\s*if\s\+0\+\>" end=".\|$" contains=cCppOut2
253 syn region cCppOut2 contained start="0" end="^\s*#\s*\(endif\>\|else\>\|elif\>\)" contains=cSpaceError,cCppSkip
254 syn region cCppSkip contained start="^\s*#\s*\(if\>\|ifdef\>\|ifndef\>\)" skip="\\$" end="^\s*#\s*endif\>" contains=cSpaceError,cCppSkip
255endif
256syn region cIncluded display contained start=+"+ skip=+\\\\\|\\"+ end=+"+
257syn match cIncluded display contained "<[^>]*>"
258syn match cInclude display "^\s*#\s*include\>\s*["<]" contains=cIncluded
259"syn match cLineSkip "\\$"
260syn cluster cPreProcGroup contains=cPreCondit,cIncluded,cInclude,cDefine,cErrInParen,cErrInBracket,cUserLabel,cSpecial,cOctalZero,cCppOut,cCppOut2,cCppSkip,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cString,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cParen,cBracket,cMulti
261syn region cDefine start="^\s*#\s*\(define\|undef\)\>" skip="\\$" end="$" end="//"me=s-1 contains=ALLBUT,@cPreProcGroup
262syn region cPreProc start="^\s*#\s*\(pragma\>\|line\>\|warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend contains=ALLBUT,@cPreProcGroup
263
264syn match cUserLabel display "\I\i*" contained
265
266
267
268if exists("c_minlines")
269 let b:c_minlines = c_minlines
270else
271 if !exists("c_no_if0")
272 let b:c_minlines = 50 " #if 0 constructs can be long
273 else
274 let b:c_minlines = 15 " mostly for () constructs
275 endif
276endif
277exec "syn sync ccomment cComment minlines=" . b:c_minlines
278
279" Define the default highlighting.
280" For version 5.7 and earlier: only when not done already
281" For version 5.8 and later: only when an item doesn't have highlighting yet
282if version >= 508 || !exists("did_c_syn_inits")
283 if version < 508
284 let did_c_syn_inits = 1
285 command -nargs=+ HiLink hi link <args>
286 else
287 command -nargs=+ HiLink hi def link <args>
288 endif
289
290 HiLink cFormat cSpecial
291 HiLink cCppString cString
292 HiLink cCommentL cComment
293 HiLink cCommentStart cComment
294 HiLink cLabel Label
295 HiLink cUserLabel Label
296 HiLink cConditional Conditional
297 HiLink cRepeat Repeat
298 HiLink cCharacter Character
299 HiLink cSpecialCharacter cSpecial
300 HiLink cNumber Number
301 HiLink cOctal Number
302 HiLink cOctalZero PreProc " link this to Error if you want
303 HiLink cFloat Float
304 HiLink cOctalError cError
305 HiLink cParenError cError
306 HiLink cErrInParen cError
307 HiLink cErrInBracket cError
308 HiLink cCommentError cError
309 HiLink cCommentStartError cError
310 HiLink cSpaceError cError
311 HiLink cSpecialError cError
312 HiLink cOperator Operator
313 HiLink cStructure Structure
314 HiLink cStorageClass StorageClass
315 HiLink cInclude Include
316 HiLink cPreProc PreProc
317 HiLink cDefine Macro
318 HiLink cIncluded cString
319 HiLink cError Error
320 HiLink cStatement Statement
321 HiLink cPreCondit PreCondit
322 HiLink cType Type
323 HiLink cConstant Constant
324 HiLink cCommentString cString
325 HiLink cComment2String cString
326 HiLink cCommentSkip cComment
327 HiLink cString String
328 HiLink cComment Comment
329 HiLink cSpecial SpecialChar
330 HiLink cTodo Todo
331 HiLink cCppSkip cCppOut
332 HiLink cCppOut2 cCppOut
333 HiLink cCppOut Comment
334
335 delcommand HiLink
336endif
337
338let b:current_syntax = "edc"
339
340" vim: ts=8
diff --git a/libraries/edje/data/edje-mode.el b/libraries/edje/data/edje-mode.el
new file mode 100644
index 0000000..33c6fe6
--- /dev/null
+++ b/libraries/edje/data/edje-mode.el
@@ -0,0 +1,512 @@
1;;; edje-mode-el -- Major mode for editing Edje files
2
3;; Author: Gustavo Sverzut Barbieri <barbieri@gmail.com>
4;; Created: 2007-07-23
5;; Keywords: Edje major-mode
6;; Url: http://barbieri-playground.googlecode.com/svn/dot-files/edje-mode.el
7;; (if you find this file have problems, check that Url and request update)
8
9;; Copyright (C) 2007 Gustavo Sverzut Barbieri <barbieri@gmail.com>
10
11;; This program is free software; you can redistribute it and/or
12;; modify it under the terms of the GNU General Public License as
13;; published by the Free Software Foundation; either version 2 of
14;; the License, or (at your option) any later version.
15
16;; This program is distributed in the hope that it will be
17;; useful, but WITHOUT ANY WARRANTY; without even the implied
18;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
19;; PURPOSE. See the GNU General Public License for more details.
20
21;; You should have received a copy of the GNU General Public
22;; License along with this program; if not, write to the Free
23;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24;; MA 02111-1307 USA
25
26;;; Commentary:
27;;
28;; This mode is based on tutorial from Scott Andrew Borton:
29;; http://two-wugs.net/emacs/mode-tutorial.html
30
31
32(defvar edje-mode-hook nil)
33
34(defun number-or-nil-to-string (v &optional default)
35 (cond ((numberp v) (number-to-string v))
36 ((stringp v) (if (string= v "") (number-to-string default) v))
37 (t (number-to-string default))))
38
39(defun non-empty-string (s)
40 (and (not (eq 'nil s))
41 (not (string= "" s))))
42
43(defun edje-new-program-action-signal-emit (source emission)
44 "Insert new program SIGNAL_EMIT"
45 (interactive "ssource: \nsemission: ")
46 (insert
47 (concat
48 " action: SIGNAL_EMIT \"" source "\" \"" emission "\";\n"
49 )))
50
51(defun edje-new-program-action-state-set (state value target)
52 "Insert new program STATE_SET"
53 (interactive "sstate: \nsvalue (0.0): \nstarget: ")
54 (insert
55 (concat
56 " action: STATE_SET \"" state "\" "
57 (number-or-nil-to-string value 0.0) ";\n"
58 " target: \"" target "\";\n"
59 )))
60
61(defun edje-new-program-action (action)
62 "Insert new program action"
63 (interactive "saction: ")
64 (setq action (upcase action))
65 (cond ((string= action "STATE_SET")
66 (edje-new-program-action-state-set "" 0.0 ""))
67 ((string= action "SIGNAL_EMIT")
68 (edje-new-program-action-signal-emit "" ""))
69 ))
70
71(defun edje-new-program (name signal source action)
72 "Insert new program block"
73 (interactive "sname: \nssignal: \nssource: \nsaction: ")
74 (insert
75 (concat
76 "\n"
77 " program {\n"
78 " name: \"" name "\";\n"
79
80 (if (non-empty-string signal)
81 (concat " signal: \"" signal "\";\n"))
82
83 (if (non-empty-string source)
84 (concat " source: \"" source "\";\n"))
85 ))
86
87 (edje-new-program-action action)
88
89 (insert
90 (concat
91 " }\n"
92 "\n"
93 )))
94
95(defun edje-new-desc-relative (x y &optional defx defy)
96 "Insert new part description 'relative' line"
97 (interactive "sx: \nsy: ")
98 (insert
99 (concat
100 " relative: "
101 (number-or-nil-to-string x defx) " "
102 (number-or-nil-to-string y defy) ";\n"
103 )))
104
105(defun edje-new-desc-offset (x y &optional defx defy)
106 "Insert new part description 'offset' line"
107 (interactive "sx: \nsy: ")
108 (insert
109 (concat
110 " offset: "
111 (number-or-nil-to-string x defx) " "
112 (number-or-nil-to-string y defy) ";\n"
113 )))
114
115(defun edje-new-desc-inherit (name val)
116 "Insert new part description 'inherit' line"
117 (interactive "sname: \nsvalue: ")
118 (insert
119 (concat
120 " inherit: \"" name "\" "
121 (number-or-nil-to-string val 0.0) ";\n"
122 )))
123
124(defun edje-new-desc-text (font size text)
125 "Insert new part description 'text' block"
126 (interactive "sfont: \nssize: \nstext: ")
127 (insert
128 (concat
129 " text {\n"
130 " font: \"" font "\";\n"
131 " size: " (number-or-nil-to-string size) ";\n"
132 " text: \"" text "\";\n"
133 " }\n"
134 )))
135
136(defun edje-new-desc-image (name)
137 "Insert new part description 'image' block"
138 (interactive "sname: ")
139 (insert
140 (concat
141 " image {\n"
142 " normal: \"" name "\";\n"
143 " }\n"
144 )))
145
146(defun edje-new-desc-color (r g b a &optional defr defg defb defa)
147 "Insert new part description 'color' line"
148 (interactive "sred: \nsgreen: \nsblue: \nsalpha: ")
149 (insert
150 (concat
151 " color: "
152 (number-or-nil-to-string r defr) " "
153 (number-or-nil-to-string g defg) " "
154 (number-or-nil-to-string b defb) " "
155 (number-or-nil-to-string a defa) ";\n"
156 )))
157
158(defun edje-new-desc (name val &optional
159 r1_rx r1_ry
160 r2_rx r2_ry
161 r1_ox r1_oy
162 r2_ox r2_oy
163 part_type)
164 "Insert new part description block"
165 (interactive "sName: \nsValue: ")
166 (insert
167 (concat
168 " description {\n"
169 " state: \"" name "\" " (number-or-nil-to-string val 0.0) ";\n"))
170 (if (string= part_type "RECT") (edje-new-desc-color 255 255 255 255))
171 (insert " rel1 {\n")
172 (edje-new-desc-relative r1_rx r1_ry 0.0 0.0)
173 (edje-new-desc-offset r1_ox r1_oy 0 0)
174 (insert
175 (concat
176 " }\n"
177 " rel2 {\n"
178 ))
179 (edje-new-desc-relative r2_rx r2_ry 1.0 1.0)
180 (edje-new-desc-offset r2_ox r2_oy -1 -1)
181 (insert " }\n")
182 (cond ((string= part_type "IMAGE") (edje-new-desc-image ""))
183 ((string= part_type "TEXT") (edje-new-desc-text "" 10 "contents"))
184 )
185 (insert " }\n")
186 )
187
188(defun edje-new-part (name type &optional
189 r1_rx r1_ry
190 r2_rx r2_ry
191 r1_ox r1_oy
192 r2_ox r2_oy)
193 "Insert new part"
194 (interactive "sName: \nsType: ")
195 (setq type (upcase type))
196 (insert
197 (concat
198 "\n"
199 " part {\n"
200 " name: \"" name "\";\n"
201 " type: " type ";\n"
202 " mouse_events: 0;\n"
203 ))
204 (edje-new-desc "default" 0.0 r1_rx r1_ry r2_rx r2_ry r1_ox r1_oy r2_ox r2_oy type)
205 (insert
206 (concat
207 " }\n"
208 )))
209
210(defun edje-setup-compile ()
211 (set (make-local-variable 'compile-command)
212 (concat "edje_cc " (buffer-file-name))
213 ))
214
215(defun edje-cc ()
216 "Runs edje_cc with current buffer."
217 (interactive)
218 (compile (edje-setup-compile)))
219
220(defvar edje-mode-map
221 (let ((edje-mode-map (make-sparse-keymap)))
222 (define-key edje-mode-map "\C-j" 'newline-and-indent)
223 (define-key edje-mode-map "\C-cp" 'edje-new-part)
224 (define-key edje-mode-map "\C-cd" 'edje-new-desc)
225 (define-key edje-mode-map "\C-cr" 'edje-new-desc-relative)
226 (define-key edje-mode-map "\C-co" 'edje-new-desc-offset)
227 (define-key edje-mode-map "\C-ch" 'edje-new-desc-inherit)
228 (define-key edje-mode-map "\C-cc" 'edje-new-desc-color)
229 (define-key edje-mode-map "\C-ci" 'edje-new-desc-image)
230 (define-key edje-mode-map "\C-ct" 'edje-new-desc-text)
231 (define-key edje-mode-map "\C-cg" 'edje-new-program)
232 (define-key edje-mode-map "\C-ca" 'edje-new-program-action)
233 (define-key edje-mode-map "\C-cs" 'edje-new-program-action-state-set)
234 (define-key edje-mode-map "\C-ce" 'edje-new-program-action-signal-emit)
235 edje-mode-map)
236 "Keymap for Edje major mode")
237
238(add-hook 'c-mode-hook 'edje-setup-compile)
239(add-to-list 'auto-mode-alist '("\\.edc$" . edje-mode))
240
241(defconst edje-font-lock-keywords-1
242 (eval-when-compile
243 (list
244 (list (concat "[ \t]*\\<"
245 (regexp-opt
246 '(
247 "collections"
248 "data"
249 "description"
250 "dragable"
251 "fill"
252 "fonts"
253 "group"
254 "image"
255 "images"
256 "origin"
257 "part"
258 "parts"
259 "program"
260 "programs"
261 "rel1"
262 "rel2"
263 "script"
264 "spectra"
265 "style"
266 "styles"
267 "text"
268 ) t) "\\>\\([ \t]*{\\|\\.\\)")
269 '(1 font-lock-function-name-face))
270
271 ))
272 "Major keywords")
273
274(defconst edje-font-lock-keywords-2
275 (eval-when-compile
276 (append edje-font-lock-keywords-1
277 (list
278 (list
279 (concat "^\\([ \t]*\\|[ \t]*[a-z]+\\.\\|\\)\\<"
280 (regexp-opt
281 '("action"
282 "after"
283 "alias"
284 "align"
285 "angle"
286 "aspect"
287 "aspect_preference"
288 "base"
289 "border"
290 "clip_to"
291 "collections"
292 "color"
293 "color2"
294 "color3"
295 "color_class"
296 "color_classes"
297 "confine"
298 "data"
299 "description"
300 "dragable"
301 "effect"
302 "elipsis"
303 "events"
304 "fill"
305 "fit"
306 "fixed"
307 "font"
308 "fonts"
309 "gradient"
310 "group"
311 "ignore_flags"
312 "image"
313 "images"
314 "in"
315 "inherit"
316 "item"
317 "max"
318 "middle"
319 "min"
320 "mouse_events"
321 "name"
322 "normal"
323 "offset"
324 "origin"
325 "part"
326 "parts"
327 "pointer_mode"
328 "precise_is_inside"
329 "program"
330 "programs"
331 "rel1"
332 "rel2"
333 "relative"
334 "repeat_events"
335 "signal"
336 "size"
337 "smooth"
338 "source"
339 "spectra"
340 "spectrum"
341 "spread"
342 "state"
343 "step"
344 "style"
345 "styles"
346 "tag"
347 "target"
348 "text"
349 "text_class"
350 "text_source"
351 "to"
352 "to_x"
353 "to_y"
354 "transition"
355 "tween"
356 "type"
357 "use_alternate_font_metrics"
358 "visible"
359 "x"
360 "y"
361 ) t) "\\>[ \t]*[:,]")
362 '(2 font-lock-keyword-face))
363 )))
364 "Minor keywords")
365
366(defconst edje-font-lock-keywords-3
367 (eval-when-compile
368 (append edje-font-lock-keywords-2
369 (list
370 (list
371 (concat "\\<"
372 (regexp-opt
373 '(; image options (st_images_image)
374 "RAW"
375 "COMP"
376 "LOSSY"
377 "USER"
378 ; part types (st_collections_group_parts_part_type)
379 "NONE"
380 "RECT"
381 "TEXT"
382 "IMAGE"
383 "SWALLOW"
384 "TEXTBLOCK"
385 "GRADIENT"
386 "GROUP"
387 ; ignore flags (st_collections_group_parts_part_ignore_flags)
388 ;"NONE"
389 "ON_HOLD"
390 ; pointer mode (st_collections_group_parts_part_pointer_mode)
391 "AUTOGRAB"
392 "NOGRAB"
393 ; aspect (st_collections_group_parts_part_description_aspect_preference)
394 "NONE"
395 "VERTICAL"
396 "HORIZONTAL"
397 "BOTH"
398 ; text effect (st_collections_group_parts_part_effect)
399 "NONE"
400 "PLAIN"
401 "OUTLINE"
402 "SOFT_OUTLINE"
403 "SHADOW"
404 "SOFT_SHADOW"
405 "OUTLINE_SHADOW"
406 "OUTLINE_SOFT_SHADOW"
407 "FAR_SHADOW"
408 "FAR_SOFT_SHADOW"
409 "GLOW"
410 ; image fill (st_collections_group_parts_part_description_fill_type)
411 "SCALE"
412 "TILE"
413 ; program action (st_collections_group_programs_program_action)
414 "STATE_SET"
415 "ACTION_STOP"
416 "SIGNAL_EMIT"
417 "DRAG_VAL_SET"
418 "DRAG_VAL_STEP"
419 "DRAG_VAL_PAGE"
420 "SCRIPT"
421 ; program transition (st_collections_group_programs_program_transition)
422 "LINEAR"
423 "SINUSOIDAL"
424 "ACCELERATE"
425 "DECELERATE"
426 ) t) "\\>")
427 '(1 font-lock-builtin-face))
428 )))
429 "Enumerate values")
430
431(defconst edje-font-lock-keywords-4
432 (eval-when-compile
433 (append edje-font-lock-keywords-3
434 (list
435 (list
436 (concat "[ \t]*#"
437 (regexp-opt
438 '("if"
439 "ifdef"
440 "ifndef"
441 "define"
442 "else"
443 "endif"
444 "include"
445 "undef") t) "[ \t]*")
446 '(1 font-lock-builtin-face))
447 )))
448 "CPP directives")
449
450(defconst edje-font-lock-keywords-5
451 (eval-when-compile
452 (append edje-font-lock-keywords-4
453 (list
454 (list "[ \t]*#undef[ \t]+\\([a-zA-Z_][a-zA-Z0-9_]*\\)"
455 '(1 font-lock-variable-name-face))
456 (list "[ \t]*#define[ \t]+\\([a-zA-Z_][a-zA-Z0-9_]*\\)("
457 '(1 font-lock-function-name-face))
458 (list "[ \t]*#define[ \t]+\\([a-zA-Z_][a-zA-Z0-9_]*\\)"
459 '(1 font-lock-variable-name-face))
460 )))
461 "CPP directives that define constants")
462
463
464(defvar edje-font-lock-keywords edje-font-lock-keywords-5)
465
466(defvar edje-mode-syntax-table
467 (let ((edje-mode-syntax-table (make-syntax-table)))
468 ; This is added so entity names with underscores can be more easily parsed
469 (modify-syntax-entry ?_ "w" edje-mode-syntax-table)
470 (modify-syntax-entry ?/ ". 124b" edje-mode-syntax-table)
471 (modify-syntax-entry ?* ". 23" edje-mode-syntax-table)
472 (modify-syntax-entry ?\n "> b" edje-mode-syntax-table)
473
474 edje-mode-syntax-table)
475 "Syntax table for edje-mode")
476
477(c-add-style
478 "edje"
479 '("gnu"
480 (indent-tabs-mode . nil)
481 (tab-width . 8)
482 (c-basic-offset . 3)
483 (c-backslash-column . 72)
484 (c-hanging-braces-alist .
485 ((block-open after)
486 (brace-list-open after)
487 (substatement-open after))
488 )
489 (c-offsets-alist .
490 ((statement-block-intro . +)
491 (defun-open . 0)
492 (substatement-open . 0)
493 (defun-block-intro . +)
494 (block-open . 0)
495 (label . +)
496 ))))
497
498
499(define-derived-mode edje-mode c-mode "Edje"
500 "Major mode for editing Edje files"
501 (interactive)
502 (use-local-map edje-mode-map)
503 (set-syntax-table edje-mode-syntax-table)
504 (set (make-local-variable 'font-lock-defaults) '(edje-font-lock-keywords))
505 (set (make-local-variable 'require-final-newline) t)
506 (c-set-style "edje")
507 (run-hooks 'edje-mode-hook)
508 )
509
510(provide 'edje-mode)
511
512;;; edje-mode.el ends here
diff --git a/libraries/edje/data/edje.xml b/libraries/edje/data/edje.xml
new file mode 100644
index 0000000..eb299e7
--- /dev/null
+++ b/libraries/edje/data/edje.xml
@@ -0,0 +1,11 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3 <mime-type type="text/edje">
4 <comment>Edje source file</comment>
5 <glob pattern="*.edc"/>
6 </mime-type>
7 <mime-type type="application/edje">
8 <comment>Edje file</comment>
9 <glob pattern="*.edj"/>
10 </mime-type>
11</mime-info>
diff --git a/libraries/edje/data/include/Makefile.am b/libraries/edje/data/include/Makefile.am
new file mode 100644
index 0000000..478813c
--- /dev/null
+++ b/libraries/edje/data/include/Makefile.am
@@ -0,0 +1,10 @@
1
2MAINTAINERCLEANFILES = Makefile.in
3
4FILES = edje.inc
5
6incdir = $(pkgdatadir)/include
7inc_DATA = $(FILES)
8
9EXTRA_DIST = $(FILES)
10
diff --git a/libraries/edje/data/include/Makefile.in b/libraries/edje/data/include/Makefile.in
new file mode 100644
index 0000000..ce14f03
--- /dev/null
+++ b/libraries/edje/data/include/Makefile.in
@@ -0,0 +1,485 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18VPATH = @srcdir@
19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkglibexecdir = $(libexecdir)/@PACKAGE@
23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24install_sh_DATA = $(install_sh) -c -m 644
25install_sh_PROGRAM = $(install_sh) -c
26install_sh_SCRIPT = $(install_sh) -c
27INSTALL_HEADER = $(INSTALL_DATA)
28transform = $(program_transform_name)
29NORMAL_INSTALL = :
30PRE_INSTALL = :
31POST_INSTALL = :
32NORMAL_UNINSTALL = :
33PRE_UNINSTALL = :
34POST_UNINSTALL = :
35build_triplet = @build@
36host_triplet = @host@
37subdir = data/include
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
41 $(top_srcdir)/m4/efl_binary.m4 \
42 $(top_srcdir)/m4/efl_coverage.m4 \
43 $(top_srcdir)/m4/efl_doxygen.m4 \
44 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
45 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
46 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
47 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
48am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49 $(ACLOCAL_M4)
50mkinstalldirs = $(install_sh) -d
51CONFIG_HEADER = $(top_builddir)/config.h
52CONFIG_CLEAN_FILES =
53CONFIG_CLEAN_VPATH_FILES =
54AM_V_GEN = $(am__v_GEN_$(V))
55am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
56am__v_GEN_0 = @echo " GEN " $@;
57AM_V_at = $(am__v_at_$(V))
58am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
59am__v_at_0 = @
60SOURCES =
61DIST_SOURCES =
62am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
63am__vpath_adj = case $$p in \
64 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
65 *) f=$$p;; \
66 esac;
67am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
68am__install_max = 40
69am__nobase_strip_setup = \
70 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
71am__nobase_strip = \
72 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
73am__nobase_list = $(am__nobase_strip_setup); \
74 for p in $$list; do echo "$$p $$p"; done | \
75 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
76 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
77 if (++n[$$2] == $(am__install_max)) \
78 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
79 END { for (dir in files) print dir, files[dir] }'
80am__base_list = \
81 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
82 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
83am__installdirs = "$(DESTDIR)$(incdir)"
84DATA = $(inc_DATA)
85DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
86ACLOCAL = @ACLOCAL@
87ALLOCA = @ALLOCA@
88ALSA_CFLAGS = @ALSA_CFLAGS@
89ALSA_LIBS = @ALSA_LIBS@
90AMTAR = @AMTAR@
91AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
92AR = @AR@
93AS = @AS@
94AUTOCONF = @AUTOCONF@
95AUTOHEADER = @AUTOHEADER@
96AUTOMAKE = @AUTOMAKE@
97AWK = @AWK@
98CC = @CC@
99CCDEPMODE = @CCDEPMODE@
100CFLAGS = @CFLAGS@
101CHECK_CFLAGS = @CHECK_CFLAGS@
102CHECK_LIBS = @CHECK_LIBS@
103CPP = @CPP@
104CPPFLAGS = @CPPFLAGS@
105CYGPATH_W = @CYGPATH_W@
106DEFS = @DEFS@
107DEPDIR = @DEPDIR@
108DLLTOOL = @DLLTOOL@
109DSYMUTIL = @DSYMUTIL@
110DUMPBIN = @DUMPBIN@
111ECHO_C = @ECHO_C@
112ECHO_N = @ECHO_N@
113ECHO_T = @ECHO_T@
114ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@
115ECORE_IMF_LIBS = @ECORE_IMF_LIBS@
116EDJE_CC_CFLAGS = @EDJE_CC_CFLAGS@
117EDJE_CC_LIBS = @EDJE_CC_LIBS@
118EDJE_CC_PRG = @EDJE_CC_PRG@
119EDJE_CFLAGS = @EDJE_CFLAGS@
120EDJE_DECC_CFLAGS = @EDJE_DECC_CFLAGS@
121EDJE_DECC_LIBS = @EDJE_DECC_LIBS@
122EDJE_DECC_PRG = @EDJE_DECC_PRG@
123EDJE_EXTERNAL_INSPECTOR_CFLAGS = @EDJE_EXTERNAL_INSPECTOR_CFLAGS@
124EDJE_EXTERNAL_INSPECTOR_LIBS = @EDJE_EXTERNAL_INSPECTOR_LIBS@
125EDJE_EXTERNAL_INSPECTOR_PRG = @EDJE_EXTERNAL_INSPECTOR_PRG@
126EDJE_INSPECTOR_CFLAGS = @EDJE_INSPECTOR_CFLAGS@
127EDJE_INSPECTOR_LIBS = @EDJE_INSPECTOR_LIBS@
128EDJE_INSPECTOR_PRG = @EDJE_INSPECTOR_PRG@
129EDJE_LIBS = @EDJE_LIBS@
130EDJE_PLAYER_CFLAGS = @EDJE_PLAYER_CFLAGS@
131EDJE_PLAYER_LIBS = @EDJE_PLAYER_LIBS@
132EDJE_PLAYER_PRG = @EDJE_PLAYER_PRG@
133EDJE_RECC_PRG = @EDJE_RECC_PRG@
134EFL_COVERAGE_CFLAGS = @EFL_COVERAGE_CFLAGS@
135EFL_COVERAGE_LIBS = @EFL_COVERAGE_LIBS@
136EFL_EDJE_BUILD = @EFL_EDJE_BUILD@
137EGREP = @EGREP@
138EVIL_CFLAGS = @EVIL_CFLAGS@
139EVIL_LIBS = @EVIL_LIBS@
140EXEEXT = @EXEEXT@
141FGREP = @FGREP@
142FLAC_CFLAGS = @FLAC_CFLAGS@
143FLAC_LIBS = @FLAC_LIBS@
144GREP = @GREP@
145INSTALL = @INSTALL@
146INSTALL_DATA = @INSTALL_DATA@
147INSTALL_PROGRAM = @INSTALL_PROGRAM@
148INSTALL_SCRIPT = @INSTALL_SCRIPT@
149INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
150LD = @LD@
151LDFLAGS = @LDFLAGS@
152LIBOBJS = @LIBOBJS@
153LIBS = @LIBS@
154LIBTOOL = @LIBTOOL@
155LIPO = @LIPO@
156LN_S = @LN_S@
157LTLIBOBJS = @LTLIBOBJS@
158LUA_CFLAGS = @LUA_CFLAGS@
159LUA_LIBS = @LUA_LIBS@
160MAKEINFO = @MAKEINFO@
161MINIMAL_CFLAGS = @MINIMAL_CFLAGS@
162MINIMAL_LIBS = @MINIMAL_LIBS@
163MKDIR_P = @MKDIR_P@
164MODULE_ARCH = @MODULE_ARCH@
165NM = @NM@
166NMEDIT = @NMEDIT@
167OBJDUMP = @OBJDUMP@
168OBJEXT = @OBJEXT@
169OTOOL = @OTOOL@
170OTOOL64 = @OTOOL64@
171PACKAGE = @PACKAGE@
172PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
173PACKAGE_NAME = @PACKAGE_NAME@
174PACKAGE_STRING = @PACKAGE_STRING@
175PACKAGE_TARNAME = @PACKAGE_TARNAME@
176PACKAGE_URL = @PACKAGE_URL@
177PACKAGE_VERSION = @PACKAGE_VERSION@
178PATH_SEPARATOR = @PATH_SEPARATOR@
179PKG_CONFIG = @PKG_CONFIG@
180PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
181PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
182PYTHON = @PYTHON@
183PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
184PYTHON_PLATFORM = @PYTHON_PLATFORM@
185PYTHON_PREFIX = @PYTHON_PREFIX@
186PYTHON_VERSION = @PYTHON_VERSION@
187RANLIB = @RANLIB@
188REMIX_CFLAGS = @REMIX_CFLAGS@
189REMIX_LIBS = @REMIX_LIBS@
190REMIX_PLUGIN_DIR = @REMIX_PLUGIN_DIR@
191SED = @SED@
192SET_MAKE = @SET_MAKE@
193SHELL = @SHELL@
194SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
195SNDFILE_LIBS = @SNDFILE_LIBS@
196STRIP = @STRIP@
197VERSION = @VERSION@
198VMAJ = @VMAJ@
199VORBISENC_CFLAGS = @VORBISENC_CFLAGS@
200VORBISENC_LIBS = @VORBISENC_LIBS@
201abs_builddir = @abs_builddir@
202abs_srcdir = @abs_srcdir@
203abs_top_builddir = @abs_top_builddir@
204abs_top_srcdir = @abs_top_srcdir@
205ac_ct_CC = @ac_ct_CC@
206ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
207am__include = @am__include@
208am__leading_dot = @am__leading_dot@
209am__quote = @am__quote@
210am__tar = @am__tar@
211am__untar = @am__untar@
212bindir = @bindir@
213build = @build@
214build_alias = @build_alias@
215build_cpu = @build_cpu@
216build_os = @build_os@
217build_vendor = @build_vendor@
218builddir = @builddir@
219datadir = @datadir@
220datarootdir = @datarootdir@
221docdir = @docdir@
222dvidir = @dvidir@
223edje_cc = @edje_cc@
224efl_doxygen = @efl_doxygen@
225efl_have_doxygen = @efl_have_doxygen@
226exec_prefix = @exec_prefix@
227have_lcov = @have_lcov@
228host = @host@
229host_alias = @host_alias@
230host_cpu = @host_cpu@
231host_os = @host_os@
232host_vendor = @host_vendor@
233htmldir = @htmldir@
234includedir = @includedir@
235infodir = @infodir@
236install_sh = @install_sh@
237libdir = @libdir@
238libexecdir = @libexecdir@
239localedir = @localedir@
240localstatedir = @localstatedir@
241lt_ECHO = @lt_ECHO@
242lt_enable_auto_import = @lt_enable_auto_import@
243lua_libs = @lua_libs@
244mandir = @mandir@
245mkdir_p = @mkdir_p@
246oldincludedir = @oldincludedir@
247pdfdir = @pdfdir@
248pkgconfig_requires_private = @pkgconfig_requires_private@
249pkgpyexecdir = @pkgpyexecdir@
250pkgpythondir = @pkgpythondir@
251prefix = @prefix@
252program_transform_name = @program_transform_name@
253psdir = @psdir@
254pyexecdir = @pyexecdir@
255pythondir = @pythondir@
256release_info = @release_info@
257requirement_edje = @requirement_edje@
258sbindir = @sbindir@
259sharedstatedir = @sharedstatedir@
260srcdir = @srcdir@
261sysconfdir = @sysconfdir@
262target_alias = @target_alias@
263top_build_prefix = @top_build_prefix@
264top_builddir = @top_builddir@
265top_srcdir = @top_srcdir@
266version_info = @version_info@
267vimdir = @vimdir@
268MAINTAINERCLEANFILES = Makefile.in
269FILES = edje.inc
270incdir = $(pkgdatadir)/include
271inc_DATA = $(FILES)
272EXTRA_DIST = $(FILES)
273all: all-am
274
275.SUFFIXES:
276$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
277 @for dep in $?; do \
278 case '$(am__configure_deps)' in \
279 *$$dep*) \
280 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
281 && { if test -f $@; then exit 0; else break; fi; }; \
282 exit 1;; \
283 esac; \
284 done; \
285 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/include/Makefile'; \
286 $(am__cd) $(top_srcdir) && \
287 $(AUTOMAKE) --gnu data/include/Makefile
288.PRECIOUS: Makefile
289Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
290 @case '$?' in \
291 *config.status*) \
292 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
293 *) \
294 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
295 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
296 esac;
297
298$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
299 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
300
301$(top_srcdir)/configure: $(am__configure_deps)
302 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
303$(ACLOCAL_M4): $(am__aclocal_m4_deps)
304 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
305$(am__aclocal_m4_deps):
306
307mostlyclean-libtool:
308 -rm -f *.lo
309
310clean-libtool:
311 -rm -rf .libs _libs
312install-incDATA: $(inc_DATA)
313 @$(NORMAL_INSTALL)
314 test -z "$(incdir)" || $(MKDIR_P) "$(DESTDIR)$(incdir)"
315 @list='$(inc_DATA)'; test -n "$(incdir)" || list=; \
316 for p in $$list; do \
317 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
318 echo "$$d$$p"; \
319 done | $(am__base_list) | \
320 while read files; do \
321 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(incdir)'"; \
322 $(INSTALL_DATA) $$files "$(DESTDIR)$(incdir)" || exit $$?; \
323 done
324
325uninstall-incDATA:
326 @$(NORMAL_UNINSTALL)
327 @list='$(inc_DATA)'; test -n "$(incdir)" || list=; \
328 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
329 test -n "$$files" || exit 0; \
330 echo " ( cd '$(DESTDIR)$(incdir)' && rm -f" $$files ")"; \
331 cd "$(DESTDIR)$(incdir)" && rm -f $$files
332tags: TAGS
333TAGS:
334
335ctags: CTAGS
336CTAGS:
337
338
339distdir: $(DISTFILES)
340 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
341 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
342 list='$(DISTFILES)'; \
343 dist_files=`for file in $$list; do echo $$file; done | \
344 sed -e "s|^$$srcdirstrip/||;t" \
345 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
346 case $$dist_files in \
347 */*) $(MKDIR_P) `echo "$$dist_files" | \
348 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
349 sort -u` ;; \
350 esac; \
351 for file in $$dist_files; do \
352 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
353 if test -d $$d/$$file; then \
354 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
355 if test -d "$(distdir)/$$file"; then \
356 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
357 fi; \
358 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
359 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
360 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
361 fi; \
362 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
363 else \
364 test -f "$(distdir)/$$file" \
365 || cp -p $$d/$$file "$(distdir)/$$file" \
366 || exit 1; \
367 fi; \
368 done
369check-am: all-am
370check: check-am
371all-am: Makefile $(DATA)
372installdirs:
373 for dir in "$(DESTDIR)$(incdir)"; do \
374 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
375 done
376install: install-am
377install-exec: install-exec-am
378install-data: install-data-am
379uninstall: uninstall-am
380
381install-am: all-am
382 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
383
384installcheck: installcheck-am
385install-strip:
386 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
387 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
388 `test -z '$(STRIP)' || \
389 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
390mostlyclean-generic:
391
392clean-generic:
393
394distclean-generic:
395 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
396 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
397
398maintainer-clean-generic:
399 @echo "This command is intended for maintainers to use"
400 @echo "it deletes files that may require special tools to rebuild."
401 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
402clean: clean-am
403
404clean-am: clean-generic clean-libtool mostlyclean-am
405
406distclean: distclean-am
407 -rm -f Makefile
408distclean-am: clean-am distclean-generic
409
410dvi: dvi-am
411
412dvi-am:
413
414html: html-am
415
416html-am:
417
418info: info-am
419
420info-am:
421
422install-data-am: install-incDATA
423
424install-dvi: install-dvi-am
425
426install-dvi-am:
427
428install-exec-am:
429
430install-html: install-html-am
431
432install-html-am:
433
434install-info: install-info-am
435
436install-info-am:
437
438install-man:
439
440install-pdf: install-pdf-am
441
442install-pdf-am:
443
444install-ps: install-ps-am
445
446install-ps-am:
447
448installcheck-am:
449
450maintainer-clean: maintainer-clean-am
451 -rm -f Makefile
452maintainer-clean-am: distclean-am maintainer-clean-generic
453
454mostlyclean: mostlyclean-am
455
456mostlyclean-am: mostlyclean-generic mostlyclean-libtool
457
458pdf: pdf-am
459
460pdf-am:
461
462ps: ps-am
463
464ps-am:
465
466uninstall-am: uninstall-incDATA
467
468.MAKE: install-am install-strip
469
470.PHONY: all all-am check check-am clean clean-generic clean-libtool \
471 distclean distclean-generic distclean-libtool distdir dvi \
472 dvi-am html html-am info info-am install install-am \
473 install-data install-data-am install-dvi install-dvi-am \
474 install-exec install-exec-am install-html install-html-am \
475 install-incDATA install-info install-info-am install-man \
476 install-pdf install-pdf-am install-ps install-ps-am \
477 install-strip installcheck installcheck-am installdirs \
478 maintainer-clean maintainer-clean-generic mostlyclean \
479 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
480 uninstall uninstall-am uninstall-incDATA
481
482
483# Tell versions [3.59,3.63) of GNU make to not export all variables.
484# Otherwise a system limit (for SysV at least) may be exceeded.
485.NOEXPORT:
diff --git a/libraries/edje/data/include/edje.inc b/libraries/edje/data/include/edje.inc
new file mode 100644
index 0000000..dfa5416
--- /dev/null
+++ b/libraries/edje/data/include/edje.inc
@@ -0,0 +1,219 @@
1/* Edje exported calls */
2
3/************************************************/
4/* Basic data storage/retrieval (it's explicit) */
5/************************************************/
6/* Example:
7 *
8 * In the "global" script section of a group:
9 *
10 * script {
11 * public global_value1;
12 * public global_value2;
13 * public global_value3;
14 * }
15 *
16 * In the program script sections, OR in any global functions/routines:
17 * ( several examples of setting/getting values)
18 *
19 * set_int(global_value1, 7);
20 * set_float(global_value2, 42.0);
21 * set_str(global_value3, "I am a smelly fish!");
22 * new value1 = get_int(global_value1);
23 * new Float:value2 = get_float(global_value2);
24 * new value3[100]; get_str(global_value3, value3, 100);
25 * set_int(global_value1, value1);
26 * set_float(global_value2, value2);
27 * set_str(global_value3, value3);
28 */
29native get_int (id);
30native set_int (id, val);
31native Float:get_float (id);
32native set_float (id, Float:val);
33native get_strlen(id);
34native get_str (id, dst[], maxlen);
35native set_str (id, str[]);
36
37/********************/
38/* Edje list calls */
39/********************/
40native count (id);
41native remove (id, n);
42native append_int (id, v);
43native prepend_int(id, v);
44native insert_int (id, pos, v);
45native replace_int (id, pos, v);
46native fetch_int (id, pos);
47native append_str (id, str[]);
48native prepend_str(id, str[]);
49native insert_str (id, pos, str[]);
50native replace_str(id, pos, str[]);
51native fetch_str (id, pos, dst[], maxlen);
52native append_float (id, Float:v);
53native prepend_float(id, Float:v);
54native insert_float (id, pos, Float:v);
55native replace_float(id, pos, Float:v);
56native Float:fetch_float (id, pos);
57
58/********************/
59/* Edje timer calls */
60/********************/
61native timer (Float:in, fname[], val);
62native cancel_timer(id);
63
64/*******************/
65/* Edje anim calls */
66/*******************/
67native anim (Float:len, fname[], val);
68native cancel_anim(id);
69
70/***********************************************************/
71/* Edje utility calls for dealing with edjes/programs etc. */
72/***********************************************************/
73/* Example:
74 *
75 * emit("this_thing", "clicked");
76 * emit("state", "playing");
77 *
78 * set_state(PART:"logo", "glowing", 0.0);
79 * set_state(PART:"button", "default", 0.0);
80 *
81 * set_tween_state(PART:"button", 0.5, "default", 0.0, "clicked", 0.0);
82 *
83 * run_program(PROGRAM:"program_name");
84 */
85native emit (sig[], src[]);
86native get_part_id (part[]);
87native set_state (part_id, state[], Float:state_val);
88native get_state (part_id, dst[], maxlen, &Float:val);
89native set_tween_state (part_id, Float:tween, state1[], Float:state1_val, state2[], Float:state2_val);
90native run_program (program_id);
91native get_drag_dir (part_id);
92native get_drag (part_id, &Float:dx, &Float:dy);
93native set_drag (part_id, Float:dx, Float:dy);
94native get_drag_size (part_id, &Float:dx, &Float:dy);
95native set_drag_size (part_id, Float:dx, Float:dy);
96native get_drag_step (part_id, &Float:dx, &Float:dy);
97native set_drag_step (part_id, Float:dx, Float:dy);
98native get_drag_page (part_id, &Float:dx, &Float:dy);
99native set_drag_page (part_id, Float:dx, Float:dy);
100native set_text (part_id, str[]);
101native get_text (part_id, dst[], maxlen);
102native get_min_size (&w, &h);
103native get_max_size (&w, &h);
104native get_color_class (class[], &r, &g, &b, &a);
105native set_color_class (class[], r, g, b, a);
106native set_text_class (class[], font[], Float:size);
107native get_text_class (class[], font[], &Float:size);
108native get_geometry (part_id, &x, &y, &w, &h);
109native get_mouse (&x, &y);
110native get_mouse_buttons();
111native stop_program (program_id);
112native stop_programs_on (part_id);
113native set_min_size (Float:w, Float:h);
114native set_max_size (Float:w, Float:h);
115native part_swallow (part_id, GROUP:str[]);
116
117native external_param_get_int(id, param_name[]);
118native external_param_set_int(id, param_name[], value);
119native Float:external_param_get_float(id, param_name[]);
120native external_param_set_float(id, param_name[], Float:value);
121native external_param_get_strlen(id, param_name[]);
122native external_param_get_str(id, param_name[], value[], value_maxlen);
123native external_param_set_str(id, param_name[], value[]);
124native external_param_get_choice_len(id, param_name[]);
125native external_param_get_choice(id, param_name[], value[], value_maxlen);
126native external_param_set_choice(id, param_name[], value[]);
127native external_param_get_bool(id, param_name[]);
128native external_param_set_bool(id, param_name[], value);
129
130enum Msg_Type
131{
132 MSG_NONE = 0,
133 MSG_STRING = 2,
134 MSG_INT = 3,
135 MSG_FLOAT = 4,
136 MSG_STRING_SET = 5,
137 MSG_INT_SET = 6,
138 MSG_FLOAT_SET = 7,
139 MSG_STRING_INT = 8,
140 MSG_STRING_FLOAT = 9,
141 MSG_STRING_INT_SET = 10,
142 MSG_STRING_FLOAT_SET = 11
143};
144
145native send_message(Msg_Type:type, id, ...);
146
147/**********************/
148/* Custom state calls */
149/**********************/
150
151/* Example:
152 *
153 * Create the custom state for "my_part", based on the
154 * default description of the same part:
155 *
156 * custom_state(PART:"my_part", "default", 0.0);
157 *
158 * Later, use set_state_val() to change the properties of the custom
159 * state:
160 *
161 * set_state_val(PART:"my_part", STATE_ALIGNMENT, 0.5, 0.5);
162 *
163 * get_state_val() works the same way.
164 */
165
166native custom_state(part_id, state[], Float:state_val = 0.0);
167
168enum State_Param
169{
170 STATE_ALIGNMENT = 1,
171 STATE_MIN = 2,
172 STATE_MAX = 3,
173 STATE_STEP = 4,
174 STATE_ASPECT = 5,
175 STATE_ASPECT_PREF = 6,
176 STATE_COLOR = 7,
177 STATE_COLOR2 = 8,
178 STATE_COLOR3 = 9,
179 STATE_COLOR_CLASS = 10,
180 STATE_REL1 = 11,
181 STATE_REL1_TO = 12,
182 STATE_REL1_OFFSET = 13,
183 STATE_REL2 = 14,
184 STATE_REL2_TO = 15,
185 STATE_REL2_OFFSET = 16,
186 STATE_IMAGE = 17,
187 STATE_BORDER = 18,
188 STATE_FILL_SMOOTH = 19,
189 STATE_FILL_POS = 20,
190 STATE_FILL_SIZE = 21,
191 STATE_TEXT = 22,
192 STATE_TEXT_CLASS = 23,
193 STATE_TEXT_FONT = 24,
194 STATE_TEXT_STYLE = 25,
195 STATE_TEXT_SIZE = 26,
196 STATE_TEXT_FIT = 27,
197 STATE_TEXT_MIN = 28,
198 STATE_TEXT_MAX = 29,
199 STATE_TEXT_ALIGN = 30,
200 STATE_VISIBLE = 31,
201 STATE_MAP_ON = 32,
202 STATE_MAP_PERSP = 33,
203 STATE_MAP_LIGHT = 34,
204 STATE_MAP_ROT_CENTER = 35,
205 STATE_MAP_ROT_X = 36,
206 STATE_MAP_ROT_Y = 37,
207 STATE_MAP_ROT_Z = 38,
208 STATE_MAP_BACK_CULL = 39,
209 STATE_MAP_PERSP_ON = 40,
210 STATE_PERSP_ZPLANE = 41,
211 STATE_PERSP_FOCAL = 42
212};
213
214native set_state_val(part_id, State_Param:p, ...);
215native get_state_val(part_id, State_Param:p, ...);
216
217/* Multisense */
218native play_sample (sample_name[], Float:speed);
219native play_tone (tone_name[], Float:duration);