Commit Graph

4178 Commits

Author SHA1 Message Date
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 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
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
Vikram Narayanan 77a76443ec From: Vikram Narayanan <vikram186@gmail.com>
Subject: [E-devel] [PATCH] ecore/ecore_fb: Tweaks in _ecore_fb_size_get

As the width and height are defined as static, no need to initialize it 
again to zero. Also removed checks for 'valid pointers' as it is redundant.



SVN revision: 69556
2012-03-22 06:01:59 +00:00
Jonas M. Gastal 49ed7d364a Ecore FD handler docs.
SVN revision: 69540
2012-03-21 14:14:50 +00:00
Vincent Torri dd9945b9ed and fix ecore_evas...
SVN revision: 69528
2012-03-20 22:57:05 +00:00
Vincent Torri 162fa18190 Ecore: fix compilation
SVN revision: 69527
2012-03-20 22:44:21 +00:00
Vincent Torri 42bb0a819b Ecore: add ecore_wince_window_focus_get() and ecore_win32_window_focus_get()
SVN revision: 69514
2012-03-20 04:35:18 +00:00
Vincent Torri 99f995ad5f Ecore: rename ecore_win32_focus_set() to ecore_win32_focus() and add ecore_wince_focus()
SVN revision: 69513
2012-03-20 04:09:51 +00:00
Jihoon Kim 660efe9d33 ecore_imf: add free memory code in ecore_imf_context_preedit_string_with_attributes_get example
SVN revision: 69487
2012-03-17 10:44:04 +00:00
Carsten Haitzler 63ed6ac02f gear up svn for release. one of many steps/things to do.
SVN revision: 69481
2012-03-17 04:17:29 +00:00
Jihoon Kim d33ab03b43 ecore_imf_evas: add example code in doxygen
SVN revision: 69450
2012-03-16 06:44:54 +00:00
Jihoon Kim bb9620f3e0 ecore_imf: add example code in doxygen
SVN revision: 69449
2012-03-16 06:44:05 +00:00
Jonas M. Gastal 7248d7a970 Ecore poller docs.
SVN revision: 69424
2012-03-15 19:31:09 +00:00
Cedric BAIL ce754d6a12 ecore: fix Ecore_Thread memory leak.
SVN revision: 69343
2012-03-14 17:51:38 +00:00
Jonas M. Gastal c001712874 Ecore event functions docs improvements.
Moved docs to header file.
Fixed some typos.
Added @brief.
Add failure information to @return.
Other random improvements.

SVN revision: 69337
2012-03-14 13:22:20 +00:00
Leif Middelschulte ba9f6c43f6 Do not cut off \0 anymore.
SVN revision: 69301
2012-03-13 19:57:06 +00:00
Jonas M. Gastal 6aa497cb88 Better ecore event docs.
SVN revision: 69299
2012-03-13 18:29:31 +00:00
Mike Blumenkrantz 991e00dc86 update client flush properly, fixing bug spotted by raoulh
SVN revision: 69296
2012-03-13 13:44:18 +00:00
Bluezery 33db572b42 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][ecore_con] Simple bug fix
Date: Mon, 12 Mar 2012 13:45:02 +0900

Hello,

This is patch to prevent a segfault if curlmsg == NULL.

Thanks.


SVN revision: 69217
2012-03-12 04:53:47 +00:00
Cedric BAIL 77b6473314 ecore: fix Ecore_Thread double free and update ChangeLog/NEWS.
SVN revision: 69172
2012-03-10 12:47:54 +00:00
Jonas M. Gastal faa433a789 Improvements to ecore timer docs.
SVN revision: 69115
2012-03-09 19:21:52 +00:00
Jonas M. Gastal 7c7a6bade4 Splitting time and timer into separte groups.
SVN revision: 69114
2012-03-09 19:21:47 +00:00
Jonas M. Gastal d829bf73ce Ecore idlers doc bump.
SVN revision: 69112
2012-03-09 17:31:47 +00:00
Carsten Haitzler 531ea0831d hey cedric - i left this commented out, but this 2nd queue is wrong as
the first handles cleaning up the direct worker.



SVN revision: 69098
2012-03-09 12:49:30 +00:00
Christopher Michael fe3006163c Ecore_Wayland: Update ecore_wayland to match new events in todays
Wayland code.

NB: This will probably need updating again tomorrow, and again the day
after, etc, etc.



SVN revision: 69073
2012-03-09 02:36:00 +00:00
Sebastian Dransfeld 4c244a82fc formatting
SVN revision: 69068
2012-03-08 19:52:26 +00:00
Christopher Michael 201bce2bb2 Ecore_Wayland: Remove free of the interfaces_bound event. Thanks Seb :)
SVN revision: 69063
2012-03-08 15:54:21 +00:00
Christopher Michael 8a47e190a0 Ecore_X(cb): Let's compile again, yea ? ;)
SVN revision: 69062
2012-03-08 15:25:46 +00:00
Carsten Haitzler 83eb27748d this is dicsomfitors focus problem. commit and lets see if peolpe
suffer.



SVN revision: 69039
2012-03-08 07:51:39 +00:00
Mike Blumenkrantz 0886e14ab1 return 0 on failure for status_code_get, and don't call curl functions more than once
SVN revision: 69038
2012-03-08 07:46:42 +00:00
Vincent Torri b24490c854 Ecore_Con: should fix compilation on Mac OS X
SVN revision: 69036
2012-03-07 23:34:38 +00:00
Christopher Michael 3e9fe228aa Ecore_Wayland: Don't need to init egl here (just yet). Add an event
(interfaces_bound) to be raised when ecore_wayland has everything it
needs to function properly. (Used in the e17 wayland only code).



SVN revision: 69032
2012-03-07 21:46:52 +00:00
Christopher Michael 804a3332bf Ecore_Evas (wayland_shm): Make sure we have a window for the engine
before trying to attach a buffer.



SVN revision: 69031
2012-03-07 21:46:01 +00:00
Mike Blumenkrantz abb90050d8 The Typo That Broke The World
SVN revision: 69030
2012-03-07 21:06:34 +00:00
Mike Blumenkrantz 4693dadc63 s/foced/forced/
SVN revision: 69019
2012-03-07 19:39:22 +00:00
Mike Blumenkrantz 4652719267 added ecore_con_url_status_code_get, cleaned up recent changelog/news entries, zero http status on new transfers
SVN revision: 69009
2012-03-07 17:15:01 +00:00
Mike Blumenkrantz 894bfaeed7 check return code on CURLINFO_RESPONSE_CODE and add helper function for it
SVN revision: 69008
2012-03-07 17:06:33 +00:00
Cedric BAIL db2a6674cf ecore: add needed exotic include.
SVN revision: 68989
2012-03-07 16:14:47 +00:00
Cedric BAIL d55504f4e5 ecore: remove an impossible to track assert.
NOTE: I am now all for removing this lock. They trigger crash,
are not implementing the feature they are advertising, are not
maintained and impossible to fix.


SVN revision: 68987
2012-03-07 16:11:55 +00:00
Jihoon Kim 6116b87103 scim_immodule: remove unused code
SVN revision: 68966
2012-03-07 14:52:22 +00:00
Carsten Haitzler 0a41ccd11f add patrch for rotation atoms also fix previous indicator patch to
have atoms set up right.



SVN revision: 68960
2012-03-07 14:34:24 +00:00
myoungwoon kim 43c690def4 From: myoungwoon kim <myoungwoon@gmail.com>
Subject: [E-devel] [Patch] Ecore, Elementary: Supporting indicator
opacity mode

This is Myoungwoon Roy Kim.

This patches are for supporting the indicator's opacity mode and made by
Jeonhoon Park(jh1979.park@samsung.com) who is responsible for Indicator
application.

Requirements:
- In mobile device, Indicator area should be displayed as Opacity,
Transparency, or sometimes Translucency according to the UX
requirements.
This requirement can be applied in case of fullscreen based menu and
fullscreen applications like video player etc.

Functional requirements:
1. User can set indicator's opacity mode as opacity, transparency, and
translucency
2. User can get the current indicator's opacity mode.

Currently there are no APIs for supporting the upper functional
requirements.

Thus, he added support for indicator's opacity mode.
It is designed for EFL developers easily to set the indicator's opacity
like the existing indicator's mode.
He added a Elm_Win_Indicator_Opacity_Mode structure variable into
Elm_Win
structure.
Meanwhile, new two APIs are implemented independently from the existing
source code.

Anybody please review this and apply it to upstream code.



SVN revision: 68958
2012-03-07 14:26:20 +00:00
Carsten Haitzler 44aa4c7e48 lets have actual atom vars to hold the atoms eh? so we compile and
link and stuff :)



SVN revision: 68929
2012-03-07 11:25:16 +00:00
Vincent Torri b00a55e316 Ecore_Evas: fix compilation after the removal of ecore_win32_shape_set() API
SVN revision: 68923
2012-03-07 10:39:30 +00:00
Vincent Torri 06f5ecf546 Ecore_Win32: fix initialization of base_width/height values
SVN revision: 68922
2012-03-07 10:28:48 +00:00
ChunEon Park fad2b6179d ecore/ecore_x - added ecore_x_illume clipboard stuff.
SVN revision: 68920
2012-03-07 10:13:24 +00:00
Jihoon Kim 7c65a124f7 ecore_imf: change parameter name in ecore_imf_context_input_panel_return_key_type_set
SVN revision: 68762
2012-03-06 02:46:09 +00:00
Christopher Michael 2ff608c90a Ecore_Wayland: Don't require a current surface to retrieve pointer
position as we may not have an active window when this is requested.



SVN revision: 68731
2012-03-05 16:50:20 +00:00
Jonas M. Gastal 2ddef61a69 Ecore con style fix.
SVN revision: 68726
2012-03-05 14:59:59 +00:00
Jonas M. Gastal e3436e04cd Style fix for ecore exe docs.
SVN revision: 68725
2012-03-05 14:59:55 +00:00
Jonas M. Gastal 2af6eb6723 Better ecore main loop docs.
SVN revision: 68724
2012-03-05 14:47:44 +00:00
Mike Blumenkrantz 8235a2b7df patch from bluezery finishing socks env variable pickup from ecore_con_socks.c
SVN revision: 68650
2012-03-03 19:49:19 +00:00
Jihoon Kim d010e69fe1 ecore: fix brief description of ecore_x_window_focus_get
SVN revision: 68646
2012-03-03 12:51:20 +00:00
Jihoon Kim 8c33b063b9 ecore: fix doxygen ingroup about ecore_x_window_defaults_set API
SVN revision: 68644
2012-03-03 07:20:54 +00:00
Daniel Juyung Seo 836dda0058 ecore Ecore_Evas.h: Fixed documentation typo.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68624
2012-03-02 12:07:52 +00:00
Christopher Michael 9c97695b5a Ecore_Wayland: Remove image_target_texture_2d (not used and requires
GL header which causes issues for E17 wayland only).



SVN revision: 68582
2012-03-01 17:25:54 +00:00
Christopher Michael 6cbf9fa01a Ecore_Wayland: Add ecore_wl_pointer_xy_get function.
SVN revision: 68576
2012-03-01 13:43:41 +00:00
Jihoon Kim e3cb7f5f21 ecore_imf: fix doxygen
SVN revision: 68575
2012-03-01 13:34:08 +00:00
Christopher Michael 5cc25cb5a8 Ecore_Evas (wayland_egl): Cleanup the engine structure & remove unused
things. Implement alpha_set, transparent_set, and ignore_events for
ecore_evas_wayland_EGL.

NB: Big fat warning ... don't try to use alpha_set for EE_Wayland_Egl.
It segfaults for some unknown reason. If anyone knows EGL code, please
feel free to have a look. Any help is appreciated here.



SVN revision: 68574
2012-03-01 13:33:23 +00:00
Jonas M. Gastal f34ae9e0da Better ecore_evas intro docs.
SVN revision: 68572
2012-03-01 13:02:17 +00:00
Jonas M. Gastal 27f3f1c677 Improved ecore_evas_basics example.
SVN revision: 68570
2012-03-01 13:02:08 +00:00
Christopher Michael b0dde0d92d Ecore_Evas (wayland): Implement alpha_set, transparent_set, and
ignore_events for ecore_evas_wayland_shm.

NB: I have to code for egl done, but am tracking a segfault when we
set alpha :/



SVN revision: 68558
2012-02-29 21:00:38 +00:00
Carsten Haitzler 5bb1a4a17f netwm icon set api - test it.. putting 16mb+ icons on the stack wasnt
a good idea... puton heap. :)



SVN revision: 68550
2012-02-29 11:59:55 +00:00
Jihoon Kim 05131e2348 ecore_imf: Add ecore_imf_context_input_panel_caps_lock_mode_set/get to set/get the caps lock mode on the input panel
SVN revision: 68529
2012-02-29 04:37:33 +00:00
Carsten Haitzler 890d1a247a lets compile again... shall we? :)
SVN revision: 68526
2012-02-28 23:55:04 +00:00
Christopher Michael 5a989f5d82 Ecore_Wayland: Fix resize animation (little arrow @ bottom) not
showing up.



SVN revision: 68523
2012-02-28 22:51:01 +00:00
Christopher Michael c03a4e19b4 Ecore_Wayland: Add some doxy & @since.
SVN revision: 68522
2012-02-28 22:31:27 +00:00
Christopher Michael a31808b48b Ecore_Evas (Wayland): Refactor code to match Ecore_Wayland changes.
NB: Fixes outstanding issues with running EFL apps as wayland clients.



SVN revision: 68516
2012-02-28 21:56:39 +00:00
Christopher Michael f3cf8efe47 Ecore_Wayland: Refactor all the ecore_wayland code to improve running
EFL applications as Wayland Clients.

NB: This (along with the ecore_evas changes) fixes most (if not all) 
outstanding issues what I am aware of, including the nasty resize bug 
with wayland_egl.



SVN revision: 68515
2012-02-28 21:55:51 +00:00
Carsten Haitzler 5756d4ad09 compile again... and add docs and @sinces etc. :)
SVN revision: 68503
2012-02-28 11:50:05 +00:00
Carsten Haitzler 9b46c193f5 and now actually test and make sure things work.
SVN revision: 68500
2012-02-28 10:46:38 +00:00
Mike Blumenkrantz 178339291d one time I had a dream where people helped others who were forgetful instead of just pointing out that they were forgetful. then I woke up and realized I had fallen asleep while watching Winnie the Pooh
SVN revision: 68494
2012-02-28 07:06:04 +00:00
Carsten Haitzler 57c681a33e booyah. added lots of ecore_evas state stuff and ability to track
state changes too made by a wm - eg getting iconified.



SVN revision: 68493
2012-02-28 06:43:59 +00:00
Carsten Haitzler 1bef88b19c add ecore_x_netwm_icons_set()
SVN revision: 68487
2012-02-28 04:34:10 +00:00
Cedric BAIL 34c0022210 ecore: people are still hurt by that assert.
NOTE: I think that this code should be removed as it is useless, will never
work as expected and nobody care anymore about it.


SVN revision: 68477
2012-02-27 14:40:02 +00:00
Carsten Haitzler 496ad067f4 tag this allong with the ecore_file_download fix.
SVN revision: 68459
2012-02-27 02:37:24 +00:00
Cedric BAIL fd482cff6b ecore: oops, forgotten.
SVN revision: 68449
2012-02-26 10:06:40 +00:00
Carsten Haitzler cf21239cf8 fix ecore_file_downlaod to not limit downloads to 30sec.
SVN revision: 68447
2012-02-26 01:52:27 +00:00
Cedric BAIL b01e8f4802 ecore: remove use of SDL software sdl 16 from Ecore_Evas.
SVN revision: 68446
2012-02-25 21:20:42 +00:00
Mike Blumenkrantz 96211b171a #if 0 out an unused function
SVN revision: 68437
2012-02-25 08:30:51 +00:00
Jihoon Kim 6ff1e0cffb ecore_imf: remove trailing whitespace
SVN revision: 68434
2012-02-25 06:57:21 +00:00
Cedric BAIL 4573b902e4 ecore: eina_iterator_free doesn't work on NULL iterator.
SVN revision: 68424
2012-02-24 16:53:51 +00:00
Cedric BAIL 22ed9fcfab ecore: fix ecore build without thread support and mmap.
SVN revision: 68418
2012-02-24 15:14:10 +00:00
Doyoun Kang a441e218c6 From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: Add feature for showing/hiding indicator

Hi, raster.
As we discussed about indicator, i added feature for indicator.
Please check attached patch files.

1. elementary
i added enumeration to Elm_Illume_Command as below.
- ELM_ILLUME_COMMAND_INDICATOR_SHOW
- ELM_ILLUME_COMMAND_INDICATOR_HIDE

2. ecore
i added atoms/enumerations/APIs as below.
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;

typedef enum _Ecore_X_Illume_Indicator_State
{
   ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0,
   ECORE_X_ILLUME_INDICATOR_STATE_OFF,
   ECORE_X_ILLUME_INDICATOR_STATE_ON
} Ecore_X_Illume_Indicator_State;
         
EAPI void ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);
EAPI Ecore_X_Illume_Indicator_State
ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);



SVN revision: 68410
2012-02-24 12:33:11 +00:00
Cedric BAIL 4fcca0a938 ecore: fix typos.
SVN revision: 68406
2012-02-24 11:48:53 +00:00
Cedric BAIL 11530b355d ecore: binbuf doesn't accept NULL (that's what EINA_ARG_NONNULL tell us...)
SVN revision: 68403
2012-02-24 11:21:12 +00:00
Cedric BAIL c1f2c6f682 ecore: add Exotic support.
SVN revision: 68402
2012-02-24 11:20:25 +00:00
Jihoon Kim 336b2878bc Ecore_IMF.h: fix indentation
SVN revision: 68380
2012-02-24 06:05:10 +00:00
Carsten Haitzler a918ef689f lets compile shall we and only include sdl headers if building
ecore-evas-sdl stuff eh?



SVN revision: 68372
2012-02-24 00:58:13 +00:00
Carsten Haitzler a23505ad6a warn--
SVN revision: 68371
2012-02-24 00:56:42 +00:00
Carsten Haitzler e6bf1ab1b8 lets not deprecate stable 1.0 api's just yet shall we? maybe wait a
few years before we start on that?



SVN revision: 68368
2012-02-24 00:47:13 +00:00
Carsten Haitzler f81e262ba3 another function that has been deprecated since before 1.0.
SVN revision: 68367
2012-02-24 00:44:49 +00:00
Carsten Haitzler 355b3341b3 that win32 shape set func has been deprecated since before ecore 1.0 -
it should have never been used, so remove. cruft. and no- no chlog as
it isnt something that should affect a user



SVN revision: 68366
2012-02-24 00:41:53 +00:00
Leif Middelschulte 4e5b9877dd depricated -> deprecated
SVN revision: 68365
2012-02-23 21:00:00 +00:00
Christopher Michael 8c33537c4a Ecore_X(cb): Remove unused variable. Fix uninitialzed variable warning.
SVN revision: 68362
2012-02-23 18:32:36 +00:00
Leif Middelschulte e94f19333b It is only deprecated, therefore must exist.
SVN revision: 68360
2012-02-23 18:22:39 +00:00
Leif Middelschulte a1bfc55891 Analogy of r68344 to XCB.
SVN revision: 68358
2012-02-23 18:22:29 +00:00
Leif Middelschulte 0374b166e4 Fix misspelling
SVN revision: 68357
2012-02-23 18:22:24 +00:00
Christopher Michael 6b51a11d0d Ecore: Fix grammar in doxy.
SVN revision: 68353
2012-02-23 16:49:34 +00:00
Leif Middelschulte 4ecc9ffa63 Now, also compile.
SVN revision: 68350
2012-02-23 16:00:40 +00:00
Leif Middelschulte 29c8ede450 Improve implementation of ecore_x_randr_window_crtcs_get
SVN revision: 68349
2012-02-23 15:56:42 +00:00
Leif Middelschulte a681840432 Add NEWS, @since to source, and alter ChangeLog.
SVN revision: 68348
2012-02-23 15:56:38 +00:00
Cedric BAIL 41d64ec96e ecore: move Ecore_Evas software SDL from specific SDL Evas backend to generic buffer backend.
One more step to removing Evas Software SDL backend.


SVN revision: 68346
2012-02-23 15:39:18 +00:00
Leif Middelschulte 895355ef99 Deprecate ecore_x_randr_current_crtc_get,
implement and use ecore_x_randr_window_crtcs_get instead

SVN revision: 68344
2012-02-23 15:10:43 +00:00
Leif Middelschulte 23528373cc Implement ecore_x_randr_current_crtc_get
SVN revision: 68343
2012-02-23 15:10:38 +00:00
Carsten Haitzler 367799c1ec fix ecore_evas_extn checks.. (shm_open checks too) to work.
SVN revision: 68302
2012-02-23 05:56:36 +00:00
Cedric BAIL 6ca64e9c3c ecore: cleanup thread destruction.
SVN revision: 68288
2012-02-22 21:38:39 +00:00
Bluezery 40c61bce9a From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel][Patch][ecore_con] Fix invalid curl handle removal by valgrind
Date: Wed, 22 Feb 2012 19:57:36 +0900

Hello,

discomfitor reports bugs by valigrind.  I checked it with valgrid and
I found the clues
curl_multi_remove_handle() should not be called when multi handles
being performed. So I removed curl_multi_remove_handle() code from
_ecore_con_url_info_read()
Now, curl_multi_remove_handle() is only called for all easy handles
when a multi-handle ended.
Please review this simple patch.


SVN revision: 68287
2012-02-22 19:58:34 +00:00
Christopher Michael 84ba307c71 Ecore: Fix typo in header (for docs).
SVN revision: 68286
2012-02-22 19:49:15 +00:00
Christopher Michael f7c29b5eae Ecore_Evas (wayland): Update shm and egl engines for recent changes in
wayland.



SVN revision: 68284
2012-02-22 18:38:26 +00:00
Christopher Michael 274f4be555 Ecore (Wayland): Update include for xkbcommon (changed in git). Update
function calls for changes made to wayland.

NB: This makes ecore_wayland build again.



SVN revision: 68283
2012-02-22 18:38:04 +00:00
Mike Blumenkrantz 127c3b81da somewhat fix deferred freeing of curl objects
SVN revision: 68258
2012-02-22 10:10:22 +00:00
Mike Blumenkrantz d37f6003cf allow server to write out last data to client before disconnecting, also fix leak I previously added
SVN revision: 68249
2012-02-22 08:50:43 +00:00
Mike Blumenkrantz 9417565032 reorder url complete calls to prevent invalid read
SVN revision: 68246
2012-02-22 05:46:40 +00:00
Christopher Michael 436091a7d6 Ecore_X(cb): Add missing randr functions needed for recent changes in E.
NB: These may not be entirely correct, but since I am the only one using 
xcb (apparently), and I don't ever use the RandR stuff, they are 
sufficient for now. I'll debug them later when I have more time.



SVN revision: 68219
2012-02-21 12:42:02 +00:00
Mike Blumenkrantz aaaa571c8d hero patch from bluezery which fixes ecore-con-url
SVN revision: 68203
2012-02-21 06:48:24 +00:00
Jihoon Kim 2482c6aeeb fix doxygen
SVN revision: 68197
2012-02-21 04:16:53 +00:00
Cedric BAIL 6152601e1f ecore: rewrite of Ecore_Thread internal to use Eina_Lock and ecore_main_loop_thread_safe_call_async.
NOTES: It is now safer and faster. I doubt I will have more time before the release to finish
ecore_thread_message_run, nor to make the shutdown nicer.


SVN revision: 68164
2012-02-20 15:57:18 +00:00
Carsten Haitzler 19f99fce57 @since++
SVN revision: 68145
2012-02-20 08:14:13 +00:00
Mike Blumenkrantz fb766c1119 revert last commit, maybe I'll re-commit it in 10 years when curl 7.21.7 is more common
SVN revision: 68144
2012-02-20 07:37:53 +00:00
Mike Blumenkrantz 1552f5b548 yet another complete rewrite of ecore-con-url, fixes bugs I've been experiencing recently
does not fix curl+c-ares though :(


SVN revision: 68143
2012-02-20 07:11:23 +00:00
Jérémy Zurcher 8ee7505e05 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] ecore_evas typedef patch src/lib


the attached patch adds
typedef void   (*Ecore_Evas_Event_Cb) (Ecore_Evas *ee);
in Ecore_Evas.h and ecore_evas_private.h

Ecore_Evas_Event_Cb is then used within :
  ecore_evas.c
  ecore_evas_psl1ght.c
  ecore_evas_win32.c
  ecore_evas_wince.c
  ecore_evas_x.c



SVN revision: 68140
2012-02-20 04:38:54 +00:00
Mike Blumenkrantz c1ebb1ae60 somehow forgot to add this line in for previous commit, self spank
SVN revision: 68134
2012-02-19 23:24:13 +00:00
Mike Blumenkrantz 104fa491ae formatting
SVN revision: 68133
2012-02-19 23:23:44 +00:00
Mike Blumenkrantz a8e95378d8 fix current url implementation to not crash ANY TIME YOU FREE THE OBJECT DURING AN EVENT
seriously how did this go unnoticed for so many years?????


SVN revision: 68132
2012-02-19 23:16:50 +00:00
Mike Blumenkrantz 9fd11cd9da if we're going to pretend to handle errors, at least clean up before failing
SVN revision: 68129
2012-02-19 22:33:39 +00:00
Mike Blumenkrantz 60b4d79569 not sure why we're passing a bogus data pointer which is never used
SVN revision: 68128
2012-02-19 22:32:17 +00:00
Mike Blumenkrantz cc2d957e10 fix and simplify init/shutdown logic
SVN revision: 68127
2012-02-19 22:26:40 +00:00
Vincent Torri aab16f91a9 Ecore: better check of ecore_evas_extn. This also fixes its compilation on Windows
SVN revision: 68105
2012-02-18 12:56:53 +00:00
Vincent Torri 85a36a8f7f Ecore: ecore_pipe: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions
SVN revision: 68104
2012-02-18 12:55:26 +00:00
Mike Blumenkrantz 393d25034e add debug info with url
SVN revision: 68098
2012-02-18 02:38:10 +00:00
Mike Blumenkrantz 8191c723cc fix shadow var
SVN revision: 68097
2012-02-18 02:23:09 +00:00
Mike Blumenkrantz e4655eeece outdent some code here
SVN revision: 68096
2012-02-18 02:19:36 +00:00
Jihoon Kim 62037f70d9 ecore_imf: describe doxygen about some enums
SVN revision: 68095
2012-02-18 01:45:50 +00:00
Mike Blumenkrantz 150bc83acf null check
SVN revision: 68039
2012-02-16 21:57:34 +00:00
Leif Middelschulte 8bdf8faf37 Add mode add/del functions to ecore_x_randr
SVN revision: 68031
2012-02-16 19:26:30 +00:00
Jihoon Kim 758c7a57ab ecore_imf: add @since 1.2 in Ecore_IMF_Input_Panel_Lang and Ecore_IMF_Input_Panel_Return_Key_Type
Thanks to Vincent about spotting it


SVN revision: 67993
2012-02-16 00:35:14 +00:00
Mike Blumenkrantz 201ae5dea3 use correct errno value for error events
SVN revision: 67960
2012-02-15 05:55:28 +00:00
Mike Blumenkrantz 89276be842 finally finish implementing SOCKS5 proxies in ecore-con.
SOCKS5 is different from SOCKS4 in that it supports password authentication mechanisms (GSSAPI is still on the todo) and IPV6, neither of which are possible with SOCKS4

NOTE THAT THE CMDLINE SYNTAX FOR AUTOSOCKSING HAS CHANGED!
 *   ECORE_CON_SOCKS_V4=[user@]server-port:lookup
 *   ECORE_CON_SOCKS_V5=[user@]server-port:lookup

also note that I did not implement autosocksing with password. it's just not safe.


SVN revision: 67959
2012-02-15 05:53:50 +00:00
Jihoon Kim 567b6ac0e8 ecore_imf: Add ecore_imf APIs to set return key type, disable return key.
SVN revision: 67946
2012-02-15 01:22:28 +00:00
Jihoon Kim 427e4ebce0 scim_immodule: improve maintenability
SVN revision: 67878
2012-02-13 10:55:26 +00:00
윤정현 b297da56de From: 윤정현 <jh0506.yun@samsung.com>
Subject: Re: [E-devel] [Patch] ecore_ipc - remove potential risk in
ecore_ipc_shutdown

I found a problem this infinite loop case.

If server is deleted, then ECORE_IPC_EVENT_SERVER_DEL callback
function will be called in client side.
It will happen infinite loop in ecore_ipc_shutdown if
ecore_ipc_shutdown called in this ECORE_IPC_EVENT_SERVER_DEL callback
function.

For example,
server_del_handler =
ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DEL, _server_del_cb, NULL);
static Eina_Bool
_server_del_cb(void *data, int type, void *event)
{
   ecore_ipc_shutdown();
   return EINA_TRUE;
 }
      
If server is deleted,
1. _ecore_ipc_event_server_del : svr->event_count++
2. _server_del_cb : ecore_ipc_shutdown called
3. ecore_ipc_shutdown : while (servers) ecore_ipc_server_del(eina_list_data_get(servers))
4. ecore_ipc_server_del : can't eina_list_remove(servers, svr) because event_count != 0
5. infinite loop

I think this while code is very dangerous whether user miss or not.
I modified EINA_LIST_FOREACH_SAFE instead of EINA_LIST_FOREACH refer
to ecore_con.
Please review this patch.



SVN revision: 67874
2012-02-13 06:49:30 +00:00
Jihoon Kim dca83cc17c scim_immodule: set cursor location even though only client_window is provided without evas (ecore_imf_context_client_canvas_set)
SVN revision: 67852
2012-02-12 11:00:48 +00:00
Rafael Fonseca 53e3f54ba5 Ecore_Evas_Cocoa: fix header include name.
SVN revision: 67825
2012-02-10 13:27:46 +00:00
Christopher Michael 317f1ebf99 Ecore_Evas (wayland): Disable logfn's (again) :( Remove extra parens.
SVN revision: 67819
2012-02-10 10:36:21 +00:00
Christopher Michael 1acb7b4f9e Ecore_Evas: Add functions for setting wayland mouse pointer (used from
elm wayland clients).



SVN revision: 67816
2012-02-10 09:16:29 +00:00
Jihoon Kim 039cd30ebd scim_immmodule: Provide compose, string in key down/up event in case of scim-input-pad.
SVN revision: 67801
2012-02-10 00:03:25 +00:00
Christopher Michael 671cda7b73 Ecore_Wl: Add function in header.
SVN revision: 67782
2012-02-09 08:16:45 +00:00
Christopher Michael c510ba8471 Ecore_Wl: Also send mouse move before sending mouse down/up. Add some
missing Logfn's. Add handler to free the mouse_move event when we're
done with it. Add a function to retrieve the 'last mouse button down
time' (needed for fixing surface move).



SVN revision: 67781
2012-02-09 08:15:10 +00:00
Christopher Michael 2644d16d50 Ecore_Evas (Wayland): Fix getting double mouse events for the wayland
engines.

NB: Fixes elementary momentum scrolling.



SVN revision: 67780
2012-02-09 08:12:39 +00:00
Jihoon Kim 09d8eb2f1d ecore_imf_context.c: fix formatting
SVN revision: 67779
2012-02-09 03:53:03 +00:00
Mike Blumenkrantz 3be93385bf @SVN revision: 67759
SVN revision: 67774
2012-02-08 22:58:07 +00:00
Mike Blumenkrantz 6abc186588 SVN revision: 67759
SPANK SPANK SPANK RASTER


SVN revision: 67772
2012-02-08 21:25:45 +00:00
Tom Hacohen c96f3aa53a Ecore tests: Disable ecore_x tests in the meanwhile.
They are currently useless and just cause buildbot to complain.

SVN revision: 67768
2012-02-08 16:50:04 +00:00
Carsten Haitzler 6c31fcf709 add ecore_con_url_http_version_set() to be able to specify request
version



SVN revision: 67759
2012-02-08 13:25:08 +00:00
Jihoon Kim 15ea121e01 Support ecore_imf_context_input_panel_show/hide in SCIM module
SVN revision: 67728
2012-02-07 10:30:57 +00:00
Jihoon Kim cf42822ea5 ecore_imf_xim: Support ecore_imf_context_input_panel_show/hide in XIM module.
SVN revision: 67727
2012-02-07 10:10:23 +00:00
Jihoon Kim 9e7c912aa4 Ecore_IMF.h: fix wrong documentation about Ecore_IMF_Preedit_Attr
SVN revision: 67723
2012-02-07 02:30:36 +00:00
Jihoon Kim 20646f9fa1 ecore_imf: Add Ecore_IMF function to set or get the input panel-specific data
SVN revision: 67711
2012-02-06 09:46:38 +00:00
Jihoon Kim 1d92d7dbe6 ecore_imf : Set ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL as default layout in ecore_imf_context_add.
SVN revision: 67710
2012-02-06 08:05:58 +00:00
Jihoon Kim 0a709db9d2 Ecore_IMF.h : describe Ecore_IMF_Callback_Type, Ecore_IMF_Autocapital_Type, and Ecore_IMF_Preedit_Attr in more detail
SVN revision: 67709
2012-02-06 05:10:18 +00:00
Jihoon Kim 95e78175a5 ecore_imf: fix wrong ingroup fields for doxygen
SVN revision: 67695
2012-02-03 10:12:13 +00:00
Jihoon Kim 29f18d42a5 scim_imcontext.cpp: fix formatting
SVN revision: 67692
2012-02-03 06:32:24 +00:00
Daniel Juyung Seo de5074849f ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks raster :O
SVN revision: 67685
2012-02-02 05:21:24 +00:00
Carsten Haitzler 53c539ae55 ok 1 segv less. this code looks most suspicious...
SVN revision: 67671
2012-02-01 09:48:46 +00:00
Jihoon Kim 517a436cbc Describe in more detail about ecore_imf_context_cursor_location_set API
SVN revision: 67670
2012-02-01 06:39:26 +00:00
Christopher Michael 3beb6bb400 Ecore_X: Add api function (and code) to retrieve actual keycode from
keyname (needed to handle input from x11 to wayland clients).



SVN revision: 67591
2012-01-29 20:29:30 +00:00
Daniel Juyung Seo 30980e2ecf ecore ecore_imf_context.c: Fixed build warnings.
ecore_imf_context.c: In function ‘ecore_imf_context_event_callback_del’:
ecore_imf_context.c:1099:9: warning: ‘return’ with no value, in function returning non-void
ecore_imf_context.c:1109:26: warning: initialization discards qualifiers from pointer target type

SVN revision: 67585
2012-01-29 13:39:07 +00:00
Cedric BAIL 457de1db0b ecore: M_PI / 2.0 == M_PI_2
SVN revision: 67496
2012-01-24 14:50:39 +00:00
Gustavo Sverzut Barbieri 58feaf04b4 ecore/docs: improve main page a bit.
SVN revision: 67448
2012-01-22 15:05:20 +00:00
Carsten Haitzler 039089b6ba remove in.h form headers - dont need it.
SVN revision: 67326
2012-01-19 08:38:18 +00:00
Mike Blumenkrantz 1f35fa8b95 use client_kill instead of directly eventing
SVN revision: 67322
2012-01-19 08:02:41 +00:00
Mike Blumenkrantz a83f8838d5 remove use of 'dead' variable from win32 code
SVN revision: 67319
2012-01-19 07:36:02 +00:00
Youness Alaoui 18eedb2caa Ecore: Send joypad buttons as key down/up events and properly send the quit request
SVN revision: 67291
2012-01-18 06:15:52 +00:00
Jihoon Kim c652e4e78a From: Jihoon Kim <imfine98@gmail.com>
Long time ago, in
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32795.html
mail thread and IRC,

I talked with about problem of asynchronous event API such as
ecore_imf_context_commit_event_add,
ecore_imf_context_preedit_changed_event_add, so on.

In short, The problem is that key event and text_set APIs are processed
immediately, but commit event and preedit changed event is processed
asynchronously  because those APIs add each event to ecore event queue.

To fix these problems, I've decided to create synchronous event APIs such
as ecore_imf_context_event_callback_add, del and call.

For considering compatibility, sync and async event callback functions are
used in xim and scim immodule.



SVN revision: 67290
2012-01-18 04:38:04 +00:00