Commit Graph

314 Commits

Author SHA1 Message Date
Stefan Schmidt f471953297 Revert "ecore/gesture: Don't do dead assignments after return."
This reverts commit b18eddb5a74e84e05e0f797b659d0719f56d9434.

SVN revision: 72876
2012-06-26 11:48:24 +00:00
Stefan Schmidt 7397d6ee48 ecore/xinerama: Don't do an assingment after return.
It's dead baby, it's dead.

SVN revision: 72873
2012-06-26 10:55:13 +00:00
Stefan Schmidt f4b521e165 ecore/gesture: Don't do dead assignments after return.
Raster added this for some unused param warnings in 65142. Now we have complains about dead
assigments and I hope this finally mutes both of them. Thanks to Tom for pointing it out.

SVN revision: 72872
2012-06-26 10:55:09 +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
Mike Blumenkrantz dec06820ec trivial -Wshadow fix
SVN revision: 71689
2012-06-04 20:49:02 +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
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
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
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 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 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
Carsten Haitzler 30c3219c41 return true on SUCCESSS, not failure.
SVN revision: 70251
2012-04-17 02:28:06 +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
Jihoon Kim cb48899ad1 ecore_x: fix some typos
SVN revision: 69729
2012-03-29 09:02:22 +00:00
Leif Middelschulte ba9f6c43f6 Do not cut off \0 anymore.
SVN revision: 69301
2012-03-13 19:57:06 +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
Leif Middelschulte 0374b166e4 Fix misspelling
SVN revision: 68357
2012-02-23 18:22:24 +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
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
Leif Middelschulte 8bdf8faf37 Add mode add/del functions to ecore_x_randr
SVN revision: 68031
2012-02-16 19:26:30 +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
Leif Middelschulte 67cce962f6 Merge branch 'randr'
SVN revision: 67234
2012-01-15 22:03:45 +00:00
Mike Blumenkrantz ad37a6a256 fix possible 0 byte allocation
SVN revision: 66294
2011-12-16 18:04:53 +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
Carsten Haitzler 9847de083b let's not fail to include standard headers when we need things like..
ooh.. malloc? calloc? printf?....



SVN revision: 65982
2011-12-07 00:49:00 +00:00
Vincent Torri 112f992a0e Ecore: fix warnings
SVN revision: 65976
2011-12-06 22:33:01 +00:00
Mike Blumenkrantz 8b6899154c in 2011, we began using formatting tools to fix problematic formatting.
in later 2011, we began using formatting tools to fix problematic formatting caused by previous runs of formatting tools used to fix problematic formatting


SVN revision: 65852
2011-12-03 20:05:48 +00:00
Mike Blumenkrantz 6b13c32a78 remove annoying trailing comments
SVN revision: 65851
2011-12-03 19:41:12 +00:00
Mike Blumenkrantz 952b5f6326 +ecore_x_randr_output_backlight_available() from Term <term@twistedpath.org>
also corresponding e17 usage


SVN revision: 65837
2011-12-03 04:24:02 +00:00