Jérémy Zurcher [Mon, 17 Jun 2013 21:41:45 +0000 (23:41 +0200)]
eo_class_new: check parent and desc before doing anything
Jérémy Zurcher [Mon, 17 Jun 2013 21:41:02 +0000 (23:41 +0200)]
eo_class_new: pack mro at the end of _Eo_Class
Jérémy Zurcher [Mon, 17 Jun 2013 21:38:04 +0000 (23:38 +0200)]
eo_class_new: remove duplicates in extensions as well as in mro
Jérémy Zurcher [Mon, 17 Jun 2013 21:35:48 +0000 (23:35 +0200)]
eo_class_new: pack extensions at the end of _Eo_Class
Jérémy Zurcher [Mon, 17 Jun 2013 21:33:19 +0000 (23:33 +0200)]
eo_class_new: add and use _eo_class_sz
Jérémy Zurcher [Mon, 17 Jun 2013 21:32:50 +0000 (23:32 +0200)]
eo_class_new: replace class field extn_data_size with obj_size
Sung W. Park [Mon, 17 Jun 2013 08:53:33 +0000 (17:53 +0900)]
Evas: add partial rendering support for evasgl direct rendering
Evas_GL Direct rendering is an optimization path that renders
directly to the window if conditions are met. Because evas gl
backend used to re-render the entire screen, evas_gl direct
rendering didin't have to concern with partial region rendering.
Now that partial rendering/swapping has been applied to evas gl-
backend, evas_gl direct rendering also had to take into account
clip regions. in order to properly apply it, some adjustments
were made to the engine functions and etc.
Sung W. Park [Mon, 17 Jun 2013 09:22:15 +0000 (18:22 +0900)]
Revert "Saving evasgl direct partial rendering fix temporarily"
This reverts commit
e6359132debfedeceaabd3df11d9ce2d3bbe2e47.
Sung W. Park [Mon, 17 Jun 2013 09:22:04 +0000 (18:22 +0900)]
Revert "Touch for evas gl direct rendering partial rendering/swap fix."
This reverts commit
382ffbb4f522624f572dd41e537b07332bd154d4.
Sung W. Park [Mon, 17 Jun 2013 09:21:55 +0000 (18:21 +0900)]
Revert "Added Wayland fix for evas_gl direct fix"
This reverts commit
e1c238b1be5f942b59ab7b3a575a80a9f22109da.
Sung W. Park [Mon, 17 Jun 2013 07:20:47 +0000 (16:20 +0900)]
Added Wayland fix for evas_gl direct fix
Sung W. Park [Tue, 11 Jun 2013 04:53:44 +0000 (13:53 +0900)]
Touch for evas gl direct rendering partial rendering/swap fix.
Sung W. Park [Thu, 6 Jun 2013 09:20:17 +0000 (18:20 +0900)]
Saving evasgl direct partial rendering fix temporarily
Cedric Bail [Mon, 17 Jun 2013 07:55:22 +0000 (16:55 +0900)]
edje: reduce memory footprint of edje callbacks.
Divide by two the amount of memory used by callbacks in elementary_test.
ChunEon Park [Sun, 16 Jun 2013 13:13:50 +0000 (22:13 +0900)]
edje - fix typo
Daniel Juyung Seo [Sun, 16 Jun 2013 13:06:33 +0000 (22:06 +0900)]
Evas_Common_Header.h: added textgrid to primitive evas object list.
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 12:32:15 +0000 (21:32 +0900)]
evas: optimization - handle if c1 == c2 for map interplated lines
Chris Michael [Fri, 14 Jun 2013 11:30:17 +0000 (12:30 +0100)]
Port wayland_egl changes for swapbufferswithdamage to gl_x11
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Fri, 14 Jun 2013 11:25:24 +0000 (12:25 +0100)]
eglSwapBuffersWithDamage actually returns an EGLBoolean (unsigned
int), so fix.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 10:55:53 +0000 (19:55 +0900)]
evas: fix possible seg with font glyphs from font instance in glyph array with no refcounting.
Chris Michael [Fri, 14 Jun 2013 10:41:55 +0000 (11:41 +0100)]
Formatting fix for 80 columns...Spankies !! ;)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Stefan Schmidt [Thu, 13 Jun 2013 13:28:07 +0000 (14:28 +0100)]
edje-codegen: Now really fix the mem leak without running into a double free.
The missing free was only for one of the paths to the end label. The other one
freed it before already. Take this into account to avoid the double free.
Stefan Schmidt [Fri, 14 Jun 2013 08:56:55 +0000 (09:56 +0100)]
eina/mp/one_big: Add a comment to clarify why we do not memset the complete memory.
To avoid people getting confused over this code, like myself, add a comment
to clarify that only the elements need to be set to zero while the payload
does not matter here.
Jean-Philippe Andre [Wed, 12 Jun 2013 06:04:01 +0000 (15:04 +0900)]
evas/cserve2: remove garbage shm files during server init
If server crashes or is forcefully killed, it will not
properly cleanup its shm files. So, some memory will be leaked pretty
badly.
Jean-Philippe Andre [Fri, 14 Jun 2013 05:52:57 +0000 (14:52 +0900)]
evas/cserve2: fix crash when shutting down cserve2
If a slave is still alive during shutdown, then it will be killed
and the dead callback should be called. This would then trigger
a request failed callback on invalid data.
But there's no point in calling the dead_cb since we're shutting
down already.
Jean-Philippe Andre [Fri, 14 Jun 2013 05:38:21 +0000 (14:38 +0900)]
evas/cserve2: (shutdown) fix double free issue
glibc double free happens when shutting down cserve, while
requests are being processed. this is because the entry is
being deleted from the hash but the cancel request fails
(so it should be deleted again from the hash)
Another patch going to fix the double free.
Jean-Philippe Andre [Wed, 12 Jun 2013 10:31:37 +0000 (19:31 +0900)]
evas/cserve2: Handle SIGINT properly
Jean-Philippe Andre [Wed, 12 Jun 2013 06:34:48 +0000 (15:34 +0900)]
evas/cserve2: catch more signals and exit nicely
Also, ignore USR1 and USR2.
Jean-Philippe Andre [Wed, 12 Jun 2013 04:45:17 +0000 (13:45 +0900)]
evas/cserve2: Add UID to shm file path
+ Improve debug for corner case (never happened)
Jean-Philippe Andre [Fri, 31 May 2013 04:59:04 +0000 (13:59 +0900)]
evas/cserve2: Check for errors in evas sw engine
Jean-Philippe Andre [Tue, 11 Jun 2013 03:55:04 +0000 (12:55 +0900)]
evas/cserve2: Close scaled images after drawing
Jean-Philippe Andre [Wed, 5 Jun 2013 07:11:13 +0000 (16:11 +0900)]
evas/cserve2: Fix crash in expedite test 23
Test 23: load lots of scaled images and draw them
Problem: cs2 fails to load more images at some point. (root cause to be fixed!)
After that, client expects some data, but there is none, so it segfaults.
Cedric Bail [Fri, 14 Jun 2013 06:51:18 +0000 (15:51 +0900)]
evas: preliminary work on texture destruction for async preload of texture.
Cedric Bail [Thu, 13 Jun 2013 06:50:01 +0000 (15:50 +0900)]
evas: change cache API to forward Eo object.
Cedric Bail [Wed, 12 Jun 2013 10:37:44 +0000 (19:37 +0900)]
evas: cleanup GL texture allocation with some code refactoring.
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 06:34:51 +0000 (15:34 +0900)]
evas: wayland_egl - mirror changes for qcom tile begin/end in wayland egl.
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 06:32:39 +0000 (15:32 +0900)]
evas: wayland egl - mirror changes to gl_x11 for swapbufferswithdamage
Carsten Haitzler (Rasterman) [Fri, 14 Jun 2013 05:42:03 +0000 (14:42 +0900)]
evas: gl engine: chg eglswapbuffersregion to swapbufferswithdamage extn instead.
Rafael Antognolli [Thu, 13 Jun 2013 22:15:31 +0000 (19:15 -0300)]
evas/map: Add FIXME comment to remember that it's just a workaround.
Chris Michael [Thu, 13 Jun 2013 06:00:09 +0000 (07:00 +0100)]
EFL Formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Jiyoun Park [Thu, 13 Jun 2013 05:09:28 +0000 (14:09 +0900)]
Evas: Fix bs if app call image object update add after call api like
fileset.
Daniel Willmann [Wed, 12 Jun 2013 22:57:42 +0000 (23:57 +0100)]
eina_test_str: Make sure we have an empty string before using strcat
Caused issues with address sanitizer. Just calling allocating memory for
a string does not mean that it's empty/NULL-terminated.
Rafael Antognolli [Wed, 12 Jun 2013 21:48:40 +0000 (18:48 -0300)]
ecore/wayland: Translate CTRL + keys on Wayland.
The "compose" component of the ecore input events must be translated to
the correct value when CTRL keys are pressed. This implementation was
copy & pasted from the xcb backend.
Jérémy Zurcher [Wed, 12 Jun 2013 21:31:04 +0000 (23:31 +0200)]
improve eina_str coverage
my time killer, what a sad life ;))
Jérémy Zurcher [Wed, 12 Jun 2013 13:37:49 +0000 (15:37 +0200)]
indent eina_list tests
Jérémy Zurcher [Wed, 12 Jun 2013 13:46:49 +0000 (15:46 +0200)]
eina_str_split_full_helper: indent
Jérémy Zurcher [Wed, 12 Jun 2013 13:46:08 +0000 (15:46 +0200)]
eina_str_split_full_helper: check params, set NULL at the end of token array
Jérémy Zurcher [Wed, 12 Jun 2013 13:44:40 +0000 (15:44 +0200)]
eina_chained_mempool: typo
Jérémy Zurcher [Wed, 12 Jun 2013 13:44:25 +0000 (15:44 +0200)]
eina_chained_mempool: fix ERR arg format
Eduardo Lima (Etrunko) [Wed, 12 Jun 2013 20:15:48 +0000 (17:15 -0300)]
ecore_wl: Handle ECORE_WL_WINDOW_TYPE_NONE correctly
Also changes the default window type to ECORE_WL_WINDOW_TYPE_TOPLEVEL as it is
the most used case. If someone needs another type, set it manually.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Eduardo Lima (Etrunko) [Wed, 12 Jun 2013 17:24:05 +0000 (14:24 -0300)]
Document .gitignore split
This is taken verbatim from the linux kernel .gitignore
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Tom Hacohen [Wed, 12 Jun 2013 13:06:19 +0000 (14:06 +0100)]
Edje examples: Fixed knob to be visible in the drag example.
Carsten Haitzler (Rasterman) [Tue, 11 Jun 2013 11:57:08 +0000 (20:57 +0900)]
disable cedric leakage causes in edje mmap file set. :)
Eduardo Lima (Etrunko) [Tue, 11 Jun 2013 19:44:31 +0000 (16:44 -0300)]
Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Daniel Juyung Seo [Tue, 11 Jun 2013 17:22:52 +0000 (02:22 +0900)]
edc.vim: added SPRING keyword.
Carsten Haitzler (Rasterman) [Tue, 11 Jun 2013 09:12:07 +0000 (18:12 +0900)]
evas - partial rendering support now for qualcomm extn too.
Jérémy Zurcher [Mon, 10 Jun 2013 14:19:43 +0000 (16:19 +0200)]
eo_class_new: fix big memory waste
extn_data_size is not equal to extn_data_off,
current class data size and data offset must be substracted first
elementary_test bubble peak usage goes from 13.7 MiB to 12.5 MiB
Jérémy Zurcher [Mon, 10 Jun 2013 14:18:52 +0000 (16:18 +0200)]
eo: fix advertised object size in dbg msg
José Roberto de Souza [Mon, 10 Jun 2013 04:33:31 +0000 (01:33 -0300)]
eldbus: Fix crash when eldbus is shutdown and we have a live connection of type address
Also show info about each connection of type address live.
Tom Hacohen [Mon, 10 Jun 2013 13:51:44 +0000 (14:51 +0100)]
Revert "continuation of ascent/descent fix by tom - make textblock work too."
This reverts commit
9473c4a9a5b9e056e516b660895cb83c64a1c77f.
This commit is not correct. It just goes through every font in the
fontset, which is usually all the fonts in the system and tries to get
their ascent/descent and by that getting the max ascent/descent. This
won't work nicely.
The solution is to properly fix textblock, if you think there's
something lacking (I.e in the same way I did text).
However, my changes did not change previous behaviour, but were just
wrappers, so I don't see why extra changes would be needed. Please
elaborate.
I'm reverting this because:
1. I don't think it's correct.
2. It severly broke e in some cases (reference:
http://www.enlightenment.org/ss/e-
51b5d5e98cd387.
04568822.png ).
Tom Hacohen [Mon, 10 Jun 2013 13:51:38 +0000 (14:51 +0100)]
Revert "fix slowdown as a result of fixing text ascent/descent for fontsets from tom."
This reverts commit
9ecc87713d5cc936c81d10230bd25bb94e42833a.
Boris Faure [Sun, 9 Jun 2013 13:36:58 +0000 (15:36 +0200)]
eina_log: screen-256color also support colors
Carsten Haitzler (Rasterman) [Sun, 9 Jun 2013 08:30:34 +0000 (17:30 +0900)]
fix bug introduced by:
f1ba71147e6522d5f5bce48e81bf5f2dab3068d6
max ascent/descent are not the same as ascent and descent... get them
specifically.
Carsten Haitzler (Rasterman) [Sun, 9 Jun 2013 07:19:38 +0000 (16:19 +0900)]
update images.mk
Boris Faure [Sat, 8 Jun 2013 19:06:08 +0000 (21:06 +0200)]
eina-log: xterm-256 (or terminology someday…) supports colors
Tom Hacohen [Fri, 7 Jun 2013 17:09:30 +0000 (18:09 +0100)]
Evas font: Fix initialization of ascent/descent for empty objects.
Tom Hacohen [Fri, 7 Jun 2013 16:45:13 +0000 (17:45 +0100)]
Evas text: Removed unused variables.
Chris Michael [Fri, 7 Jun 2013 14:40:46 +0000 (15:40 +0100)]
Egl Overhaul (ecore_evas part)
- Add code to allow Async Render with Wayland_Egl
(NB: Currently disabled. Evas_Textgrid borks when this is enabled)
- Create ecore_wl_window first so we can get surface and pass to evas.
- During show, we no longer need to pass the surface to evas.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:39:31 +0000 (15:39 +0100)]
During shm engine creation, we can create the ecore_wl_window first
AND get the surface for it...so that we can pass the surface directly
to the evas engine.
NB: Works. nothing broken.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:38:15 +0000 (15:38 +0100)]
Egl Overhaul (ecore_evas part)
- In common_render_updates_process, calls to window_damage will
Accumulate the damage, so add a call After to push damages.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:35:40 +0000 (15:35 +0100)]
Ok ... Big Wl Egl Overhaul...(evas portion)
- Setenv for egl_platform before we init gl/egl, etc
- Ignore check for NULL surface to indicate destroying (this is all
not need now).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:33:38 +0000 (15:33 +0100)]
Add private function to get the window hash.
When destroying window, also destroy animator callback.
Change ecore_wl_window_damage function to Only do damage.
Add separate ecore_wl_window_commit function to push those accumulated
damages.
In ecore_wl_window_surface_create, if the window already has a
surface, return that ... Not Null.
During window show, only create a shell_surface if it does not Already
exist.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:33:22 +0000 (15:33 +0100)]
Add private function to get the window hash.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:32:19 +0000 (15:32 +0100)]
Modify ecore_wl_input keypress code to handle modifiers Not on every
keypress, but rather Only on they actual modifier event.
Add some printf debugging for Non-Printables like Ctrl, etc
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:31:41 +0000 (15:31 +0100)]
Add ecore_wl_animator_source_set code for setting Custom animators.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 14:30:36 +0000 (15:30 +0100)]
Modify ecore_wl_animator_source_set function to not need a window.
Add ecore_wl_window_commit.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 07:17:30 +0000 (08:17 +0100)]
Fix move_resize to call the proper function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 07:15:29 +0000 (08:15 +0100)]
Fix segfault: Don't try to printf a debug message if we don't have a cache.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 07:11:05 +0000 (08:11 +0100)]
Bunch of minor "consistency" changes to bring egl and shm code in-sync.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 07:09:55 +0000 (08:09 +0100)]
Add support for move_resize.
Bunch of minor "consistency" changes to bring egl and shm code in-sync.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 07:06:02 +0000 (08:06 +0100)]
Add anim_pending and anim_callback to window structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 07:05:32 +0000 (08:05 +0100)]
Fix some doxy formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 7 Jun 2013 06:26:53 +0000 (07:26 +0100)]
Add async render support for ecore_evas_wayland_egl
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 5 Jun 2013 12:49:21 +0000 (13:49 +0100)]
Add wl_egl_window to private structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 5 Jun 2013 12:37:09 +0000 (13:37 +0100)]
Remove dead commented code and fix up formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 7 Jun 2013 11:01:55 +0000 (20:01 +0900)]
fix pkgbuild
Carsten Haitzler (Rasterman) [Fri, 7 Jun 2013 10:13:47 +0000 (19:13 +0900)]
update pkgbuild
Carsten Haitzler (Rasterman) [Fri, 7 Jun 2013 10:03:41 +0000 (19:03 +0900)]
fix up pkgbuild to be cleaner.
Carsten Haitzler (Rasterman) [Fri, 7 Jun 2013 09:35:44 +0000 (18:35 +0900)]
fix up pkgbuild to be cleaner.
Rafael Antognolli [Thu, 6 Jun 2013 21:35:12 +0000 (18:35 -0300)]
evas/callbacks: Prevent post_event_callback_call recursion.
If this function is called recursively, it will free the list of post
callbacks before the list stops being used, which will cause a segfault.
The only place where this seems to happen is on
https://phab.enlightenment.org/T124, probably due to the extensive mouse
events which are launched in an unexpected way.
This bug started happening after commit
164cc07237395f8fe6efa465e4f0c0c4863f78ed, where the
_elm_scroll_page_x_get() started being called by a post_event callback,
and forcing an edje recalc. This recalc triggered another post_event
callback, thus causing the mentioned segfault.
If there's a better way to prevent this from happening, please change
the mentioned code.
Tom Hacohen [Thu, 6 Jun 2013 14:40:41 +0000 (15:40 +0100)]
Evas font: Fixed line size calculation using multiple fonts.
Additional fixes to
cc4cf7786595710b5c53a80dd61bc632cf682ac5.
There were two problems:
1. Usage of max_ascent instead of ascent.
2. Initialization of the ascent value according to the first font,
instead of 0 (as the first font might not even be used).
Tom Hacohen [Thu, 6 Jun 2013 13:21:16 +0000 (14:21 +0100)]
Evas font: Remove useless multiplication and division.
Does nothing, just looks ugly.
Daniel Willmann [Thu, 6 Jun 2013 09:51:34 +0000 (10:51 +0100)]
evas_font_load: Remove duplicate include of evas_font_ot.h
Because it defines USE_HARFBUZZ we need to include it before testing for
this define.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Tom Hacohen [Thu, 6 Jun 2013 09:41:59 +0000 (10:41 +0100)]
Evas font: Fixed hb_font_destroy related warning.
Thanks to Daniel Willmann.
ChunEon Park [Thu, 6 Jun 2013 09:36:40 +0000 (18:36 +0900)]
edje - refactoring.
edje_part_calc() is too heavy. split map calcutation from edje_part_calc()
ChunEon Park [Thu, 6 Jun 2013 09:22:26 +0000 (18:22 +0900)]
edje - go away unnecesary code
ChunEon Park [Thu, 6 Jun 2013 09:18:36 +0000 (18:18 +0900)]
edje - support map color set
Chris Michael [Thu, 6 Jun 2013 03:30:40 +0000 (04:30 +0100)]
Add pre_post_swap_callback_set to Wayland Interface for Ecore_Evas.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Thu, 6 Jun 2013 03:29:42 +0000 (04:29 +0100)]
Fix formatting.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Thu, 6 Jun 2013 02:51:57 +0000 (03:51 +0100)]
Set render_engine info to new information in eng_setup before we do
comparisons.
Add comment about NULL surface being passed in.
Fix segfault when we close windows...uartie, this one's for you ;)
Signed-off-by: Chris Michael <devilhorns@comcast.net>