Savio Sena [Wed, 3 Sep 2014 17:58:04 +0000 (14:58 -0300)]
autotools: Add -I$(srcdir)/lib/efl to Makefile_Efl.am.
Also simplified it by adding $EOS variable.
Savio Sena [Wed, 3 Sep 2014 17:56:40 +0000 (14:56 -0300)]
autotools: Fix 'make distcheck'.
doc/preview/Makefile.am must include $(srcdir)/lib/efl/ to be able to
find Efl.h.
Savio Sena [Wed, 3 Sep 2014 17:55:18 +0000 (14:55 -0300)]
autotools: Add efl-cxx.pc.in.
Daniel Kolesa [Fri, 12 Sep 2014 14:04:18 +0000 (15:04 +0100)]
eolian: remove str_items from temps
Daniel Kolesa [Fri, 12 Sep 2014 14:01:10 +0000 (15:01 +0100)]
eolian: get rid of a list
Daniel Kolesa [Fri, 12 Sep 2014 13:20:52 +0000 (14:20 +0100)]
eolian: less messy initialization checks
Daniel Kolesa [Fri, 12 Sep 2014 12:40:46 +0000 (13:40 +0100)]
eolian: remove eo_definitions
Daniel Kolesa [Fri, 12 Sep 2014 12:35:48 +0000 (13:35 +0100)]
eolian: more temp cleanups
Daniel Kolesa [Fri, 12 Sep 2014 12:30:24 +0000 (13:30 +0100)]
eolian: remove some more temps
Daniel Kolesa [Fri, 12 Sep 2014 12:25:26 +0000 (13:25 +0100)]
eolian: remove some unnecessary temps
Stefan Schmidt [Thu, 11 Sep 2014 08:45:54 +0000 (10:45 +0200)]
eina_file: Try to use XDG_RUNTIME_DIR for tmp dir first
Instead using $TMPDIR and falling back to /tmp we now try $XDG_RUNTIME_DIR
first.
"$XDG_RUNTIME_DIR defines the base directory relative to which user-specific
non-essential runtime files and other file objects (such as sockets, named
pipes, ...) should be stored. The directory MUST be owned by the user, and
he MUST be the only one having read and write access to it. Its Unix access
mode MUST be 0700."
While improving our security by isolating these files from other users this
has the potential to break things. I have not seen any breakage in testing
but keep this commit in mind if something strange happens on your system.
maxerba [Thu, 11 Sep 2014 20:04:53 +0000 (22:04 +0200)]
Updating desktop files
Stefan Schmidt [Thu, 11 Sep 2014 13:36:02 +0000 (15:36 +0200)]
docs: Add missing ephysics group def in main.dox
Stefan Schmidt [Thu, 11 Sep 2014 13:22:39 +0000 (15:22 +0200)]
docs: Add links to avahi, drm and wl groups form main ecore page.
While some docs have been added for these nobody added them to the
main ecore page. Which in turn makes them invisible for people reading
our docs.
I found three ecore family members to not even having a brief group
description: cocoa, pslight and sdl.
Would be good to get some basic docs in for them.
Stefan Schmidt [Thu, 11 Sep 2014 13:21:09 +0000 (15:21 +0200)]
docs: Update ecore avahi group name name to match others
All other group are following the scheme Ecore_*_Group. Do it here as well to
make it easier to link to.
Stefan Schmidt [Thu, 11 Sep 2014 12:59:02 +0000 (14:59 +0200)]
ecore: Remove WinCE group from docs as we removed the support.
Stefan Schmidt [Thu, 11 Sep 2014 12:57:29 +0000 (14:57 +0200)]
pc: Remove ecore-wince.pc file from ignore as we removed wince support
Stefan Schmidt [Thu, 11 Sep 2014 12:47:08 +0000 (14:47 +0200)]
docs: Not all docs are updated daily from git. We have stable and dev docs.
The entry point to our docs (docs.enlightenment.org) makes clear what is links
go to the docs for the latest release and which goes to development.
Stefan Schmidt [Thu, 11 Sep 2014 12:45:35 +0000 (14:45 +0200)]
docs: Use the full EFL name in the public docs main description page
Daniel Kolesa [Thu, 11 Sep 2014 12:55:42 +0000 (13:55 +0100)]
eolian: more helpful error reporting
Chinmaya Panigrahi [Thu, 11 Sep 2014 10:54:18 +0000 (12:54 +0200)]
Evas: fix resource leak.
Summary: Variable palpriv is going out of scope and leaks the storage it points to,
if we do not free it before exiting.
Test Plan: NA
Reviewers: seoz, raster, cedric
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1429
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Daniel Kolesa [Thu, 11 Sep 2014 10:48:38 +0000 (11:48 +0100)]
eolian: simplify more fill code
Stefan Schmidt [Thu, 11 Sep 2014 10:30:19 +0000 (12:30 +0200)]
cserve2: Check retrun of fcntl and print a message if we fail.
CID 1039707
Daniel Kolesa [Thu, 11 Sep 2014 10:27:35 +0000 (11:27 +0100)]
eolian: remove most of class fill
Daniel Kolesa [Thu, 11 Sep 2014 10:18:48 +0000 (11:18 +0100)]
eolian: remove more parts of fill
Daniel Kolesa [Thu, 11 Sep 2014 09:58:09 +0000 (10:58 +0100)]
eolian: cleanup class fill
Stefan Schmidt [Wed, 10 Sep 2014 15:15:25 +0000 (17:15 +0200)]
edje_edit: Use eina_file_mkstemp() to avoid problems with umask
CID 1039613
Stefan Schmidt [Wed, 10 Sep 2014 14:59:40 +0000 (16:59 +0200)]
edje_watch: Use eina_file_mkstemp() to avoid problems with umask
CID 1039617
Daniel Kolesa [Thu, 11 Sep 2014 09:50:48 +0000 (10:50 +0100)]
eolian: remove Eo_Class_Def (fill bits still remaining)
Daniel Kolesa [Thu, 11 Sep 2014 09:37:41 +0000 (10:37 +0100)]
eolian: remove leftover code
Daniel Kolesa [Thu, 11 Sep 2014 09:29:48 +0000 (10:29 +0100)]
eolian: remove Eo_Method_Def
ChunEon Park [Thu, 11 Sep 2014 05:46:37 +0000 (14:46 +0900)]
evas: remove white trailing.
Daniel Zaoui [Thu, 11 Sep 2014 05:35:15 +0000 (08:35 +0300)]
Warning--
ChunEon Park [Thu, 11 Sep 2014 03:17:56 +0000 (12:17 +0900)]
evas: updated native surface documentation.
Daniel Kolesa [Wed, 10 Sep 2014 15:58:29 +0000 (16:58 +0100)]
eolian: remove Eo_Property_Def
Daniel Kolesa [Wed, 10 Sep 2014 15:46:34 +0000 (16:46 +0100)]
eolian: property cleanup
Daniel Kolesa [Wed, 10 Sep 2014 15:17:47 +0000 (16:17 +0100)]
eolian: remove Eo_Ret_Def
Daniel Kolesa [Wed, 10 Sep 2014 14:53:20 +0000 (15:53 +0100)]
eolian: remove accessor structures
Stefan Schmidt [Wed, 10 Sep 2014 14:29:22 +0000 (16:29 +0200)]
edje_cc: Remove no longer needed extern tmp_dir.
The last two user have been switched to eina_file_mkstemp so we don't
need to setup tmp_dir anymore.
Stefan Schmidt [Wed, 10 Sep 2014 14:27:34 +0000 (16:27 +0200)]
edje_cc_parse: Use eina_file_mkstemp() to avoid problems with umask
CID 1039618
Stefan Schmidt [Wed, 10 Sep 2014 13:41:59 +0000 (15:41 +0200)]
edje_cc: Use eina_file_mkstemp() to avoid problems with umask
In this case it also clears up the setup of temp dir.
CID 1039619
Stefan Schmidt [Wed, 10 Sep 2014 13:27:35 +0000 (15:27 +0200)]
edje_cc: Print out the right file name on the error message.
We failed to create sc->tmpo not tmpn here. Looks like a classical C&P error
Daniel Kolesa [Wed, 10 Sep 2014 14:22:04 +0000 (15:22 +0100)]
eolian: we can only have 2 accessors
Daniel Kolesa [Wed, 10 Sep 2014 14:06:12 +0000 (15:06 +0100)]
eolian: remove accessor params feature
Temporarily replace it with @const_get and @const_set tags in values section.
Daniel Kolesa [Wed, 10 Sep 2014 13:24:41 +0000 (14:24 +0100)]
eolian: remove Eo_Param_Def, reduce allocations, simplify code
kabeer khan [Wed, 10 Sep 2014 10:45:50 +0000 (12:45 +0200)]
eina: resolved TODO in eina tests - added delete array list
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1428
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Tue, 9 Sep 2014 16:10:23 +0000 (18:10 +0200)]
ecore: fix documentation.
Daniel Kolesa [Tue, 9 Sep 2014 15:30:46 +0000 (16:30 +0100)]
elua: update eolian bindings to latest version
Daniel Kolesa [Tue, 9 Sep 2014 13:21:39 +0000 (14:21 +0100)]
eo: update the EFL to use builtin complex types
Cedric BAIL [Tue, 9 Sep 2014 10:29:42 +0000 (12:29 +0200)]
po: update translation position.
Cedric BAIL [Tue, 9 Sep 2014 10:29:13 +0000 (12:29 +0200)]
autotools: let's not forget to include necessary .eo for make check
Cedric BAIL [Tue, 9 Sep 2014 10:28:43 +0000 (12:28 +0200)]
autotools: let's not forget to ship lib/efl headers.
Cedric BAIL [Tue, 9 Sep 2014 10:27:51 +0000 (12:27 +0200)]
autotools: extra dist subdirs must be filled with all directory.
It is important to remember to also include the one we don't build.
Cedric BAIL [Tue, 9 Sep 2014 10:27:07 +0000 (12:27 +0200)]
autotools: We now have some headers in lib/efl that are not autogenerated.
Jérémy Zurcher [Mon, 8 Sep 2014 19:38:01 +0000 (21:38 +0200)]
eet: call LOCK_CACHE before altering Eet_File
even if not necessary in this particular case,
do as in eet_mmap() and eet_open(),
lock the cache before altering Eet_File struct.
fix CID 1039366 1039367 1039368 1039369
Stefan Schmidt [Mon, 8 Sep 2014 14:16:57 +0000 (16:16 +0200)]
ecore_evas/drm: Clarify error message if given device is not found.
While it is bad that the given device is not found we fall back here
to the default one. Still good to mention it in the error message as
it can be confusing when we read that the device could not be found
be it still works.
Stefan Schmidt [Mon, 8 Sep 2014 13:46:13 +0000 (15:46 +0200)]
evas-drm: Remove unused function prototype.
Daniel Kolesa [Mon, 8 Sep 2014 13:52:49 +0000 (14:52 +0100)]
eolian: builtin complex types
From now on, there are 5 builtin complex types, particularly accessor, array,
iterator, hash and list. All other types are simple - they can't have a complex
part. Also, the <> now binds to the type itself, not the pointer. More builtin
complex types will be added as needed.
Daniel Zaoui [Mon, 8 Sep 2014 10:44:07 +0000 (13:44 +0300)]
Ecore/Wayland: fix memory issue on exit.
When the application exits, an event cancels the DnD, that invokes the
Wayland release of data source but this was not setting an internal
pointer to NULL. ecore_wl_shutdown was then trying to use the same
Wayland API on the non-set internal pointer (via _ecore_wl_input_del),
that was leading to a segmentation fault.
This bug never occurred because some bug in Copy&Paste was preventing it
to reach this part of code.
Stefan Schmidt [Mon, 8 Sep 2014 11:22:20 +0000 (13:22 +0200)]
evas/drm: Remove evas-drm handling of the drm fd
We now longer have a use case for opening the drm file descriptor in the evas
engine itself. This is now all handled in ecore_drm or ecore evas.
Srivardhan Hebbar [Mon, 8 Sep 2014 11:18:53 +0000 (12:18 +0100)]
Documentation: Adding documentation for evas_object_textblock structures.
Summary:
This is a fix to one of the FIXME in the code, evas_object_textblock.c
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: herdsman, tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1383
Jean Guyomarc'h [Mon, 8 Sep 2014 08:55:49 +0000 (10:55 +0200)]
autotools: abstract sockets are supported by Darwin
Reviewers: raster, raoulh, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1416
Daniel Zaoui [Thu, 4 Sep 2014 10:22:31 +0000 (13:22 +0300)]
Eolian/Generator: support @empty and @auto.
Local and base class functions are supported.
When @empty is provided, dummy functions (initializing the parameters with default
values if needed) are generated.
When @auto is provided on properties, access to internal data variables is done. On
set, it will assign parameters values to private data members. On get,
parameters are set with private data members values.
See the supplied tests as examples.
@feature
Kai Huuhko [Sun, 7 Sep 2014 17:15:00 +0000 (20:15 +0300)]
l10n: Add Finnish translations
Cedric BAIL [Sat, 6 Sep 2014 13:10:02 +0000 (15:10 +0200)]
evas: agressively freeze events on calculate callback and clear.
Cedric BAIL [Sat, 6 Sep 2014 13:08:17 +0000 (15:08 +0200)]
evas: let's freeze the canvas, shall we ?
This is a critical performance issue that was introduced during our move
to eo2. This code was still eo1 style so I guess it was just forgotten.
The result is that canvas with large numbers of widget were slower after
the migration.
@fix
Chris Michael [Fri, 5 Sep 2014 15:35:21 +0000 (11:35 -0400)]
ecore: Check that eo_data_scope_get returns valid Ecore_Timer_Data
before trying to use it
eo_data_scope_get Could return NULL if it does not find valid
ecore_timer_data on this object. We should check that return before
just Assuming that timer data is valid.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Fri, 5 Sep 2014 15:30:56 +0000 (16:30 +0100)]
eolian: remove bool returns from some cases that cannot fail
Daniel Kolesa [Fri, 5 Sep 2014 15:27:29 +0000 (16:27 +0100)]
eolian: further improve implement tests so they make more sense
Daniel Kolesa [Fri, 5 Sep 2014 15:25:20 +0000 (16:25 +0100)]
eolian: improve tests (add more checks on virtual implements)
Daniel Kolesa [Fri, 5 Sep 2014 15:21:39 +0000 (16:21 +0100)]
eolian: cleanup
Daniel Kolesa [Fri, 5 Sep 2014 15:19:56 +0000 (16:19 +0100)]
eolian: remove some ifs in database_fill
Daniel Kolesa [Fri, 5 Sep 2014 15:18:47 +0000 (16:18 +0100)]
eolian: some minor refactoring
Daniel Kolesa [Fri, 5 Sep 2014 15:04:08 +0000 (16:04 +0100)]
eolian: better handling of @virtual implements
Now they're registered correctly. Also, add new API, eolian_implement_is_virtual.
Also, deal with get/set properly (when filling in additional implements)
Stefan Schmidt [Fri, 5 Sep 2014 14:26:59 +0000 (16:26 +0200)]
evas/drm: Remove trailing whitespace.
That one was looking at me each time I opened the file. Get away!
Stefan Schmidt [Fri, 5 Sep 2014 14:15:22 +0000 (16:15 +0200)]
evas/gl_drm: Follow change form evas_drm and remove tty_won and tty struct members
The evas_gl_drm engine followed the changes from evas_drm so we can safely
remove them here as well.
Stefan Schmidt [Fri, 5 Sep 2014 13:55:08 +0000 (15:55 +0200)]
evas/drm: Remove now obsolete tty and own_tty struct members
We used these when expedite was using evas directly without ecore_evas.
That changed and we can now leave tty custody to ecore_evas and ecore_drm.
Daniel Kolesa [Fri, 5 Sep 2014 11:01:37 +0000 (12:01 +0100)]
eolian: update docs on implements
Daniel Kolesa [Fri, 5 Sep 2014 09:43:50 +0000 (10:43 +0100)]
eolian: use implements only to retrieve functions list
This also changes the implements list so that it also includes virtual functions.
Daniel Kolesa [Fri, 5 Sep 2014 09:04:11 +0000 (10:04 +0100)]
eolian: skip UTF-8 BOM if present
Youngbok Shin [Fri, 5 Sep 2014 08:10:04 +0000 (09:10 +0100)]
evas: remove duplicate function call in evas_shutdown().
Summary:
evas_font_dir_cache_free() is called twice in evas_shutdown().
evas_common_shutdown() will call evas_font_dir_cache_free().
Test Plan: NONE
Reviewers: tasn, woohyun
Subscribers: herdsman, cedric
Differential Revision: https://phab.enlightenment.org/D1417
zmike [Fri, 5 Sep 2014 01:05:05 +0000 (21:05 -0400)]
edje embryo stop_program() should stop pending actions
ACTION_STOP already does this
@fix
Chris Michael [Thu, 4 Sep 2014 19:33:17 +0000 (15:33 -0400)]
ecore-evas-drm: Remove extra blank space in parameter
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Cedric BAIL [Fri, 1 Aug 2014 10:21:40 +0000 (12:21 +0200)]
eo: do not call eina_tls_get as often when in the main loop.
eina_tls_get is really slow, having a fast path for the main loop does really
help us right now. It is also unlikely that slowing down a little bit the use
of eo in thread is going to have any impact on application speed any time soon.
I win a +10% on expedite benchmark compared to without.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Chris Michael [Thu, 4 Sep 2014 15:16:21 +0000 (11:16 -0400)]
evas-drm: Fix evas-drm picking incorrect resolution/mode for outputs
This fixes an issue where we had to hard-code the resolution in the
wl_drm module. Instead, we now properly get the current screen
resolution/mode from the drm library and use that.
NB: This is needed to fix wl_drm module in Enlightenment to setup the
proper resolution.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Sep 2014 14:08:56 +0000 (10:08 -0400)]
evas-drm: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Sep 2014 14:07:37 +0000 (10:07 -0400)]
ecore-evas-drm: Remove dead comment
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Sep 2014 14:03:28 +0000 (10:03 -0400)]
ecore-evas-drm: Add function to return screen geometry
This adds the ecore_evas function pointer for
ecore_evas_screen_geometry_get. This will be used from the drm
compositor to return the current screen geometry.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Sep 2014 14:02:24 +0000 (10:02 -0400)]
ecore-drm: Add API function to get screen geometry
This adds a function that we can call from ecore_evas to get the
screen_geometry
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 4 Sep 2014 14:01:33 +0000 (10:01 -0400)]
ecore-drm: Add API function for getting screen geometry
This adds an API function that we can call to return the screen
geometry. This will be used from ecore_evas to get the screen_geometry.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Jean Guyomarc'h [Thu, 4 Sep 2014 15:08:22 +0000 (17:08 +0200)]
autotools: clean-up lua/luajit requirements
Reviewers: raster, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1380
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Daniel Kolesa [Thu, 4 Sep 2014 14:15:38 +0000 (15:15 +0100)]
eolian: cache function in implements where possible to get O(1) lookup
Daniel Kolesa [Thu, 4 Sep 2014 13:48:39 +0000 (14:48 +0100)]
eolian: generate implements for every method/property
Daniel Kolesa [Thu, 4 Sep 2014 13:29:33 +0000 (14:29 +0100)]
eolian: prepare for implements list expansion
As the implements list will soon contain all methods and properties,
do some preparations. The Eolian library now fills in class field in
implements early on when the implement is local. The Eolian C generator
now checks for local implements and skips them (so that things don't break).
Stefan Schmidt [Thu, 4 Sep 2014 13:09:17 +0000 (15:09 +0200)]
edje_edit: Check return of _edje_part_description_find_byname
If this retruns NULL we would do a NULL deref some lines below. Better check.
CID 1222458 1222457
Stefan Schmidt [Thu, 4 Sep 2014 12:44:33 +0000 (14:44 +0200)]
edje_edit: Another instance where we need to check the return of eet_list
Return could be NULL so check here before derefenrcing ent.
CID 1224764
Stefan Schmidt [Thu, 4 Sep 2014 12:18:58 +0000 (14:18 +0200)]
edje_edit: Check return value of eet_list() to avoid NULL dereference.
We check eet_list elsewhere and it might retrun NULL. Don't just hope
keys will never be NULL. Check it.
CID 1232733
Gwanglim Lee [Thu, 4 Sep 2014 11:20:17 +0000 (13:20 +0200)]
gl-drm: Make use of ecore_drm for handling tty
Summary:
Now, evas gl-drm engine is using ecore_drm instead of its own code to handle tty.
This patch has removed obsolete tty handling codes from engine. It is almost the same as what
Stefan Schmidt did to evas drm engine.
Test Plan: N/A
Reviewers: devilhorns, cedric, raster, stefan_schmidt
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1409
Stefan Schmidt [Thu, 4 Sep 2014 11:16:30 +0000 (13:16 +0200)]
ecore_x_vsync: Remove ahadowign variable.
Also make sure we reset ok to FALSE here to keep the logic below correct.
This was actually a vlaid local shadow problem.
Daniel Kolesa [Thu, 4 Sep 2014 10:06:41 +0000 (11:06 +0100)]
eolian: fix auto/empty parsing/fill and add tests