Commit Graph

4802 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 59a7bda1d9 stop leaking every ecore system signal event.
People, when you go and change ecore_event_add() to
_ecore_event_add(), please NOTICE THAT THE FREE FUNCTION IS NOT
AUTOMATICALLY SPECIFIED!

So specify these functions to _ecore_event_add() to stop leaking every
signal we receive from system.



SVN revision: 70177
2012-04-13 15:44:02 +00:00
Gustavo Sverzut Barbieri e107124555 remove EAPI from _ecore_event_signal_user_new().
It should never	be exported outside of libecore.so


SVN revision: 70176
2012-04-13 15:36:42 +00:00
Christopher Michael 9081734c1d Ecore_Evas (wayland_shm): Allocate the shm_pool according to output
size. Don't set the engine destination until we have created the pool
& buffer.



SVN revision: 70159
2012-04-12 20:46:48 +00:00
Jérôme Pinot 5ab7430745 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] ecore doxygen doc (3)
Date: Thu, 12 Apr 2012 15:39:16 +0900

Some leftovers, fix:

/tmp/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c:1202: warning: The following parameters of ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc_r1, Ecore_X_Randr_Crtc crtc_r2, Ecore_X_Randr_Output_Policy policy, Ecore_X_Randr_Relative_Alignment alignment) are not documented:
  parameter 'root'
/tmp/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c:921: warning: The following parameters of ecore_x_randr_mode_size_get(Ecore_X_Window root, Ecore_X_Randr_Mode mode, int *w, int *h) are not documented:
  parameter 'root'
/tmp/ecore/doc/examples.dox:242: warning: unable to resolve reference to `ecore_event_example.c' for \ref command


SVN revision: 70119
2012-04-12 06:55:08 +00:00
Jérôme Pinot 7d464af0a1 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] ecore doxygen doc (2)
Date: Thu, 12 Apr 2012 12:46:04 +0900

Hi,

This is a big patch. It fixes:
- undef #EINA_{TRUE,FALSE} links
- @c for NULL and EINA_{TRUE,FALSE}
- some formatting/spello
- several missing return types


SVN revision: 70117
2012-04-12 03:51:36 +00:00
Christopher Michael 54f67d668e Ecore_Evas (wayland): Update ecore_evas_wayland engines to match
recent changes in ecore_wayland. Implement the wl_shm_pool interface
also for wayland_shm engine.



SVN revision: 69998
2012-04-10 17:02:24 +00:00
Christopher Michael 5d4554996f Ecore_Wayland: Rework ecore_wayland to match current wayland git wrt
pointer grabs, shm_pool interface. Rename fields of the
wl_event_mouse_in/out structures to match other ecore event structs.
Add API functions for getting a list of outputs, for getting a windows
shell_surface, and for setting a windows parent.



SVN revision: 69997
2012-04-10 17:00:56 +00:00
Daniel Juyung Seo 11a314ca85 ecore ecore_main.c: Added ecore_main_loop_iterate_may_block()
documentation.
I didn't add the API declaration into the header yet because the API
name/parameter might be changed before release.

SVN revision: 69990
2012-04-10 09:12:12 +00:00
Daniel Juyung Seo d771710575 ecore ecore_job.c: Fixed formatting.
SVN revision: 69989
2012-04-10 09:12:08 +00:00
Jihoon Kim 6ef473a533 ecore_imf: fix some doxygen warnings
SVN revision: 69957
2012-04-07 14:11:22 +00:00
Daniel Juyung Seo 0591672d00 ecore ecore_poll.c: Fixed formatting.
SVN revision: 69940
2012-04-06 04:14:25 +00:00
Vincent Torri 8b6d230f5b Ecore: doc fixes
Patch by Jérôme Pinot


SVN revision: 69928
2012-04-05 07:00:42 +00:00
Jonas M. Gastal 98138cb4d3 New simpler ecore event example.
SVN revision: 69921
2012-04-04 17:31:24 +00:00
Jihoon Kim bc431e2808 ecore_imf: fix doxygen
SVN revision: 69884
2012-04-03 04:10:24 +00:00
Daniel Juyung Seo 3d3f973105 ecore: Fixed documentation.
SVN revision: 69875
2012-04-02 23:47:00 +00:00
Jonas M. Gastal 84f6ee1abf Improved ecore event docs.
SVN revision: 69873
2012-04-02 20:51:51 +00:00
Jonas M. Gastal 81608b2cc7 Fixing typo in docs.
SVN revision: 69872
2012-04-02 20:51:47 +00:00
Jérôme Pinot 59bc51be37 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] ecore doxygen doc

Here is a patch to correct some problems in ecore doxygen doc.
It fixes:

/tmp/ecore/doc/examples.dox:1173: warning: Unsupported xml/html tag
<some_num> found
/tmp/ecore/doc/examples.dox:1174: warning: Unsupported xml/html tag
<some_path> found
/tmp/ecore/doc/examples.dox:1176: warning: Unsupported xml/html tag
<some_num> found
/tmp/ecore/src/lib/ecore_con/ecore_con_ssl.c:714: warning: The
following parameters of
ecore_con_ssl_server_privkey_add(Ecore_Con_Server *svr, const char
*key_file) are not documented:
  parameter 'svr'
  /tmp/ecore/src/lib/ecore_con/Ecore_Con.h:1360: warning: The
following parameters of ecore_con_url_http_version_set(Ecore_Con_Url
*url_con, Ecore_Con_Url_Http_Version version) are not documented:
  parameter 'url_con'
  /tmp/ecore/src/lib/ecore_evas/Ecore_Evas.h:530: warning: argument
'demand_attention' of command @param is not found in the argument list
of ecore_evas_demand_attention_set(Ecore_Evas *ee, Eina_Bool demand)
/tmp/ecore/src/lib/ecore_evas/Ecore_Evas.h:530: warning: The following
parameters of ecore_evas_demand_attention_set(Ecore_Evas *ee,
Eina_Bool demand) are not documented:
  parameter 'demand'
  /tmp/ecore/src/lib/ecore_x/xcb/ecore_xcb_damage.c:129: warning:
Unsupported xml/html tag <empty> found


There are more things to fix due to API change but it's not so obvious
for me. I will first continue to check/correct trivial things in the
others efl doxygen doc.



SVN revision: 69820
2012-03-31 12:03:05 +00:00
Carsten Haitzler 74f07c6893 try fix to refactor of ecore where thread_count went negative as it
was --'d when a no_queue thread finished too.



SVN revision: 69741
2012-03-29 11:05:59 +00:00
이병우 707da8b620 From: 이병우 <bw80.lee@samsung.com>
I found a bug in ecore main loop while debuging cpu 100% issue on RSS
application.
 
 1. [RSS] RSS application register two io watch callbacks(for G_IO_IN,
    G_IO_OUT seperately)  for a GIOChannel with g_io_add_watch().
 2. [ecore] In _ecore_glib_context_query() function, g_main_context_query()
    returns a fd list, and it has 2 fd items for the GIOChannel (channel
    id = 20).

    itr[0] (16, 1, 0)
    itr[1] (15, 1, 0)
    itr[2] (20, 1, 0) (G_IO_IN, 0)
    itr[3] (20, 4, 0) (G_IO_OUT, 0)
    itr[4] (18, 1, 0)

3. [ecore] In _ecore_glib_context_poll_from() function, create read, write,
   exception fd list according to the events flags of each fd item.

   [6 15 16 18 20], [20], []

4. [ecore] in _ecore_glib_select__locked() function, get active fd number from
   select() call

   select(21, [6 15 16 18 20], [20], [], NULL) = 1 (out [20])
 
5. [ecore] In _ecore_glib_context_poll_to() function, there is a bug on
   setting revents flag.

   (because of incorrect condition check - currently, the logic of the
   function cannot handle this case)

   itr[0] (16, 1, 0)
   itr[1] (15, 1, 0)
   itr[2] (20, 1, 4) (set incorrectly)
   itr[3] (20, 4, 0)  => this should be set as (20, 4, 4)!!!!
   itr[4] (18, 1, 0)

6. [ecore] In _ecore_glib_select__locked(), g_main_context_check() function
   returns false because of the above bug, so g_main_context_dispatch()
   function will not be called.

>> After this, the 2~6 flow is executed repeatedly on ecore main loop
   (because 20 out is still active fd) and this makes cpu 100% problem.



SVN revision: 69739
2012-03-29 10:36:23 +00:00
Carsten Haitzler f0792f360f remvoe unused func too
SVN revision: 69733
2012-03-29 09:25:48 +00:00
Jihoon Kim cb48899ad1 ecore_x: fix some typos
SVN revision: 69729
2012-03-29 09:02:22 +00:00
Carsten Haitzler 72fc153e34 and kill warnings (-Wshadow) in ecore_getopt. pointed out that
ecore_getopt_help() cant be called from a thread either in the process.



SVN revision: 69728
2012-03-29 08:56:10 +00:00
Carsten Haitzler edc6198ece main loop checks for all of ecore -> back. (removed by cedric last year)
SVN revision: 69727
2012-03-29 08:52:25 +00:00
Carsten Haitzler 12c38ee1c9 pur RAPI's on the .c file funcs.. TOO! so we can see which are api
calls and whats internal!



SVN revision: 69726
2012-03-29 08:43:11 +00:00
Carsten Haitzler f62daabcb9 * Fix range of issues with ecore_fb and even ecore_evas where
it didn't work right on the fb. (timestamps wrong, focus
handling etc.). This makes it work fully again.
                        


SVN revision: 69715
2012-03-29 05:57:41 +00:00
Daniel Juyung Seo 31ee93cf63 ecore Ecore.h: Fixed documentation typo.
SVN revision: 69713
2012-03-29 05:09:58 +00:00
Carsten Haitzler 964881333c let's use ()'s to group our logic better?
SVN revision: 69712
2012-03-29 03:15:36 +00:00
Christopher Michael 651d301b69 Ecore_Evas (wayland): Be sure to call 'iterate' if this is the first
initialize of ecore_wl (needed for running clients under the Weston
Compositor). Remove extra flush call when rendering.



SVN revision: 69708
2012-03-29 01:28:28 +00:00
Christopher Michael 62694fbf44 Ecore_Wayland: Add an API function which calls wl_display_iterate(readable).
Fix ecore_wl_window surface attach of the buffer for shm and egl types.

NB: This ensures that both efl/elm clients work under the Wayland
Compositor AND the E17 Compositor.

NB: The issue here is that clients (when run under the Wayland
compositor) need to make sure 'iterate' has
been called before creating surfaces so that the wl_compositor is
setup. However, the actual E17 Compositor will hang if 'iterate' is called
to early.



SVN revision: 69707
2012-03-29 01:26:30 +00:00
Jihoon Kim 11253ad06e ecore_imf: remove NULL check prior to EINA_LIST_FREE
EINA_LIST_FREE checks whether its parameter is NULL or not
Thanks, Sebastian.


SVN revision: 69703
2012-03-28 11:03:11 +00:00
Jihoon Kim 98cf92c4f9 ecore_imf: describe about Ecore IMF Context more detail
SVN revision: 69683
2012-03-28 02:23:57 +00:00
Christopher Michael 5d861aad45 Ecore_Wayland: Remove dependency on egl (handled in compositors).
Handle 'axis' events from multi-touch devices (also handles mouse
wheel).
Remove wl_buffer_damage calls (obsolete in newest wayland).

NB: This will require the 'latest' wayland code from their git repo as
of 2012-03-27.



SVN revision: 69672
2012-03-27 17:50:40 +00:00
Christopher Michael 7fd2403a1d Ecore_Wayland: Add doxy & since for dpi function.
SVN revision: 69670
2012-03-27 15:15:21 +00:00
Jihoon Kim 48a05444ec scim-immodule: fix bug candidate window covers the preedit string when preedit string appears in 2 line.
SVN revision: 69664
2012-03-27 09:05:00 +00:00
Jihoon Kim fbe88302dc scim_imcontext.cpp: remove trailing whitespace
SVN revision: 69663
2012-03-27 08:58:35 +00:00
Christopher Michael 47fa852381 Ecore: Fix botched merge of ChangeLog.
SVN revision: 69655
2012-03-27 07:09:03 +00:00
Christopher Michael 4ae6a02be9 Ecore: Update ChangeLog
SVN revision: 69647
2012-03-27 02:36:00 +00:00
Christopher Michael 27dcf03388 Ecore: Fix configure.ac detection of the egl library (needs version >=
7.10).



SVN revision: 69646
2012-03-27 02:18:40 +00:00
Christopher Michael 4c2f9b615a Ecore_Evas (wayland):
- Add ecore_wl_sync to ecore_evas_wayland_* (needed for some
compositors).
- Implement ecore_evas_wayland_type_set (for setting window types).
- Implement ecore_evas_wayland_pointer_set (for setting pointer
hotspots).
- Fix ecore_evas_alpha/transparent set.



SVN revision: 69645
2012-03-27 02:17:22 +00:00
Christopher Michael 4e42d802b8 Ecore_Wayland:
- Comment out display_iterate during intialize (hangs compositor
initialize).
- Simplify ecore_wl_flush routine and avoid possible hangs in
wl_display_roundtrip.
- Add function (for trip ;) ) to be able to return the screen dpi.
- Implement functions for input grab/ungrab.
- Set root.x/y in mouse events.
- Remove freeing of mouse_move event (already handled generically).
- Handle setting output mm width/height (for calc of dpi).
- Implement setting surface input & opaque regions.
- Implement popup windows.
- Implement ecore_wl_window_transparent_set function.
- Implement function to allow setting Ecore_Wl_Window type.
- Implement setting the wayland mouse pointer to an image (via
ecore_wl_window_pointer_set).
- Comment out wl_display_iterate during initialize (can cause hangs in
compositor).
- Simplify ecore_wl_flush (to avoid compositor hangs).



SVN revision: 69644
2012-03-27 02:13:34 +00:00
Vincent Torri e17aa714d8 Ecore_Win32/WinCE: also do not autorepeat the Win key
Patch by Shinwoo Kim


SVN revision: 69638
2012-03-26 17:33:10 +00:00
Vincent Torri bff8077cc6 Ecore_Win32/WinCE: do not autorepeat Ctrl, Shift and Alt keys
Patch by Shinwoo Kim


SVN revision: 69628
2012-03-26 06:31:39 +00:00
Vincent Torri 15fb4326e2 Ecore: fix shm_open() check (can be in libc or librt)
This works in linux and windows, and should fix shm_detection on BSD (including Mac)

  BSD, Mac and solaris users : please check that it compiles and shm_open is detected


SVN revision: 69616
2012-03-25 17:25:04 +00:00
Vincent Torri 5c843448b7 revert. gettext 0.18 is problematic on some platforms
SVN revision: 69602
2012-03-24 18:57:21 +00:00
Eric Schuele 892aacf081 Bump gettext
SVN revision: 69600
2012-03-24 15:48:38 +00:00
Jihoon Kim 8e73b14577 Ecore_X.h: musst -> must in doxygen
SVN revision: 69587
2012-03-23 09:23:46 +00:00
Jihoon Kim ef759ca863 ecore_imf_context.c: fix typos in doxygen
SVN revision: 69586
2012-03-23 08:37:13 +00:00
Jihoon Kim 0bf4a70108 Ecore_Evas.h: fix typos
SVN revision: 69585
2012-03-23 08:36:37 +00:00
Jihoon Kim 17135e16fb Ecore.h: fix typos
SVN revision: 69578
2012-03-23 05:44:46 +00:00