Commit Graph

531 Commits

Author SHA1 Message Date
Kim Woelders 1db0b28f52 The functions ecore_x_window_prop_card32_list_get, ecore_x_window_prop_xid_get, and ecore_x_window_prop_xid_list_get were buggy.
The original intention was that if the property is absent or not of extected type (or invalid window) they should return -1, otherwise they should return the number of elements in the property, 0 if none.

Unfortunately they all returned 0 if the property does not exist. Also, ecore_x_window_prop_xid_list_get retuned 0 if the property exists, has no elements, but has wrong type (should be -1).

These issues should be fixed now but this may cause problems in any code that relied on the incorrect behavior.



SVN revision: 41418
2009-07-18 10:27:51 +00:00
Carsten Haitzler a2b75fa66c free list
SVN revision: 41411
2009-07-18 09:35:22 +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
Vincent Torri 20108eea57 Add Region API to ecore_x (Xlib using Region and XCB using pixman).
This allow to use the same code in ecore_evas for Xlib and XCB


SVN revision: 40959
2009-06-08 06:34:20 +00:00
Carsten Haitzler dc09494b26 hmm why wasnt this committed?
SVN revision: 40535
2009-05-07 13:27:59 +00:00
Vincent Torri 4065fdd4f5 API BREAK
fix consistentness of ecore_x API. Rename some _del functions to _free ones.

See ticket #302


SVN revision: 40532
2009-05-07 08:35:00 +00:00
Andreas Volz f73ad689da added xlib implementation for ecore_x_default_screen_get
SVN revision: 40511
2009-05-05 18:50:29 +00:00
Massimiliano Calamelli 9dd0697b54 Place the ECORE_XSS #endif in the right place, otherwise ecore fails to buils if there is no screensaver extension
SVN revision: 40503
2009-05-03 21:26:08 +00:00
Gustavo Sverzut Barbieri a5428a4ca3 no idea why this flag is required, but doing like others do...
SVN revision: 40493
2009-05-02 23:41:09 +00:00
Gustavo Sverzut Barbieri 79631a6f0f xrandr1.3 support: first steps (events).
starting to implement xrandr 1.3 support, now we support all events
and their fields.

This commit also fix way that extensions register their ids and
base. The way it was, ids was being added to the last event id, that
was wrong! Fortunately, those that were wrong had just one event and
always added "0", making no harm.



SVN revision: 40492
2009-05-02 23:34:29 +00:00
Vincent Torri 90061cb121 add to the API the function ecore_x_drawable_rectangle_fill() that
fills a rectangle on the specified drawable. It will be used in ecore_evas
to factorize the code.


SVN revision: 40358
2009-04-25 07:16:26 +00:00
Vincent Torri 4aea12e286 free the events sent by the X server
SVN revision: 40271
2009-04-21 17:42:25 +00:00
Vincent Torri 8801b817ea typo
SVN revision: 40217
2009-04-19 08:39:09 +00:00
Vincent Torri b7f578680c fix ecore_input use
SVN revision: 40216
2009-04-19 08:37:50 +00:00
Vincent Torri ead9bbaf36 fix default values of z and direction
SVN revision: 40215
2009-04-19 08:37:08 +00:00
Vincent Torri aef319dc5f more fixes
SVN revision: 40211
2009-04-19 07:16:11 +00:00
Vincent Torri bfb89c4857 missing guards--
SVN revision: 40209
2009-04-19 06:46:02 +00:00
Vincent Torri aaa733d25b * fix warnings
* add missing guards
 * add missing QueryVersion check for the screensaver extension


SVN revision: 40207
2009-04-19 06:36:47 +00:00
Vincent Torri f0612cc992 Typo reported by Cedric Ollivier, thanks !
SVN revision: 40163
2009-04-18 12:08:56 +00:00
Gustavo Sverzut Barbieri 0f8b812d0c fix bad sed by someone else.
SVN revision: 40139
2009-04-17 16:02:07 +00:00
Carsten Haitzler ce5a59b7e5 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Gustavo Sverzut Barbieri babc8d254f export way to handle raw xlib/xcb events.
Patch by Kenneth Christiansen, xcb by me and untested.



SVN revision: 40113
2009-04-16 17:29:00 +00:00
Gustavo Sverzut Barbieri aaf395c68f warning--
SVN revision: 40112
2009-04-16 17:17:36 +00:00
Vincent Torri f7d7e4e74a API BREAK
for consistentness, ecore_***_window_del is renamed
ecore_***_window_free


SVN revision: 39918
2009-04-10 08:46:41 +00:00
Viktor Kojouharov 180d492816 add more to the composite api
SVN revision: 39700
2009-03-24 21:31:05 +00:00
Viktor Kojouharov a23cf08162 name window pixmap function in composite
SVN revision: 39674
2009-03-24 10:41:36 +00:00
Vincent Torri 3e94ac52b6 * API BREAK: ecore_gc_new can create now a graphic context
with all the values that the X protocol allows. See
   documentation for more info about its use
 * use it in ecore_evas


SVN revision: 39654
2009-03-23 13:28:59 +00:00
Gustavo Sverzut Barbieri 354b23a12e Make ecore_x_selection a bit more generic, at least on event reporting.
SVN revision: 39633
2009-03-22 18:19:17 +00:00
Vincent Torri 91c7e2c0d2 fix test
SVN revision: 39618
2009-03-22 09:56:43 +00:00
Gustavo Sverzut Barbieri a8838b698e constness++ and warnings--
SVN revision: 39563
2009-03-18 23:51:35 +00:00
Sebastian Dransfeld f388ddcd53 ECORE_X_MODIFIER_* are now internal to ecore_x.
SVN revision: 39543
2009-03-18 08:29:59 +00:00
Cedric BAIL a11beb0a96 * ecore_xcb: Fix key grab too.
SVN revision: 39518
2009-03-17 13:34:40 +00:00
Cedric BAIL bff5617109 * ecore_x: Unbreak E17 use of ALT modifier. Bindings should work again.
SVN revision: 39517
2009-03-17 13:23:04 +00:00
Cedric BAIL c21896a948 * ecore_x_atoms: Refix spotted by Peter.
SVN revision: 39507
2009-03-16 17:33:30 +00:00
Cedric BAIL 57e8d73fba Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Vincent Torri d9d7c7d23b * update configure.ac so that default options are chosen according to the host
* fix requirements
 * fix configuration on mac os x (problem with automake 1.9) and
   add missing values/macro for quartz support
 * small typo in ecore_evas_win32 api
 * use m4 api in m4 files



SVN revision: 39471
2009-03-13 16:35:16 +00:00
Carsten Haitzler 6e471e8dfb handle mapping notify properly - patch from Olof Sjobergh
SVN revision: 39468
2009-03-13 15:55:34 +00:00
Cedric BAIL 6978e98dc6 * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Carsten Haitzler ba7439878b add string.h
SVN revision: 39107
2009-02-19 22:25:07 +00:00
Carsten Haitzler 29cad587b5 filter excess motion events
SVN revision: 38978
2009-02-09 11:16:56 +00:00
Kim Woelders 584ff43a5c Add _NET_WM_ACTION_ABOVE/BELOW.
SVN revision: 38962
2009-02-07 12:16:13 +00:00
Carsten Haitzler 5411f11877 allow ecore_x to use auto-repeat detection - if its in xlib.
SVN revision: 38932
2009-02-04 00:05:42 +00:00
Vincent Torri 29b0f87503 uniformize the inclusion of config.h
SVN revision: 38865
2009-01-31 18:56:17 +00:00
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Christopher Michael 8d70bbf08b Fix nasty formatting and remove extra whitespace.
SVN revision: 38446
2009-01-04 05:03:12 +00:00
Christopher Michael 6c9a1eb720 Fix Sachiel typo...spank, spank ;)
Fix some formatting issues...more to come.



SVN revision: 38445
2009-01-04 04:43:54 +00:00
Iván Briano b00f77795f Ugly. But apparently Solaris does not have the Xutf8* functions
SVN revision: 38443
2009-01-03 21:53:42 +00:00
Iván Briano c76c180b22 Goodbye forgotten debug. We won't miss you.
SVN revision: 38147
2008-12-14 19:26:41 +00:00
Cedric BAIL 642d8686de Remove ecore_hash and eina_hash use from ecore.
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Cedric BAIL e51aa4745a Valgrind complain when doing IC Destroy after XCloseDisplay, doing it before
sounds better to valgrind.


SVN revision: 38021
2008-12-08 14:29:44 +00:00