Commit Graph

20862 Commits

Author SHA1 Message Date
Lucas De Marchi ba3be672de efl: update gitignore
SVN revision: 82904
2013-01-16 21:17:52 +00:00
Lucas De Marchi 36e57ca7b2 edbus: simplify and fix ObjectManager
Give the object that originated the signal to use in the idler for
changes in ther interfaces. This greatly simplifies the code,
particularly while removing.

Fix some issues in the previous implementations. There are some races
and corner cases that need to be taken into account in ObjectManager:

 - Adding and removing an interface in the same mainloop iteration. We
   were previously sending only the signal InterfacesRemoved
 - When we dettach an object manager we need to flush its signals
 - Since now we store the iface_{added,removed} in the object in which
   they happen we also need to flush out signals when attaching an
   ObjectManager, but let the previous ObjectManager send the signals
 - When we free an Object also flush the changes. Previously we were
   omitting the signal.

There are still some places to fix and some improvements to be made. I
let some TODOs and FIXMEs there.



SVN revision: 82903
2013-01-16 21:17:45 +00:00
Lucas De Marchi 15cbe4a60d edbus: rename and yodafy functions
SVN revision: 82902
2013-01-16 21:17:06 +00:00
Gustavo Sverzut Barbieri fadeb72831 eeze's mount shouldn't be optional.
eeze is just used on linux, where libmount exists and then we
shouldn't make this an option so we can rely on eeze's mount being
there.

(the code keeps the #ifdef's for a while, in case we need to revert that later)



SVN revision: 82901
2013-01-16 21:05:19 +00:00
Gustavo Sverzut Barbieri 9463885e78 be strict about c++ compiler.
SVN revision: 82900
2013-01-16 20:53:35 +00:00
Gustavo Sverzut Barbieri bc6f4c0b8d Make ecore_cocoa use the EFL_LIB_START_OPTIONAL(), remove cruft, add TODO.
It seems that Cocoa engines were not working, so they're still disabled.



SVN revision: 82899
2013-01-16 20:43:49 +00:00
Gustavo Sverzut Barbieri 017061a682 force building some extras to test release (distcheck).
Some engines are disabled by default, yet they should be checked
before the release. I'd say everything should be tested by make
distcheck, but these are very common:
  - xine
  - sdl
  - harfbuzz

Maybe add wayland, gesture and xinput22 (X) to the list?



SVN revision: 82898
2013-01-16 19:55:41 +00:00
Gustavo Sverzut Barbieri 869966a136 fix sdl warning and cosmetic change.
fix warning on unsigned x signed type comparison.

cosmetic: use EINA_C_ARRAY_LENGTH().



SVN revision: 82897
2013-01-16 19:47:51 +00:00
Gustavo Sverzut Barbieri 4d310f96ff fix --enable-sdl compilation.
Patch by Arvind R.


SVN revision: 82896
2013-01-16 19:47:03 +00:00
Gustavo Sverzut Barbieri cf1699fe22 each module install headers in their own directory.
SVN revision: 82895
2013-01-16 19:28:30 +00:00
Gustavo Sverzut Barbieri 4d050b6d4e fix distcheck.
it was failing:
 - leaving missing objects (.edj, .la)
 - eo was not building its examples automatically with --enable-always-build-examples
 - make dist with '--enable-always-build-examples' was not including 'src/examples'

plus lots of ignored files due test changes.



SVN revision: 82894
2013-01-16 18:28:43 +00:00
Gustavo Sverzut Barbieri 22a48925b1 ecore_suite: disable ecore_con tests that are bogus for an unit test.
these are more like examples or test applications than an unit
test. Needs to re-do.



SVN revision: 82893
2013-01-16 18:16:14 +00:00
Gustavo Sverzut Barbieri 0f21b187b0 ecore_suite: disable audio tests that will be fixed by asdfuser
SVN revision: 82892
2013-01-16 18:15:07 +00:00
Gustavo Sverzut Barbieri ad1417713b simplify efl version and initialization in a macro, fixes libtool version-info.
Introduces EFL_VERSION() to make it simpler to define our version. The
last parameter is the release status, defaults to 'dev' for
development purposes and may be set to something else to be a
snapshot. It non-empty will be given to libtool's -release.

As EFL_VERSION() must be done *before* AC_INIT(), we need to create
another macro to do the AC_SUBST() and AC_DEFINE(). This is
EFL_INIT. And no, we can't just call AC_INIT() from inside EFL_INIT().

Last but not least, we had a problem with our libtool version-info. It
was being calculated as MAJOR + MINOR, right now 1 + 7 = 8. But as
soon as we get to MAJOR=2 and MINOR=0, we get into problems. This was
fixed by rewriting as (MAJOR * 100 + MINOR), but this is still
problematic.

According to libtool's manual (info libtool), we shouldn't bind the
version-info with package info, instead doing the 'release'
field. Pretty likely we'll do worse than expected by distros and
binary packages in future :-/




SVN revision: 82891
2013-01-16 17:24:36 +00:00
Ulisses Furquim 09f342fdeb evas/async_render: use image scalecache
SVN revision: 82890
2013-01-16 16:07:46 +00:00
Stefan Schmidt 73667b025c efl/ecore_input: Move file instead. As requested by k-s
SVN revision: 82876
2013-01-16 11:23:34 +00:00
Cedric BAIL 7e4e3fe5b8 efl: let's not do useless over allocation and memcpy.
SVN revision: 82872
2013-01-16 10:45:04 +00:00
Stefan Schmidt 29b56951a7 efl/ecore_input: Fix pass for header file
SVN revision: 82870
2013-01-16 09:37:01 +00:00
Sung-Jin Park 01452373c7 From: Sung-Jin Park <sj76.park@samsung.com>
Subject: [E-devel] Bug fix : ecore x XI2 handler not to make button
event twice

Dear developers,
I have fixed a bug in ecore x xi2 handler.

Currently, ecore mouse down/move/up event are made twice for a X touch
event.
Among a couple of events, the first one is made by a X touch event and
the other is made
by a button event whose flags has XIPointerEmulated flag.
The (latter) button event is made from the (former) X touch event
whose flags has XITouchEmulatingPointer flag.
Basically, X touch events doesn't have XITouchEmulatingPointer flag in
its flags when it doesn't make a
(XIPointerEmulated) button event.

Thus I correct ecore_x_xi2.c not to make a mouse down/move/up event
when a X touch event has 
XITouchEmulatingPointer flag.



SVN revision: 82869
2013-01-16 09:03:55 +00:00
Carsten Haitzler 73b2f09b74 fix some core swapper logic isue with rect updates... nasty nasty
nasty to catch! :(



SVN revision: 82859
2013-01-16 06:41:02 +00:00
Carsten Haitzler b86a5cd30f fix pixman wrappers where image size and alloc size differ.
SVN revision: 82856
2013-01-16 06:32:34 +00:00
Cedric BAIL ffafb3602e efl: let's do less memcpy.
SVN revision: 82855
2013-01-16 06:31:32 +00:00
Eduardo de Barros Lima 56d2e1fb4e Properly fix the pc files for ecore-imf and ecore-imf-evas
LESSON LEARNED: Don't commit stuff when you are almost falling asleep on the
keyboard


SVN revision: 82848
2013-01-16 01:18:58 +00:00
Eduardo de Barros Lima 12706b28c6 Fix pc files for ecore-imf and ecore-imf-evas
SVN revision: 82846
2013-01-16 01:12:00 +00:00
Lucas De Marchi 9d8774403d efl/edbus: Add test for creating/destroy obj without mainloop
The second test was crashing before r82784, which is also the fix for
terminology's issue with efreet_init()/efreet_shutown().



SVN revision: 82843
2013-01-15 21:52:51 +00:00
Lucas De Marchi 48e207859a efl/edbus: Add initial testsuite
Right now this contains only 2 tests, for checking if
init/shutdown works correctly.



SVN revision: 82842
2013-01-15 21:50:57 +00:00
Lucas De Marchi 1d295abac0 efl: use autotools testsuite for running tests
Instead of just making our own "check-local" and calling the binaries
ourselves, just append them into "TESTS" variable. Then they run after
all check_PROGRAMS are compiled.

The reasons for changing are:
  1) If we change the test and call "make check" the test is not
  compiled again -- and the only way to compile it is to "make clean".
  2) There's no need to reinvent the wheel here.

With a recent version of Automake, the test output is redirected to log
files. This is good but unexpected for whom was used to the previous
way. So, be warned.



SVN revision: 82841
2013-01-15 20:51:04 +00:00
Lucas De Marchi 40148ef2c5 efl: update gitignore
SVN revision: 82840
2013-01-15 20:48:15 +00:00
Gustavo Sverzut Barbieri ad046ea66b fix examples builds with recent module split.
ecore examples should be split... but I'm not in the mood to do so.



SVN revision: 82839
2013-01-15 19:27:48 +00:00
Gustavo Sverzut Barbieri 26ea7a5603 fix distcheck.
if we're building examples we must build current dir (src) before
recursing.



SVN revision: 82838
2013-01-15 19:19:36 +00:00
Gustavo Sverzut Barbieri 720a81d58c move ecore_imf_evas out of ecore_imf.
SVN revision: 82837
2013-01-15 19:11:01 +00:00
Gustavo Sverzut Barbieri c4e163fe4a move ecore_input_evas out of ecore_input.
we don't need this mess anymore :-P



SVN revision: 82836
2013-01-15 18:59:28 +00:00
Gustavo Sverzut Barbieri d97c63e4c6 fix directory structure: move ethumd_client out of ethumb.
it's another library, do not mix stuff as it used to be.




SVN revision: 82835
2013-01-15 18:10:58 +00:00
Ulisses Furquim 028e7e9ed2 evas/async_events: missed counting fix in unblocking _process()
SVN revision: 82834
2013-01-15 18:00:15 +00:00
Paulo Alcantara b557bd9e0d efl/engines: Introduce multi_font_draw() function
This new engine function will only be used in software generic for
now - since it's the only engine used with the async render.

This function has been introduced in order to avoid growing thread
command queue too much to draw a text_props at a time on render calls
from textgrid objects.

Patch by: Paulo Alcantara <pcacjr@profusion.mobi>



SVN revision: 82832
2013-01-15 17:35:11 +00:00
Gustavo Sverzut Barbieri 8d983bb092 edje: artificial depend on epp.
building edj will depend on edje_cc... make it depend on epp, so we
have them both compiled when they are needed.



SVN revision: 82831
2013-01-15 17:34:00 +00:00
Tom Hacohen 4b0d5c5479 Eina examples: Fixed unused parameter warnings.
SVN revision: 82829
2013-01-15 17:18:40 +00:00
Tom Hacohen f5af9566d0 Eo tests: fix warnings.
SVN revision: 82828
2013-01-15 17:17:39 +00:00
Tom Hacohen 4a0acab860 Evas box: fix warning with a cast.
Unfortunately, although the pre-cast code is correct, we need the cast
because of the way gcc handles the types (magic) when passing va_args on
64 bit. This doesn't change anything logically.

SVN revision: 82827
2013-01-15 17:15:10 +00:00
Tom Hacohen c8e1fe4c9f Evas font: Add missing header.
SVN revision: 82826
2013-01-15 17:15:06 +00:00
Gustavo Sverzut Barbieri a4b89a16ac fix scim and ibus imf dependencies.
we must not use PKG_CHECK_MODULES() for internal dependencies, as
their pc were not installed at the time of configure.



SVN revision: 82825
2013-01-15 16:55:14 +00:00
Tom Hacohen 6a02aaf37b Evas static_libs/libunibreak: Don't build the included file.
Yes, it's name .c but it's included, don't blame me, upstream naming
conventions.

SVN revision: 82823
2013-01-15 16:12:21 +00:00
Leif Middelschulte 31bd3af105 Prepend svnversion command with LC_ALL=C so the subsequent grep works with non-english locales too.
This patch was brought to you by:
sed -i'' 's/svnversion/LC_ALL=C svnversion/' configure.ac

Anybody who has the entire trunk and branches around is welcome to apply an analogue patches to it.


SVN revision: 82822
2013-01-15 15:57:58 +00:00
Tom Hacohen ac0ff4c997 Evas textblock: Added EAPI to the ifdefed debugging funcs.
SVN revision: 82815
2013-01-15 14:49:38 +00:00
Tom Hacohen c7dc78c98b Evas text props: Fixed bug with no-harfbuzz bidi.
SVN revision: 82814
2013-01-15 14:49:31 +00:00
Lucas De Marchi d4da99698e efl/edbus: make all edbus_*_send() methods unref its msg
There's no reason to keep a msg after it was sent. Before this patch we
had edbus_service_signal_send() unref'ing its msg and all the others
not. Also, several users (particularly the edbus_proxy_send() ones) were
forgetting to unref the msg.

This patch makes all these methods unref the message after it has been
succesfully sent:

 - edbus_connection_send()
 - edbus_object_send()
 - edbus_proxy_send()
 - edbus_service_signal_send()



SVN revision: 82807
2013-01-15 14:33:48 +00:00
ChunEon Park ca0cc1cbc9 efl/ecore_imf - need dependecy from imf modules.
SVN revision: 82801
2013-01-15 12:51:16 +00:00
Tom Hacohen c089f174ca Evas obj text: Fix an issue with horiz_advance_get func.
SVN revision: 82800
2013-01-15 11:50:22 +00:00
Tom Hacohen e183866d21 Evas text test: Use the more verbose test macros.
SVN revision: 82799
2013-01-15 11:07:22 +00:00
Tom Hacohen d925820fa9 Evas textblock: simplified and fixed bugs in _cursor_geometry_get
SVN revision: 82798
2013-01-15 10:57:34 +00:00