Commit Graph

5016 Commits

Author SHA1 Message Date
Jihoon Kim 7cdfa3508c xim: use EINA_SAFETY_ON_NULL_RETURN. thanks to k-s
SVN revision: 72508
2012-06-20 01:14:00 +00:00
Vincent Torri 2b5e064c7f Ecore: i'm dumb... fix warning flag check
SVN revision: 72493
2012-06-19 16:35:18 +00:00
Vincent Torri 059ac47170 Ecore_con: fix compilation on Windows
ecore_con_dns.c is using EAGAIN. On linux, errno.h is certainly
indirectly included by other header files, it's not the case
on Windows.


SVN revision: 72489
2012-06-19 15:56:44 +00:00
Jihoon Kim 2da0f8d0ac xim: add NULL checker
SVN revision: 72487
2012-06-19 15:18:34 +00:00
Vincent Torri 16f784f95e now, it's useless
SVN revision: 72434
2012-06-19 04:37:27 +00:00
Gustavo Sverzut Barbieri 2a187d3abe ecore_imf: just use the styles that are supported!
If we want a fancy XIM style that is unsupported, do not use it... but
the fallback (no preedit, no status).

This allows poor's man XIM to work for those without SCIM and similar.

Elementary is now working properly with ' + a = á



SVN revision: 72426
2012-06-18 23:38:23 +00:00
Vincent Torri cbde1fd9ad Ecore: and even better -Wno-foo checks !
SVN revision: 72408
2012-06-18 15:41:08 +00:00
Christopher Michael 0c4febd6f2 Ecore_Wayland: Patches from Rob Bradford to fix ticket(s): 1030 & 1031
Ecore_Wayland: Drop the unused timestamp from the configure event
Ecore_Wayland: Port to updated Wayland API
The cursor on the pointer is now a Wayland surface rather than a buffer.



SVN revision: 72381
2012-06-18 10:48:29 +00:00
Vincent Torri b3f58d40f4 Ecore: always check those flags. They are anyway used when needed
SVN revision: 72312
2012-06-17 18:53:56 +00:00
Carsten Haitzler 78dcf2b689 fix ecore-evas name/class set on ecore-evas's when alpha is enabled
SVN revision: 72279
2012-06-17 07:24:11 +00:00
Carsten Haitzler 8b03052c0e fix alpha change losing some properties
SVN revision: 72258
2012-06-17 02:37:18 +00:00
Carsten Haitzler 7e326357fb tone down mempool sizes
SVN revision: 72254
2012-06-17 01:54:28 +00:00
Vincent Torri 6699021370 Fix compiler flag detection
SVN revision: 72241
2012-06-16 17:19:31 +00:00
Jihoon Kim 6b10c07aa2 ibusimmodule: use EINA_LOG_DBG
SVN revision: 72238
2012-06-16 14:06:18 +00:00
Gustavo Sverzut Barbieri 9281f6b559 and make it compile... :-/
now my bad, I'm rusty enough to get it wrong without testing.

The problems were:
 * missing "_" between EFL_HAVE and ECORE_CON.
 * must declare the AM_CONDITIONAL, even if the flags were not checked.

This case was triggered if --enable-cares or --disable-ipv6.

Anyway, EFL_HAVE_ECORE_CON is never used... I have no idea why vtorri
did the macro to define this conditional.



SVN revision: 72213
2012-06-16 06:10:15 +00:00
Gustavo Sverzut Barbieri 5db0925a4b fix typos in m4 macros preventing build to happen.
spanks vtorri... maybe raster is making a track of typos in committed code?! :-)



SVN revision: 72212
2012-06-16 05:47:25 +00:00
Stefan Schmidt 17e3f9d47c ecore/ecore_anim: Dead initial assignment. The value gets set two lines later in any case.
SVN revision: 72192
2012-06-15 14:11:38 +00:00
ChunEon Park a7db35c0d6 ecore - updated AUTHORS
SVN revision: 72164
2012-06-15 06:40:56 +00:00
Stefan Schmidt ec9a93ff43 ecore_evas/fb: Also check for NULL argument to strtol()
We can't be sure that disp_name is not NULL here. Better check before handing it over to strtol()

SVN revision: 72143
2012-06-14 15:01:54 +00:00
Mike Blumenkrantz 87c142844f fix a somewhat alarming fd leak with the new resolver
SVN revision: 72063
2012-06-13 06:52:02 +00:00
Mike Blumenkrantz 8ece74f1fd fix ecore-file inotify monitoring on soon-to-be deleted files
SVN revision: 71985
2012-06-12 07:40:37 +00:00
Jihoon Kim fa5d24f19a Update NEWS, ChangeLog about revision 71927
SVN revision: 71969
2012-06-11 23:49:48 +00:00
Jihoon Kim 7d3a1e5ee2 ibus-immodule: remove unused code
SVN revision: 71967
2012-06-11 23:33:53 +00:00
Jihoon Kim 6b05465052 ibus-immodule: use ibus_init() instead of g_type_init()
SVN revision: 71966
2012-06-11 23:26:46 +00:00
Christopher Michael 19e75367b0 Ecore_Wayland: Patch from Rob Bradford to add missing NULL checks for
ecore_wl_input.



SVN revision: 71957
2012-06-11 17:11:38 +00:00
Jihoon Kim 9e27dfdb43 ibus-immodule: cleanup code
SVN revision: 71956
2012-06-11 15:36:37 +00:00
Mike Blumenkrantz 5c75633883 print error message when local connect fails
SVN revision: 71950
2012-06-11 14:15:12 +00:00
Jihoon Kim 7d7697f102 [ecore-immodule] add ibus immodule. It support more than ibus-1.3.99 version.
SVN revision: 71927
2012-06-11 04:49:15 +00:00
Mike Blumenkrantz 1d1cd02899 ecore now requires c99
SVN revision: 71859
2012-06-08 19:09:41 +00:00
Mike Blumenkrantz 079c2aa1d3 use new compiler flag macro to disable tons of warnings
thx vtorri!


SVN revision: 71858
2012-06-08 18:53:39 +00:00
Vincent Torri 8ff6bd01fd Ecore: add a new macro to check if compiler flags are available
SVN revision: 71857
2012-06-08 18:48:09 +00:00
Mike Blumenkrantz 8ace34c81a by the magic of ecrustify and a lot of manual labor, this file's formatting has been unfucked
SVN revision: 71847
2012-06-08 12:33:53 +00:00
Mike Blumenkrantz 31ef42826c move and doxyfy docs for ecore_x_randr_screen_primary_output_current_size_get
SVN revision: 71846
2012-06-08 12:06:37 +00:00
Cedric BAIL a5f1960427 ecore: typos, thanks kuri.
SVN revision: 71835
2012-06-08 07:47:25 +00:00
Vincent Torri 695dba94f2 Remove the stupid hack, and remove the warning flag (best way to break on some compilers. If you want it, set your own env vars)
SVN revision: 71819
2012-06-07 15:39:27 +00:00
Mike Blumenkrantz 5dc9809f66 force c99 mode when using dns.c
SVN revision: 71790
2012-06-07 10:27:18 +00:00
Mike Blumenkrantz 7948321b93 C99 isn't good enough for us, we use C89
SVN revision: 71782
2012-06-07 08:29:45 +00:00
Mike Blumenkrantz a00765361d on the advice of the insightful creator of dns.c, account for when a UDP
answer is truncated and the resolver switches to TCP, causing the pollfd
descriptor will change. Any poll on this old descriptor will either
timeout or continually poll as ready


SVN revision: 71776
2012-06-07 07:22:53 +00:00
Christopher Michael a4114e2aa8 Ecore_Wayland: Patch from Rob Bradford <rob@linux.intel.com> for
updating axis events to be fixed point numbers.



SVN revision: 71756
2012-06-06 14:10:43 +00:00
Christopher Michael cd01ed9c96 Ecore: Update ChangeLog for Rob's input_handling patch
SVN revision: 71751
2012-06-06 13:21:19 +00:00
Christopher Michael f636cb730c Ecore_Wayland: Add patch from Rob Bradford <rob@linux.intel.com> to
enhance keyboard input handling.

* Associate the keymap with the input device rather than the display
since you could could have different keymaps associated with different
devices.

* Increase the size of character arrays used for the string
representations of
the keyname, keysym and for the string representing the key.

* Re-enable the code that converts the keysym to a printable
definition - this
is required where the keysym is not the same as the printable definition



SVN revision: 71750
2012-06-06 13:20:02 +00:00
Christopher Michael 0f378c9331 Ecore_Wayland: Use the input's pointer_enter_serial instead of
timestamp for setting pointer image.



SVN revision: 71748
2012-06-06 12:55:53 +00:00
Mike Blumenkrantz 020bf40113 don't return value in void functions
SVN revision: 71742
2012-06-06 10:52:45 +00:00
Mike Blumenkrantz eee42b60d9 revert ecore-con refcounting stuff, fix the problem in ipc (hopefully)
wfm


SVN revision: 71738
2012-06-06 09:49:24 +00:00
Christopher Michael 564ad86a36 Ecore: Update ChangeLog and configure.ac for Rob's cursor patches.
SVN revision: 71735
2012-06-06 08:19:45 +00:00
Rob Bradford b170d36865 Ecore_Wayland: Update to latest wayland git and add support for keymap
& modifier change(s). Also, add patches from Rob Bradford
<rob@linux.intel.com> for basic support for setting wayland cursor:

From c5d9094f4792bf7375c216682947de334002cdad Mon Sep 17 00:00:00 2001
From: Rob Bradford <rob@linux.intel.com>
Date: Tue, 29 May 2012 16:35:01 +0100
Subject: [PATCH] Ecore_Wayland: Add basic support for setting the cursor

* Add api to the ecore_wl_input_ namespace to allow setting the buffer
to use
for the pointer and for loading a named cursor from a cursor theme.
Under the
Wayland protocol the cursor is associated with the input device.

* Add helper functions to ecore_wl_window to set the cursor based on the
active pointer input device for the window.

* Load the cursor theme when the SHM interface is ready and provide an
API
call to provide a wl_cursor for a given name.

* Add API to restore to the default cursor and then use that when the
pointer
enters the surface to ensure compliance with the Wayland protocol.

Cheers :)



SVN revision: 71734
2012-06-06 08:18:58 +00:00
Christopher Michael be3784dab9 Ecore_Evas (wayland_shm): Reduce processing overhead by not feeding a
mouse_move when we feed an in/out.



SVN revision: 71733
2012-06-06 08:16:36 +00:00
Christopher Michael b4924826c3 Ecore_X(cb): Add more trapping for build when randr is not
found/enabled.



SVN revision: 71732
2012-06-06 08:15:29 +00:00
Mike Blumenkrantz 3d656b021e some dns.c usage changes as suggested by its author
SVN revision: 71702
2012-06-05 07:44:44 +00:00
Jihoon Kim bb56b0b09c fix @version in each EFL header doxygen
SVN revision: 71691
2012-06-04 23:27:02 +00:00
Mike Blumenkrantz 161ac501e5 as I promised long, long ago, ecore now has its own asynchronous dns resolver! everyone cheer for not needing c-ares any longer!
dns.c is the work of William Ahern (http://25thandclement.com/~william/projects/dns.c.html) and has been in development for ~4 years.
it has zero documentation, no examples, and no comments: I'm pretty sure he's an EFL developer in disguise.

this new resolver is roughly 10-12% faster than c-ares, will never randomly break, requires no external libraries, and is much simpler on the efl side.

by default, dns.c resolution is enabled any time ipv6 support is detected and c-ares support is not requested;
it should work on all platforms (wink wink vtorri), but it has no way of disabling ipv6 (someone can go through dns.c/h and do that if they feel so inclined)


SVN revision: 71690
2012-06-04 21:10:17 +00:00
Mike Blumenkrantz dec06820ec trivial -Wshadow fix
SVN revision: 71689
2012-06-04 20:49:02 +00:00
Mike Blumenkrantz fd3b513079 unbreak my last commit
SVN revision: 71682
2012-06-04 09:16:19 +00:00
Mike Blumenkrantz f472e919e2 add ECORE_{CON,IPC}_NO_PROXY flag to disable proxying on specified connections
SVN revision: 71681
2012-06-04 09:03:04 +00:00
Mike Blumenkrantz 9dc6c51fa0 properly include headers when you use their types...
SVN revision: 71679
2012-06-04 08:40:21 +00:00
Jerome Pinot ac27c27083 ecore_x: XKeycodeToKeysym
ecore_x is calling XKeycodeToKeysym from xlib, but this function has issues. It
has been deprecated 6 months ago in X.org and it is suggested to use
XkbKeycodeToKeysym instead: https://bugs.freedesktop.org/show_bug.cgi?id=25732

This commit makes a wrapper function that makes use of XkbKeycodeToKeysym when
possible or fallback to XKeycodeToKeysym otherwise.


SVN revision: 71677
2012-06-04 05:46:33 +00:00
Jihoon Kim ac270da3bb ecore_imf_evas: insert example link in Ecore_IMF_Evas_Group
SVN revision: 71661
2012-06-03 12:50:11 +00:00
Jihoon Kim aed2b82302 ecore_imf_example: fix formatting
SVN revision: 71660
2012-06-03 12:49:21 +00:00
Jihoon Kim 416d9d4cd4 ecore_imf: insert example link in ecore_imf_context group
SVN revision: 71659
2012-06-03 12:39:48 +00:00
Jihoon Kim 763c581e43 ecore_imf_example.c: revise example code
SVN revision: 71640
2012-06-02 06:00:09 +00:00
Jerome Pinot 3259f7282e eet,ecore: configure script
Make the configure output clear about examples installation.


SVN revision: 71639
2012-06-02 05:39:51 +00:00
ChunEon Park ebdbff021c ecore/ecore_x - let just leave one atom list for maintainance
SVN revision: 71625
2012-06-01 13:53:18 +00:00
Jihoon Kim 645bc20b1a fix indentation of ecore_imf_example.c
SVN revision: 71621
2012-06-01 12:48:15 +00:00
Jihoon Kim 27c45e60db add ecore_imf_example code. I will add Makefile.am in example directory later
SVN revision: 71620
2012-06-01 12:46:24 +00:00
Carsten Haitzler bb16ca7cb0 i wonder if this patches over some odd signal processing hang i see in
edje_cc! :(



SVN revision: 71583
2012-05-31 13:32:09 +00:00
Jihoon Kim 163df8ccbd ecore: fix doxygen warnings
SVN revision: 71569
2012-05-31 00:18:38 +00:00
Leif Middelschulte 66f32b2b03 ecore_x_randr: Add _ASK policy for new monitors.
SVN revision: 71565
2012-05-30 19:16:29 +00:00
Cedric BAIL 6d2b2f366f ecore: force pthread_join even when main loop isn't running.
pthread_create can fail if to much pthread are pending. As pthread_join
is only called when the main loop can flush the async call list, there was
a possibility for edje_cc to run out of thread due to that. We know
force the flush of the async call list and so call pthread_join when
pthread_create fail.


SVN revision: 71555
2012-05-30 12:14:34 +00:00
Cedric BAIL 3f662e32a7 ecore: fix count of objects in the Ecore_Thread trash.
SVN revision: 71550
2012-05-30 10:25:44 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Mariusz Grzegorczyk a3dd1169da From: Mariusz Grzegorczyk <mariusz.g@samsung.com>
Subject: [E-devel] Ecore: Save proper evas engine buffer depth when
_ecore_evas_resize is done

I have found bug in ecore evas buffer. It is created by default as RGB32,
and then it can be changed by ecore_evas_alpha_set function, but when resize
is done it is always created as ARGB32.

Patch in attachment checks in resize if alpha channel is set, and then set
appropriate buffer depth.



SVN revision: 71537
2012-05-30 07:05:50 +00:00
Cedric BAIL a5f658a4b2 ecore: cancel all pending thread at shutdown.
Hopefully this will fix bug #961.


SVN revision: 71526
2012-05-30 03:10:30 +00:00
ChunEon Park 995e8c338f ecore - revert 71421 cause of posibility of abi break
thanks Vincent.



SVN revision: 71485
2012-05-29 02:42:13 +00:00
Stefan Schmidt 7912d00e32 ecore: We can't really use index as variable as it is already in use.
A bit annoying I know. But ignoring all this shadowing global declaritions might bring us into
trouble.

SVN revision: 71457
2012-05-28 13:08:38 +00:00
Christopher Michael 925c4b2ff0 Ecore: Updated ChangeLog from Robert's patch.
SVN revision: 71454
2012-05-28 12:25:04 +00:00
Christopher Michael 74a4a3ff81 Ecore_Evas: Patch from Robert Bradford <robert.bradford@intel.com>:
The challenge here is that the native window representation is stored
in Ecore_Evas's prop.window. But currently there is no checking of
what driver the Ecore_Evas is for when calls are made to e.g.

ecore_evas_software_x11_window_get.

The attached change to Ecore makes the appropriate functions return 0
or NULL if the driver for the Ecore doesn't match as expected. This
can then be used to identify if an Ecore_Evas is e.g. from X11 or from
Wayland.



SVN revision: 71453
2012-05-28 12:24:30 +00:00
Christopher Michael be66a4e03b Ecore_Evas (wayland_shm): Add support for ecore_evas_move_resize
engine function.



SVN revision: 71452
2012-05-28 12:19:17 +00:00
Stefan Schmidt 44d90c2c58 ecore/tests: Remove unused var and mark unused parameter
SVN revision: 71443
2012-05-26 22:01:58 +00:00
Stefan Schmidt 76367dd846 ecore_imf_xim: Rename variable to avoid shadowing
index is already used in string.h, avoid it here.
src/modules/immodules/xim/ecore_imf_xim.c:116: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:487: warning: shadowed declaration is here

Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>

SVN revision: 71442
2012-05-26 22:01:53 +00:00
Jihoon Kim 12de52d9e9 ecore XIM module: fixformatting
SVN revision: 71434
2012-05-26 00:10:56 +00:00
ChunEon Park 1bb2daff42 ecore/ecore_x - Changed ecore_x_error_get() return type to Ecore_X_Error_Code from int
SVN revision: 71421
2012-05-25 10:15:27 +00:00
Carsten Haitzler 3280ada8e9 fix mainloop begin/quit then begin again issue.
SVN revision: 71419
2012-05-25 09:18:48 +00:00
Jihoon Kim 8f5c520633 scim_immodule: fix some typos
SVN revision: 71417
2012-05-25 07:54:46 +00:00
Christopher Michael 196e8b9aad Ecore_X(cb): Also fix send of new events here ... someone is slacking ;)
SVN revision: 71410
2012-05-24 10:18:32 +00:00
Carsten Haitzler 55bdb51962 ok ok - doesnt make a difference.. but only limit if MORE than 16xcpu
count



SVN revision: 71409
2012-05-24 10:13:30 +00:00
Carsten Haitzler 4bf005eede fix ecore-thread scheduler starvation issue.
SVN revision: 71404
2012-05-24 09:51:17 +00:00
Carsten Haitzler 01e40c8253 fix send of new events alreayd added. oops. should test shouldnt i.
SVN revision: 71402
2012-05-24 08:57:58 +00:00
Carsten Haitzler dcf4d1401e and no more segv's in ecore-con and ecore-ipc. see changelog.
SVN revision: 71400
2012-05-24 07:49:30 +00:00
Mike Blumenkrantz 5d3573c054 better fix for ecore-con client disconnecting maybe
SVN revision: 71393
2012-05-24 06:39:43 +00:00
Carsten Haitzler 63443c0c09 fix dates in chlog - it's 24th!
SVN revision: 71380
2012-05-24 04:33:00 +00:00
Doyoun Kang 49ac07a2ac From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: Re: [E-devel] [Patch] Add Ecore_X_Error_Code enumeration

I added the Ecore_X_Error_Code enumeration which wraps X error codes.
I think this will be useful when the X error occurs.



SVN revision: 71379
2012-05-24 04:27:01 +00:00
Vincent Torri 790db28168 ecore_win32: fix doc
SVN revision: 71369
2012-05-23 20:46:52 +00:00
Carsten Haitzler 4a7a18a35c clean pc files to not have cflags in Cflags: of required libs - seems
to work these days with pkg-config.



SVN revision: 71353
2012-05-23 10:21:53 +00:00
Carsten Haitzler c824a97c71 before i changelog and backport this... discomfitor - look at this!
how the hell did we get ecore_con to the state of NEVER
closing/freeing clients?



SVN revision: 71352
2012-05-23 09:07:47 +00:00
Christopher Michael 7d9ec3120f Ecore_Wayland: Fix global interface name, thanks Alex ;)
SVN revision: 71350
2012-05-23 08:01:15 +00:00
Christopher Michael 66dffc9b9d Ecore_X(cb): And memset the appropriate structure too.
SVN revision: 71328
2012-05-22 15:15:52 +00:00
Christopher Michael 8b6d662acb Ecore_X(cb): Fix ecore_x to build again with xcb.
SVN revision: 71327
2012-05-22 15:12:40 +00:00
Carsten Haitzler 06a3cbaf42 Add ecore_x_mouse_in_send() and ecore_x_mouse_out_send()
Add ecore_x illume access control/action atoms+api's
                


SVN revision: 71320
2012-05-22 12:09:06 +00:00
Cedric BAIL 302141e873 ecore: reduce likely race condition on Ecore_Thread shutdown.
SVN revision: 71311
2012-05-22 10:13:14 +00:00
Christopher Michael c88aa2ff08 Ecore_Wayland: Add patch from Alex Wu <zhiwen.wu@linux.intel.com> for
changing Ecore_Wayland input to match current Wayland git (wrt wl_set
changes).

Thanks Alex :)



SVN revision: 71306
2012-05-22 08:17:30 +00:00