Jihoon Kim [Sat, 23 Feb 2013 08:59:29 +0000 (17:59 +0900)]
ecore_imf_example: remove unused variable, fix warning
Tom Hacohen [Fri, 22 Feb 2013 14:13:35 +0000 (14:13 +0000)]
Edje entry fit: Set the min size according to the fitting as well.
Tom Hacohen [Fri, 22 Feb 2013 14:11:41 +0000 (14:11 +0000)]
Edje entry fit: Set the min/max sizes according to the fitting, not before.
chuneon.park [Fri, 22 Feb 2013 13:42:48 +0000 (22:42 +0900)]
evas/common - return function as soon as possible.
chuneon.park [Fri, 22 Feb 2013 13:40:34 +0000 (22:40 +0900)]
evas/common - fix indentation
Daniel Juyung Seo [Fri, 22 Feb 2013 01:57:38 +0000 (10:57 +0900)]
ChangeLog: Fixed formatting. We don't use tab for ChangeLog. Ping tasn and cedric.
Tom Hacohen [Thu, 21 Feb 2013 14:59:27 +0000 (14:59 +0000)]
Evas font: Fixed font run detection for some cases.
There were issues for specific cases with 2 different fonts in the middle
of a run.
Tom Hacohen [Thu, 21 Feb 2013 13:39:37 +0000 (13:39 +0000)]
Evas text: Fixed bug with the text object direction detection.
Cedric BAIL [Thu, 21 Feb 2013 09:45:45 +0000 (18:45 +0900)]
edje: let's fix the edje test to init/shutdown edje correctly.
We have so much wonderfull tool, like git and make lcov-check. Sadly
we are lacking a tool to check their usage ! PEBKAC is still an issue.
Tom Hacohen [Thu, 21 Feb 2013 08:39:09 +0000 (08:39 +0000)]
Revert "tests/edje: Disable edje mising file test until the needed header is commited."
I added the file in the previous commit.
This reverts commit
251eac7d7a5c6d7f2e4fccac3c2240197b7c5aac.
Tom Hacohen [Thu, 21 Feb 2013 08:38:52 +0000 (08:38 +0000)]
Edje tests: Added missing file.
Cedric BAIL [Thu, 21 Feb 2013 08:14:45 +0000 (17:14 +0900)]
eeze: fix build with recent Eina change.
Cedric BAIL [Tue, 19 Feb 2013 04:33:41 +0000 (13:33 +0900)]
eeze: add back support for older system.
Support for older system that don't come with libmount or have
an older libmount. This is a backport from Eeze 1.7 tree. There
is no code change there.
Carsten Haitzler (Rasterman) [Thu, 21 Feb 2013 07:49:10 +0000 (16:49 +0900)]
Add ecore_x_dnd_self_begin() and ecore_x_dnd_self_drop() to allow dnd
to your own window (drop where u drag from). helpful for elm where dnd
src/dst are object based, so we talk dnd protocol to ourselves.
Stefan Schmidt [Wed, 20 Feb 2013 17:21:30 +0000 (17:21 +0000)]
Revert "Refactor evas_sw_xlib_outbuf to allocate less in case of rotations."
This reverts commit
139737247d563f53a064c7f4a025a89ed64c2983.
THis fix was completely wrong.
Conflicts:
ChangeLog
Stefan Schmidt [Wed, 20 Feb 2013 09:11:07 +0000 (09:11 +0000)]
tests/edje: Disable edje mising file test until the needed header is commited.
I tried to get it from Tom's machine but I can't log in there. :)
Cedric BAIL [Wed, 20 Feb 2013 08:49:50 +0000 (17:49 +0900)]
eina: make that test not depend on efl configuration.
Carsten Haitzler (Rasterman) [Wed, 20 Feb 2013 08:16:54 +0000 (17:16 +0900)]
Fix ecore-x edid fetch to ftech 128, not 100 bytes.
Cedric BAIL [Wed, 20 Feb 2013 03:10:18 +0000 (12:10 +0900)]
edje: let's properly report that file doesn't exist.
Tom Hacohen [Tue, 19 Feb 2013 16:00:38 +0000 (16:00 +0000)]
Edje tests: Added a failing test for the file doesn't exist issue.
Daniel Zaoui [Tue, 19 Feb 2013 15:49:41 +0000 (17:49 +0200)]
edje file_set: _edje_object_orientation_inform should be in the Eo
implementation, not just legacy
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
Tom Hacohen [Tue, 19 Feb 2013 15:09:32 +0000 (15:09 +0000)]
Ecore_x: Revert "don't filter out non-master pointers in xi2.2 support."
This actually breaks genlist selection.
This reverts commit
5adb2f1ae6766fb0880aba5a92fff4fa52d1402f.
Rafael Antognolli [Tue, 19 Feb 2013 12:56:39 +0000 (09:56 -0300)]
evas/wayland_shm: Remove x,y offsets from swapbuf related APIs.
These offsets can be calculated later during the resize operations.
Rafael Antognolli [Mon, 18 Feb 2013 17:31:17 +0000 (14:31 -0300)]
ecore_evas/wayland_shm: Fixed window resize.
Using the server_allocation/allocation to determine the resize offset
was not completely precise, and causing the window to not always resize
correctly.
Additionally, calling evas_engine_info_set() on every resize step caused
the window content to blink and resize very slow, because the swap
buffer, swapper, and everything were being destroyed and recreated. Now
only the swapbuf_reconfigure is being called during the resize, which is
way faster.
Christopher Michael [Tue, 5 Feb 2013 14:16:27 +0000 (14:16 +0000)]
Fix swapper to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:16:00 +0000 (14:16 +0000)]
Fix function prototypes to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:15:41 +0000 (14:15 +0000)]
Fix swapbuf setup to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:14:38 +0000 (14:14 +0000)]
Fix function prototypes to take x & y as params. Fix functions to take x & y as params (for resize edges).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:14:17 +0000 (14:14 +0000)]
Fix new shm engine to take resize edges into account.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:13:32 +0000 (14:13 +0000)]
Fix swapper_setup function prototype to take x & y as params.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 14:13:09 +0000 (14:13 +0000)]
Add x & y to Output buffer.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 13:23:14 +0000 (13:23 +0000)]
Remove blank line.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 13:09:32 +0000 (13:09 +0000)]
Add edges struct to engine information.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 12:51:38 +0000 (12:51 +0000)]
Free any old input or opaque regions if they exist (regardless of the existance of a surface).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 12:49:20 +0000 (12:49 +0000)]
Remove old shm information from the private data structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 12:48:25 +0000 (12:48 +0000)]
Fix formatting.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Feb 2013 12:47:27 +0000 (12:47 +0000)]
Remove extra whitespace.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 19 Feb 2013 11:39:52 +0000 (11:39 +0000)]
Fix possible memory leak.
Dynamic memory stored in 'ptr2' allocated through function 'malloc' at
line 653 can be lost at line 1022. Also there is one similar error on
line 1029.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 19 Feb 2013 11:27:26 +0000 (11:27 +0000)]
Fix possible memory leak in eet_data_image_header_decode_cipher.
Dynamic memory stored in 'deciphered_d' allocated through function
'eet_decipher' at line 1385 can be lost at line 1408. Also there are 3
similar errors on line(s) 1427, 1430, 1450.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Tom Hacohen [Tue, 19 Feb 2013 11:46:21 +0000 (11:46 +0000)]
Edje entry: Fixed a fit issue with fitting even when disabled.
Tom Hacohen [Tue, 19 Feb 2013 11:40:00 +0000 (11:40 +0000)]
Edje entry: Fixed some fit issues - only works well with single line textblocks.
I figured it's better to have single line textblocks working well, rather
than nothing working at all. This should now work with ellipsis as well.
Cedric BAIL [Tue, 19 Feb 2013 10:37:57 +0000 (19:37 +0900)]
evas: yet the canvas can already be dead when we get to kill the object.
Cedric BAIL [Tue, 19 Feb 2013 10:16:58 +0000 (19:16 +0900)]
evas: protect dead memory access.
Since the move to Eo, we no do unref objects after destroying the name
hash. So we need to take that into account when looking at the hash.
Cedric BAIL [Tue, 19 Feb 2013 09:56:47 +0000 (18:56 +0900)]
git: let's not track coverage result to.
Daniel Zaoui [Tue, 19 Feb 2013 06:55:40 +0000 (08:55 +0200)]
evas: Fix Evas Object Text when LTR and RTL are used together.
When harfbuzz is enabled, RTL text (arabic, hebrew...) is displayed differently
if the paragraph begins with or without LTR.
The problem was related to the function evas_common_language_script_type_get
and a wrong offset given as parameter to this function.
Thanks to EunYoung Kim for having found this bug.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
Cedric BAIL [Mon, 18 Feb 2013 13:32:51 +0000 (14:32 +0100)]
ecore: add Ecore_Coroutine.
That work clearly was possible thanks to Leandro. If you want more information
go to his blog : http://tia.mat.br/posts/async_io_with_coroutines/ .
The main difference with his implementation is more portable and not thread safe.
It does not have a custom swapcontext (would make sense as we don't need to save
the sigcontext) so it will be less fast. If people are ready to contribute asm
patch for that purpose I will be happy to apply them.
As for portability this code should work on all architecture we already support
thanks to a nice hack with setjmp/longjmp borowed from libcoroutine. We do use
Fiber for Windows support, but as 1.8 is completely borken in that regard, this
is theorical work only.
Thinks left to do :
- Eoify the API
- Documentation
- More tests
- Add support for coroutine in fd handler
- Add coroutine support to ecore_thread api
- Write some example
Cedric BAIL [Mon, 18 Feb 2013 13:16:06 +0000 (14:16 +0100)]
Eo: do not add the test when not building them.
Test can only be build if they are enable. Moving them inside the if
so we don't get annoying error when make check is run without tests
being turned on.
Daniel Willmann [Mon, 18 Feb 2013 13:18:04 +0000 (13:18 +0000)]
eina: Lets allocate space for the terminating \0 as well
Off-by-1 in string copy, found by klocwork
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Mon, 18 Feb 2013 12:26:27 +0000 (12:26 +0000)]
edbus: Use snprintf to be sure
Are dbus function calls with more than 1000 arguments possible?
If so -> prevent buffer overflow
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Mon, 18 Feb 2013 12:10:22 +0000 (12:10 +0000)]
edbus: Fix array access of shared_connection
type is an enum which can be 0. Make sure that it isn't before accessing
shared_connections[type - 1]
Found with klocwork
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Daniel Willmann [Mon, 18 Feb 2013 11:48:25 +0000 (11:48 +0000)]
xpm_loader: Make tok larger so strcpy will fit
Found through klocwork. It seems there are more potential issues here.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Tom Hacohen [Mon, 18 Feb 2013 11:59:15 +0000 (11:59 +0000)]
Edje pick: Fixed lockwork suspected leaks.
The problem is that apparently size can be 0 but some data can still
be returned.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 10:35:34 +0000 (19:35 +0900)]
Fix emotion build to add eeze includes if EEZE on.. not v4l2!
Cedric BAIL [Mon, 18 Feb 2013 07:39:49 +0000 (16:39 +0900)]
eina: fix siginfo detection.
Signal are not a portable way to detect memory mapped file corruption.
So let's disable it for system without signal and later find a way to
detect it on other system.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 07:37:20 +0000 (16:37 +0900)]
don't filter out non-master pointers in xi2.2 support.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 06:41:43 +0000 (15:41 +0900)]
Fix edje edje_color_class_list() and edje_text_class_list() to look at the
correct hashes when returning.
Carsten Haitzler (Rasterman) [Mon, 18 Feb 2013 06:37:52 +0000 (15:37 +0900)]
Fix changelog formatting for older commits.
Cedric BAIL [Mon, 18 Feb 2013 02:53:48 +0000 (11:53 +0900)]
evas: fix typo and unbreak rendering of polygons.
Evas_Object_Polygon are a little bit special and track their position
to avoid rebuilding various property when just moved. The offset.{x,y}
are there for that. For a strange reason they got a += instead of just
an = and there our offset did go quickly out of screen...
Ivan Briano [Sun, 17 Feb 2013 17:53:25 +0000 (14:53 -0300)]
More removal of \r
Ivan Briano [Sun, 17 Feb 2013 17:30:11 +0000 (14:30 -0300)]
Remove \r from end of line.
No functional changes here.
discomfitor [Sun, 17 Feb 2013 14:18:46 +0000 (14:18 +0000)]
fix damn edje entry anchor click signals: this fixes anchor clicking in elm_entry widgets when using a desktop profile which has been broken for over a year
ticket #1179
Paulo C. A. Cavalcanti Jr [Sat, 16 Feb 2013 10:10:47 +0000 (11:10 +0100)]
evas: Introduce pixel_alpha_get()
The _pixel_alpha_get() function used in evas_object_image_is_inside won't
work with engines other than software - since it relies on engine data
being *always* RGBA_Image * - which is wrong for OpenGL backend that uses
Evas_GL_Image * for "engine_data" pointer.
Cedric BAIL [Sat, 16 Feb 2013 09:55:46 +0000 (10:55 +0100)]
evas: forgotten update to ChangeLog.
Cedric BAIL [Sat, 16 Feb 2013 09:54:36 +0000 (10:54 +0100)]
eina: improve Eina_Clist support for 64bits system.
This warning are triggered by a cross compilation as previously stated.
Cedric BAIL [Sat, 16 Feb 2013 09:36:41 +0000 (10:36 +0100)]
evas: improve portability of bmp loader.
On system like 64bits windows it is not a guaranty that a
sizeof (long) == sizeof (void*), we are better using the right type.
This generate a warning that we could have seen with just cross compilation.
Jiyoun Park [Sat, 16 Feb 2013 09:02:40 +0000 (18:02 +0900)]
ecore evas extn:add example file related with ecore extn
It can be used to see the function of ecore extn and msg send/recieve
Tom Hacohen [Fri, 15 Feb 2013 15:38:49 +0000 (15:38 +0000)]
Edje textblock: Improved textblock fit and added support for size_range.
It's a bit quirky at the moment as you have to set the base font size
(text.size) although this doesn't have any effect on textblocks.
Tom Hacohen [Fri, 15 Feb 2013 17:19:07 +0000 (17:19 +0000)]
textblock: Added native and formatted sizes to clouseau.
Tom Hacohen [Fri, 15 Feb 2013 16:19:35 +0000 (16:19 +0000)]
Revert "Fix build break"
This doesn't really fix build break, it actually breaks it.
This reverts commit
e655f0b7358765f02ea392971c6ddbf8518c37c8.
Tom Hacohen [Fri, 15 Feb 2013 16:13:04 +0000 (16:13 +0000)]
Efl: Use git rev-list in order to get version instead of svnversion.
Jaehwan Kim [Fri, 15 Feb 2013 11:15:58 +0000 (20:15 +0900)]
Fix build break
Carsten Haitzler (Rasterman) [Fri, 15 Feb 2013 10:35:14 +0000 (19:35 +0900)]
add .gitignore for generated cmakes.
Stefan Schmidt [Fri, 15 Feb 2013 10:32:18 +0000 (10:32 +0000)]
efl/doc: Remove all .svn entries from the generated file.
This is now longer needed now that we switched to git. And it should
also silent all the file modified problems.
The next time this file is listed as modified you should either have
done it yourself or added an image in the efl docs img folder.
Carsten Haitzler (Rasterman) [Fri, 15 Feb 2013 10:24:18 +0000 (19:24 +0900)]
Update po's with list addrs and dates.
Jiyoun Park [Fri, 15 Feb 2013 09:32:40 +0000 (09:32 +0000)]
Add infrastructure to handle message between ecore and parent ecore in Ecore_Evas
I add new example related with this. (ecore_evas_extn_socket & plug example)
ecore extn use this infrasturcture, server app and client app can communicate each other
later, this can be used to contorl access message
SVN revision: 83942
Jaehwan Kim [Fri, 15 Feb 2013 06:48:07 +0000 (06:48 +0000)]
Add missed code. This is related to r83501.
SVN revision: 83938
Carsten Haitzler [Thu, 14 Feb 2013 10:39:59 +0000 (10:39 +0000)]
swapper -> use buf pitch, not swp->w * 4 ... if we have a buf and
pitch. :) (tnks wonsik!)
SVN revision: 83889
Daniel Juyung Seo [Thu, 14 Feb 2013 10:14:41 +0000 (10:14 +0000)]
edje edc.vim: added DEFAULT keyword to edc.vim.
SVN revision: 83888
Carsten Haitzler [Thu, 14 Feb 2013 09:40:23 +0000 (09:40 +0000)]
change to code that was added during 1.8 dev.. so no need for
chlog/news...
dont ever unload (free) ecore-evas modules to avoid symbol problems.
SVN revision: 83885
Jihoon Kim [Thu, 14 Feb 2013 08:03:52 +0000 (08:03 +0000)]
edje entry : Fix bug candidate word couldn't be selected with up/down key in the preedit status
SVN revision: 83882
Jihoon Kim [Thu, 14 Feb 2013 07:56:18 +0000 (07:56 +0000)]
edje_entry: improve code about adding preedit tag
SVN revision: 83881
Cedric BAIL [Thu, 14 Feb 2013 03:36:13 +0000 (03:36 +0000)]
efl/edje: edje program are static for all object of the same edje collection.
This reduce our waste of memory by 300K in most elementary application. There is
another 400K to win by merging edje signal callback automat.
SVN revision: 83879
Carsten Haitzler [Thu, 14 Feb 2013 03:27:23 +0000 (03:27 +0000)]
fix up apparent problem with egl context and sizing/rotation... need
to test more though.
SVN revision: 83878
Carsten Haitzler [Thu, 14 Feb 2013 03:26:21 +0000 (03:26 +0000)]
patch over an aawesome source of segv's in cserve2... data2 is null.
but why?
SVN revision: 83877
Jihoon Kim [Thu, 14 Feb 2013 02:09:21 +0000 (02:09 +0000)]
edje entry : fix bug not to display preedit string with PREEDIT_TYPE_NONE style
SVN revision: 83876
Tom Hacohen [Wed, 13 Feb 2013 12:42:44 +0000 (12:42 +0000)]
Evas textblock: Fixed a selection bug introduced in my previous commit.
I matched against the wrong values so it never included items in the middle
even when needed.
SVN revision: 83869
Carsten Haitzler [Wed, 13 Feb 2013 11:35:46 +0000 (11:35 +0000)]
add api and lets test it - i'll document it later, but need to test
first.
SVN revision: 83867
Carsten Haitzler [Wed, 13 Feb 2013 11:32:30 +0000 (11:32 +0000)]
small change to something never used/tested much ... cserve2 - FAIL if
an existing cserve 2 client is there.
SVN revision: 83866
Cedric BAIL [Tue, 12 Feb 2013 10:20:15 +0000 (10:20 +0000)]
efl/eo: add an interface to give the list of parameter directly.
I restrained myself to not name it vodooooo !
SVN revision: 83850
Cedric BAIL [Tue, 12 Feb 2013 08:58:59 +0000 (08:58 +0000)]
efl/evas: let's not be lazy and put smart related data only in smart object.
SVN revision: 83848
Cedric BAIL [Tue, 12 Feb 2013 07:59:53 +0000 (07:59 +0000)]
efl/evas: move smart object data to smart object only.
SVN revision: 83847
Cedric BAIL [Tue, 12 Feb 2013 07:09:17 +0000 (07:09 +0000)]
efl/evas: let the cow eat more.
memfile are not used that often like other direct pixels manipulation code.
Merging them into the same structure make sense and reduce the memory cost
for normal image object. Save between 8 to 16 bytes per image object.
SVN revision: 83843
Carsten Haitzler [Tue, 12 Feb 2013 06:49:42 +0000 (06:49 +0000)]
don't know if this will help - but try quieten some valgrind
complaints... :/ (trying)
SVN revision: 83840
Cedric BAIL [Tue, 12 Feb 2013 06:07:25 +0000 (06:07 +0000)]
efl/evas: fix that awesome memory leak in E17 and every apps that don't change font name.
SVN revision: 83837
Cedric BAIL [Tue, 12 Feb 2013 01:42:47 +0000 (01:42 +0000)]
efl/eina: let's do all include.
SVN revision: 83833
Stefan Schmidt [Mon, 11 Feb 2013 15:03:56 +0000 (15:03 +0000)]
efl/evas: Remove stray ; from evas_gl_core.
SVN revision: 83830
Stefan Schmidt [Mon, 11 Feb 2013 15:03:41 +0000 (15:03 +0000)]
efl/edbus: Make sure to compare EOF against an int from fgetc.
Fgetc() return an int to clearly detect EOF. If you want to read more about it:
http://stackoverflow.com/questions/
11057259/fgetc-checking-eof
SVN revision: 83829
Stefan Schmidt [Mon, 11 Feb 2013 13:39:16 +0000 (13:39 +0000)]
efl/evas_w32/engine: Add interface name and version.
Again they are already used but nobody did bother to declare or define them.
I have choosen the name with what came into my head first and version seem
to be 1 in other engines, too. Evas engine gods please review.
SVN revision: 83826
Stefan Schmidt [Mon, 11 Feb 2013 13:27:20 +0000 (13:27 +0000)]
efl/evas_w32/engine: Add and declare a variable.
iface is already be used in the code but not available as variable at all.
*spank, spank*
SVN revision: 83825
Stefan Schmidt [Mon, 11 Feb 2013 13:18:23 +0000 (13:18 +0000)]
efl/evas_w32/engine: Fix typo to have a functional #endif
SVN revision: 83824