Commit Graph

436 Commits

Author SHA1 Message Date
Carsten Haitzler c9c3ca7f1d improve xdnd performance by thousdands of times. it was HORRID. note the
comments in the code.


SVN revision: 32694
2007-11-15 04:48:36 +00:00
Gustavo Sverzut Barbieri 6983cf7503 Cleanup ecore_x_window_background_color_set().
SVN revision: 32553
2007-11-10 23:15:03 +00:00
Sebastian Dransfeld c9a0f84f4c No need to cast int to double when we return an int.
SVN revision: 32397
2007-11-06 06:12:43 +00:00
Gustavo Sverzut Barbieri d2781df7a0 Missing double->int
SVN revision: 32391
2007-11-05 21:18:35 +00:00
Gustavo Sverzut Barbieri 8faf97e494 Fix ecore_x_screensaver insanity
SVN revision: 32386
2007-11-05 20:47:29 +00:00
doursse be1229247a autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32338
2007-11-04 09:29:20 +00:00
tilman 75bd5e8902 Ecore now checks whether the composite extension is available before trying to open an ARGB window.
SVN revision: 31986
2007-10-06 08:37:34 +00:00
Carsten Haitzler 35cd952691 fix valgrind complaint (bad! its a string but its not 0 byte terminated!!!
its just a data lump!).

compact the lists of child windows down based on results of scan of children.

printf--


SVN revision: 31979
2007-10-05 12:39:06 +00:00
Carsten Haitzler 7fb1a30d72 printf--
SVN revision: 31978
2007-10-05 12:24:32 +00:00
Carsten Haitzler 34afff4284 add a shadowed window tree that allows you to fetch all the window tree in 1
hit (well a series of round trips) then keep it stored to find what window a
co-ordinate is in to avoid later round-trips.


SVN revision: 31976
2007-10-05 12:11:45 +00:00
Carsten Haitzler 7a7607d656 ok fixed visibility event. now it works as planned.
SVN revision: 31832
2007-09-27 15:43:08 +00:00
Carsten Haitzler 875a5cc6f9 patches from lutin
SVN revision: 31688
2007-09-11 12:27:03 +00:00
Carsten Haitzler 38962990d0 lok's xdnd work.
SVN revision: 31377
2007-08-18 10:35:47 +00:00
Peter Wehrfritz cd20fbc9d9 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Carsten Haitzler db6835417d we really don't need this event filter. remove.
SVN revision: 30339
2007-06-16 03:29:43 +00:00
tilman c9ddb45e1f don't check for errors in the xcb_create_colormap call
SVN revision: 29974
2007-05-13 08:40:28 +00:00
tilman d516be0740 refactored event handling code somewhat
SVN revision: 29966
2007-05-12 13:37:16 +00:00
tilman ff3449dd48 remove debugging helpers
SVN revision: 29965
2007-05-12 13:28:04 +00:00
tilman 1e6ce6f2fc pass the right window to xcb_create_colormap
SVN revision: 29964
2007-05-12 13:18:34 +00:00
tilman 82f3a8d08c check for pict formats with depth == 32src/lib/ecore_x/ecore_xcb_window.c
SVN revision: 29963
2007-05-12 12:34:00 +00:00
tilman d9a2904f19 don't look up our screen twice
SVN revision: 29960
2007-05-12 11:28:09 +00:00
tilman 84c04021f8 those indices look a bit fragile to me ...
SVN revision: 29951
2007-05-11 17:53:50 +00:00
tilman 3af57389ca fixed atom retrieval. atom names are NOT NUL-terminated.
SVN revision: 29950
2007-05-11 17:31:49 +00:00
tilman d5c7189898 keep the atom init cookie list in a local variables, rather than in global variables. memory usage--
SVN revision: 29910
2007-05-07 18:21:53 +00:00
tilman 79e2242f6b global string tables suck ass. this is better.
SVN revision: 29906
2007-05-07 17:57:46 +00:00
rephorm 3259061f6e if we can't convert to the requested target, fail so that requesting app can re-request a different type
fix broken logic  (!foo == -1) is always false


SVN revision: 29616
2007-04-21 02:57:51 +00:00
doursse 61543a8933 Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
   configuration. To enable it, add --enable-ecore-x-xcb. See the
   messages that configure displays when it finishes.
 * The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
   should be improved
 * Any program that uses ecore_evas does not need to be modified.
   Any program that uses ecore_x may need some changes. That is,
   adding some functions (_prefetch and _fetch ones). No other
   change is needed. See the documention of any _get functions, as
   these are the ones that need those functions.
 * There are some missing parts, especially everything that involves
   the keyboard, as porting Xlib functions related to strings (utf8
   stuff, XKeysymToString, etc...) is an horror. So keyboard events
   are not working yet.
 * I tried to write as much documentation as I could. But there is
   certainly some missing doc here and there.

there are certainly other things that I have forgotten.

Improvements of that backend:
 * the creation of an ecore_evas is faster. Especially when done over
   an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
   over an ssh)
 * A Window Manager should be more responsive. But it's not tomorrow
   that e17 will use it :)

Have fun !


SVN revision: 29500
2007-04-13 17:15:19 +00:00
Kim Woelders d7864b4d6b Add missing declaration (ECORE_X_ATOM_NET_STARTUP_ID).
SVN revision: 29447
2007-04-08 20:52:54 +00:00
Carsten Haitzler c6f6863b57 so ravenlock gets his screensaver stuff in
SVN revision: 29343
2007-04-04 11:43:29 +00:00
tilman 4705ff7f0b removed ecore_x_reply. we don't need to link to ecore_job anymore, either.
SVN revision: 28843
2007-03-21 03:03:33 +00:00
Christopher Michael 75f052383e Part 1 of ravenlocks mouse acceleration patch that provides the ecore_x
functions for setting mouse accel.


SVN revision: 28821
2007-03-20 00:54:49 +00:00
Michael Jennings feabcdfe64 Thu Mar 15 12:20:27 2007 Michael Jennings (mej)
Re-apply the previously reverted patch and add (I think) the correct
fix for ecore-config.  I haven't tested this extensively, but edje
builds okay with it, so hopefully it's right.
----------------------------------------------------------------------


SVN revision: 28755
2007-03-15 22:21:28 +00:00
Michael Jennings 3edb26cf60 Wed Mar 14 21:57:38 2007 Michael Jennings (mej)
Reverting changes; kindly test patches BEFORE applying them.
----------------------------------------------------------------------


SVN revision: 28732
2007-03-15 07:57:43 +00:00
doursse 4fb1500d27 accidently removed screensaver test
SVN revision: 28726
2007-03-15 00:32:30 +00:00
doursse 9185ef8961 use AC_CHECK_X_EXTENSION macro to check X extension
SVN revision: 28725
2007-03-15 00:26:39 +00:00
doursse bbbec0d61e add ecore_x_drawable.c
SVN revision: 28723
2007-03-15 00:23:56 +00:00
Sebastian Dransfeld 36e603707f Check if screensaver extension is available.
SVN revision: 28720
2007-03-14 12:11:21 +00:00
Sebastian Dransfeld ff2d251911 Only wrap Screensaver extensions.
SVN revision: 28719
2007-03-14 12:06:49 +00:00
Sebastian Dransfeld 70be3f56aa For all who writes X wrappers. If a user decides to not link against a
library, the functions will not resolve at link time. So we need to wrap
them in cpp #ifdef's.


SVN revision: 28709
2007-03-14 01:40:16 +00:00
Christopher Michael a90e76863a With Seb's recent #ifdef's the if (!dpms_available) checks are not needed now.
SVN revision: 28700
2007-03-13 16:49:48 +00:00
Sebastian Dransfeld 8e3275490b Declare function.
SVN revision: 28698
2007-03-13 16:29:02 +00:00
Sebastian Dransfeld aae6f6e920 Support for system which do not have DPMS at all.
SVN revision: 28693
2007-03-13 16:05:57 +00:00
Christopher Michael 6b4ae8ce60 Call correct DPMSGetVersion function.
SVN revision: 28691
2007-03-13 11:14:44 +00:00
Christopher Michael c537ed8e3c Fix up ecore_x_dpms...formatting, removed the static int's for dpms version
as they are not used anywhere other than the init function. Added traps for
dpms_available before calling any dpms functions.


SVN revision: 28687
2007-03-13 09:30:17 +00:00
doursse de95d8bd42 Move cursor and drawable functions to their own file. DPMS: Add doc, init function, ecore_x_dpms_timeouts_get and rename ecore_x_dpms_capable. As my xorg does not have the dpms extension, someone else has to add its test in configure.in (like other extensions)
SVN revision: 28627
2007-03-09 01:11:09 +00:00
Christopher Michael 6b044dfb13 Applied Ravenlock's screensaver patches.
SVN revision: 28345
2007-02-13 16:24:37 +00:00
Christopher Michael c6652505b7 Added Ravenlock's DPMS code for ecore_x.
SVN revision: 28335
2007-02-13 02:29:01 +00:00
Carsten Haitzler e1f4f1c1cf custom screensaver patches
SVN revision: 27629
2006-12-29 02:56:33 +00:00
Sebastian Dransfeld 368d44ce5d Revert change, premature.
SVN revision: 27515
2006-12-19 06:51:51 +00:00
Sebastian Dransfeld bf9059d260 Convert target to string, the user will probably do this anyway.
SVN revision: 27514
2006-12-19 06:40:30 +00:00