Commit Graph

984 Commits

Author SHA1 Message Date
Vincent Torri 58c54602a6 Ecore: fix library linking on Cygwin + small cleanup
Patch by Yaakov Selkowitz (myself for the small cleanup)


SVN revision: 78956
2012-11-07 05:50:18 +00:00
Carsten Haitzler 9ec7d338a2 oops - good catch seb!
SVN revision: 77762
2012-10-10 13:06:27 +00:00
Michal Pakula vel Rutka 0a8bed1b66 From: Michal Pakula vel Rutka <m.pakula@samsung.com>
Subject: [E-devel] [Patch] [Ecore] Allow to send SelectionNotify event
if there is no data from XGetWindowProperty.

The issue I want to fix is that elementary clipboard does not return 
paste callback if selection does not contain any data.
Currently when ecore_x_window_prop_property_get function is called
asking for AnyProperty it returns 0 if there is no data (number of
items stored equals 0). This causes ecore_x_event_handle_selection
_notify to exit before SelectionNotify event is added and eventually
elementary paste callback is not fired.
My patch removes this condition and changes behaviour of this function
by allowing to add SelectionNotify event even if data returned is empty.



SVN revision: 77732
2012-10-10 09:17:21 +00:00
Christopher Michael 922030ca72 Ecore_X (xcb): Make sure we have a valid connection before checking
source state.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77694
2012-10-10 06:47:54 +00:00
Christopher Michael 3c6e2fabf3 Fix typo (a period != a comma) ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77633
2012-10-09 09:51:21 +00:00
Sebastian Dransfeld 248fb9b2d9 ecore-x: expose ecore_x_selection_converter_text
Needed to convert COMPOUND_TEXT

SVN revision: 77477
2012-10-04 23:18:18 +00:00
Christopher Michael 3b0804e195 Remove unused variables.
SVN revision: 77425
2012-10-04 10:43:07 +00:00
Cedric BAIL 3d8678ab86 ecore: add ecore_x_input_raw_select and friends.
SVN revision: 77404
2012-10-04 05:56:59 +00:00
Christopher Michael 492eb02253 Ecore_X (xcb): Patch from Daniel Willmann to fix the type used for
calloc of randr_output_change event.



SVN revision: 77401
2012-10-04 05:49:28 +00:00
Christopher Michael 5824001bef Ecore_X (xcb): Revert previous screensaver commit.
NB: I was misinformed...apparently it did Not cut down the usage.



SVN revision: 77312
2012-10-02 12:13:32 +00:00
Christopher Michael f209467e08 Ecore_X: We don't need to listen for Cycle events here. These raise
when the screensaver cycle interval passes. That is not what we are
interested in here. We only need to know when the screensaver
activates/deactivates.

NB: This cuts cpu usage down incredibly when screensavers are set with
a short timeout.



SVN revision: 77310
2012-10-02 12:08:58 +00:00
Carsten Haitzler 5834a7956c oooh fix nasty bug never found to date in ecore-x - gettign if image
is argb or not was WRONG. fixed. :) this now affected the comp
software non-32bit support as it used it.



SVN revision: 76961
2012-09-21 12:12:54 +00:00
Christopher Michael 9507c20a53 Ecore_X: Fix more randr functions. Properly return output Modes from
ecore_x_randr_output_modes_get (more memcpy madness).



SVN revision: 76940
2012-09-21 08:17:35 +00:00
Christopher Michael e0807db1c3 Ecore_X(cb): Remove old references to the _prefetch functions.
SVN revision: 76817
2012-09-18 13:05:20 +00:00
Christopher Michael d7090e953d Ecore_X: Patch from Doyoun Kang to add missing strings for some
ECORE_X_ATOM_E_ILLUME_WINDOW atoms.



SVN revision: 76638
2012-09-14 06:00:56 +00:00
Christopher Michael 4b1e2578b0 Ecore_X: Fix more memcpy madness causing problems in randr. This fixes
crtc_possible_outputs_get and crtc_outputs_get.



SVN revision: 76454
2012-09-11 11:41:26 +00:00
Christopher Michael 32c68acf3c Ecore_X: Actually, we can still retrieve crtcs without returning Count
of them. Fix (very very minor, imo not worthy of a changelog entry).



SVN revision: 76400
2012-09-10 12:28:17 +00:00
Christopher Michael fd3f6c4045 Ecore_X (randr): Correctly list crtcs also (same fix as outputs).
SVN revision: 76392
2012-09-10 10:46:07 +00:00
Christopher Michael aa88c5697d Ecore_X (RandR): Fix long outstanding randr bug which caused
ecore_x_randr to not work for pretty much everyone. Short version,
don't memcpy something potentially Larger into something Certainly
smaller. (read on for the details).

NB: This 'should' fix all the randr problems in ecore_x (tho I have
not tested Everything).

NB: Ok, here goes:
    XRRGetScreenResources returns a struct. Inside that struct is a
    list of RROutputs.

    RROutput is defined as (from randrproto.h):
      #define RROutput CARD32

    CARD32 is defined as (from X11/Xmd.h): 
      # ifdef LONG64
        typedef unsigned long CARD64;
        typedef unsigned int CARD32;
      # else
        typedef unsigned long CARD32;
      # endif
    so CARD32 can change based on the system (32/64 bit).

    Ecore_X_Randr_Output is defined as (Ecore_X.h):
       typedef Ecore_X_ID Ecore_X_Randr_Output;
       (for reference: typedef unsigned int Ecore_X_ID)

    Double bonus points if you have already spotted the problem !! ;)



SVN revision: 76306
2012-09-07 13:12:30 +00:00
Carsten Haitzler 09d2cf7ad6 add 2 new illume sgs's and bump ecore version to 1.8 in svn as thats
now the api ver anyway.



SVN revision: 75990
2012-09-03 09:42:18 +00:00
Christopher Michael d021536d2b Ecore_X: We can still get output resources even if 'num' is not passed
in.



SVN revision: 75868
2012-08-30 10:31:41 +00:00
Christopher Michael eb8665bfd4 Ecore_X: Formatting.
SVN revision: 75867
2012-08-30 10:30:28 +00:00
Carsten Haitzler 3faee27bd8 add in custom screen blank enable/disable in ecore-x so we can do e17
based on this release of efl.



SVN revision: 75714
2012-08-26 15:34:40 +00:00
ChunEon Park 912fd7ebf2 ecore/ecore_x - oops. sorry. incorrect parameters.
SVN revision: 75639
2012-08-24 00:38:32 +00:00
ChunEon Park 2a2382374a ecore/ecore_x - added missing EAPI
SVN revision: 75638
2012-08-24 00:33:56 +00:00
Christopher Michael 9473f2c7d2 Ecore_X: Add missing cast for XkbMapNotifyEvent (removes compiler
warning).



SVN revision: 75427
2012-08-19 10:50:54 +00:00
Carsten Haitzler c9b7e56635 also tell xkb to refresh mappings. :)
SVN revision: 75422
2012-08-19 03:06:46 +00:00
Sebastian Dransfeld c7a59e832a ecore_x: Fix typo
SVN revision: 75421
2012-08-18 19:18:53 +00:00
Carsten Haitzler 4e17d57b06 I know this is a new feature. i know i know. doing this because
otherwise we weill need another efl release for e17 to get out.

modified patch from:
http://trac.enlightenment.org/e/ticket/1306



SVN revision: 75409
2012-08-18 11:29:47 +00:00
Carsten Haitzler 4080774625 fix docs in ecore_x.h -= were mis-aligned to enums.
SVN revision: 74882
2012-08-05 08:59:44 +00:00
Carsten Haitzler 6a509fe506 fix e17->elm cnp.
SVN revision: 73924
2012-07-16 11:01:44 +00:00
Carsten Haitzler 5c9c0852bb update all versions in @sincs, README's and configure.ac's etc. to
reflect a unified release version, for now 1.6.99.



SVN revision: 73498
2012-07-09 10:20:21 +00:00
ChunEon Park 44b4c7a265 ecore/ecore_x - just added a comment
SVN revision: 73445
2012-07-07 06:29:29 +00:00
Carsten Haitzler cc785441c2 a WTF i noticed!
SVN revision: 73344
2012-07-05 13:07:33 +00:00
Christopher Michael ebc5706383 Ecore_X: Add @since to new functions.
SVN revision: 73219
2012-07-03 09:43:56 +00:00
Christopher Michael 8e0f2ac706 Ecore_X: Add missing function prototypes in Ecore_X header from Tizen
merge.



SVN revision: 73208
2012-07-03 08:06:10 +00:00
Christopher Michael bf69d7dcc6 Ecore_X: Merge Tizen changes to upstream EFL.
SVN revision: 73203
2012-07-03 07:36:55 +00:00
Cedric BAIL 31cac0d124 ecore: fix use of unitialized Ecore_X_Atoms.
SVN revision: 73186
2012-07-03 02:41:35 +00:00
Sebastian Dransfeld 1676ef5aad ecore: Rename Mode to AltGr
SVN revision: 72980
2012-06-28 07:30:32 +00:00
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
Stefan Schmidt 902e35e461 Revert "ecore/xinerama: Don't do an assingment after return."
This reverts commit 47fe99646f879b555b1048b900e27e67dc20bd98.

SVN revision: 72877
2012-06-26 11:48:35 +00:00
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
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
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
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 dec06820ec trivial -Wshadow fix
SVN revision: 71689
2012-06-04 20:49:02 +00:00