Cedric Bail
e888a07c0a
evas: cleanup headers. Should work on windows.
2013-06-26 11:24:29 +09:00
Deon Thomas
67df5b4ad1
Ecore DPMS Function to get the current dpms power level
2013-06-26 08:32:42 +09:00
Tom Hacohen
fdbc477f79
Evas textblock: Fixed issue with textblocks without fonts segfaulting.
...
Fixes T184 (which is a regression).
2013-06-25 16:37:48 +01:00
Stefan Schmidt
9c1ed31c76
eina_list: Avoid NULL pointer deref in eina_list_shuffle.
...
If we have a valid but empty, n = 0, list we never enter the loop
and shuffled_last might still be NULL. Avoid this case by checking
explicitly for n = 0 before.
2013-06-25 15:18:33 +01:00
ChunEon Park
44568ef01d
efl/evas - removed duplicated lines and apply clipping only when clip values are available.
2013-06-25 21:56:28 +09:00
ChunEon Park
ede5390258
efl/evas - +null check
2013-06-25 21:53:05 +09:00
Cedric Bail
75639bea49
evas: don't forget to remove image from the lru when they are back to active.
2013-06-25 16:20:46 +09:00
Christophe Sadoine
2dabd04dc8
evas: fix problem with dllimport on Windows.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:48 +09:00
Christophe Sadoine
2070ca4205
evil: add strsep function.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:37 +09:00
Christophe Sadoine
d9e1b7d67c
evil: added evil_rename() a wrapper around rename().
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-25 12:29:27 +09:00
Cedric Bail
4605b91804
evil: returned the good value for mkstemp
...
Added back some needed defines for elementary (was in evil 1.7.7).
2013-06-25 12:16:36 +09:00
Cedric Bail
1043bb0f47
edje: leak is gone, so use it again.
2013-06-25 11:45:42 +09:00
Cedric Bail
406cdbd686
evas: one LRU for both image open with filename or Eina_File to fix infinite increase of cache.
2013-06-25 11:45:42 +09:00
Ryuan Choi
c11e4cbca8
edje: fix memory leak with EDJE_TWEEN_MODE_OPT_FROM_CURRENT.
2013-06-25 11:45:42 +09:00
Sebastian Dransfeld
71122d5920
efreet: Init no longer fails without dbus session
...
Allow programs to use efreet without requiering a dbus session. This
gives limited functionality, as efreet_icon wont work without a cache.
efreet_desktop will partially work, as it reads info from files directly
if cache is missing.
2013-06-25 04:32:26 +02:00
Jean-Philippe Andre
1f298139d8
evas: fix crash after font rehint
2013-06-24 14:52:54 +02:00
Chris Michael
a665e6320f
Remove call to wl_display_get_serial as it's a server-side function,
...
not client-side.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 09:15:34 +01:00
Chris Michael
f833318fb2
Use wl_display_get_serial when creating popups.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 08:52:50 +01:00
Doug Newgard
95bc804a2e
efl: fix systemd spelling.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09:00
Rajeev Ranjan
12458544d1
evas: add mutex locking before signalling for the condition variable and releasing afterwards.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-24 12:04:18 +09:00
Cedric Bail
d06a0982ef
evas: add support for asynchronously uploading GL texture.
...
NOTE: when using Evas_Object image preload infrastructure the GL texture
upload was uploaded from the main loop during the rendering stage. This
could lead to some frame drop during fast animation due to the time needed
to upload that texture.
This patch fix this problem by uploading a small texture quickly (16x16)
and waiting for going back to the main loop to be able to use the same GL
context from another thread to do the texture upload asynchronously without
blocking the main loop.
2013-06-24 12:04:18 +09:00
Carsten Haitzler
8e3d94d661
efreet: don't try change permissions on runtime dir we don't own.
2013-06-24 12:00:30 +09:00
Carsten Haitzler
29b3c80385
eldbus: error message iters should be initted as readonly.
2013-06-22 20:15:44 +09:00
Thiep Ha
7767751c88
[Edje_Entry] Move cursor to correct position when selection handlers are pressed.
...
+ Main cursor should be moved to selection start or selection end
cursor's position when selection handlers are pressed.
+ Fix my mistake in signal emit for end handler mouse down event.
Conflicts:
ChangeLog
NEWS
2013-06-22 12:30:50 +09:00
Sebastian Dransfeld
a0ba7941ad
efreet: Use end cb of thread to run cb
2013-06-21 12:56:21 +02:00
Mike Blumenkrantz
51246fff68
efreet menu cbs don't return a value and take const data params
2013-06-21 09:50:03 +01:00
Sebastian Dransfeld
aa8565b372
efreet: Add data to async request
2013-06-21 10:39:40 +02:00
Sebastian Dransfeld
ebcd97cc93
efreet: Create cache dir in efreet_cache_init
...
efreetd used efreet functions before efreet init which fails.
2013-06-21 10:00:20 +02:00
Sebastian Dransfeld
336f6ec328
efl: formatting
2013-06-20 13:28:18 +02:00
Sebastian Dransfeld
b1c97a0da4
efreet: Create a temp XDG_RUNTIME_DIR if not set
...
Using /tmp as XDG_RUNTIME_DIR is pointless if we want it to be mode 0700
2013-06-20 13:27:20 +02:00
Sebastian Dransfeld
068f1ddc62
efl: formatting
2013-06-20 13:08:36 +02:00
Sebastian Dransfeld
51023d2d4f
evas: Keep sane name for public header
...
Evas_Common.h should be used for the public header, and rather rename
evas_common.h internal header to another name.
Sa:
Evas_Common_Header.h -> Evas_Common.h
evas_common.h -> evas_common_private.h
Shouldn't have both Evas_Common.h and evas_common.h because of case
insensitive filesystems.
2013-06-20 12:53:29 +02:00
Sebastian Dransfeld
9aada5f735
efreet: @since
2013-06-20 11:57:23 +02:00
Sebastian Dransfeld
5b3cd4cde1
efreet: Add async menu parsing
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
0c317eaca2
efreet: Make _path_to_file_id threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
ceb19aaaaa
efreet: Make desktop cache threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
39417cf0ea
efreet: Make efreet_desktop threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
5efd817e57
efreet: Formatting
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
c99b028a7c
efreet: Release log domain on evil error
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
5eaaae420e
efreet: doc fixes
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
f0ff83c3f5
efreet: Reorganize file
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
c504706873
efreet: Init variables in init
...
Make functions threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
e8ff0e7b68
efreet: Init efreet_menu_prefix in init
...
Makes efreet_menu_prefix access threadsafe
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
3190e526f4
efreet: Remove static variable
2013-06-20 11:56:46 +02:00
Sebastian Dransfeld
e5f4fa4454
efreet: Remove static variable
2013-06-20 11:56:45 +02:00
Sebastian Dransfeld
da1b1f6649
efreet: Improve eina hash usage
...
eina_hash_del + eina_hash_add = eina_hash_set
2013-06-20 11:56:45 +02:00
Jean-Philippe Andre
d2c3b67a72
cserve2: fix minor memleaks with fonts
...
Leaks happen when fonts fail to load
2013-06-20 17:42:07 +09:00
Jean-Philippe Andre
4b473c90c0
cserve2: Handle interrupts when failing to read from server
...
If we don't do that, the client will end up in an infinite loop
from where it just can't exit, if the server is dead/stuck.
2013-06-20 17:42:07 +09:00
Jean-Philippe Andre
1821c91d10
cserve2: prevent infinite loop during connection
...
In case of EACCESS, there is no point trying forever
In case of EINTR (interrupt), we can consider for now
that any signal will prevent the use of cserve2.
If we don't do that, Ctrl+C simply won't work :)
2013-06-20 17:42:07 +09:00
Mike Blumenkrantz
5ca64106a2
more descriptive error message in eldbus when property fetching fails
2013-06-20 08:13:55 +01:00
Chris Michael
cda1abc1ec
Dont need the ret variable unless we are actually going to use it.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-20 04:48:44 +01:00
Cedric Bail
694e8a7d09
evas: fix clang compilation.
2013-06-18 13:32:00 +09:00
Cedric Bail
1609055579
evas: reduce memory footprint taken by Evas_Object_Table callbacks setup.
...
This reduce by 50K elemines memory use on 32bits system.
2013-06-18 11:44:29 +09:00
Cedric Bail
91aea489c3
evas: reduce memory usage by using Eo array of callbacks.
...
Reduce usage by 100K on my test on Elementary test, likely better with 64bits system.
2013-06-18 11:44:29 +09:00
Chris Michael
01ed63f4bd
Remove 'hack' which worked around a Weson bug wrt pointer setting
...
during dnd operations (by setting surface_user_data to buffer)
NB: This bug was fixed in Weston, so this workaround is not needed
anymore
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
2942696111
Don't crash when window is null (for mouse_down comparison)
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
db37405ef8
Debug--
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
09376dae70
Fix formatting
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Jérémy Zurcher
8619bf1323
eo_class_new: reorder last operations in class creation
2013-06-18 00:08:58 +02:00
Jérémy Zurcher
2350f1fb30
eo_class_new: pack ext data offsets at the end of _Eo_Class
2013-06-17 23:48:22 +02:00
Jérémy Zurcher
841b46fc90
eo_class_new: speed up mixins offset table creation
2013-06-17 23:47:15 +02:00
Jérémy Zurcher
5f83d1a80b
eo_class_new: check parent and desc before doing anything
2013-06-17 23:41:45 +02:00
Jérémy Zurcher
4eb2fb0bb6
eo_class_new: pack mro at the end of _Eo_Class
2013-06-17 23:41:02 +02:00
Jérémy Zurcher
e0293a421f
eo_class_new: remove duplicates in extensions as well as in mro
2013-06-17 23:38:04 +02:00
Jérémy Zurcher
2f79056078
eo_class_new: pack extensions at the end of _Eo_Class
2013-06-17 23:35:48 +02:00
Jérémy Zurcher
0c4c7ecd3a
eo_class_new: add and use _eo_class_sz
2013-06-17 23:33:19 +02:00
Jérémy Zurcher
4d2f4a1ae5
eo_class_new: replace class field extn_data_size with obj_size
2013-06-17 23:32:50 +02:00
Sung W. Park
8e6f0aa11c
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.
2013-06-17 18:32:00 +09:00
Sung W. Park
316be3e6c7
Revert "Saving evasgl direct partial rendering fix temporarily"
...
This reverts commit e6359132de
.
2013-06-17 18:22:15 +09:00
Sung W. Park
62e146f2fc
Revert "Touch for evas gl direct rendering partial rendering/swap fix."
...
This reverts commit 382ffbb4f5
.
2013-06-17 18:22:04 +09:00
Sung W. Park
382ffbb4f5
Touch for evas gl direct rendering partial rendering/swap fix.
2013-06-17 17:52:16 +09:00
Sung W. Park
e6359132de
Saving evasgl direct partial rendering fix temporarily
2013-06-17 17:52:16 +09:00
Cedric Bail
669e40fbce
edje: reduce memory footprint of edje callbacks.
...
Divide by two the amount of memory used by callbacks in elementary_test.
2013-06-17 16:55:22 +09:00
ChunEon Park
550c9fffc2
edje - fix typo
2013-06-16 22:13:50 +09:00
Daniel Juyung Seo
d5800af9cd
Evas_Common_Header.h: added textgrid to primitive evas object list.
2013-06-16 22:06:33 +09:00
Carsten Haitzler
1914148446
evas: optimization - handle if c1 == c2 for map interplated lines
2013-06-14 21:32:56 +09:00
Carsten Haitzler
ae2f824413
evas: fix possible seg with font glyphs from font instance in glyph array with no refcounting.
2013-06-14 19:57:18 +09:00
Jean-Philippe Andre
19fb35d657
evas/cserve2: Close scaled images after drawing
2013-06-14 16:38:18 +09:00
Cedric Bail
1073084807
evas: change cache API to forward Eo object.
2013-06-14 16:38:18 +09:00
Rafael Antognolli
d44a69f911
evas/map: Add FIXME comment to remember that it's just a workaround.
2013-06-13 19:16:23 -03:00
Chris Michael
f43ac1a181
EFL Formatting.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 07:00:09 +01:00
Jiyoun Park
f488cf2b4d
Evas: Fix bs if app call image object update add after call api like
...
fileset.
2013-06-13 14:09:28 +09:00
Rafael Antognolli
79496745cf
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.
2013-06-12 18:50:31 -03:00
Jérémy Zurcher
0baf4b3561
eina_str_split_full_helper: indent
2013-06-12 23:34:40 +02:00
Jérémy Zurcher
bc182253a7
eina_str_split_full_helper: check params, set NULL at the end of token array
2013-06-12 23:34:40 +02:00
Eduardo Lima (Etrunko)
734e52d011
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>
2013-06-12 17:40:02 -03:00
Carsten Haitzler
eac7636a1e
disable cedric leakage causes in edje mmap file set. :)
2013-06-12 08:34:24 +09:00
Eduardo Lima (Etrunko)
d3292a7ae9
Split .gitignore into multiple files
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Jérémy Zurcher
1f7ae48215
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
2013-06-10 16:42:15 +02:00
Jérémy Zurcher
4e742bf0bf
eo: fix advertised object size in dbg msg
2013-06-10 16:42:15 +02:00
José Roberto de Souza
274799cb08
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.
2013-06-10 11:30:49 -03:00
Tom Hacohen
3137e18962
Revert "continuation of ascent/descent fix by tom - make textblock work too."
...
This reverts commit 9473c4a9a5
.
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 ).
2013-06-10 14:52:10 +01:00
Tom Hacohen
d7db12f196
Revert "fix slowdown as a result of fixing text ascent/descent for fontsets from tom."
...
This reverts commit 9ecc87713d
.
2013-06-10 14:51:38 +01:00
Boris Faure
e0372fc54d
eina_log: screen-256color also support colors
2013-06-09 15:50:11 +02:00
Carsten Haitzler
c979a52553
fix bug introduced by: f1ba71147e
...
max ascent/descent are not the same as ascent and descent... get them
specifically.
2013-06-09 17:30:34 +09:00
Boris Faure
55b66a93d7
eina-log: xterm-256 (or terminology someday…) supports colors
2013-06-08 21:07:22 +02:00
Tom Hacohen
f2317ac875
Evas font: Fix initialization of ascent/descent for empty objects.
2013-06-07 18:09:51 +01:00
Tom Hacohen
e1cffeecef
Evas text: Removed unused variables.
2013-06-07 18:09:50 +01:00
Chris Michael
cf8e054889
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>
2013-06-07 15:42:53 +01:00
Chris Michael
659c6548d9
Add private function to get the window hash.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-07 15:42:53 +01:00