Commit Graph

262 Commits

Author SHA1 Message Date
Youness Alaoui e6183a9b06 Ecore-con: Use want_ecore_con_*_sockets instead of want_*_sockets in the configure output
SVN revision: 63684
2011-09-29 21:05:39 +00:00
Youness Alaoui 0618b78f1e Ecore-con: Allow to disable local sockets support, and disable them on ps3
SVN revision: 63683
2011-09-29 21:05:32 +00:00
Youness Alaoui 1fc4a13f80 Ecore-con: Test for IPV6 availability
SVN revision: 63680
2011-09-29 21:04:54 +00:00
Vincent Torri b46688b148 bump gettext version to 0.17. Patch by xlopez@igalia.com. Fix ticket #813
SVN revision: 63612
2011-09-26 21:50:50 +00:00
Christopher Michael 67e0df22e7 Ecore: Fix configure.ac for recent xcb_cflags change.
SVN revision: 63585
2011-09-24 07:23:41 +00:00
Christopher Michael 1d08043154 Ecore: Fix configure.ac to use different variable names for pkg-config
libs.



SVN revision: 63583
2011-09-24 06:21:15 +00:00
Christopher Michael 83d9070643 Ecore: Remove checks for xcb_dri extension in configure.ac as we are
not going to use it, but rather dlsym to the libdri/libGL libs (ala
xlib code).



SVN revision: 63518
2011-09-21 11:42:24 +00:00
Youness Alaoui f15246db82 Ecore: Do not call execvp if it's unavailable on the system
SVN revision: 63466
2011-09-18 21:57:47 +00:00
Youness Alaoui e4165d053b Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001
SVN revision: 63430
2011-09-16 07:08:45 +00:00
Youness Alaoui b8d3fceb58 Ecore: If pkg-config doesn't find SDL, then try to use sdl-config
SVN revision: 63305
2011-09-09 02:56:03 +00:00
Vincent Torri 392921378a allow gnutls and openssl to be detected on Windows
SVN revision: 63294
2011-09-08 19:18:16 +00:00
Youness Alaoui 523ba39cb5 Ecore: If ecore_con is disabled, we must still check for curl dependency since it's used by ecore-file
SVN revision: 63250
2011-09-07 06:53:48 +00:00
Youness Alaoui 3b6a0b6bae Ecore: Use pkg-config to check for SDL, not sdl-config (which fails for cross-compilations)
SVN revision: 63249
2011-09-07 06:53:42 +00:00
Cedric BAIL a74c65adfb ecore: take static as a yes.
Note: maybe it would be better to put yes in the .pc file
instead of static. I don't see any advantage having that
information in the pc file.


SVN revision: 62412
2011-08-12 20:31:15 +00:00
Christopher Michael e339ae020a Ecore_Xcb: Allow ecore_xcb to support unstable/development version(s) of xcb.
(based on patch from Boris Faure)

NB: This is untested/unsupported code. Ymmv, but using/compiling
ecore_x with versions of xcb > 0.3.6 is not supported yet (until such
time that standard distros support 0.3.8 out of the box).



SVN revision: 61971
2011-08-02 01:32:10 +00:00
Mike McCormack 5c8256e337 ecore: Add main loop thread safety
Thread safety is disabled by default.
Enable it with --enable-thread-safety

Should cover timers, events, animators, idlers and fd handlers.

Tested with Enlightenment and elementary_test.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61851
2011-07-28 12:01:16 +00:00
Christopher Michael ca78a5dc81 Ecore: Add back in x11-xcb pkgconfig check. Needs for 11.04 apparently.
SVN revision: 61804
2011-07-27 11:13:58 +00:00
Christopher Michael 3ffddafeed Ecore: Fix configure.ac for dumb systems that cannot find pixman
without being explicitly told where it is.



SVN revision: 61797
2011-07-27 07:40:55 +00:00
Christopher Michael 37b122117e Ecore_X: Add start of XResource handling for xcb backend (NB: Nowhere
near finished yet). Add working OpenGL for XCB engine.

NB: wrt Opengl...Raster, this is the env var/dlsym version you
requested this morning ;)

NB: Basically what happens is, if you know you do not ever want/use
opengl, you can export ECORE_X_NO_XLIB env variable, and ecore_x will
use pure xcb to establish it's X connection. However, if you do use
OpenGL and this env var is not exported, then ecore_x(cb) will use
XOpenDisplay to init the connection.



SVN revision: 61724
2011-07-26 05:54:01 +00:00
Christopher Michael cfed4716f6 Ecore: Add autofoo magic for building XCB-based ecore_x.
NB: IF you are going to try this, build evas with
`--enable-software-xcb` AND build ecore with `--enable-ecore-x-xcb
--disable-ecore-evas-opengl-x11`.

NB: OpenGL does NOT work with the xcb stuff yet. E itself does NOT
work with this yet either (still have to commit those changes).



SVN revision: 61385
2011-07-14 15:46:30 +00:00
Naruto TAKAHASHI f5f1c56657 ecore-x: Add immodules directory
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61258
2011-07-12 02:26:29 +00:00
Iván Briano 4dbecee5e9 keep'em consistent
SVN revision: 61175
2011-07-09 18:19:23 +00:00
Mike McCormack bb6ae3956e ecore: Build with -Wall -W by default
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61146
2011-07-08 06:38:47 +00:00
Mike McCormack 0ddf5b9cab ecore: Use timerfd with g_main_loop
glib only allows millisecond resolution in g_main_loop.
To avoid this limitation, use timerfd to wake up the main loop.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61079
2011-07-06 10:54:11 +00:00
Rafael Antognolli dcc4859c24 ecore/examples - Add support for building and installing examples.
Also move them from ecore/examples to ecore/src/examples, to match the other
libraries organization.



SVN revision: 60556
2011-06-21 17:14:19 +00:00
Ulrich Eckhardt 46cdaea3cb From: Ulrich Eckhardt <doomster@knuut.de>
Subject: [E-devel] XRender engine causes ecore build failure

while building ecore. The problem is that this engine was removed from evas 
but not yet completely from ecore. I was on IRC with Vincent Torri (vtorri) 
and Daniel Juyung Seo (SeoZ) and the consensus was to remove the code for the 
XRender engines, both the Xlib and XCB versions.

There is a switch over the different engine types, where there are still a few 
places left where XRender is handled, grep for "xrender" or "XRENDER" and you 
will find them. The question is whether to just return NULL in order to signal 
that this engine is not supported or to remove the whole thing. The latter 
could break binary compatibility, therefore I left those stubs in.



SVN revision: 60502
2011-06-20 06:58:33 +00:00
Rafael Antognolli 4a8437d838 ecore: fix doc build when srcdir != builddir.
SVN revision: 60286
2011-06-13 17:31:21 +00:00
Vincent Torri f07605db74 too much po/Makefile.in
SVN revision: 59993
2011-06-06 16:26:49 +00:00
Vincent Torri 564f6f272f Ecore: fix gettext stuff
SVN revision: 59986
2011-06-06 07:00:24 +00:00
Cedric BAIL 52acb710f5 ecore: improve ecore_timer_dump.
SVN revision: 59491
2011-05-18 09:12:07 +00:00
Cedric BAIL 6228ce0d60 ecore: add ecore_timer_dump.
Note: Will add tomorrow code needed inside e17 to dump all created timer.


SVN revision: 59473
2011-05-17 17:32:32 +00:00
Vincent Torri bf8e99c128 Ecore: ecore_con : make ecore_ipc compile on Windows.
SVN revision: 59389
2011-05-14 18:30:43 +00:00
Vincent Torri 3e9bc8fddd Ecore: ecore_con : make ecore_con work on Windows
The ecore_con module needed a port of the local connections
with named pipes. The other connections (TCP, UDP) are using
BSD sockets, which are also used on Windows.

No abstract sockets on Windows.

NB: Should I backport that commit to 1.0 ?

SVN revision: 59385
2011-05-14 17:52:30 +00:00
Vincent Torri 239dca689b Ecore: use isfinite() if available
Use isfinite() if available, otherwise use finite() on
compilers != vc++, otherwise use _finite()

and a bit of formatting too (i know, it's bad)


SVN revision: 58566
2011-04-11 19:58:56 +00:00
Cedric BAIL 442654b1ec ecore: remove user of deprecated Evas Quartz backend.
SVN revision: 58355
2011-04-05 12:08:53 +00:00
Vincent Torri 6865412aa0 rename libtool version names to fit libtool doc
SVN revision: 58119
2011-03-27 18:10:20 +00:00
Carsten Haitzler 543016a352 revert version change 999 -> 99. also e17 didnt even need it as it
produced no versioned .so files.



SVN revision: 57844
2011-03-18 07:35:19 +00:00
Sebastian Dransfeld 8dee8ac0ac Set v_mic to 99 (less than 256) to please OS X
SVN revision: 57824
2011-03-17 13:12:50 +00:00
Eric Schuele 6fdd078a03 undo my erroneous commit. (Thinking .po files were undamaged?)
SVN revision: 56743
2011-02-06 01:44:52 +00:00
Eric Schuele efa9be90fb Failed to wrap one clearenv()
SVN revision: 56742
2011-02-06 01:33:03 +00:00
Carsten Haitzler 96caa0a63b svn goes to x.x.999.svnrev now. :)
SVN revision: 56355
2011-01-29 03:34:44 +00:00
Carsten Haitzler 4f5ec3a5bd 1.0 version magic. now leave these projects the hell alone in svn
until we have branches.



SVN revision: 56352
2011-01-29 03:05:22 +00:00
Michael Jennings 107d6e227c Oops. Forgot to remove that.
SVN revision: 56349
2011-01-29 02:25:02 +00:00
Michael Jennings 183da048c0 Same effect, more portable method, and fixes an obsolete syntax.
SVN revision: 56348
2011-01-29 02:22:14 +00:00
Vincent Torri 6aa141ea7e put again ecore tests in the source tree
SVN revision: 56195
2011-01-16 18:31:21 +00:00
Carsten Haitzler 6502ea96ea hve to revert these commits. they hve created a whole chunk of 64bit
crashes on linux. this is REALLY bad. so remove these changes now.



SVN revision: 55981
2011-01-07 15:56:54 +00:00
Vincent Torri 7a078d0c76 use configure-time headers checks instead of compiler ones
SVN revision: 55975
2011-01-07 08:51:17 +00:00
Vincent Torri 42f0ae7f74 add guards in config.h to avoid multiple inclusions
SVN revision: 55942
2011-01-06 18:36:31 +00:00
Vincent Torri 00d864e8a6 * check if dlopen() is in libc first, then in libdl
* check if clock_gettime() is in libc first, then in librt

some systems have these functions in libc, or in a specific lib.
This allows to correctly set dlopen_libs and rt_libs variables.



SVN revision: 55821
2011-01-03 08:16:55 +00:00
Carsten Haitzler 163bb8a5f5 remove test suite from ecore. gentoo users/ebuild maiontainers are
simply a pain. no more tests within src trees. talk to gentoo if you
don't like it. i wasted enough of my day already trying to talk sense
into them. if we dont tempt them with stuff they dont comprehend then
its less pain for us having to answer their questions.



SVN revision: 55635
2010-12-19 02:46:01 +00:00
Cedric BAIL 602241b004 * eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
SVN revision: 55238
2010-12-04 00:50:58 +00:00
Vincent Torri 5c9cb60854 typo
SVN revision: 55015
2010-11-26 13:54:11 +00:00
Vincent Torri 6b4b7bc42d add native win32 thread support in ecore_thread. Not tested a lot at all.
SVN revision: 55014
2010-11-26 13:50:31 +00:00
Cedric BAIL 70e488feff * efl: beta2 !
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Carsten Haitzler 31458bd882 patch from mike - fix epoll on fork thing.
This is an attempt to fix the epoll/fork() issue reported to me where
we end up with a single epoll fd shared between two processes after  a
fork() in E.

I've tested with elementary test in epoll and non-epoll combinations,
and all appears to be well.  Please check it solves the issue you saw,
and reformat the code as you see fit... ;-)



SVN revision: 53670
2010-10-20 14:15:56 +00:00
Carsten Haitzler 91466cf439 efl 1.0.0 beta.
SVN revision: 52992
2010-10-03 09:21:08 +00:00
Vincent Torri 2e11e01f56 clean up clock_gettime detection
SVN revision: 52864
2010-09-28 21:24:16 +00:00
Lucas De Marchi 61a510d387 Fix clock_gettime detection in autotools
AC_CHECK_FUNCS checks for the existence of functions in the C standard
library, so we don't need it. Instead, we need to define
HAVE_CLOCK_GETTIME if the function was found inside the librt.

Moreover, in source file check if HAVE_CLOCK_GETTIME is defined rather
than of checking if it's 0.



SVN revision: 52863
2010-09-28 19:36:50 +00:00
Sebastian Dransfeld 8737d28c76 remove debug
SVN revision: 52858
2010-09-28 18:14:58 +00:00
Sebastian Dransfeld 843a885b4c libraries should be in LIBS, not LDFLAGS
SVN revision: 52857
2010-09-28 18:12:15 +00:00
Christopher Michael 07c74e3edf Unbreak ecore building by using unset correctly....Spankies !!!
SVN revision: 52830
2010-09-28 00:10:53 +00:00
Lucas De Marchi d17de81175 Make ecore_time_get and friends use monotonic clock
Instead of relying on unix time, use a monotonic clock provided by
clock_gettime(). If a monotonic clock is not available, it will fallback
to CLOCK_REALTIME or unix time if neither is available.

The impact is that now it only makes sense to call ecore_time_get() or
ecore_time_loop_get() if the value retrieved is intended to be used as
relative to previous/posterior measurements. If an absolute value is
needed, the right function to call now is ecore_time_unix_get() which
will give the number of seconds since Jan 1st, 1970, 12:00AM.



SVN revision: 52824
2010-09-27 22:35:35 +00:00
Vincent Torri b3f24d8de4 [ecore-imf] more strict detection of exported functions on Windows
SVN revision: 52774
2010-09-26 06:00:14 +00:00
Carsten Haitzler d1a1b62fa8 make fb default for *
SVN revision: 52772
2010-09-26 03:42:30 +00:00
Carsten Haitzler f200c483b4 epoll - bad. disable default support. u have to --enable it. don't
--enable it if u want elm quicklaunch to work.



SVN revision: 52240
2010-09-14 10:38:28 +00:00
Vincent Torri 7d75cc4a1d Remove the possibility to build ecore_config (which was deprecated anyway).
It will be raised from dead later, with a better API/code


SVN revision: 51599
2010-08-24 06:37:37 +00:00
Carsten Haitzler e286f48745 and now ecore is 1.0.0 ready too.
SVN revision: 51165
2010-08-16 08:17:24 +00:00
Mike McCormack 3bdbb34d64 From: Mike McCormack <mj.mccormack@samsung.com>
This patch implements the ecore main loop in terms of the GTK main loop, so
ecore is a layer on top of glib.

Compared the the current glib integration in ecore, this has the added
advantage of allowing use of EFL libraries in GTK.



SVN revision: 51113
2010-08-14 11:19:03 +00:00
Carsten Haitzler 93d98ebedf epoll <- blame mike if it breaks. :)
SVN revision: 50585
2010-07-28 06:08:35 +00:00
Alexander Kerner ba10bce434 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50561
2010-07-28 00:17:40 +00:00
Christopher Michael bb651d8eb8 Move Ecore.h (and associated headers) to own dir.
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Carsten Haitzler 89baaff057 and final post snap - next releasename
SVN revision: 49903
2010-06-27 14:06:10 +00:00
Carsten Haitzler 83b36be7a3 snap+release
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler fc26ed3460 Snapshot ecore
SVN revision: 49892
2010-06-27 13:32:45 +00:00
Cedric BAIL a1bfc834d5 * configure.ac: take inept translation a little bit into account.
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Vincent Torri c345661588 Allow ecore to be built on systems that do not have gettext (again).
The problem in the previous commit was that AM_GNU_GETTEXT and
AM_GNU_GETTEXT_VERSION must begin a line (autopoint searches lines
beginning by them).


SVN revision: 49738
2010-06-18 06:36:21 +00:00
Gustavo Sverzut Barbieri ddb8c95fa9 SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".

This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.



SVN revision: 49594
2010-06-09 18:22:47 +00:00
Carsten Haitzler 99f9112433 Makefile not makefile.
SVN revision: 49583
2010-06-09 01:48:24 +00:00
Vincent Torri f4f6b41ccf and the remaining revert. To be sure that the commit is
correct, don't forget to save the file. It can help...


SVN revision: 49582
2010-06-08 23:28:36 +00:00
Vincent Torri 71e9556122 revert, as autopoint is buggy
SVN revision: 49581
2010-06-08 23:23:59 +00:00
Vincent Torri 600cc3d509 allows ecore to setup and compile even if gettext is not installed
SVN revision: 49578
2010-06-08 18:06:56 +00:00
Carsten Haitzler 1520bad01b restore after snap/release
SVN revision: 49540
2010-06-06 17:43:03 +00:00
Carsten Haitzler 8d110464fc Snapshot ecore
SVN revision: 49533
2010-06-06 17:26:43 +00:00
Carsten Haitzler f0eee2d260 post-snap anr release.. reset svn back.. this time for real.
SVN revision: 49526
2010-06-06 17:17:52 +00:00
Carsten Haitzler 095bee8e9e Snapshot ecore
SVN revision: 49516
2010-06-06 16:42:36 +00:00
Carsten Haitzler 25ff64e960 post release - move relname to pre-svn again.
SVN revision: 49506
2010-06-06 16:23:16 +00:00
Carsten Haitzler a798f9cf1c Snapshot ecore
SVN revision: 49497
2010-06-06 16:08:02 +00:00
Carsten Haitzler a4769c42cb change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.



SVN revision: 49429
2010-06-04 01:04:24 +00:00
Iván Briano 6600f0c43f Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Carsten Haitzler f1e19253e6 nopw svn revision works again.
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler 17dfab359b fix - if no svn tree, then it will pretend to be a release.
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler e232fcd42b make other defines in ecore the same.
SVN revision: 49300
2010-05-29 13:59:42 +00:00
Carsten Haitzler b28f662869 bah. VMIN conflicts with system header defines ... termin.h
SVN revision: 49299
2010-05-29 13:56:21 +00:00
Carsten Haitzler 292fb4d87f relanem - consistent
SVN revision: 49280
2010-05-29 07:57:59 +00:00
Carsten Haitzler 17263ea263 add ecore versioning
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Vincent Torri af63e9e4e7 the extension of shared lib is not needed anymore in ecore
SVN revision: 48806
2010-05-13 08:07:20 +00:00
Michael Jennings 9b86923c9a Fix build on RHEL5. Please provide feedback for these changes as I
realize they may have impact on other platforms/distros.  But this is
what ended up working on RHEL, unlike what Vincent was given by the
automake developer mailing list. :/

If this breaks, please discuss on the ML rather than simply
reverting.  We need to work toward a cooperative resolution.



SVN revision: 48783
2010-05-12 18:19:11 +00:00
Boris Faure 8565802348 ecore: enable XIM by default
SVN revision: 48008
2010-04-14 21:02:37 +00:00
Vincent Torri 6a07a4df03 missing AC_SUBST call
SVN revision: 47762
2010-04-05 13:22:40 +00:00
Vincent Torri 898768c963 various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
2010-04-05 08:26:48 +00:00