Commit Graph

217 Commits

Author SHA1 Message Date
Sebastian Dransfeld 5b4186f41d ecore_x: Make x modifiers public
SVN revision: 72954
2012-06-27 17:54:01 +00:00
Sebastian Dransfeld 84e54d532d ecore: Fix support for intl keyboards
Map XK_Mode_switch to new modifier and use it to match AltGr key. In
ecore_imf xim module this key should be reported as Mod5Mask, and
windows key as Mod4Mask.

Does none of the e developers use international keyboards?

SVN revision: 72937
2012-06-27 10:47:57 +00:00
Christopher Michael 68bf4c2e2e Ecore_X(cb): Do not use UTF8_STRING as a valid target unless ICONV
support is built in. Fix stefan's segfault wrt terminology pasting.



SVN revision: 72526
2012-06-20 08:00:44 +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
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 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
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
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
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
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
Carsten Haitzler 262e8118b7 fix randr segv's waiting to happen. bad mem managment :(
SVN revision: 70951
2012-05-13 01:06:01 +00:00
Jonas M. Gastal a1e12eddbb Cleanup Doxygen Warnings - ecore 4
Files modified:
ecore/src/lib/ecore_wayland/ecore_wl_window.c
ecore/src/lib/ecore_x/xcb/ecore_xcb.c
ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c
ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
ecore/src/lib/ecore_x/xcb/ecore_xcb_window_shadow.c
ecore/src/lib/ecore_x/xlib/ecore_x.c
ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
ecore/src/lib/ecore_x/xlib/ecore_x_window.c
ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c

SVN revision: 70424
2012-04-23 20:09:55 +00:00
Carsten Haitzler 6728cb8c5b small cleanup - set root prop after others are in place for wm
detection.



SVN revision: 70286
2012-04-18 05:19:35 +00:00
Christopher Michael 5fe0a937c3 Ecore_X(cb): And simplify the checking for success. 'ret' is already
false, so we can just check reply->status for success.



SVN revision: 70248
2012-04-16 22:05:10 +00:00
Christopher Michael cada067d79 Ecore_X(cb): Fix xcb_change_pointer_control call to operate properly.
NB: If an xcb function requires a xcb_request_check, then be sure to
use the 'checked' version of that function.



SVN revision: 70246
2012-04-16 21:54:33 +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
Vincent Torri 8b6d230f5b Ecore: doc fixes
Patch by Jérôme Pinot


SVN revision: 69928
2012-04-05 07:00:42 +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
Christopher Michael 8a47e190a0 Ecore_X(cb): Let's compile again, yea ? ;)
SVN revision: 69062
2012-03-08 15:25:46 +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
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 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
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
Carsten Haitzler 1bef88b19c add ecore_x_netwm_icons_set()
SVN revision: 68487
2012-02-28 04:34: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
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
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
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
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
Guillaume Friloux 14ff0e1ae0 ecore - Various patches in ecore's doc
Hello e people, i modified some comments to get less doxygen
warnings/errors.

Signed-Off-By: Guillaume Friloux <guillaume.friloux@asp64.com>




SVN revision: 67270
2012-01-17 11:37:35 +00:00
Christopher Michael 7bace75fcc Ecore_X(cb): Fix formatting. (whoever did this should lose a finger or
two).



SVN revision: 67170
2012-01-13 01:34:39 +00:00
Christopher Michael 574380ccb0 Ecore_X(cb): Fix my focus issues with Sloppy focus.
Add a check for valid connection in ecore_xcb_icccm.c

NB: For some reason, XCB does not like ecore's timestamp which is
being passed in. Since all the calls to ecore_x_window_focus_at_time
are being passed the current timestamp anyway, just use
XCB_CURRENT_TIME until I have more available 'free time' to dig deeper
into this.



SVN revision: 67136
2012-01-12 11:41:38 +00:00
Doyoun Kang 7974ea4cbf From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch] Add ecore_x API for error handling

I added ecore_x_error_resource_id_get() api. It returns the resource
id that caused the last X error. I think it will be useful for handling
X error.



SVN revision: 66136
2011-12-13 07:30:01 +00:00
Christopher Michael 191659da9a Ecore_X(cb): Add function for backlight_available so that E will work
again :)



SVN revision: 65838
2011-12-03 04:41:30 +00:00
Christopher Michael b5cd67dee2 Ecore_X(cb): Remove not-needed variable in key event. Remove unused
goto label.



SVN revision: 65590
2011-11-24 23:58:26 +00:00
Carsten Haitzler 368525255b complain if eina_str_convert doesn't work to kelp quaker66 :)
SVN revision: 65514
2011-11-22 11:08:45 +00:00
Christopher Michael dd933bf536 Ecore_X(cb): Fix formatting in ecore_xcb_window. Fix buggers in ICCCM
code which were not setting icccm wm protocols correctly. This 'fix'
matches up w/ the xcb_icccm_* functions defined in the xcb headers.



SVN revision: 65195
2011-11-14 18:49:50 +00:00
Carsten Haitzler 0303e49be7 this should be correct for xcb - it seems that it packs card32's into
unit32_t's



SVN revision: 65093
2011-11-12 08:59:28 +00:00
Vincent Torri 41c1734761 there is no long at all in the X specification
SVN revision: 65090
2011-11-12 07:18:12 +00:00
Carsten Haitzler 778d3ff2d7 also revert long -> int change in xcb
SVN revision: 65083
2011-11-12 01:40:51 +00:00
Vincent Torri 15d079882c Ecore: Fix warning and seg fault
Fix warning: large integer implicitly truncated to unsigned type.
In ecore_x_window_prop_card32_list_get(): return -1 if malloc fails.

Patch from OpenBSD via Jonathan Armani


SVN revision: 65075
2011-11-11 19:12:36 +00:00