Commit Graph

662 Commits

Author SHA1 Message Date
Christopher Michael 8e455fa1e6 Add another illume 'mode'. This allows us to know if we are top/bottom or
left/right.



SVN revision: 44768
2009-12-29 22:14:38 +00:00
Christopher Michael fcbe8a2eca Add quickpanel state functions (get/set/send).
Add quickpanel atoms.



SVN revision: 44739
2009-12-28 02:13:20 +00:00
Christopher Michael 1aaab52a75 Add atoms/props/functions to set/get if a window is a 'illume quickpanel'.
Fix some formatting.



SVN revision: 44692
2009-12-23 15:26:19 +00:00
Christopher Michael 2a687cab8b Remove winlist atoms/props/functions...I was under the wrong impression wrt
this.



SVN revision: 44685
2009-12-23 13:10:34 +00:00
Christopher Michael 7e2fbfb949 Add missing vkbd atoms/states to functions where needed.
Add atoms/states for illume winlist.



SVN revision: 44674
2009-12-23 01:48:25 +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
Cedric BAIL 78fdf79b00 * ecore: Cleanup some warning.
SVN revision: 44631
2009-12-21 16:17:29 +00:00
Carsten Haitzler 770e14eebe fmting
SVN revision: 44561
2009-12-19 00:50:44 +00:00
Christopher Michael b785c6bdc6 Add atoms & functions to set/get if illume dragging is enabled on a given
window.



SVN revision: 44511
2009-12-16 19:43:53 +00:00
Christopher Michael 67ade18c0f Add atoms for illume drag start & end so that policies can handle dragging
in their own way.



SVN revision: 44492
2009-12-16 02:20:38 +00:00
Carsten Haitzler 01c8e1637e more vkbd states
SVN revision: 44470
2009-12-15 06:38:16 +00:00
Christopher Michael d3fc8d4fa4 Add method to send illume_back and illume_close messages.
SVN revision: 44399
2009-12-12 00:46:54 +00:00
Christopher Michael 636cadeaca And set the other illume atoms in ecore_x_atoms.c
SVN revision: 44379
2009-12-11 20:07:34 +00:00
Christopher Michael 1a3eec2e91 Add way to trigger illume dual/single app mode via client messages.
(and fix some formatting)



SVN revision: 44378
2009-12-11 19:51:47 +00:00
Sebastian Dransfeld 73cde2ffa2 Make clang happy
SVN revision: 44257
2009-12-07 21:01:26 +00:00
Christopher Michael 4811502558 Fix illume_conformant to return 0 if the atom is not setup on the xwin.
SVN revision: 44234
2009-12-07 02:04:23 +00:00
Christopher Michael b7d7d87d18 Add functions to make it easy to set an illume conformant window.
SVN revision: 44220
2009-12-06 17:31:04 +00:00
Christopher Michael 414593cbca Add Atom for Illume Compliance.
SVN revision: 44110
2009-12-01 21:31:44 +00:00
Christopher Michael 1cf4a25eed minor formatting.
SVN revision: 43855
2009-11-21 01:34:49 +00:00
Mikhail Gusarov a704b35961 Use proper index to select mask in _ecore_xcb_key_mask_get
SVN revision: 43607
2009-11-10 22:15:00 +00:00
Vincent Torri ba758fdd47 return immediatly if the title is NULL
SVN revision: 43247
2009-10-24 09:58:46 +00:00
Vincent Torri 198b55badb return immediatly if we set NULL for the title of a window
i don't know what to do for ecore_x_icccm_name_class_set().
Should i return immediatly if one of the name or class is NULL ?


SVN revision: 43246
2009-10-24 09:48:33 +00:00
Vincent Torri 15d338f766 warnings--
SVN revision: 43114
2009-10-16 09:25:08 +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 4cccce6dfe query sync counter. Round trip to fix, though
SVN revision: 42835
2009-10-01 09:03:23 +00:00
Carsten Haitzler 5a9e8df882 from jeffdameth: query sync counter
SVN revision: 42833
2009-10-01 08:43:54 +00:00
Vincent Torri 160d5c97b2 send last timestamp as time.
SVN revision: 42832
2009-10-01 08:30:24 +00:00
Carsten Haitzler b38556b7b9 send last timestamp as time.
SVN revision: 42831
2009-10-01 08:23:00 +00:00
Mikhail Gusarov 8b293c2209 Fix memory corruption in ecore_xcb_window.c::ecore_x_window_children_get
Function allocated reply->children_len bytes, and then copied
sizeof(Ecore_X_Window) * reply->childen_len bytes into the buffer, leading
to memory corruption.

SVN revision: 42624
2009-09-22 18:18:28 +00:00
Carsten Haitzler d6cdd8131b 1. ecore-evas doesnt disable draws to fully obscured windows if compositoir
is there
2. static atom for compositor check
3. stop filterng out mouse moves for better scroll momentum checks



SVN revision: 42182
2009-09-02 12:48:56 +00:00
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
Iván Briano d4d14f54ed Very basic Input Method support. For now, it only uses X default to support things like composed characters with deadkeys kb layouts.
SVN revision: 38008
2008-12-08 00:28:37 +00:00
Massimiliano Calamelli 3292fa9100 Fix doxy
SVN revision: 37526
2008-11-06 15:59:28 +00:00
Vincent Torri 9b19b7dec4 autotools fixes
* remove useless _DEPENDENCIES variables
 * remove useless files in EXTRA_DIST
 * use -no-undefied directly
 * add some flags when the host is windows ce

make distcheck succeeds on my computer

next step will be to fix the horrible mess in Ecore.h and ecore_private.h


SVN revision: 37406
2008-11-02 09:01:35 +00:00
Sebastian Dransfeld c42322aebf Remove unused variable.
SVN revision: 37217
2008-10-27 09:49:49 +00:00
Sebastian Dransfeld 381dc201ad Fix sign warning.
SVN revision: 37216
2008-10-27 09:49:37 +00:00
Miculcy Brian 0660f3a086 fix warnings, thanks thomasg
SVN revision: 36643
2008-10-13 23:27:58 +00:00
Cedric BAIL 3d49d88a32 Make ecore depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36622
2008-10-13 15:59:19 +00:00
Carsten Haitzler 2549f9a0c3 don't leake keysyms!
SVN revision: 36486
2008-10-06 22:56:35 +00:00
Carsten Haitzler 4d3f6362b6 fix dpi check! oops!
SVN revision: 36210
2008-09-24 13:03:54 +00:00
Carsten Haitzler 44fc837b6a add simple dpi get call
SVN revision: 36205
2008-09-24 10:18:26 +00:00
Carsten Haitzler 1dce18e33a illogict - patch for right lefty mouse...
- ecore-x-pointer_mapping_support.patch: add support for modifying
pointer button mapping



SVN revision: 36113
2008-09-20 02:19:38 +00:00
Carsten Haitzler c4624ffa93 add event_win's to all events that didnt have them before - needed.
SVN revision: 36091
2008-09-19 09:29:27 +00:00
Peter Wehrfritz 3deae56fa1 fix primary selection, probably also clipboard selection
SVN revision: 35856
2008-09-06 21:55:01 +00:00
Sebastian Dransfeld 43365e056b source action patches from Fedor Gusev
SVN revision: 35519
2008-08-17 18:12:23 +00:00
Sebastian Dransfeld 97eed7e2dc ignore
SVN revision: 35481
2008-08-14 17:57:32 +00:00
Peter Wehrfritz b57eac0726 fix warnings
SVN revision: 35262
2008-07-30 22:59:23 +00:00
doursse 3f80f51a24 add ecore_x_window_shadow* api, use latest xcb_icccm api, remove trailing spaces, formatting
SVN revision: 35243
2008-07-29 09:00:17 +00:00
Michael Lauer 2bbdd8f3d2 fix building ecore without X
SVN revision: 35215
2008-07-25 11:42:02 +00:00
Michael Jennings 038fd1f7be s/KEYOBARD/KEYBOARD/g
SVN revision: 35210
2008-07-25 02:21:03 +00:00
Carsten Haitzler cea0975be9 force unknown -> 0
SVN revision: 35208
2008-07-25 01:54:26 +00:00
Carsten Haitzler ca8b5a99d2 e vkbd hint wrappers!
SVN revision: 35207
2008-07-25 01:45:36 +00:00
Carsten Haitzler 7c4a4bae8e actually just handle datatype properly.
SVN revision: 35195
2008-07-23 21:01:36 +00:00
Carsten Haitzler 4eacb3e2cd ignore unkown atom types
SVN revision: 35194
2008-07-23 20:58:47 +00:00
doursse ef61dbeb14 Big change in configure.in, ecore_x and ecore_evas. Everything compile nicely
after a make maintainer-clean, with xlib or xcb. e17 also has no problem.
Please report any problem. Thanks

 * put xlib and xcb specific code in their own directories inside ecore_x
 * fix xcb logic check in autotools and ecore_evas
 * update configure.in for detection of ecore_evas with xlib and xcb support,
   update ecore_evas accordingly. Note that e17 needs a little fix after that,
   it will come in a few minutes


SVN revision: 35188
2008-07-23 10:00:01 +00:00
Carsten Haitzler d279771011 add some more calls needed for better key faking
SVN revision: 35126
2008-07-16 17:05:31 +00:00
doursse 70040d4b80 remove trailing spaces
SVN revision: 35102
2008-07-13 20:20:48 +00:00
Carsten Haitzler 8517245233 and fix mwm hint
SVN revision: 35041
2008-07-09 15:28:10 +00:00
Carsten Haitzler 237956fa62 moe all atom fetching to 1 round trip instead of 200 of them... and mrge into
1 bit of code to do it.


SVN revision: 35039
2008-07-09 15:18:55 +00:00
Carsten Haitzler fa688b14b1 actually make activate work! oops. wrong event mask
SVN revision: 34962
2008-07-01 07:12:27 +00:00
Carsten Haitzler 542e51691b ecore_evas activate call.. uses netwm one... eek. need to add xcb.
SVN revision: 34949
2008-06-30 08:39:36 +00:00
Carsten Haitzler c346a633c7 fix grab key to limit window event reporting properly.
SVN revision: 34851
2008-06-18 11:36:21 +00:00
Sebastian Dransfeld 6da1cd605d No need to get target twice.
SVN revision: 34818
2008-06-13 21:42:13 +00:00
Viktor Kojouharov d410dcd75b ecore_x:
* in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window
  * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events

e:
  * make sure e_manager_current_get returns the correct manager for the current screen
  * fix various modules to use the correct window, when dealing with events


SVN revision: 34705
2008-05-30 22:30:57 +00:00
Carsten Haitzler 21bfa5b0d6 gak! al the siginfo handlign was wrong. u'd get bogus siginfo data from
whatever child exited last - not the one u wanted, not to mention all other
signals. now there's a queue at least. 256 long. moight be a bit too long.


SVN revision: 34442
2008-05-03 08:15:16 +00:00
Carsten Haitzler 0a0f8904f2 add xtest faking key support.
SVN revision: 34128
2008-03-28 14:38:35 +00:00
Sebastian Dransfeld 0c387e3c74 Remove unused variable
SVN revision: 34010
2008-03-13 06:36:50 +00:00
Carsten Haitzler 87a6db7703 add in a types get - as u can have a list of them.
SVN revision: 33951
2008-03-07 11:02:22 +00:00
Carsten Haitzler 69f298c228 netwm type stupports an array of types. we dont handle it. bad. for now take
only the most important one (first) and note this issue.


SVN revision: 33944
2008-03-06 10:19:21 +00:00
doursse fc81ca730c remove trailing spaces
SVN revision: 33800
2008-02-20 18:22:42 +00:00
doursse 08bbba9e24 use the new api for the screensaver
SVN revision: 33799
2008-02-20 18:20:51 +00:00
Sebastian Dransfeld 1ff7daa0bb revert_to can't be PointerRoot, should probably be RevertToPointerRoot
SVN revision: 33737
2008-02-12 20:34:41 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Eric Schuele acb7b70c19 Change name for consistency
SVN revision: 33271
2007-12-28 22:58:48 +00:00
Eric Schuele bedfcfc24c If ecore detects and is build with xrandr support, yet any given display does not actually support it... we need a test.
SVN revision: 33260
2007-12-27 06:34:38 +00:00
Stafford Mitchell Horne b1088e8a16 Fix some typos found when working on XIM.
Add filter for XIM context priming


SVN revision: 33159
2007-12-16 01:41:15 +00:00
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