Commit Graph

211 Commits

Author SHA1 Message Date
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
Kim Woelders 584ff43a5c Add _NET_WM_ACTION_ABOVE/BELOW.
SVN revision: 38962
2009-02-07 12:16:13 +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
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
Sebastian Dransfeld 43365e056b source action patches from Fedor Gusev
SVN revision: 35519
2008-08-17 18:12:23 +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 d279771011 add some more calls needed for better key faking
SVN revision: 35126
2008-07-16 17:05:31 +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 542e51691b ecore_evas activate call.. uses netwm one... eek. need to add xcb.
SVN revision: 34949
2008-06-30 08:39:36 +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 0a0f8904f2 add xtest faking key support.
SVN revision: 34128
2008-03-28 14:38:35 +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 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
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 8faf97e494 Fix ecore_x_screensaver insanity
SVN revision: 32386
2007-11-05 20:47:29 +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 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 38962990d0 lok's xdnd work.
SVN revision: 31377
2007-08-18 10:35:47 +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
Carsten Haitzler c6f6863b57 so ravenlock gets his screensaver stuff in
SVN revision: 29343
2007-04-04 11:43:29 +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
Sebastian Dransfeld 8e3275490b Declare function.
SVN revision: 28698
2007-03-13 16:29:02 +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
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
rephorm 73af9d0e82 send proper timestamp to along with selection notify
(fixes pasting into xterm)


SVN revision: 27428
2006-12-13 19:47:17 +00:00
ningerso 1129668231 Allow for handling the selection data conversion externally from ecore_x, but
provide the same auto-conversion when data is set for the selection.
This should work identically as before, except if the app relied on ecore to
send the notification when no data was present, please test your apps.


SVN revision: 27420
2006-12-11 23:05:48 +00:00
ningerso 9f0f36e903 Send a selection request event when it occurs and expand the event structure to
include useful information. This event handler needs more work to determine when
to convert the data automatically and when to defer to the application handler.


SVN revision: 27324
2006-12-02 06:37:51 +00:00
Kim Woelders bb3f3b8d83 Selection data should be untyped. Add const. Fix warnings.
SVN revision: 26972
2006-11-05 15:14:49 +00:00
ningerso 965166056b Allow data formats other than the specified format when fetching properties.
Pass the actual data format along with property data.


SVN revision: 26206
2006-09-29 05:49:14 +00:00
Kim Woelders d66cfdf684 Requested by tilman.
SVN revision: 25818
2006-09-13 17:45:12 +00:00
moom b69651ceaa * [Ecore_X_Selection] Remove ecore_x_selection_*_request_data_get()
functions from Ecore_X.h since they've never been implemented. Is this
right?


SVN revision: 25192
2006-08-29 22:37:07 +00:00
moom 992bf08f32 * [Ecore_X] "mouse up" events have now double/triple click flags, and
those flags are feeded to the Evas


SVN revision: 25105
2006-08-25 17:27:08 +00:00
ningerso 1ce85d7f7f Move the content description for the selection notify into the data.
Add the content description in provided parsers.


SVN revision: 23884
2006-07-14 09:37:11 +00:00
Carsten Haitzler d7eee7eee6 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
xcomputerman 4c779cfbae Add Visual to window attributes struct
SVN revision: 23151
2006-06-04 05:30:37 +00:00
xcomputerman f9ed237288 Round out support for XserverRegion.
SVN revision: 22743
2006-05-19 15:02:54 +00:00
xcomputerman dc3203d7da Add support for XFixes and XDamage to Ecore_X.
Add atoms for translucency/composite support.


SVN revision: 22729
2006-05-19 06:05:35 +00:00
doursse 721537d546 add ecore_x_netwm_allowed_action_get to the API and remove trailing spaces
SVN revision: 22664
2006-05-17 05:35:56 +00:00
Carsten Haitzler ed43d15147 add xrandr rotation wrappers.
SVN revision: 22544
2006-05-12 07:24:34 +00:00
Carsten Haitzler 28f5c148f8 support argb targets for ecore_evas sw_x11
SVN revision: 21121
2006-03-09 03:51:44 +00:00