Commit Graph

67 Commits

Author SHA1 Message Date
Mike Blumenkrantz 6b13c32a78 remove annoying trailing comments
SVN revision: 65851
2011-12-03 19:41:12 +00:00
Sung-Jin Park 19ab8e3f74 From: Sung-Jin Park <sj76.park@samsung.com>
Subject: Re: review request : ecore x patch for X Gesture extention

Do you remember that I told you X gesture extension patch for ecore x ?
I’d like to put the attached patch to ecore_x in upstream.
This patch is just for initializing/receiving X gesture extension stuff.
Would you please put this in SVN ? : )
Thanks and regards,
Sung-Jin Park



SVN revision: 64732
2011-11-04 12:44:28 +00:00
Carsten Haitzler 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +00:00
Carsten Haitzler f543d932c4 segv over there in xlib ecore_x... suddenly... in a test app.
SVN revision: 64012
2011-10-12 09:26:09 +00:00
Carsten Haitzler 8c26779f16 update modifiers on mapping changes too.
SVN revision: 63665
2011-09-29 09:56:07 +00:00
ChunEon Park bda5802e9a ecore/ecore_x - modified to support double/triple clicked for multi touch device.
Actually, basic logic is same, 
but added the touch down info structure to store down timestamp (and window, event window...) for each device. 



SVN revision: 62980
2011-08-30 05:15:53 +00:00
Sebastian Dransfeld ea52155aeb ecore: Fix shadow warnings
SVN revision: 62562
2011-08-18 10:59:24 +00:00
Tom Hacohen 6a2929e448 Ecore X: Added Xfixes selection notification support.
Now we can get notifications for changes in X selection. This is very useful
for text editors that want to disable their "paste" button when there's
nothing to paste.

SVN revision: 62205
2011-08-08 14:36:02 +00:00
Christopher Michael 8a63b0c909 Ecore_X: Xlib uses screen number, not screen object. Fix !! Bad DH,
spank spank ;)

Thanks antognolli for the report :)



SVN revision: 61760
2011-07-26 13:17:52 +00:00
Christopher Michael f694f08de5 Ecore_X: Add some new api functions for getting default
Depth/Visual/Colormap of a given screen.

NB: Added these so that we can remove xlib specific calls in
ecore_evas and just generic ecore_x calls (so we are engine
independant).



SVN revision: 61742
2011-07-26 11:19:55 +00:00
Christopher Michael 72abee3481 Ecore_X: Add a missing function for getting the count of screens.
Bonus: Added doxy and the @since stuffs (for Tom) ;)

NB: Needed for changes to ecore_evas as that was using xlib
ScreenCount. This way we can just use ecore_x_screen_count_get and not
have to worry if we are xcb/xlib/etc.



SVN revision: 61728
2011-07-26 06:44:12 +00:00
Christopher Michael 9e994ffdd0 Ecore_X: Add some doxy for newly added functions (to keep Tom happy),
and fix some horrid formatting.



SVN revision: 61562
2011-07-21 14:05:27 +00:00
Christopher Michael cd65bde09c Ecore_X: Add a couple of missing functions to the xlib engine.
NB: These are mainly for systray module so that it can be engine
independant in that it can just use ecore_x calls now, instead of
specific xlib stuff.



SVN revision: 61555
2011-07-21 12:09:33 +00:00
Christopher Michael 4c5e65e442 Ecore_X: Add missing shift_lock modifier. Remove unused _ecore_x_ic
variable. Add atom for VisualID (for systray module).



SVN revision: 61377
2011-07-14 15:37:04 +00:00
Naruto TAKAHASHI 39164fb44d ecore-x: Remove XIM
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61257
2011-07-12 02:26:19 +00:00
Gustavo Sverzut Barbieri 7074e168e1 A voice in my head said "vtorri will go after you if you don't provide a changelog for those auxiliary functions"
SVN revision: 59762
2011-05-27 19:38:14 +00:00
Gustavo Sverzut Barbieri 7233dba9d8 provide a way to query screen size (just the default screen right now).
NOTE: I don't have xcb, so it's untested. It is supposed to work given
http://www.x.org/releases/X11R7.5/doc/libxcb/tutorial/#DefaultScreen



SVN revision: 59760
2011-05-27 19:17:04 +00:00
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +00:00
Christopher Michael 73e540f6d6 Ecore_X: Xlib - Set correct doxy group for function.
SVN revision: 58304
2011-04-03 16:06:37 +00:00
Carsten Haitzler cf7eca75f8 fix oh so many warnings and potential errors - scan report.
SVN revision: 56104
2011-01-14 07:03:33 +00:00
Carsten Haitzler c3ffeee9e1 ecore_x -> add mapping change event for when key/pointer/modifier
mappings change (xmodmap or kbd layout change).
fix other events to have proper eina_bool too and enums
also remove already disabled old unimplemented events commented out.



SVN revision: 53942
2010-10-28 00:32:43 +00:00
Carsten Haitzler 9817dfe5a5 note -= we may leak display struct here...
SVN revision: 53668
2010-10-20 14:10:55 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Vincent Torri 29ec0433ab int --> bool
Please review it. i don't have the courage to read
everything again

It should compile on linux (committed from windows, but
corrected at the same time on linux. Thank you, VirtualBox
devs !)

SVN revision: 52784
2010-09-26 17:49:05 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Lucas De Marchi bbc863fbe7 init/shutdown ecore in ecore_x_init
2 simple rules:
 1) init what you use
 2) shutdown what you init



SVN revision: 50836
2010-08-05 13:50:47 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Mike Blumenkrantz d07a90f62a re-uncrustify
SVN revision: 50745
2010-08-02 17:47:49 +00:00
Carsten Haitzler bdce85e21c del x fd handler before close.
SVN revision: 50669
2010-07-30 02:44:43 +00:00
Mike Blumenkrantz e248c8b6fc uncrustify so T_UNIX will stop nagging me! :)
SVN revision: 50583
2010-07-28 05:23:42 +00:00
Lucas De Marchi 01d20339dd Create interface to system bell
Only the xlib implementation is done. It's calling XBell() to alert user.



SVN revision: 50290
2010-07-16 20:54:18 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Carsten Haitzler eb886add0e be mroe explicit on keeping im handle.
SVN revision: 49444
2010-06-04 06:36:54 +00:00
Carsten Haitzler eaad0eb095 big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking
  
presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html



SVN revision: 49087
2010-05-21 07:10:45 +00:00
Carsten Haitzler e5d2bea7ec oops! screen 0 not 1!
SVN revision: 46779
2010-03-02 08:06:37 +00:00
Carsten Haitzler 02d8dc445f why do a round trip for local info like.. root window # 0...
SVN revision: 46460
2010-02-25 12:26:25 +00:00
Carsten Haitzler b0045cb9b7 add lots of logging functions - for trackign x overhead when u cant get
symbols... booo! - disabled of course.



SVN revision: 46458
2010-02-25 12:19:02 +00:00
Carsten Haitzler eb650a7300 some roundtrips--
SVN revision: 46420
2010-02-24 04:36:22 +00:00
Carsten Haitzler 7e5b054289 little shim - disabled, but can be used in future to hunt down round-trips.
SVN revision: 46139
2010-02-13 13:32:21 +00:00
Carsten Haitzler 921587e70b more work on the sync stuff... looking good now.
SVN revision: 45772
2010-02-01 14:13:48 +00:00
Carsten Haitzler a5d8c4f9b8 make genericevent ifdefed - obviously is too new. oddd - it's on ubuntu 9.04
- which isnt too new.



SVN revision: 45349
2010-01-20 00:09:26 +00:00
이상진 6052f73462 From: 이상진 <lsj119@samsung.com>
generic events exposed from ecore_x (if you have the newest xlib goop like xi2)



SVN revision: 45318
2010-01-19 05:13:58 +00:00
Carsten Haitzler 258f47f511 also more multitouch suport improvements.
SVN revision: 45249
2010-01-17 08:52:38 +00:00
Sebastian Dransfeld 8007e73077 Patch from Mathieu Taillefumier
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.

SVN revision: 44933
2010-01-07 00:30:05 +00:00
Vincent Torri a4b0afb1e4 * move structures from ecore_private.h to the corresponding source files
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
   no test is done in those 2 functions
 * remove standard headers from ecore_private.h



SVN revision: 44862
2010-01-03 21:55:50 +00:00
Sebastian Dransfeld 0a9456ccf7 Remove duplication from ecore headers
Clean up Ecore.h and ecore_private.h

SVN revision: 44664
2009-12-22 21:15:12 +00:00
Cedric BAIL d8e1895350 * ecore: Use eina_log.
Patch from Mathieu Taillefumier.


SVN revision: 44637
2009-12-21 17:32:19 +00:00
Vincent Torri 4072d0b23d * check the returned value of the _init() functions
* simplify a bit the init/shutdown functions


SVN revision: 42995
2009-10-10 05:28:43 +00:00
Vincent Torri 3c7680e6cb * add ecore_x_atom_name_get() API (will be used by ewl)
* move atom related functions from ecore_x.c to ecore_x_atom.c


SVN revision: 41283
2009-07-09 04:55:11 +00:00
Carsten Haitzler dc09494b26 hmm why wasnt this committed?
SVN revision: 40535
2009-05-07 13:27:59 +00:00