Carsten Haitzler
b95ef3801f
setuid safeness - ensure if an app that is setuid doesn't do bad things
...
this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.
2014-01-08 19:46:23 +09:00
Jihoon Kim
8fcedfc017
fix 'found unknown command' warning in generating doxygen
2014-01-06 14:01:15 +09:00
Carsten Haitzler
2ef0f53401
ecore-x - rename new api
2013-12-27 12:02:48 +09:00
Chris Michael
3926b25279
Cleanup ecore_x_window_permanent_create function:
...
- No need for a separate xcb_connection here as we already have a
connection at this point so let's use that.
- Fix up formatting.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-12-26 11:40:32 +00:00
Carsten Haitzler
eb8b643bf2
ecore-x - add call to create a permanent window that is not deleted on exit
2013-12-26 19:01:23 +09:00
Daniel Juyung Seo
76d8532b54
efl: Unified eina critical manro to CRI.
...
Being annoyed by different types of eina critical macros - CRI, CRIT,
CRITICAL -, I concluded to unify them to one. Discussed on IRC and
finally, CRI was chosen to meet the consistency with other macros -
ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 12:27:13 +09:00
Daniel Juyung Seo
17fe60d0db
ecore gesture: removed unused variable.
2013-12-18 23:18:15 +09:00
discomfitor
0f46b8d7ec
fix ecore-x shadow warning
2013-12-12 09:31:08 -05:00
Sebastian Dransfeld
50569a69c9
ecore_x: ensure positive malloc size
...
size_ret is used later as an argument for malloc, so it should be
positive. In addition this should ensure that
ecore_x_window_porp_property_get returns a positive value and is true if
we malloc data.
Hopefully also fixes CID 1135636
2013-12-10 09:10:54 +01:00
Sebastian Dransfeld
4a24b84185
ecore_x: remove double free
...
We first free'd the data in the else, then at the end.
Now we free old_data just before return, and at the end.
Fixes CID 1135637
2013-12-10 08:30:23 +01:00
Carsten Haitzler
82841fefe3
fix seb "fix" commit that causes lots of segvs.
...
this fixes 04e0a6d95e
which introduced
copy & paste segv's by properly terminating the right buffer.
2013-12-09 18:39:07 +09:00
Daniel Zaoui
1ae7a4f5e2
Ecore: add DnD abort from source
...
This can be used to cancel a DnD drag operation in the middle.
2013-12-09 09:11:27 +02:00
Sebastian Dransfeld
8b72bd6e6d
ecore_x: Fix bug in ecore_x_region_invert
...
As bounds is a pointer, bounds + num will always be postive, so this is
an eternal loop. In addition, XFixesInvertRegion only accepts one
region, so num must be 1.
Fixes CID 1039469
2013-12-07 21:11:34 +01:00
Sebastian Dransfeld
c8b8738612
ecore_x: Remove NULL check
...
to get here, old_data != NULL.
Fixes CID 1039648 and 1039649
2013-12-07 21:11:34 +01:00
Sebastian Dransfeld
1905fd4858
ecore_x: Use free, not XFree
...
Data returned from ecore_x_window_prop_property_get are malloced, so use
free, not XFree. Which also is consistent, as free was used on other
occasions.
2013-12-07 21:11:34 +01:00
Sebastian Dransfeld
f4c71fba21
ecore_x: supported isn't an optional argument
...
if supported is NULL, this function isn't of any use.
Fixes CID 1039430
2013-12-07 21:11:34 +01:00
Sebastian Dransfeld
31d0a2d71c
ecore_x: Only use att if call succeeds.
...
XGetWindowAttributes isn't guaranteed to succeed.
Fixes CID 1039692
2013-12-07 21:11:34 +01:00
Sebastian Dransfeld
6b1438af05
ecore_x: Only do memset if len < 20
...
If len is 20, n is 0, and nothing to memset.
Fixes CID 1039311
2013-12-07 21:11:34 +01:00
Sebastian Dransfeld
aca33ef3d9
ecore_x: always free data and return value
...
if we are the selected parser, we are responsible for free'ing data and
returning a selection value.
2013-12-07 21:11:33 +01:00
Sebastian Dransfeld
f22f861f61
ecore_x: Check if we have data
...
data could be NULL and size == 0, so check for this.
Fixes CID 1039264
2013-12-07 21:11:33 +01:00
Sebastian Dransfeld
04e0a6d95e
ecore_x: '\0' terminate converted text
...
This makes ecore_x text converter behave like elm text converter.
Fixes CID 1039310
2013-12-07 21:11:33 +01:00
Sebastian Dransfeld
50feb1f8da
ecore_x: Use eina_inlist
...
ecore_x_selection implemented it's own single linked list. Use
eina_inlist instead.
2013-12-07 21:11:33 +01:00
Sebastian Dransfeld
d09ceaf4c1
ecore_x: Only send XdndEnter when we have types
...
If ecore_x_window_prop_property_get fails, we have no types to drop so
don't send XdndEnter.
Fixes CID 1039693
2013-12-07 21:11:33 +01:00
Sebastian Dransfeld
31fde249d4
ecore_x: Also check for !prop here
...
We check if prop is NULL after first property check, do it here too.
Fixes CID 1039429
2013-12-07 21:11:33 +01:00
Daniel Juyung Seo
e2467724da
ecore ecore_x_e: check 0 and -1 for ecore_x_window_prop_card32_get() return value which mean fail.
...
- ecore_x_window_prop_card32_get() returns:
-1 if the property was not successfully fetched.
0 if the property exists but has no elements.
2013-12-02 12:46:18 +09:00
Daniel Juyung Seo
a5c98947ae
ecore ecore_x_e: initialize local variable to avoid having wrong value.
...
Thanks to devilhorns!
2013-11-27 21:43:06 +09:00
Sebastian Dransfeld
3dc5eb16cc
ecore_x: accept -1 as valid mm size for no change
...
If we pass in w_mm = h_mm = -1 we want no change if w == cw and h == ch,
as we calculate w_mm and h_mm based on these later.
2013-11-07 09:18:16 +01:00
Sebastian Dransfeld
144d124445
ecore_x: store atoms internally
...
No need to request them every time.
2013-11-07 09:18:16 +01:00
Sebastian Dransfeld
a7382dacfa
ecore_x: get correct property
...
Since the function is ecore_x_randr_output_connector_type_get, I guess
we want RR_PROPERTY_CONNECTOR_TYPE, not RR_PROPERTY_CONNECTOR_NUMBER.
2013-11-07 09:18:16 +01:00
Carsten Haitzler
b07c0a76ce
alpha1 release autofoo/build tree work to pass distcheck and actually work
2013-11-04 18:33:35 +09:00
Chris Michael
3cc4efaf50
Fix doxy typo/grammar
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:16:10 +01:00
discomfitor
42fb964592
ecore-x xlib errors now only print when sync is enabled
...
I give up. people continually complain about these and submit them as crashes, so now they're only visible if you set ECORE_X_SYNC. the next step is an #ifdef ISCOMFITOR.
2013-08-25 17:15:19 +01:00
Mike Blumenkrantz
5e8e8aec7d
print error when ecore-x shm check fails
2013-08-07 08:36:46 +01:00
Chris Michael
585ad86480
Patch from Phoenix Kayo <kayo@illumium.org> to fix
...
ecore_x_selection_parser functions for mozurl.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 07:44:50 +01:00
Chris Michael
aa75297381
Add #ifdef ECORE_XRANDR around the edid functions.
...
NB: Cannot really happen for 1.8 (as --disable-ecore-x-randr has no
effect), but really these should have been ifdef'd from the start.
NB: IMO, Don't think a ChangeLog is really needed for this....
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-01 15:18:01 +01:00
Chris Michael
55094c9eb0
Set Crtc info->outputs and info->possible to NULL initially.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-26 07:06:58 +01:00
Chris Michael
3e9edcd539
Fix typo
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 13:32:06 +01:00
Chris Michael
551610fa41
Guard against allocating 0 outputs and 0 possible outputs.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 13:09:34 +01:00
Chris Michael
8aef3fa98a
Guard against trying to allocate 0 outputs.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 13:08:18 +01:00
Chris Michael
f287fd33a7
Trap for number of crtcs < 1 so we do not try to allocate space for
...
zero crtcs.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 12:32:49 +01:00
Carsten Haitzler
e945f0d196
ecore-x: fix randr query when noutputs is 0.
2013-07-24 19:22:31 +09:00
Mike Blumenkrantz
ea7bc3f670
revert e7862929e4
...
the ECORE_X_SYNC environment variable exists to make ecore-x debugging synchronous.
printing X errors as they occur is useful for application developers; errors should not
be silenced just because they are inconvenient or plentiful.
2013-07-19 09:02:33 +01:00
Carsten Haitzler
e7862929e4
ecore-x: make error prints DBG not ERR so we don't get spammed
...
because an error with no idea where it came from since its async is
pretty much usless noise. if you want this to be useful you literally
need to do an xsync every x call and be able to get backtraces... the
xsync then would be inside ecore-x. and of course this would be so
nastily slow that you need to make it an option at build...
2013-07-19 09:23:11 +09:00
Mike Blumenkrantz
464dd4f206
disable ecore-x trace debugging...whoops
2013-07-18 06:24:50 +01:00
Mike Blumenkrantz
60111ce8ca
add ECORE_X_SYNC env variable for xlib backend
2013-07-18 06:17:40 +01:00
Mike Blumenkrantz
d77d9134f8
delete e pixmap atom based on atom pixmap atom, not pixmap
2013-07-18 05:21:07 +01:00
Mike Blumenkrantz
ad7933670f
ecore_x_pixmap_free no longer fails when passed 0
2013-07-18 05:21:07 +01:00
Mike Blumenkrantz
23795d1733
add ECORE_X_ATOM_XDND_DIRECTSAVE0
2013-07-17 08:44:22 +01:00
Mike Blumenkrantz
3e45bbecf6
print ecore-x xlib errors when they occur
2013-07-17 08:43:38 +01:00
Carsten Haitzler
c6309b44b2
fix clang sizeof complaint
2013-07-16 19:58:01 +09:00
Carsten Haitzler
d07a30fa25
fix clang sizeof complaint
2013-07-16 19:57:13 +09:00
Carsten Haitzler
604fac4166
ecore-x: vsync_animator_tick_source_set fail if drmWaitVBlank fails
2013-07-16 19:39:10 +09:00
Mike Blumenkrantz
c3916df200
clamp size to ximage size for ecore_x_image_get to prevent BadMatch errors
2013-07-15 09:37:54 +01:00
Mike Blumenkrantz
b67be2ee25
add error messages to ximage function failures
2013-07-15 05:19:23 +01:00
Chris Michael
207ad636fe
Avoid potential divide by zero error.
...
NB: Fixes Coverity CID1039437and CID1039438
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:55:14 +01:00
Chris Michael
7bf6ba1f67
Add missing free(data) reported by jeyzu. Thanks ;)
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:22:20 +01:00
Chris Michael
f880ef9045
Remove erroneous copy/paste of data free
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:04:29 +01:00
Chris Michael
45a2296218
Fix memleak reported by Coverity and replace an XFree call
...
NB: Fixes Coverity CID1039276
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:41:00 +01:00
Chris Michael
0701304205
Fix memleak reported by Coverity and replace some XFree calls with
...
just free.
NB: Fixes Coverity CID1039275
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:39:48 +01:00
Chris Michael
d7600cfbee
Fix memleak of window_prop_property_get
...
NB: Fixes Coverity CID1039274
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:34:28 +01:00
Chris Michael
a01ce5e409
Fix memleak of window_prop_property_get
...
NB: Fixes Coverity CID1039273
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:30:34 +01:00
Chris Michael
e33391ef56
Replace XFree with just free.
...
NB: XFree calls 'free' anyway, so this saves us a function call
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:28:15 +01:00
Chris Michael
d7193f2830
Fix memleak reported by Coverity
...
NB: Fixes Coverity CID1039272
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:27:40 +01:00
Chris Michael
0d12ab48be
Fix memleak spotted by Coverity: ecore_x_window_prop_property_get can
...
allocate space for 'data'. If we return before using it, then free
'data'. If we use it later for XGetAtomName, then we can free if After
we have gotten the atom names and sent the event. (NB: XGetAtomName
will allocate it's own space for the returned name, so this is safe).
NB: Fixes Coverity CID1039271
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:24:21 +01:00
Chris Michael
5969c97f7a
Fix memleaks reported by Coverity: ecore_x_window_prop_property_get
...
allocates space for 'data'. We need to free that if we are going to
return before using it.
NB: Fixes Coverity CID1039270
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:17:58 +01:00
Chris Michael
aea9e86eb4
Fix several memleaks reported by Coverity
...
NB: Fixes Coverity CID1039268
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 12:12:48 +01:00
Chris Michael
4ea1ea5bf4
Fix memleak spotted by Coverity
...
NB: Fixes Coverity CID1039267
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:58:15 +01:00
Chris Michael
02f545ecc6
Fix memleak. If we error out here, then we should free the data
...
returned from window_prop_property_get (as that does an allocation).
NB: Fixes Coverity CID1039266
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:47:13 +01:00
Chris Michael
e6088e2361
Fix memleak reported by Coverity: If we are going to error out when
...
getting window netwm types, then free any atoms returned by
prop_atom_list_get.
NB: Fixes Coverity CID1039265
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:44:23 +01:00
Carsten Haitzler
9e459ef9d6
fix new ecore_x_pixmap typedef clashes in ecore_x
2013-07-08 17:15:11 +09:00
Chris Michael
2a1b993162
Fix "Allocation size mismatch" reported by Coverity (short version: we
...
declared our 'roots' variable as Ecore_X_Window, but were allocating
as 'Window').
buffer_alloc: "malloc(num * 8UL)" allocates memory.
CID 1039601: Allocation size mismatch (SIZECHECK)
5. incorrect_multiplication: Allocating a multiple of 8 bytes to
pointer of type Ecore_X_Window, which needs 4 bytes.
NB: Fixes Coverity CID1039601
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 09:00:45 +01:00
Shinwoo Kim
daca686168
[ecore_x] add accessibility support - enable, disable
2013-07-03 13:13:32 +09:00
Chris Michael
d263e31c7f
When getting crtc info, fill in missing "rotations" field so that the
...
value is initialized.
NB: Spank Spank whoever did this ... oh wait, that was me :( Ouch !!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 10:46:34 +01:00
Deon Thomas
67df5b4ad1
Ecore DPMS Function to get the current dpms power level
2013-06-26 08:32:42 +09:00
Mike Blumenkrantz
fbd09e2562
add support for text/x-moz-url DND operations
2013-05-29 13:46:11 +01:00
Chris Michael
1d58f5ff1d
Don't allocate space for a mode name unless the nameLength is greater
...
than 0.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 18:25:53 +01:00
Mike Blumenkrantz
ab079ae1a5
move ecore-x fd handler creation to after ecore-x init has finished so we can ignore more x events during startup
2013-05-22 10:15:37 +01:00
Chris Michael
afff55eec5
Fix memleak in ecore_x_randr_crtc_settings_set.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-21 14:32:25 +01:00
Chris Michael
bc31a55bda
Add ecore_x_randr_config_timestamp_get to return config timestamp that
...
XRandr has currently.
NB: needed for some updates/fixes to randr dialog.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-11 16:30:38 +01:00
Chris Michael
559b1b3301
Add missing ecore_x_randr_crtc_info_free function to xcb.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-08 10:07:53 +01:00
Chris Michael
b619f84590
Add missing ecore_x_randr_crtc_clone_set function for xcb.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-08 10:04:23 +01:00
Chris Michael
f5a1889db3
Add missing randr_crtc_info_get function to xcb.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-08 09:53:43 +01:00
Chris Michael
291d45f045
Fix formatting.
...
Add ecore_x_input_raw_select function placeholder:
NB: xcb does not have xinput 2 support yet BUT someone added those
functions to the xlib code WITHOUT adding them to the xcb code.
SPANK SPANK !!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-08 08:56:01 +01:00
Chris Michael
185e88ae72
Fix typo ...
...
LMAO: xcb stuff did not even compile because of this ... and how knows
how long it has been broken ...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-08 08:55:39 +01:00
Carsten Haitzler
11e0d67a71
Revert "Ecore DPMS function to get the current power level"
...
This reverts commit 19c4916f41
.
sorry... missing xcb version of func. please re-commit when you have
an xcb version. thanks! :)
2013-05-08 15:59:11 +09:00
Carsten Haitzler
eb4339bb0c
get rid of trailing nul byte in selections for x11
...
not noticed until recently.. we add a nul byte to the end of our text
selections that we shouldnt. most toolkits/apps skip it but some..
like emacs... dont.
2013-05-08 13:05:33 +09:00
Deon 'PrinceAMD' Thomas
19c4916f41
Ecore DPMS function to get the current power level
2013-05-07 11:47:28 +01:00
Carsten Haitzler
6d54f4608d
fix 64bit ecore-x selection overrun bug.
2013-04-23 00:08:18 +09:00
Tom Hacohen
8698e455f8
Ecore_x: init ret, otherwise it might be used uninitialized.
2013-04-18 13:46:28 +01:00
Shinwoo Kim
3b81d4aa51
[ecore_x] add accessibility support
2013-04-18 14:53:58 +09:00
Jiyoun Park
2d0d852fa9
expand indicator type to support if it want more than two indicator type
2013-04-18 14:45:11 +09:00
Carsten Haitzler
5339ab4501
small change: valgrind shus about uninitiallized data from stack...
...
it's unused anyway.
2013-04-18 12:49:24 +09:00
Deon 'PrinceAMD' Thomas
7df54da4c4
Ecore Pointer get root x,y position without ecore_x_window.
2013-04-18 12:07:26 +09:00
Igor Murzov
1373f0ba4a
Fix incorrect printf format usage
2013-04-16 12:07:36 +04:00
Carsten Haitzler
140c1afefb
valgrind complain--
2013-04-02 12:28:06 +09:00
ChunEon Park
4198433cc0
ecore_x - use the exsiting variable.
2013-03-25 22:45:06 +09:00
Jiyoun Park
5d64ee8fa8
ecore_x : add atom to be used deiconify manual render
...
win will be manual render when deiconify message
2013-03-07 13:42:31 +09:00
Jiyoun Park
d70feacf9b
Ecore_x: Add atom related with indicator type.
...
It can support several types of indicator
2013-03-05 14:25:50 +09:00
Jiyoun Park
004d519f06
ecore_x : fix dangling pointer problem related with shmget fail
2013-03-05 14:01:32 +09:00
Jiyoun Park
bc78f49d71
ecore_x : just fix typo
2013-03-05 13:46:14 +09:00
Henrique Dante de Almeida
ca8fc827a3
efl: Fixes to support compiling with CFLAGS=-Werror
...
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
2013-02-26 10:55:04 -03:00
Carsten Haitzler
5a9a4fdd1f
oops - still had printfs. remove.
2013-02-26 22:06:12 +09:00
Carsten Haitzler
83190eb0c2
Add ecore_x_dnd_self_begin() and ecore_x_dnd_self_drop() to allow dnd
...
to your own window (drop where u drag from). helpful for elm where dnd
src/dst are object based, so we talk dnd protocol to ourselves.
2013-02-21 16:49:10 +09:00
Carsten Haitzler
c5ade50c9f
Fix ecore-x edid fetch to ftech 128, not 100 bytes.
2013-02-20 17:16:54 +09:00
Tom Hacohen
a2d710b0b6
Ecore_x: Revert "don't filter out non-master pointers in xi2.2 support."
...
This actually breaks genlist selection.
This reverts commit 5adb2f1ae6
.
2013-02-19 15:09:32 +00:00
Carsten Haitzler
5adb2f1ae6
don't filter out non-master pointers in xi2.2 support.
2013-02-18 16:37:20 +09:00
Christopher Michael
036a067a2c
Fix major memory stompage when using ecore_xcb_atom routines.
...
Thanks TAsn ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83807
2013-02-11 07:12:18 +00:00
Carsten Haitzler
73e9b8ea3d
oops - add back in snprintf.
...
SVN revision: 83768
2013-02-08 09:00:29 +00:00
Carsten Haitzler
c736dd323d
fix ecore_x_screen_is_composited...
...
SVN revision: 83767
2013-02-08 08:56:00 +00:00
Carsten Haitzler
afd8a714f4
devilhorns: ummmm lets not segv and run allover the stack shall we? memset the
...
size of memory we ALLOCATED!
SVN revision: 83757
2013-02-08 03:35:11 +00:00
Christopher Michael
37749b3d3e
Add ecore_x_randr_crtc_info_free function.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83739
2013-02-07 12:43:55 +00:00
Christopher Michael
736d81e866
Add ecore_x_randr_crtc_info_free function.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83738
2013-02-07 12:43:51 +00:00
Christopher Michael
2fe1fa053f
Fix crtc_info_get function (memcpy fails here in some cases, so
...
manually allocate and copy things over).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83737
2013-02-07 12:43:46 +00:00
Christopher Michael
20d1df8a23
Add ecore_x_randr_crtc_info_get function.
...
NB: This will save us Many X round-trips in the new randr dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83728
2013-02-07 09:32:24 +00:00
Christopher Michael
913f50642c
Add new Ecore_X_Randr_Crtc_Info structure.
...
Add header function for ecore_x_randr_crtc_info_get.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83727
2013-02-07 09:28:58 +00:00
Christopher Michael
562b278b52
Be a lot more pedantic and add some more safety checks about xrandr
...
return values (ie: if xrandr returns 0 crtcs, then we don't need to
allocate anything, etc, etc, etc).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83624
2013-02-05 11:55:51 +00:00
Christopher Michael
0c76117e1e
Be a bit more pedantic when getting outputs for a crtc, in that if
...
xrandr returns 0 outputs, then free resources and return null quickly.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83623
2013-02-05 10:51:57 +00:00
Christopher Michael
f317906408
Set number of returned modes early in the process.
...
Let's be a bit pedantic here, if the number of returned modes is Zero,
then just free resources and get out.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83617
2013-02-05 08:53:18 +00:00
Christopher Michael
cdb82dc2df
Tell X to create the edid atom if it is missing so we can return valid
...
edid information.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83556
2013-02-01 12:06:55 +00:00
Christopher Michael
e6be42978b
Length is optional here when getting edid from output.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83554
2013-02-01 11:50:59 +00:00
Christopher Michael
ea30a66335
Since we actually support RandR 1.4 now, lets increment the minor
...
version number.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83484
2013-01-30 15:12:22 +00:00
Christopher Michael
8075dbc796
Remove blank line.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83483
2013-01-30 15:12:15 +00:00
Christopher Michael
afcc2c64c7
Actually Implement RandR 1.4 functions (with code) ;)
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83471
2013-01-30 10:18:44 +00:00
Christopher Michael
d2a5654c2a
Fix randr 1.4 function declarations to be sane (match rest of efl):
...
There is no point in returning a rectangle if we are filling in the
x, y, w, h params also. That's just stupidness.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83470
2013-01-30 10:18:41 +00:00
Christopher Michael
469aebad27
Fix gamma functions (unsure how this all got messed up from previous
...
commit).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83469
2013-01-30 10:18:38 +00:00
Christopher Michael
cdeedfb975
Fix parameters for new RandR 1.4 functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83468
2013-01-30 10:18:35 +00:00
Christopher Michael
4739b506c0
Add the missing RandR 1.4 functions to Ecore_X header.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83467
2013-01-30 10:18:32 +00:00
Christopher Michael
1330412be7
Deprecate old ecore_x_randr_crtc_gamma functions.
...
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.
Add some missing UNUSED for function params.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83465
2013-01-30 09:32:52 +00:00
Christopher Michael
7fbaead218
Deprecate old ecore_x_randr_crtc_gamma functions.
...
Create new (proper) Ecore_X_Randr_Crtc_Gamma_Info structure.
Add new ecore_x_randr_crtc_gamma functions that use the proper
structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83464
2013-01-30 09:32:44 +00:00
Christopher Michael
390c54eda3
Add missing UNUSED to some function parameters.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83458
2013-01-30 07:25:43 +00:00
Boris Faure
d9e05b1b40
ecore_x: randr: don't crash when launching e without second screen
...
SVN revision: 83449
2013-01-29 19:55:42 +00:00
Christopher Michael
8e62eb9519
Implement & fix ecore_x_randr code.
...
NB: All functions which are in the Ecore_X header have now been
implemented except for 2.
NB: No support yet for the RandR 1.4 functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83439
2013-01-29 14:48:14 +00:00
Christopher Michael
3888089a7f
Remove old randr code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83437
2013-01-29 14:48:08 +00:00
Carsten Haitzler
bf9f42be90
add @since.
...
SVN revision: 83419
2013-01-29 08:24:21 +00:00
Carsten Haitzler
29ebec4bfb
MINOR feature... not worth changelogging - add send event flag to
...
ecore-x-hide event.
SVN revision: 83418
2013-01-29 08:23:40 +00:00
Jiyoun Park
e290dfae93
add info log related with mouse down/up
...
SVN revision: 83351
2013-01-26 09:47:21 +00:00
Stefan Schmidt
f57257b3ec
efl/ecore(xcb: Port leak fix from xlib to xcb backend
...
SVN revision: 83136
2013-01-23 09:51:53 +00:00
Stefan Schmidt
4cc93b9f2c
efl/ecore_x: Fix leak of data.
...
If we fail we still have the malloced data. Free it in this case. Bot
commit for devilhors.
SVN revision: 83135
2013-01-23 09:51:47 +00:00
Carsten Haitzler
87fdbd56e0
fix ximage get error sync problem.
...
SVN revision: 83029
2013-01-21 04:31:39 +00:00
Gustavo Sverzut Barbieri
df701d8ca2
some clang warning cleanups i forgot to commit
...
SVN revision: 83024
2013-01-21 00:22:35 +00:00
Gustavo Sverzut Barbieri
0f528092f8
fix bug spotted by clang
...
SVN revision: 83017
2013-01-20 14:25:34 +00:00
Sung-Jin Park
01452373c7
From: Sung-Jin Park <sj76.park@samsung.com>
...
Subject: [E-devel] Bug fix : ecore x XI2 handler not to make button
event twice
Dear developers,
I have fixed a bug in ecore x xi2 handler.
Currently, ecore mouse down/move/up event are made twice for a X touch
event.
Among a couple of events, the first one is made by a X touch event and
the other is made
by a button event whose flags has XIPointerEmulated flag.
The (latter) button event is made from the (former) X touch event
whose flags has XITouchEmulatingPointer flag.
Basically, X touch events doesn't have XITouchEmulatingPointer flag in
its flags when it doesn't make a
(XIPointerEmulated) button event.
Thus I correct ecore_x_xi2.c not to make a mouse down/move/up event
when a X touch event has
XITouchEmulatingPointer flag.
SVN revision: 82869
2013-01-16 09:03:55 +00:00
Boris Faure
aa8a1eb727
ecore_x/xcb: fix use of uninitialized var + leak--. Fix #1786
...
SVN revision: 82730
2013-01-13 14:11:42 +00:00
Boris Faure
30cbbefd6a
efl:ecore: fix possible segfault when ccalling ecore_x_selection_convert()
...
SVN revision: 82594
2013-01-10 22:51:28 +00:00
Gustavo Sverzut Barbieri
0a2d116119
efl: eina_alloca.h to simplify alloca() usage.
...
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/
SVN revision: 82082
2013-01-03 15:10:34 +00:00
Gustavo Sverzut Barbieri
d01565adcf
efl/ecore_x: fix doxygen hierarchy.
...
PLEASE someone unify xlib and xcb docs, makes no sense to have them
both as they should be exactly the same!
SVN revision: 81845
2012-12-28 20:46:54 +00:00
Carsten Haitzler
ebaf0ce575
xi2 leak--
...
SVN revision: 81724
2012-12-27 05:26:14 +00:00
Carsten Haitzler
9e5266109d
fix 24bpp rendering problem and pixel fetch problem found in qemu/kvm.
...
SVN revision: 81378
2012-12-19 15:40:52 +00:00
Jonas M. Gastal
e3ae81e65f
efl: Created Ecore group and added existing Ecore groups to it.
...
SVN revision: 81293
2012-12-18 18:38:44 +00:00
Daniel Willmann
9772e3b5dc
efl: Fix possible memory corruption in ecore xrandr EDID functions
...
Report from Klocwork. I checked that the actual max size of the name is
13 bytes. Now we allocate one more to hold the terminating NULL byte and
not write into unallocated memory.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80773
2012-12-12 17:23:09 +00:00