Commit Graph

4114 Commits

Author SHA1 Message Date
Christopher Michael dbe6f16717 Ecore_Wayland: Unbreak shm engine wrt shm_format.
Add more work on dnd code (incomplete still).

NB: We will need to add a method to request non-argb surfaces. For
now, all surfaces are argb.



SVN revision: 67180
2012-01-13 07:46:22 +00:00
Christopher Michael 21975a748f Ecore_Evas (wayland): Implement Fullscreen Set for Shm and Egl.
SVN revision: 67179
2012-01-13 06:46:35 +00:00
Christopher Michael 5623ed37ce Ecore_Wayland: Oops, shm_format should be int. Also, flush display
output on close.



SVN revision: 67178
2012-01-13 06:34:40 +00:00
Christopher Michael 045294c189 Ecore_Wayland: Handle shm format iteration a bit better.
SVN revision: 67177
2012-01-13 06:30:27 +00:00
Christopher Michael 0216b83173 Ecore_Wayland: Add actual code to handle drag-n-drop (not complete
yet). Update shm_format to newer wayland ones.



SVN revision: 67176
2012-01-13 06:18:04 +00:00
Christopher Michael 7bace75fcc Ecore_X(cb): Fix formatting. (whoever did this should lose a finger or
two).



SVN revision: 67170
2012-01-13 01:34:39 +00:00
Christopher Michael a2e9465376 Ecore_Wayland: Implement handling Touch Events.
NB: None of the touch code has been tested yet.



SVN revision: 67169
2012-01-13 01:26:52 +00:00
Christopher Michael ce12a4481b Ecore_Evas (wayland): Do not set the shell_surface_listeners until
After we have set the new surface for the evas engine. Reason being:
The shell_surface_listener_configure event handles resizing the
ecore_evas. If that gets called Before we have set the new engine
surface, then bad crashes can happen.



SVN revision: 67161
2012-01-13 00:01:09 +00:00
Christopher Michael aeb25bbf4e Ecore_Evas (wayland_egl): Does not make sense to reset the surface of
the evas engine here, as the evas engine is going to be free'd right
after this.



SVN revision: 67156
2012-01-12 23:05:51 +00:00
Christopher Michael 230b7c015d Ecore_Evas (wayland_egl): Implement free & hide with actual code.
SVN revision: 67139
2012-01-12 13:09:45 +00:00
Christopher Michael 574380ccb0 Ecore_X(cb): Fix my focus issues with Sloppy focus.
Add a check for valid connection in ecore_xcb_icccm.c

NB: For some reason, XCB does not like ecore's timestamp which is
being passed in. Since all the calls to ecore_x_window_focus_at_time
are being passed the current timestamp anyway, just use
XCB_CURRENT_TIME until I have more available 'free time' to dig deeper
into this.



SVN revision: 67136
2012-01-12 11:41:38 +00:00
Christopher Michael 3abbc4f0aa Ecore_Evas: Implement generic ecore_evas_wayland_resize funtion.
SVN revision: 67132
2012-01-12 09:07:22 +00:00
Christopher Michael 334ac03863 Ecore_Evas (wayland_egl): Make ecore_evas_wayland_egl actually work
and draw stuff. Add event handlers for mouse, etc. Implement generic
ecore_evas_wayland_resize function.



SVN revision: 67131
2012-01-12 09:06:47 +00:00
Cedric BAIL c6894cee94 ecore: move self to the right position.
SVN revision: 67130
2012-01-12 09:06:28 +00:00
Christopher Michael ad51dd4bc3 Ecore_Evas (Wayland_Shm): Fix ecore_evas_wayland_shm_resize function.
Does not exist anymore...being replaced with a more generic
ecore_evas_wayland_resize funciton.



SVN revision: 67129
2012-01-12 09:05:12 +00:00
Christopher Michael cf6322e938 Ecore_Evas (wayland_shm): Don't issue a surface move if the ecore_evas
is not visible (has no surface).



SVN revision: 67104
2012-01-12 00:06:37 +00:00
Christopher Michael ec7e18d8b5 Ecore_Evas: Update ecore_evas wayland code to use new engine info
structure.



SVN revision: 67101
2012-01-11 23:29:33 +00:00
Cedric BAIL 916047532d ecore: something is wrong ecore_evas_fb use ecore_fb_private.h and ecore_fb_private.h need Ecore_Fb.h.
SVN revision: 67086
2012-01-11 15:31:54 +00:00
Cedric BAIL 8885e90cda ecore: use eina_file_direct_ls (faster, better, cleaner).
SVN revision: 67085
2012-01-11 15:30:40 +00:00
Cedric BAIL 81b3cddb13 ecore: fix Ecore_Thread.
SVN revision: 67082
2012-01-11 13:45:34 +00:00
Christopher Michael 54cca7bbf0 Ecore & Ecore_Evas: Fix requirements in configure.ac for wayland_egl.
Fix ecore_evas makefile to use wayland_egl_libs, etc.



SVN revision: 67081
2012-01-11 13:06:02 +00:00
Christopher Michael 1ccaf36197 Ecore_Evas: Update header file (remove dead commented code).
Uncomment ecore_evas_wayland_egl function.



SVN revision: 67080
2012-01-11 13:04:55 +00:00
Christopher Michael 99045fbdba Ecore_Evas: Re-enable wayland_egl engine (for testing).
SVN revision: 67079
2012-01-11 13:03:48 +00:00
Christopher Michael c7edac5b13 Ecore_Evas: Update ecore_evas_private for recent wayland changes.
SVN revision: 67078
2012-01-11 13:03:17 +00:00
Christopher Michael 8f05d8ec93 Ecore_Evas (wayland_egl): Rework ecore_evas for wayland_egl to be
inline with the shm version, and build against newer evas wayland_egl
engine.



SVN revision: 67077
2012-01-11 13:02:27 +00:00
Christopher Michael 7b21d59a52 Ecore_Evas (wayland_shm): Add missing shell_surface handler (recently
added in wayland).



SVN revision: 67076
2012-01-11 13:00:54 +00:00
Daniel Juyung Seo 19de4626ab ecore: applied eina_array_count_get -> eina_array_count api change.
SVN revision: 67022
2012-01-10 15:34:52 +00:00
Christopher Michael 9c3b28d908 Ecore_Evas (Wayland): Be sure to unregister the ecore_evas (wrt input
events).
Add big fat NB wrt potential 'hack' (works around screen garbage on
resize).
Add evas damage rectangle on resize.
Do surface_damage before surface_attach.
Prevent compositor crash on resize by checking width/height <= 0.
Don't do a resize of the ecore_evas unless the event matches.



SVN revision: 67013
2012-01-10 10:31:18 +00:00
Christopher Michael 655e20307a Ecore_Evas (Wayland): Add missing flush during rendering.
NB: This fixes animation issue wrt eating up cpu, only animating when
mouse was over, etc, etc..... Thanks Old Man !! ;)



SVN revision: 66995
2012-01-09 10:52:19 +00:00
Christopher Michael 50110e14c6 Ecore_Wayland: Fix fd_handler to only listen on fd_read.
Add variable to store what button was pressed (part of focus issue
fixes).
Fix focus handling (see comments about wayland pointer focus).



SVN revision: 66994
2012-01-09 10:50:26 +00:00
ChunEon Park 56a083357c ecore/ecore_evas - removed unused var.
SVN revision: 66987
2012-01-09 07:58:28 +00:00
Christopher Michael d18dafa65a Ecore_Evas (Wayland): Fix building apps without wayland support
(function was missing a declaration if wayland was disabled). (Fixes
elm compile problems).



SVN revision: 66982
2012-01-09 05:22:43 +00:00
Christopher Michael 8bf05691f5 Ecore_Evas: Add api function for wayland_shm_resize.
SVN revision: 66972
2012-01-08 11:30:35 +00:00
Christopher Michael 1307fc636a Ecore_Wayland: Put mouse_up_send, mouse_down_send into their own
functions (makes it easier to call in code).
Some miscellaneous changes wrt fd_read & fd_write on the fd handler.



SVN revision: 66971
2012-01-08 11:29:04 +00:00
Christopher Michael 94a4ce180b Ecore_Evas (wayland): Add shell listener for 'configure' events (occur
on shell_surface_resize).
Provide callback_mouse_in_set for ecore_evas.



SVN revision: 66970
2012-01-08 11:25:57 +00:00
Youness Alaoui ead8d51b3c Ecore-con: Let's not break compilation if net/if.h is not found (or old system)
SVN revision: 66956
2012-01-07 11:39:23 +00:00
Jiyoun Park 6eb708fb1d Fix Ecore evas extn for multi client model.
It is possible that several process want to show same canvas.
For support this, I changed Ecore buffer canvas to server(socket)
If some application want to show this canvas, 
it create plug image object. 



SVN revision: 66892
2012-01-05 05:08:24 +00:00
Christopher Michael 1dec455b38 Ecore_Evas (wayland): Implement EE functions for iconified & maximized.
SVN revision: 66861
2012-01-04 09:28:36 +00:00
Christopher Michael 4034f41133 Ecore_Evas (Wayland): Add functions for raise, lower, activate, layer,
and focus setting.



SVN revision: 66860
2012-01-04 08:28:23 +00:00
Christopher Michael 9a13801bab Ecore_Wayland: Fix mouse & focus send functions to support passing of
specific 'surface' and 'time'.
Add function (internal) to send a mouse_move (cleans up code).
Add event 'multi' stuff for mouse button down.
Fix handle_pointer_focus function to not send 'focus' events (handled
differently).
Fix handle_keyboard_focus function to actually send 'focus' to new
windows.

NB: This fixes most of the focus issues I was having earlier.



SVN revision: 66859
2012-01-04 08:27:31 +00:00
Daniel Juyung Seo e204bd5221 ecore Ecore.h: Sync authors with AUTHOR file.
SVN revision: 66841
2012-01-04 04:20:21 +00:00
Carsten Haitzler 831ff86cb8 Add HEX, TERMINAL and PASSWORD layouts
SVN revision: 66836
2012-01-04 03:41:10 +00:00
Sanjeev BA fcffec2a23 Fix typos.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 66814
2012-01-04 00:11:55 +00:00
Christopher Michael c69d424fe5 Ecore_Evas (Wayland): Don't feed mouse_move twice
(_ecore_evas_mouse_move_process already feeds to evas).

Add variable to store the 'timestamp' of when mouse button gets
pressed (needed for 'moving' a surface).



SVN revision: 66808
2012-01-03 20:39:10 +00:00
Christopher Michael 8fc45c6673 Ecore (Wayland): Add function to get current mouse position (screen
coords).
Rename some variables for clarity of their purpose.



SVN revision: 66807
2012-01-03 20:37:30 +00:00
Bluezery fcdec47f13 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel]  [Patch][ecore_con] Fix return value checking
Date: Tue, 3 Jan 2012 10:01:17 +0900

Hi,

There is invalid return value checking of curl_multi_perform() in ecore_con_url.
Because CURLM_CALL_MULTI_PERFORM is also not  CURLM_OK,
CURLM_CALL_MULTI_PERFORM checking  should precede CURLM_OK checking.
It's simple fix. Please review this

-- 
BRs,
Kim.


SVN revision: 66771
2012-01-03 03:58:48 +00:00
Christopher Michael 221db402f5 Ecore_Wayland: Quiet down output by disabling LOGFNs.
SVN revision: 66765
2012-01-03 01:08:43 +00:00
Christopher Michael 2887fd5d2b Ecore_Evas (wayland): A bit of restructure to make prep for the egl
stuffs.



SVN revision: 66764
2012-01-03 01:08:06 +00:00
Christopher Michael c0f98fe6da Ecore_Evas (Wayland): Quiet down the output by disabling LOGFN.
Implement 'ecore_evas_move' for wayland_shm engine.



SVN revision: 66763
2012-01-03 01:06:47 +00:00
Christopher Michael 40669bf381 Ecore_Evas: Fix resize recursion when using wayland framespace.
SVN revision: 66760
2012-01-02 19:36:11 +00:00
Vincent Torri 0ef4f2aeeb formatting
SVN revision: 66702
2011-12-30 15:53:20 +00:00
Carsten Haitzler b92c19a84d Fix massive post data probile in ecore-con that would cause
post data to be corrupted (as it was never copied into the
ecore con url struct) or could cause crashes if the memory
pointed to became invalid.
                


SVN revision: 66619
2011-12-29 08:55:11 +00:00
Iván Briano e421ac90b7 Don't override standard variables, it looks weird. In turn, fix building with automake 1.11.2
SVN revision: 66599
2011-12-28 14:13:30 +00:00
Carsten Haitzler 4f4639b81f and fix my "mouse grab+hide_mouse out" fix to not break e17 dnd :)
SVN revision: 66582
2011-12-28 03:07:39 +00:00
Christopher Michael 795698cdbc Ecore_Wayland: Start work on drag-n-drop code (just a start, not
actually functional yet).

Implement the data device manager.
Implement the data device itself.
Fixes for shutdown so we destroy everything correctly (data device,
device manager, shell, etc).



SVN revision: 66581
2011-12-28 02:49:32 +00:00
Christopher Michael 848bea2e3c Ecore_Evas (Wayland_Shm):
Add an actual 'frame' to ecore_evas_wayland. (just a boring rectangle frame w/ the title).
Add support for size_min/max/base/step setting.
Add support for title & name_class setting.
Add support for setting a cursor.
Add support for hiding an ecore_evas.



SVN revision: 66578
2011-12-27 19:25:38 +00:00
Iván Briano 9bba5f92b0 Fix warnings in scim module and indent Makefile.am correctly. By Jihoon Kim
SVN revision: 66572
2011-12-27 14:12:02 +00:00
Carsten Haitzler b0ab314d8e fix mouse down grab coutns if window minimized or hidden (especially
the second).



SVN revision: 66568
2011-12-27 12:02:18 +00:00
Cedric BAIL 411b2b8676 ecore: include header only when required.
SVN revision: 66563
2011-12-27 10:10:47 +00:00
Christopher Michael 4bd3586d2b Ecore_Wayland: Remove 'ecore_wl_window' (not used or needed).
SVN revision: 66543
2011-12-26 23:29:49 +00:00
Christopher Michael 627d39bfa2 Ecore: Add Ecore_Wayland (Wayland backend like ecore_x).
Ecore_Evas: Add 'drame_frame' functions.
Add ecore_evas_wayland code (for creating ecore_evas' in wayland).

NB: Merry Christmas EFL !!, Here is you're gift :)



SVN revision: 66542
2011-12-26 23:27:20 +00:00
Iván Briano 1b03505ec0 Patch from Jihoon Kim to fix building of SCIM module on 64 bits systems
SVN revision: 66528
2011-12-26 12:57:27 +00:00
Carsten Haitzler c024319e47 add missing scim immodule header.
SVN revision: 66508
2011-12-26 04:26:15 +00:00
Jihoon Kim 64a4a33614 From: Jihoon Kim <imfine98@gmail.com>
Subject: Re: [E-devel] [PATCH] scim-EFL immodule

I'd like to contribute EFL-scim immodule.

It will be useful to users who wants to input Chinese, Japanese, Korean,
and a variety of languages that SCIM provides.

When you run, you should set environment variable 'ECORE_IMF_MODULE'
# export ECORE_IMF_MODULE=scim



SVN revision: 66507
2011-12-26 04:25:55 +00:00
Carsten Haitzler bd24931df1 disable bugfix for now. leave commented as note.
SVN revision: 66477
2011-12-23 11:40:05 +00:00
Jiyoun Park 66faed1695 remove white space and trailing
SVN revision: 66475
2011-12-23 07:13:38 +00:00
ChunEon Park e2b1ac1f61 ecore/ecore_con - removed white trailings
SVN revision: 66474
2011-12-23 07:07:35 +00:00
ChunEon Park a76caa3021 ecore/ecore_con - removed white trailings
SVN revision: 66473
2011-12-23 07:04:36 +00:00
Mike Blumenkrantz 9aedbc1bfb by the power of greyskull^Wunsigned integers, this test will always be true!
SVN revision: 66463
2011-12-22 08:08:05 +00:00
Mike Blumenkrantz 3258503e8a curl patch from bluezery to use ECORE_CON_SOCKS_V4 env variable and also add socks proxying api
SVN revision: 66462
2011-12-22 08:06:51 +00:00
Mike Blumenkrantz ec30d20fa0 add debug macros to print location of svr/cl kill
SVN revision: 66439
2011-12-21 10:13:57 +00:00
Mike Blumenkrantz 7daccc8eea provide slightly more useful dbg info with new kill api
SVN revision: 66438
2011-12-21 10:07:07 +00:00
Mike Blumenkrantz 178ac4be78 remove 'dead' member from client/server structs: this now serves no purpose
SVN revision: 66437
2011-12-21 10:02:30 +00:00
Mike Blumenkrantz 0207023886 nope
SVN revision: 66436
2011-12-21 09:35:10 +00:00
Carsten Haitzler ff64b561ca revert 66362 -> breaks ecore-con. :( sorry stu!
SVN revision: 66434
2011-12-21 09:23:27 +00:00
Carsten Haitzler 5e5024860c ooh compile break if no curl! fix!
SVN revision: 66417
2011-12-21 08:20:16 +00:00
Bluezery 16a9961f58 From: Bluezery <ohpowel@gmail.com>
Subject: Re: [E-devel] [Patch][ecore_con_url] Add proxy & timeout set
API

There existed two problems when using ecore_con_url. We cannot set
proxy and set timeout.
So, I added two APIs for solving these problems.
Proxy can be set by setting libcurl option.
Timeout also can be set but It need to add handler for Linux alarm
signal. (Please refer:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMEOUT)
So I implemented it by using ecore timer.




SVN revision: 66414
2011-12-21 06:18:25 +00:00
Jihoon Kim 6978922924 From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] support to get style attribute of XIM module

ATM, edje entry doesn't display the style of preedit string such as
underline, reverse, and Highlight.
It's because XIM module doesn't provide the style attribute.
This patch is made for providing the style attibute information to
entry or other editable widget.



SVN revision: 66381
2011-12-20 09:49:55 +00:00
Cedric BAIL 953f0300de ecore: actually provide all needed symbol.
SVN revision: 66379
2011-12-20 09:26:20 +00:00
Carsten Haitzler df705cd4fc unused warning--
SVN revision: 66366
2011-12-20 08:22:03 +00:00
Mike Blumenkrantz 1f7c3b5a4a fix a Heroes of SVN-level breakage from 66068 which prevented all ecore-con fds from being closed :D
SVN revision: 66362
2011-12-20 06:22:30 +00:00
Carsten Haitzler 71f88a1a13 probably a leak fix in ecor-eglib support - doesnt cause any issues in
my testing, but documentation for g_static_mutex's isnt that great to
let us know what to do with a static mutex... considering it's...
static... pending respons from reporter for backport



SVN revision: 66360
2011-12-20 05:57:57 +00:00
Carsten Haitzler 0d91f7a776 update @since's - seems i can put them on single lines.
SVN revision: 66323
2011-12-19 07:25:27 +00:00
Carsten Haitzler dad90306a2 address fixme's in extn :)
SVN revision: 66320
2011-12-19 06:54:08 +00:00
Mike Blumenkrantz 420cd2c7bd fix null deref here too
SVN revision: 66296
2011-12-16 18:09:14 +00:00
Mike Blumenkrantz 5658944274 fix impossible possible segv
SVN revision: 66295
2011-12-16 18:06:19 +00:00
Mike Blumenkrantz ad37a6a256 fix possible 0 byte allocation
SVN revision: 66294
2011-12-16 18:04:53 +00:00
Cedric BAIL 25407702b7 ecore: fix Ecore_Evas build without Ecore_Ipc.
SVN revision: 66285
2011-12-16 13:47:37 +00:00
Carsten Haitzler ef7d5face3 extn ecore-evas! WOOOOOOOOOOOOT!
SVN revision: 66283
2011-12-16 10:58:17 +00:00
Carsten Haitzler e50cd3f1e6 Clean up several ecore-evas-buffer routines to match the nicer extn
stuff. Just cleanups here.



SVN revision: 66282
2011-12-16 10:56:01 +00:00
Carsten Haitzler 94e5832ce8 see comments for info. a short workaround for now.
SVN revision: 66258
2011-12-15 14:10:42 +00:00
Carsten Haitzler 2b3cf9d6e9 support move_resize on buffer canvases - didn't handle it before.
SVN revision: 66178
2011-12-14 08:18:35 +00:00
Carsten Haitzler 0a1deb3756 move render func into struct - dont set it later.
SVN revision: 66177
2011-12-14 07:53:18 +00:00
Doyoun Kang 7974ea4cbf From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch] Add ecore_x API for error handling

I added ecore_x_error_resource_id_get() api. It returns the resource
id that caused the last X error. I think it will be useful for handling
X error.



SVN revision: 66136
2011-12-13 07:30:01 +00:00
Carsten Haitzler 25b5ff52f2 * Fix bug where an animator that just keeps adding another
animator keeps the animator handler in an infinite loop. Do
        the same as timers and mark them as "just added" to skip in
        this run of animators
                


SVN revision: 66109
2011-12-12 07:41:27 +00:00
Mike McCormack 844431ed06 ecore: Fix modularity
This also fixes the glib build.

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66091
2011-12-11 08:29:35 +00:00
Mike Blumenkrantz 47693ea74c add note about CORK availability
SVN revision: 66083
2011-12-10 08:23:34 +00:00
Mike Blumenkrantz 54c2db319a we've got NODELAY, may as well add CORK
SVN revision: 66082
2011-12-10 08:14:50 +00:00
Mike Blumenkrantz c5b0df352e fix cert flag detection
SVN revision: 66081
2011-12-10 08:09:17 +00:00
Mike Blumenkrantz 083d3466a1 revert 66063 + related commits: my dreams of zero-copy ecore-con transfers were shattered by the inconsistency of linux socket operations. way to go kernel developers.
SVN revision: 66078
2011-12-10 07:34:45 +00:00
Mike Blumenkrantz eecef7e076 add docs for NODELAY flag
SVN revision: 66071
2011-12-10 06:53:54 +00:00
Mike Blumenkrantz c92c213b0f temp fix while I figure out some weird behavior
SVN revision: 66069
2011-12-10 06:15:00 +00:00
Mike Blumenkrantz 387732c836 rewrote server+client deletion code to (hopefully) be failproof.
I've also set it to abort() with a big error if it gets to the old fallthrough spot, so make sure to send me a backtrace if this is reached (though it should be impossible)


SVN revision: 66068
2011-12-10 05:42:32 +00:00
Mike Blumenkrantz 498904e260 more error event unification
SVN revision: 66067
2011-12-10 05:25:30 +00:00
Mike Blumenkrantz e90a7c7cbd some small cleanups to unify more error code
SVN revision: 66066
2011-12-10 05:17:34 +00:00
Mike Blumenkrantz ff57b89995 add windows error events for new code, condense some connect handlers
SVN revision: 66065
2011-12-10 05:09:47 +00:00
Mike Blumenkrantz 0b109fb5c2 optimize read mechanics for remote servers using ioctl to determine number of bytes available for reading.
in general, this should provide an improvement which scales with the amount of data being transferred:
* small transfers will incur a small amount of overhead from potentially unneeded memory as I try to account for a bug in FIONREAD which returns a number that is smaller than the actual number of bytes available for read on a socket
* large transfers will no longer require any copies of the data

on systems which do not provide the FIONREAD ioctl(), old functionality will be used
this should work on windows, though I (obviously) can't test it myself

thus ends the longest commit message I have ever written


SVN revision: 66063
2011-12-09 22:35:12 +00:00
Mike Blumenkrantz 2d6064e88f okay I was a little too excited
SVN revision: 66042
2011-12-08 17:27:30 +00:00
Cedric BAIL e845e82b30 ecore: we never call perro.
SVN revision: 66040
2011-12-08 16:21:29 +00:00
Cedric BAIL 2a169ea4e4 ecore: fix header inclusion.
SVN revision: 66039
2011-12-08 16:19:44 +00:00
Mike Blumenkrantz 776e6e445d more binbuf_manage_new!
SVN revision: 66038
2011-12-08 16:08:33 +00:00
Mike Blumenkrantz bdc371cac6 use binbuf_manage_new
SVN revision: 66037
2011-12-08 15:58:01 +00:00
Mike Blumenkrantz 3ed65e0992 unify and improve gnutls debug output
SVN revision: 66019
2011-12-08 05:58:47 +00:00
Mike Blumenkrantz 06d5a4c5c4 align debug info
SVN revision: 66017
2011-12-08 05:02:49 +00:00
Mike Blumenkrantz 29f67c9bc5 more informative error messages when cert verification fails
SVN revision: 66012
2011-12-08 03:56:29 +00:00
Mike Blumenkrantz 936f6aa7fa fix type so openssl verification works again
SVN revision: 66011
2011-12-08 03:53:49 +00:00
Mike Blumenkrantz dcc86ed639 ca loading function now loads directories
SVN revision: 66009
2011-12-08 03:25:53 +00:00
Mike Blumenkrantz 97a83712b0 unify openssl debug printing and remove #ifdefs: now this will always print with ecore-con:4
SVN revision: 66008
2011-12-08 02:59:27 +00:00
Mike Blumenkrantz 1416e28363 fix compat on openssl errors
SVN revision: 66007
2011-12-08 02:53:43 +00:00
Mike Blumenkrantz 5410f75bdc beef up openssl debug output
SVN revision: 66006
2011-12-08 02:37:00 +00:00
Mike Blumenkrantz 653a01d287 better error messages on certificate verify failure
SVN revision: 66005
2011-12-08 02:11:22 +00:00
Mike Blumenkrantz 7cc2aa0582 whoops, fix compile on unrelated change that snuck in
changelog tbd


SVN revision: 66004
2011-12-08 01:30:53 +00:00
Mike Blumenkrantz e47742e142 damn you ctrl+d!
SVN revision: 66003
2011-12-08 01:23:10 +00:00
Mike Blumenkrantz b40fa86b4a +ecore_con_ssl_server_verify_name_set/get
SVN revision: 66002
2011-12-08 01:14:55 +00:00
Mike Blumenkrantz f0e4cb8e79 allow certificates to be loaded for STARTTLS
SVN revision: 66000
2011-12-07 23:36:15 +00:00
Carsten Haitzler 9847de083b let's not fail to include standard headers when we need things like..
ooh.. malloc? calloc? printf?....



SVN revision: 65982
2011-12-07 00:49:00 +00:00
Vincent Torri 112f992a0e Ecore: fix warnings
SVN revision: 65976
2011-12-06 22:33:01 +00:00
Cedric BAIL 38567fbf32 ecore: include stdlib.h when required.
SVN revision: 65964
2011-12-06 16:09:05 +00:00
Mike Blumenkrantz bb3f0ffa4b one of these days I'm going to snap and throw my computer off my balcony because of this
SVN revision: 65944
2011-12-06 05:52:45 +00:00
Mike Blumenkrantz e7a491b1be @since
SVN revision: 65943
2011-12-06 05:37:29 +00:00
Mike Blumenkrantz 77f039eb73 @since
SVN revision: 65939
2011-12-06 05:20:13 +00:00
Mike Blumenkrantz adc327c8f8 last ssl bugger
SVN revision: 65938
2011-12-06 05:14:03 +00:00
Mike Blumenkrantz 88a69e2a8f fix some ssl socks buggies
SVN revision: 65937
2011-12-06 04:48:55 +00:00
Mike Blumenkrantz 8a8242016e ...make that twice
SVN revision: 65936
2011-12-06 03:51:01 +00:00
Mike Blumenkrantz db16af76ee just kidding before, had to break svn at least once today
SVN revision: 65935
2011-12-06 03:41:16 +00:00
Mike Blumenkrantz 0099b08234 introducinggggggggggggggg <drum roll>:
ECORE-CON-SOCKS! SOCKS ON!!!!

now ecore_con supports socks (v4 and v4a only, so no ipv6) connections natively for making remote connections
for those of you who want their apps to start proxying immediately, just update and export this handy environment variable:
ECORE_CON_SOCKS_V4=[user@]PROXY_IP_ADDRESS:PROXY_PORT[:1] <--use :1 here to enable dns lookups on the proxy


SVN revision: 65934
2011-12-06 03:32:16 +00:00
Mike Blumenkrantz 39467c29b6 giant patch refactoring ecore-con-url from bluezery <opowel@gmail.com>
will it blend?!


SVN revision: 65888
2011-12-05 06:08:46 +00:00
Mike Blumenkrantz 32808c9760 totally meant to write this wrong the first time to see if anyone was watching.
SVN revision: 65878
2011-12-04 23:54:41 +00:00
Mike Blumenkrantz 955e23a8a9 +ecore_timer_reset
SVN revision: 65876
2011-12-04 23:12:06 +00:00
Mike Blumenkrantz ba15384eaf unfuck header formatting
SVN revision: 65874
2011-12-04 23:01:36 +00:00
Vincent Torri a3970d1f96 Ecore_Win32: Fix the modifiers value
SVN revision: 65856
2011-12-03 22:06:43 +00:00
Mike Blumenkrantz 8b6899154c in 2011, we began using formatting tools to fix problematic formatting.
in later 2011, we began using formatting tools to fix problematic formatting caused by previous runs of formatting tools used to fix problematic formatting


SVN revision: 65852
2011-12-03 20:05:48 +00:00
Mike Blumenkrantz 6b13c32a78 remove annoying trailing comments
SVN revision: 65851
2011-12-03 19:41:12 +00:00
Christopher Michael 191659da9a Ecore_X(cb): Add function for backlight_available so that E will work
again :)



SVN revision: 65838
2011-12-03 04:41:30 +00:00
Mike Blumenkrantz 952b5f6326 +ecore_x_randr_output_backlight_available() from Term <term@twistedpath.org>
also corresponding e17 usage


SVN revision: 65837
2011-12-03 04:24:02 +00:00
Mike Blumenkrantz 9cc624c718 add some INF messages for connection death
SVN revision: 65835
2011-12-03 03:50:20 +00:00
Mike Blumenkrantz b0b7fc46b2 #undef header macro
SVN revision: 65834
2011-12-03 03:42:41 +00:00
Mike Blumenkrantz 54a2db0044 mempools++
SVN revision: 65833
2011-12-03 03:39:07 +00:00
Mike Blumenkrantz 1b59d38784 more trivial fixes from Joerg Sonnenberger <joerg@britannica.bec.de>
SVN revision: 65799
2011-12-02 03:33:19 +00:00
Mike Blumenkrantz d9587433b5 remove some unused functions pointed out by Joerg Sonnenberger <joerg@britannica.bec.de>
SVN revision: 65798
2011-12-02 03:27:04 +00:00
Vincent Torri 42f0263f49 Ecore_Win32 : Fix the key release values for non keystroke keys (Windows XP)
SVN revision: 65695
2011-11-29 23:06:01 +00:00
Mike McCormack f57db57c25 ecore: Allow quitting the main loop before entering it
elementary_config does this, and the glib based main loop didn't support it.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65683
2011-11-29 09:24:51 +00:00
Vincent Torri 91872c3d22 Ecore_Win32: Fix the string value for the Delete key
SVN revision: 65674
2011-11-29 07:19:27 +00:00
Vincent Torri 1c43e16493 Ecore_Win32: Fix AltGr detection on Windows XP (discard additional Ctrl left)
API break (no problem if you don't use timestamps directly from Ecore_Win32)

SVN revision: 65673
2011-11-29 06:58:55 +00:00
Carsten Haitzler d3e45fc7a7 fix ecore-con tracking of event count lists for clients!!! thanks
valgrind!



SVN revision: 65647
2011-11-28 12:06:50 +00:00
Vincent Torri cce78817f2 Ecore_Win32: fix and improve keyboard management on Windows XP
* fix some event values
* Add the "Windows" key support
* manage modifiers for shift, ctrl, alt and windows keys

that support is not finished, there still several bugs.

SVN revision: 65613
2011-11-27 12:03:56 +00:00
Christopher Michael b5cd67dee2 Ecore_X(cb): Remove not-needed variable in key event. Remove unused
goto label.



SVN revision: 65590
2011-11-24 23:58:26 +00:00
Rafael Antognolli e8060b3cd6 ecore/fb: Bring back the old signature of ecore_fb_input_device_open.
A previous patch had changed its signature, but since this is an EAPI,
we can't break it. Now ecore_fb_input_device_window_set() was added to
provide the same functionality.



SVN revision: 65589
2011-11-24 21:08:22 +00:00
Bluezery bad45bb0fa From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][ecore_file] Fix buffer flush bug

fclose() should be called before callback is called to notify user of
download completion because it cannot be flushed sometimes.



SVN revision: 65572
2011-11-24 11:55:50 +00:00
Mike McCormack d5eca4d187 ecore: Fix a warning
ecore_evas_fb.c: In function ‘_ecore_evas_fb_init’:
ecore_evas_fb.c:248:14: warning: implicit declaration of function ‘ecore_fb_ts_event_window_set’

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65546
2011-11-24 00:04:57 +00:00
Vincent Torri 0f7b99a421 Ecore_File: let configure do its job
SVN revision: 65545
2011-11-23 23:46:12 +00:00
Vincent Torri 1dcbea2738 Ecore_Win32: fix default values
SVN revision: 65543
2011-11-23 21:21:33 +00:00
Rafael Antognolli 85e4bdab8e ecore/fb: same_screen = 1 for ecore_input_events.
AFAIU, this should be the correct, although this parameter isn't used
anywhere. But let's keep some consistency with the other backends, and
try to avoid future bugs.

Patch for SiT.



SVN revision: 65540
2011-11-23 17:08:40 +00:00
Rafael Antognolli 70060f434c ecore/fb: Fix tslib input events.
With ecore_evas_input, every event must tell for which window it
is intended.

Patch for SiT.



SVN revision: 65539
2011-11-23 16:52:14 +00:00
Mike Blumenkrantz ff032f8b94 change of email address: this is going to be ugly
SVN revision: 65531
2011-11-23 08:40:50 +00:00
Carsten Haitzler 368525255b complain if eina_str_convert doesn't work to kelp quaker66 :)
SVN revision: 65514
2011-11-22 11:08:45 +00:00
Carsten Haitzler 8910244dec Fix bug ecore-evas for fb, buffer, sdl back-ends to ensure
mouse is in on init (as events wont always give this) and focus
is set on show if appropriate if no focus in/out events come
from the back-end later

Fix setting override state to only hide if it should be
visible at that point in x back end support
        


SVN revision: 65508
2011-11-22 05:51:06 +00:00
Vincent Torri 1e7698357d Ecore: fix some warnings on Windows
SVN revision: 65497
2011-11-21 20:20:39 +00:00
Cedric BAIL 5b06c1947b ecore: oops forgotten to test all possible option.
SVN revision: 65455
2011-11-20 16:52:21 +00:00
Cedric BAIL 5c17799c25 ecore: use Eina_File for cleaner more portable code.
SVN revision: 65451
2011-11-20 15:14:48 +00:00
Cedric BAIL 61f1be3463 ecore: remove some warning.
SVN revision: 65445
2011-11-20 14:44:05 +00:00
Cedric BAIL 1e44040cf6 ecore: don't build binary if not requested.
SVN revision: 65442
2011-11-20 14:37:14 +00:00
Mike Blumenkrantz fd657b8fc4 also move magic unset to after all events come back so we don't break anyone's event handlers
SVN revision: 65426
2011-11-20 07:11:05 +00:00
Vincent Torri 0d7ca9bff5 Ecore_Win32: Resolving the issue of "mouse-down inside and mouse-up outside"
Patch by Kim Shinwoo

SVN revision: 65425
2011-11-20 07:09:31 +00:00
Vincent Torri 1171e9f029 Ecore_WinCE: fix Shift, Control and Alt detection
SVN revision: 65423
2011-11-20 06:44:56 +00:00
Vincent Torri 2a930d615c Ecore_Win32: formatting
SVN revision: 65422
2011-11-20 06:44:11 +00:00
Vincent Torri 5124162727 Ecore_Win32: remove LF
SVN revision: 65420
2011-11-20 06:19:40 +00:00
Mike Blumenkrantz b2a76dbe65 attempt #1 to fix obscure disconnect crash
SVN revision: 65416
2011-11-20 00:28:48 +00:00
Vincent Torri 9d5bb5cfa8 Ecore: fix Shift, Control and Alt keys detection
Shift (left/right), Control and Alt are now detected.
AltGr is not, as it's actually a Control (left) key,
immediately followed by an Alt key, and I don't know how
to see know if the left Control kye is the one pressed by
the user or the one thrown by AltGr.

modifiers are not set too. Will be set soon

SVN revision: 65415
2011-11-19 18:03:59 +00:00
Mike Blumenkrantz 024161663c my name is Leif Middelschulte and I leave my debug printfs in my code FOREVER
SVN revision: 65387
2011-11-18 18:23:17 +00:00
Mike Blumenkrantz be730ca826 rewrite a few small things to make code more clear
SVN revision: 65360
2011-11-18 03:59:00 +00:00
Vincent Torri cae47a6650 Ecore: fix warning when no timer dump are requested
Patch by Fabien Romano from OpenBSD


SVN revision: 65212
2011-11-14 22:33:34 +00:00
Vincent Torri 9faf53f4e5 Ecore: warning: implicit declaration of functions 'getpid' and 'usleep' on OpenBSD
Patch by Fabien Romano from OpenBSD



SVN revision: 65211
2011-11-14 22:29:46 +00:00
Vincent Torri bc17a43384 Ecore: fix warning: 'struct in_addr' declared inside parameter list on OpenBSD
Patch by Fabien Romano from OpenBSD


SVN revision: 65210
2011-11-14 22:25:07 +00:00
Christopher Michael dd933bf536 Ecore_X(cb): Fix formatting in ecore_xcb_window. Fix buggers in ICCCM
code which were not setting icccm wm protocols correctly. This 'fix'
matches up w/ the xcb_icccm_* functions defined in the xcb headers.



SVN revision: 65195
2011-11-14 18:49:50 +00:00
Christopher Michael 6f2a5f3562 Ecore_Evas: We don't need to allocate 10 items for this array if we
are only going to use (at most) 3.



SVN revision: 65194
2011-11-14 18:48:19 +00:00
Carsten Haitzler 7cca8b196c warning--
SVN revision: 65142
2011-11-14 04:33:01 +00:00
Carsten Haitzler 0d3f5383bf warning--
SVN revision: 65141
2011-11-14 04:32:12 +00:00
Carsten Haitzler 0303e49be7 this should be correct for xcb - it seems that it packs card32's into
unit32_t's



SVN revision: 65093
2011-11-12 08:59:28 +00:00
Vincent Torri 41c1734761 there is no long at all in the X specification
SVN revision: 65090
2011-11-12 07:18:12 +00:00
Carsten Haitzler 778d3ff2d7 also revert long -> int change in xcb
SVN revision: 65083
2011-11-12 01:40:51 +00:00
Carsten Haitzler d45aa0e846 back to unsigned long. code was actually correct as-is.
SVN revision: 65082
2011-11-12 00:54:22 +00:00
Christopher Michael 5532aafa2c Ecore_X: Fix array problem for 64-bit (unsigned long vs unsigned int).
Thanks vtorri ;)



SVN revision: 65076
2011-11-11 19:43:04 +00:00
Vincent Torri 15d079882c Ecore: Fix warning and seg fault
Fix warning: large integer implicitly truncated to unsigned type.
In ecore_x_window_prop_card32_list_get(): return -1 if malloc fails.

Patch from OpenBSD via Jonathan Armani


SVN revision: 65075
2011-11-11 19:12:36 +00:00
Christopher Michael 739751e6c3 Ecore_X: If malloc fails (when trying to get a window property list),
then return -1 to indicate failure. Add some missing parens in the
formatting.



SVN revision: 65074
2011-11-11 19:11:35 +00:00
Vincent Torri 966067b4f3 Ecore: Fix warning: large integer implicitly truncated to unsigned type inecore_x/xcb
xcb_get_property_unchecked() requires an uint32_t as last parameter, so use
UINT_MAX instead of LONG_MAX

Patch from OpenBSD via Jonathan Armani


SVN revision: 65073
2011-11-11 18:51:53 +00:00
Vincent Torri e169f9e5b7 Ecore: Add virtual keys support for Shift, Ctrl, Alt on Win32 and WinCE
Patch by Shinwoo Kim


SVN revision: 65049
2011-11-11 07:32:08 +00:00
Vincent Torri d8a69c1622 Ecore: add callbacks for window focus in/out event on Win32 and WinCE
Patch by Shinwoo Kim


SVN revision: 65048
2011-11-11 07:24:00 +00:00
Mike Blumenkrantz 6ec1250a4d redo ecore-con shutdown to fix crashes if people are stupid and call ecore_con_shutdown() while servers exist and main loop is still running
SVN revision: 65036
2011-11-11 02:44:16 +00:00
Iván Briano 2f4c5de9ed Properly check for empty string
SVN revision: 65034
2011-11-10 23:21:15 +00:00
Bluezery 216ea5012c From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [ecore_con] Bug fix when data is NULL.

If data is NULL, curl makes length field as -1 .
length filed should be set by 0.



SVN revision: 65006
2011-11-10 06:35:53 +00:00
Mike Blumenkrantz 491fe6b0d6 remove some unused vars
SVN revision: 64964
2011-11-09 01:19:14 +00:00
Mike Blumenkrantz 47b58f75da fix null deref
SVN revision: 64963
2011-11-09 01:18:18 +00:00
Mike Blumenkrantz d295264bc0 patch from bluezery to use proper eina log dom and remove 0 byte destination files on failed download
SVN revision: 64962
2011-11-09 01:03:09 +00:00
Christopher Michael 1f5a1508b7 Ecore_X(cb): Fix formatting in newly added randr code.
SVN revision: 64961
2011-11-08 22:16:14 +00:00
Christopher Michael 6431be5ecb Ecore_X(cb): Add missing randr functions for new Randr Config dialog
in E.



SVN revision: 64960
2011-11-08 22:09:32 +00:00
Christopher Michael c6ce7faad6 Ecore_Fb: Comment out unused (but declared) function prototypes to
remove compiler warning.



SVN revision: 64959
2011-11-08 21:10:26 +00:00
Christopher Michael b7c0243169 Ecore_X(cb): Fix compiler warnings when building without gesture
support.



SVN revision: 64958
2011-11-08 21:09:33 +00:00
Mike Blumenkrantz b76e8f1bc4 fix DSO
SVN revision: 64933
2011-11-08 05:28:27 +00:00
Cedric BAIL 05d8a9cf3c ecore: improve ecore_con speed by using mempool.
SVN revision: 64814
2011-11-06 12:26:00 +00:00
Carsten Haitzler 4bfa1caf5c add workareas get as requested in ticket #793 but actually support
more than 1 - for multi-screen.



SVN revision: 64804
2011-11-06 09:16:00 +00:00
Carsten Haitzler fab77996de fix but resulting from threadsafety addition by mike.
SVN revision: 64798
2011-11-06 06:17:56 +00:00
Bluezery 483abf1e07 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [ecore_file] Check a return value of
ecore_con_url_get()

_ecore_file_download_curl() does not check return value of  even if
ecore_con_url_get(), it can be failed.
I add a simple error checking.
Please review this patch.



SVN revision: 64795
2011-11-06 06:14:31 +00:00
Youness Alaoui aeb68dfc92 Ecore-evas: Add psl1ght module to ecore-evas
SVN revision: 64783
2011-11-05 17:50:02 +00:00
Youness Alaoui 1aa9c2def8 Ecore: Add ecore-psl1ght library
SVN revision: 64782
2011-11-05 17:49:55 +00:00
Youness Alaoui 1dfc25fedf Ecore: Port ecore to the PS3
SVN revision: 64781
2011-11-05 17:49:49 +00:00
Mike Blumenkrantz a7fac0f526 add yet another warning here in case people miss the first few subtle hints
SVN revision: 64734
2011-11-04 14:44:30 +00:00
Christopher Michael 8ff3f04676 Ecore_X(cb): Fixup formatting in new gesture file. Remove erroneous
fprintfs (LOGFN already handles printing that info out).



SVN revision: 64733
2011-11-04 13:46:58 +00:00
Sung-Jin Park 19ab8e3f74 From: Sung-Jin Park <sj76.park@samsung.com>
Subject: Re: review request : ecore x patch for X Gesture extention

Do you remember that I told you X gesture extension patch for ecore x ?
I’d like to put the attached patch to ecore_x in upstream.
This patch is just for initializing/receiving X gesture extension stuff.
Would you please put this in SVN ? : )
Thanks and regards,
Sung-Jin Park



SVN revision: 64732
2011-11-04 12:44:28 +00:00
Mike Blumenkrantz a059403a8c patch from Jihoon Kim to remove Evas dependency in imf
SVN revision: 64668
2011-11-02 23:51:58 +00:00
Nicolas Aguirre c63526f777 ecore: fix ecore build when ecore_cocoa is not build !
SVN revision: 64658
2011-11-02 19:44:36 +00:00
Nicolas Aguirre f4d650a5e4 ecore: Add ecore_cocoa and ecore_evas_cocoa engine support. Currently, event and main loop integration is not working, but you can create a new ecore_cocoa window and attach an evas inside.
SVN revision: 64656
2011-11-02 19:20:09 +00:00
Jiyoun Park 5e81768386 Implement ee's req value to other windowing system.
currently only x windowing system implement this value


SVN revision: 64634
2011-11-02 06:55:12 +00:00
Jihoon Kim 558fac4e08 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [PATCH] Fix the bug that user cannot input key

At this moment, space is processed in case of WM_KEYDOWN and WM_CHAR.

Therefore, 'space' key is processed twice, it makes bug.

In previous my patch, I changed keyname and string wrong.

I send the revised patch again.

(also applied to wince)

this is am improvement.. but its not all "right" yet. :(



SVN revision: 64597
2011-11-01 02:30:07 +00:00
Kim Yunhan 262bf8d463 From: Kim Yunhan <spbear@gmail.com>
Subject: [E-devel] Small patch with ecore_con_url.

When I tested with elementary map, there is too many logs on console.
It makes me difficult to distinguish normal logs that I want to debug.
:'-(
It's libcurl's internal log for representing progress bar like this.

-----
downloaded : 343 / 363
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
   Current
                                    Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 362
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 343 / 361
    % Total    % Received % Xferd  Average Speed   Time    Time     Time
     Current
                                      Dload  Upload   Total   Spent
Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--
  0
  downloaded : 344 / 365
  downloaded : 345 / 365
  downloaded : 346 / 365
  downloaded : 347 / 365
  -----
  
  So, I want to remove this log.
  And I look around ecore_con_url's code.
  Then I found solution for it.
  


SVN revision: 64596
2011-11-01 02:25:14 +00:00
Jiyoun Park 8edcfacd3f Implement ee's req value to other windowing system.
currently only x windowing system implement this value.



SVN revision: 64554
2011-10-31 10:46:35 +00:00
Mike Blumenkrantz e957cb9c40 patch from Martin Jansa <Martin.Jansa@gmail.com> to fix uclibc build.
this is yet another round of spankies for kakoroto


SVN revision: 64505
2011-10-29 07:03:20 +00:00
Rafael Antognolli 477b50c6d1 ecore/fb: Fix build of fb engine.
Patch sent by "trem".



SVN revision: 64501
2011-10-28 17:58:20 +00:00
Rafael Antognolli e22a6996e6 ecore/fb: Remove useless strdup().
It wasn't even being freed.

Patch for SiT.



SVN revision: 64499
2011-10-28 17:18:38 +00:00
Jiyoun Park 08fc8a696d I update Changelog and add @since info
SVN revision: 64495
2011-10-28 11:50:32 +00:00
Jiyoun Park f627a72047 Add a new API(ecore_evas_request_geometry_get)
The reson why I add this is for communicate with X in async mode.
For example, If applications call elm_win_rotation_with_resize_set API
when they start run and rotation mode is set.
ecore size doesn't changed yet, so it make elm window size to 1
becaues elm window's resize function use ecore_evas_geometry_get API.
so I add new api help upperside get info related with recently request geometry



SVN revision: 64492
2011-10-28 11:15:33 +00:00
Rafael Antognolli 53031cf572 ecore/fb: Change fb engine input to use ecore_input_evas.
Nothing changes, only making the ecore fb engine to send keyboard and
mouse events using ecore_input_evas, instead of its own ecore events.

Patch for SiT.



SVN revision: 64447
2011-10-27 19:29:08 +00:00
Rafael Antognolli 44538e442a ecore/ecore_fb: Disable mouse move event filtering.
There are two main reasons for disabling this now:
 - it's not working, some problem with an assertion of ecore_lock is
 making the program abort;
 - it's wrong, mouse move events can only be filtered out if they are
 received from an absolute axis device (touchscreen and so), not
 relative ones, like mouse or touchpads.
Patch for SiT.



SVN revision: 64444
2011-10-27 18:57:23 +00:00
Iván Briano 085b16e93e Better docs for ecore_main_loop_iterate()
SVN revision: 64433
2011-10-27 13:19:11 +00:00
Carsten Haitzler b08afffb83 thanks to jiyoun's work in finding why this happens - here's actually a
simpler fix. :)



SVN revision: 64405
2011-10-26 05:29:38 +00:00
Christopher Michael 4aa5ab36f5 Ecore_X(cb): Remove some dead code. Fix formatting (how did this get
sooo messed up ??).



SVN revision: 64328
2011-10-23 18:33:32 +00:00
Tom Hacohen 361cc51340 Ecore imf: Free the module list on shutdown.
Freeing the content (using eina_module_list_free) is not enough, we need
to also free the array itself.

SVN revision: 64326
2011-10-23 12:01:36 +00:00
Christopher Michael 880a34d2a6 Ecore_X(cb): Make sure we have argv[i] before we try to strlen it.
SVN revision: 64302
2011-10-22 18:06:44 +00:00
Rafael Antognolli ca46030e4d ecore_evas_fb: use _ecore_evas_fb_render instead of the buffer one.
This mistake was introduced long ago on a cleanup.
Patch for SiT.



SVN revision: 64258
2011-10-21 16:07:29 +00:00
Carsten Haitzler 37e2ab21c1 ecrustify on ecore-x.
SVN revision: 64239
2011-10-21 05:40:59 +00:00
Carsten Haitzler 58cbf16625 ran ecrustify on ecore. some manual fixing too.
SVN revision: 64238
2011-10-21 05:40:39 +00:00
Carsten Haitzler ff45aac69d lets have envrionment var control over semisync in ecore-evas
SVN revision: 64191
2011-10-20 06:39:03 +00:00
Carsten Haitzler be90232bc0 match changes in ews code
SVN revision: 64126
2011-10-17 07:00:38 +00:00
Carsten Haitzler 210c5a9377 handle buffer allocation failure - null buffer.
SVN revision: 64125
2011-10-17 06:59:08 +00:00
ChunEon Park ba1bd2a8a1 ecore/animator - never be reached there
SVN revision: 64101
2011-10-16 04:47:42 +00:00
Youness Alaoui 84e9551521 Ecore: IN6_IS_ADDR_V4MAPPED needs an in6_addr as input on OSX
SVN revision: 64090
2011-10-15 09:30:58 +00:00
Carsten Haitzler 4866f72938 commit changes and notes for matrchnig multitouch xcb stuff
SVN revision: 64082
2011-10-15 03:34:01 +00:00
Carsten Haitzler 194df9ef24 for gustavo -> ews matching changes.
SVN revision: 64081
2011-10-15 03:19:25 +00:00
Carsten Haitzler d45161691a and now make my modifications to multittouch this morning also work
again with mpx automatically. yay!



SVN revision: 64071
2011-10-14 09:11:49 +00:00
Carsten Haitzler ee158e76fc 1. make inline image ee buffer non-alpha by default. thats the default
for all eee's. this was wrong.
2. make sure it sets back data when finished - check data in and check
it out.



SVN revision: 64069
2011-10-14 07:28:45 +00:00
Carsten Haitzler 57e5fd31d1 put in hardcoded bitmask define if headers dont provide it.
SVN revision: 64068
2011-10-14 07:23:09 +00:00
Carsten Haitzler bf1b8531b7 support slave pointer and try not to kill mpx support.
SVN revision: 64056
2011-10-14 02:32:34 +00:00
Cedric BAIL c26c5b6fa2 ecore: define Video XAtoms.
SVN revision: 64041
2011-10-13 07:41:55 +00:00
Carsten Haitzler f543d932c4 segv over there in xlib ecore_x... suddenly... in a test app.
SVN revision: 64012
2011-10-12 09:26:09 +00:00
Bruno Dilly 220e9e7a66 Ecore exe: check for prctl header instead of OS
Suggested by vtorri


SVN revision: 63987
2011-10-11 18:19:37 +00:00
Carsten Haitzler 2c08cfa53c add env var to disable compositor syncing for testing
SVN revision: 63979
2011-10-11 06:18:13 +00:00
Sebastian Dransfeld 33c929baa8 ecore/ecore_con: Remove the other while multi
SVN revision: 63962
2011-10-10 17:51:34 +00:00
Carsten Haitzler 11917747d0 try and fix post with null data?
SVN revision: 63956
2011-10-10 09:37:30 +00:00
Carsten Haitzler e5756206b7 this should fix curl support from hacning for up to 0.7* 1/fps sec on
1 or more calls and even in idlers etc. only do it once then rely on
fd's to wake up and do it again.



SVN revision: 63955
2011-10-10 09:36:56 +00:00
Bruno Dilly 88fdfeff4c Ecore_Exe: ifdef prctl usage
SVN revision: 63916
2011-10-08 01:17:19 +00:00
Bruno Dilly 8bc303995a Ecore Exe: add flag to send SIGTERM when parent die
Add a new ecore exe flag, ECORE_EXE_TERM_WITH_PARENT,
that will operate on child process,
sending a SIGTERM when parent process dies.



SVN revision: 63915
2011-10-07 23:37:42 +00:00
Christopher Michael f06f66b0a9 Ecore_Evas: Fix building of ecore_evas when ews is disabled.
SVN revision: 63888
2011-10-06 20:54:46 +00:00
Gustavo Sverzut Barbieri fc1cf7e259 ews: do not allow resize the window using a mouse.
EWS is meant to run in FB or other systems without actual windows, but
as we test on X11 let's forbid to change the resolution.

One is still able to do it using ecore_evas_ews_setup().



SVN revision: 63860
2011-10-06 00:09:17 +00:00
Gustavo Sverzut Barbieri f51d00e4cf ecore_evas_ews: focus-out may be called during deletion.
SVN revision: 63857
2011-10-05 23:41:39 +00:00
Gustavo Sverzut Barbieri 5be92e7d21 ecore_evas_ews: apply modifiers to target evas.
SVN revision: 63855
2011-10-05 23:24:45 +00:00
Gustavo Sverzut Barbieri b136246078 ecore_evas_ews: fixed bug with rendering.
Ouch, did not notice the engines were hardcode to buffer engine, let's
make it generic to the render function of the engine.



SVN revision: 63853
2011-10-05 22:52:41 +00:00
Gustavo Sverzut Barbieri 27bd62e087 ecore_evas_ews: fix focus of inner canvas.
SVN revision: 63852
2011-10-05 22:51:37 +00:00
Gustavo Sverzut Barbieri 163272dc48 Welcome EWS - Ecore+Evas Single Process Windowing System.
EWS is a new Ecor_Evas engine that builds on top of other engines. It
will create a backing store Ecore_Evas and ecore_evas_ews_new()
windows are created in it as images, but transparent to the outside
users (similar to buffer's ecore_evas_object_image_new()).

It provides a basic windowing system, with a known background object
that can be changed to your pleasure, and issue Ecore_Events to notify
of new windows and changes like movement, etc. Then you can write a
simple window manager based on it. (See example, Elementary will
contain one as well).

Backing store is determined by your best engine (as in
ecore_evas_new()) or specified with ecore_evas_ews_engine_set() or
environment variable $ECORE_EVAS_EWS (format:
engine-namey:w:h:options). The size can be set with
ecore_evas_ews_setup().



SVN revision: 63848
2011-10-05 22:11:00 +00:00
Christopher Michael 2dde82d216 Ecore_X(cb): Return correct screen from ecore_x_screen_get
SVN revision: 63818
2011-10-05 00:52:02 +00:00
Christopher Michael a4b22379b0 Ecore_X(cb): Readd missing connection checks.
SVN revision: 63813
2011-10-04 21:54:36 +00:00
Christopher Michael ed291bafe1 Ecore_X(cb): Fix randr code to work with randr 12 or 13.
NB: This fixes the slow startup times that some people have reported
when using certain drivers (intel, nouveau, etc).



SVN revision: 63812
2011-10-04 21:47:49 +00:00
Youness Alaoui da2fb1b6f5 Ecore-con: Oups, fix ipv6 support in cares support after previous commit misstep
SVN revision: 63755
2011-10-02 23:41:42 +00:00
Youness Alaoui 0618b78f1e Ecore-con: Allow to disable local sockets support, and disable them on ps3
SVN revision: 63683
2011-09-29 21:05:32 +00:00
Youness Alaoui 84796ed59b Ecore-con: Use inet_ntop instead of getnameinfo.
getnameinfo is a blocking call would would resolve a sockaddr into
its hostname, not into an IP address, so the ip_get should use the
inet_ntop call instead.

SVN revision: 63682
2011-09-29 21:05:20 +00:00
Youness Alaoui 075744047d Ecore-con: Add a client/server unit test
SVN revision: 63681
2011-09-29 21:05:02 +00:00
Youness Alaoui 1fc4a13f80 Ecore-con: Test for IPV6 availability
SVN revision: 63680
2011-09-29 21:04:54 +00:00
Youness Alaoui ed03a201ef ecore-con: Do not use TCP_NODELAY if netinet/tcp.h is not found
SVN revision: 63679
2011-09-29 21:04:45 +00:00
Carsten Haitzler 8c26779f16 update modifiers on mapping changes too.
SVN revision: 63665
2011-09-29 09:56:07 +00:00
Daniel Juyung Seo c8a62c0cb2 ecore ecore_con_url.c: Applied ui interactoin bug fix patch from Kim
Yunhan <spbear@gmail.com>

On Wed, Sep 21, 2011 at 10:51 PM, Kim Yunhan <spbear@gmail.com> wrote:
> Hello!
>
> elm_map uses Ecore Con with CURL.
> I tested elm_map many times on my device.
> But sometimes UI interaction is held when data connection is poor.
> So I tried to debug and I found that this code lead to hold an Ecore
main
> loop.
>
> ----------------------------------------------
> In ecore_con_url.c
>
> while (curl_multi_perform(_curlm, &still_running) ==
> CURLM_CALL_MULTI_PERFORM) ;
> ----------------------------------------------
>
> curl_multi_perform() is CURL's asynchronous API.
> But above code hold an Ecore main loop.
> When it takes long time in libcurl, UI interaction is delayed.
>
> For example, If you have poor data connection.
> libcurl is trying to resolve DNS in this step.
> But it have to wait until timeout.
> At that time it looks like being locked.
>
> So I write a patch for fixing it.


SVN revision: 63636
2011-09-28 05:30:57 +00:00
Cedric BAIL 9a6c96ee56 ecore: prevent one last spurious wakeup.
SVN revision: 63619
2011-09-27 06:16:11 +00:00
Christopher Michael d579c7812d Ecore_X(cb): Disable filtering of MotionNotify events. Could cause
problems with prediction. Thanks mate ;)



SVN revision: 63587
2011-09-24 09:21:17 +00:00
Christopher Michael 506179e544 Ecore_Xim: No need to link against xcb flags here.
SVN revision: 63584
2011-09-24 07:23:17 +00:00
Christopher Michael 63baac01f2 Ecore_Evas: Rename xcb cflags & libs variable to avoid pkg-config
confusion.



SVN revision: 63582
2011-09-24 06:20:47 +00:00
Christopher Michael c75816a09c Ecore_X(cb): Rename xcb cflags & link libs to avoid any pkg-config
confusion.



SVN revision: 63581
2011-09-24 06:20:15 +00:00
Christopher Michael 6273de0e15 Ecore_X(cb): Fix ecore_x when using unstable (from git) xcb...they
removed the event error enums.



SVN revision: 63579
2011-09-24 05:33:29 +00:00
Cedric BAIL 16fc152856 ecore: lock all broadcast.
SVN revision: 63567
2011-09-23 13:26:54 +00:00
Cedric BAIL f749139212 ecore: prevent spurious wakeup and lock the right mutex.
SVN revision: 63565
2011-09-23 10:47:33 +00:00
Christopher Michael fe35a0421b Ecore_Evas: Don't need the WindowAttributes variable unless we are an
argb window. 

(Sorry vtorri).



SVN revision: 63534
2011-09-22 09:26:02 +00:00
Vincent Torri b25413d367 whitespaces--
SVN revision: 63531
2011-09-22 06:02:26 +00:00
Christopher Michael dd77378588 Ecore_Evas: Rework ecore_evas_x_render function so it does not
allocate memory for list variables & rectangles unless we need to (ie:
If there are no evas_render_updates to do, then there is no need to
allocate extra list variables & rectangles).



SVN revision: 63528
2011-09-22 02:39:23 +00:00
Christopher Michael 0009c82081 Ecore_Evas: When doing rotation_set_internal, no need to fetch the
ecore_x_window_size here as the returned values are not used anyway,
so avoid the extra function call.



SVN revision: 63523
2011-09-21 21:01:15 +00:00
Christopher Michael 42d8b6b481 Ecore_Evas: No need to call ecore_x_window_move/resize is the canvas
is already at the required size or position.



SVN revision: 63522
2011-09-21 20:55:12 +00:00
Christopher Michael c668ac0227 Ecore_X(cb): Make vsync code behave like xlib version and link against
libdri/libGL/etc. Remove use of xcb_dri2 extension (for now).



SVN revision: 63517
2011-09-21 11:41:25 +00:00
Christopher Michael 46b0d6adf0 Ecore_X(cb): Make sync_magic_send more like the xlib version and use
xcb_send_event directly.



SVN revision: 63516
2011-09-21 11:39:08 +00:00
Carsten Haitzler c54441d5ce xcb impl for generic events
SVN revision: 63508
2011-09-21 06:17:22 +00:00
Christopher Michael c748d1b17b Ecore_X(cb): Remove debug printout. Add missing logfn.
SVN revision: 63507
2011-09-21 05:13:03 +00:00
Youness Alaoui bbbf959e77 Ecore: Oups, typo, check for PS3 with __lv2ppu__ and not __ppulv2__
SVN revision: 63504
2011-09-20 22:06:33 +00:00
Christopher Michael 5f68e376b2 Ecore_X(cb): Add macro to check for validity of the xcb_connection
before trying to use it.



SVN revision: 63494
2011-09-20 09:12:02 +00:00
Christopher Michael 663ce7f2fc Ecore_X(cb): Add checks to make sure that extensions are loaded and
available before making calls to them.



SVN revision: 63492
2011-09-20 07:34:50 +00:00
Christopher Michael d7a1fd1630 Ecore_X(cb): Trim down memory usage. Add checks for damage extension
before trying to use it. Enable getting xcursor core & anim from
xdefaults.



SVN revision: 63491
2011-09-20 07:17:55 +00:00
Christopher Michael 3561137e9a Ecore_X(cb): Check composite is available before trying to use it.
SVN revision: 63490
2011-09-20 07:15:52 +00:00
Christopher Michael c7a7c71541 Ecore_X(cb): Fix 'dpy' thingies ;)
SVN revision: 63489
2011-09-20 07:14:11 +00:00
Christopher Michael 7896c9df95 Ecore_X(cb): Make sure screensaver extension is available before
trying to call functions involving it.



SVN revision: 63488
2011-09-20 07:11:36 +00:00
Carsten Haitzler 0849e320a0 fix bug in generic event handling on xlib side of ecore_x
SVN revision: 63475
2011-09-19 10:11:53 +00:00
Youness Alaoui f15246db82 Ecore: Do not call execvp if it's unavailable on the system
SVN revision: 63466
2011-09-18 21:57:47 +00:00
Youness Alaoui df10c78174 Ecore: Do not declare the siginfo_t and signal functions for the PS3
SVN revision: 63465
2011-09-18 21:57:38 +00:00
Christopher Michael 5f037fce40 Ecore_X(cb): Work around (possible) xcb bug where
ecore_x_screen_index_get was not returning the proper 0-based index.

NB: Fixes OpenGL with xcb.



SVN revision: 63440
2011-09-16 14:16:09 +00:00
Cedric BAIL d64c1b9566 ecore: reduce race condition.
SVN revision: 63436
2011-09-16 09:31:47 +00:00
Youness Alaoui 512599f1ba Ecore-Sdl: Must set the mouse event's multi struct to 0
Otherwise ecore-evas will think that the event is for multi touch
and will ignore the actual values of the structure and will only use
the uninitialized data from the multi struct

SVN revision: 63431
2011-09-16 07:08:53 +00:00
Youness Alaoui e4165d053b Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001
SVN revision: 63430
2011-09-16 07:08:45 +00:00
Cedric BAIL 8e9fbe5662 ecore: prevent race condition when using sync call after begin/end.
SVN revision: 63407
2011-09-15 11:15:46 +00:00
Vincent Torri d5a1614b2f order of includes
SVN revision: 63397
2011-09-14 19:11:12 +00:00
Vincent Torri dd96a309f4 clean generated files
SVN revision: 63396
2011-09-14 19:09:24 +00:00
Mike Blumenkrantz 681749300e fix and clarify more fd handler docs
SVN revision: 63389
2011-09-14 14:31:54 +00:00
Mike Blumenkrantz 1e533c27b2 fix docs for ecore_main_fd_handler_del
SVN revision: 63388
2011-09-14 14:26:28 +00:00
Mike Blumenkrantz 80bfb5a55e add main loop group to main docs page
SVN revision: 63387
2011-09-14 14:20:13 +00:00
Mike Blumenkrantz b9159044ed more @since 1.1
SVN revision: 63365
2011-09-13 23:04:18 +00:00
Mike Blumenkrantz 20eed93ea3 add ECORE_CON_EVENT_SERVER_WRITE ECORE_CON_EVENT_CLIENT_WRITE
SVN revision: 63364
2011-09-13 23:03:26 +00:00
Mike Blumenkrantz 31908c69f9 add @since 1.1 for some events
SVN revision: 63363
2011-09-13 22:46:46 +00:00
Christopher Michael 4128761216 Ecore_X(cb): Remove extra calls to ecore_x_flush. Move main loop
flushing call to an idler like ecore_evas does...Thanks k-s ;)



SVN revision: 63359
2011-09-13 16:32:34 +00:00
Christopher Michael 6a08cbdd30 Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63358
2011-09-13 15:47:56 +00:00
Christopher Michael 5bfeec8dab Ecore_X(cb): Add missing flush after xcb_send_event.
SVN revision: 63357
2011-09-13 15:45:56 +00:00
Mike Blumenkrantz e982875277 more useless ecore-con functions: ecore_con_server_fd_get and ecore_con_client_fd_get
SVN revision: 63344
2011-09-12 08:30:22 +00:00
Youness Alaoui 0db90cab00 Ecore-sdl: remove unused events and fix semicolon typo and docs
SVN revision: 63338
2011-09-12 03:43:46 +00:00
Christopher Michael 5427b07823 Ecore_X(cb): Add missing window types to return in netwm code.
SVN revision: 63303
2011-09-08 23:28:12 +00:00
Christopher Michael 8da3a6993f Ecore_X(cb): Dnd now works with efm. Add some debugging prints (to
debug gtk dnd events).



SVN revision: 63301
2011-09-08 23:11:33 +00:00
Christopher Michael 67a369fee3 Ecore_X(cb): Add simple .Xdefaults file parser for getting dpi, cursor
size, etc.

NB: Xcb has no support for xrdb (yet), so parse dpi, etc from
.Xdefaults (if exists).



SVN revision: 63299
2011-09-08 21:51:08 +00:00
Daniel Juyung Seo 044f49800b ecore Ecore.h: Fixed documentation.
SVN revision: 63280
2011-09-08 04:44:25 +00:00
Youness Alaoui bad6a1bc33 Ecore: SDL 1.3 doesn't define SDLK_FIRST and SDLK_WORLD_* keys
SVN revision: 63254
2011-09-07 06:58:35 +00:00
Youness Alaoui 5714e384d7 Ecore: Allow ecore-evas-sdl to work with software-sdl-16 engine. Also removed dead code
SVN revision: 63253
2011-09-07 06:58:28 +00:00
Youness Alaoui ea4aa8f446 Ecore: Add the noframe extra option to the ecore-evas-sdl
SVN revision: 63252
2011-09-07 06:58:21 +00:00
Youness Alaoui b2392e422c Ecore: _ecore_thread_handler must not be defined if threads aren't supported
SVN revision: 63251
2011-09-07 06:58:10 +00:00
Mike McCormack cfddcef5d1 ecore (glib): Fix build break
SVN revision: 63082

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63184
2011-09-05 01:27:07 +00:00
Carsten Haitzler 098518798f at least handle null im_info & dont crash.
SVN revision: 63105
2011-09-03 04:47:50 +00:00
Carsten Haitzler f67bdb7c37 mainloop cleanups on top of previous ones and fixes for previous refactors
SVN revision: 63082
2011-09-02 03:29:11 +00:00
Christopher Michael 6acb1d8ddb Ecore_X(cb): When sending client messages, message_type needs to be
ev->type.



SVN revision: 63067
2011-09-01 20:21:36 +00:00
Christopher Michael 96a210d07c Ecore_X(cb): Port Hermits xlib code to support double/triple click for
multi-touch devices to xcb.
Remove dead code.
Add missing flush calls after change_window_attributes.
Quiet down the event code by commenting out some LOGFN's.
Make selection event code more like Xlib.
Add missing flush calls after send_event.



SVN revision: 63009
2011-08-30 19:22:51 +00:00
Christopher Michael 0c3a54457d Ecore_X: Function expects a Eina_Bool return, so let's use those ;)
SVN revision: 63008
2011-08-30 18:38:27 +00:00
Christopher Michael f1804f736b Ecore_X(cb): Add missing flush after send_event(s). Remove unused code.
SVN revision: 63007
2011-08-30 18:37:47 +00:00
Christopher Michael 2a3c45fd63 Ecore_X(cb): Add missing flush after change_property.
SVN revision: 63006
2011-08-30 18:37:12 +00:00
Christopher Michael 9dcd3cf466 Ecore_X(cb): Add missing free of reply.
SVN revision: 63005
2011-08-30 18:36:43 +00:00
Christopher Michael bd3a56cc18 Ecore_X(cb): Add missing flush after send_event(s).
SVN revision: 63004
2011-08-30 18:34:40 +00:00
Christopher Michael bac39cb0e3 Ecore_X(cb): Process & clear error if we have one. Add missing free of
reply.



SVN revision: 63003
2011-08-30 18:33:44 +00:00
Christopher Michael 85b508d3e3 Ecore_X(cb): Add missing flush calls after send_event for dnd.
SVN revision: 63002
2011-08-30 18:32:40 +00:00
Christopher Michael 003221f24b Ecore_X(cb): ecore_x_dpms functions return Eina_Bool, so let's use that.
SVN revision: 63001
2011-08-30 18:30:17 +00:00
Christopher Michael 7babfbc619 Ecore_X(cb): Make mwm code match xlib closer.
SVN revision: 63000
2011-08-30 18:29:36 +00:00
Christopher Michael c94f16028c Ecore_X(cb): Make netwm code match xlib closer. Add missing flush
after send_event(s).



SVN revision: 62999
2011-08-30 18:29:15 +00:00
Rafael Antognolli 952e4cef2e ecore/ecore_exe - Fix wrong documentation.
Many lines can be delivered on one event, but they are split on several
Ecore_Exe_Event_Data_Line on the event.



SVN revision: 62990
2011-08-30 14:43:29 +00:00
ChunEon Park bda5802e9a ecore/ecore_x - modified to support double/triple clicked for multi touch device.
Actually, basic logic is same, 
but added the touch down info structure to store down timestamp (and window, event window...) for each device. 



SVN revision: 62980
2011-08-30 05:15:53 +00:00
Vincent Torri 5d63d386df use EINA_FALSE / EINA_TRUE
SVN revision: 62974
2011-08-29 21:47:07 +00:00