Commit Graph

4114 Commits

Author SHA1 Message Date
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
Rafael Antognolli 788f0c84e2 ecore/ecore_exe - Don't free the event data while we use it.
Since we are memcpying it to a new allocated memory, we can only free it after
finishing doing that.



SVN revision: 62970
2011-08-29 21:20:26 +00:00
Leif Middelschulte 8d9c4144ef From: Leif Middelschulte <leif.middelschulte@gmail.com>
Subject: [E-devel] [PATCH] Ecore_X.h typo

... patch fixing earlier typo in prior patch :)



SVN revision: 62884
2011-08-27 01:41:52 +00:00
ChunEon Park c6bd24febb ecore_evas - patched by Gwanglim Lee <gl77.lee@samsung.com>
Hi all,

I've fixed a minor bug in the ecore_evas_gl_x11_pre_post_swap_callback_set API.
It wasn't setting a post_swap callback properly.

Please review it.

BR,




SVN revision: 62785
2011-08-25 08:14:21 +00:00
Christopher Michael e07f363689 Ecore_X(cb): More work toward the effort of getting drag-n-drop to
work for gtk apps (tho no success yet).



SVN revision: 62731
2011-08-23 18:03:11 +00:00
Christopher Michael dafdb01872 Ecore_X(cb): Readd missing doxy.
SVN revision: 62728
2011-08-23 16:43:18 +00:00
Christopher Michael 4d6e04c512 Ecore_X(cb): Rework cursor code to be more like the Xlib version.
SVN revision: 62727
2011-08-23 16:39:52 +00:00
Christopher Michael b28995b31d Ecore_X(cb): Fix compiler warnings when building without xprint support.
SVN revision: 62726
2011-08-23 16:39:07 +00:00
Christopher Michael 921497a9fc Ecore_X(cb): Make selection code more like the Xlib version. Fix
return from parser_files function.



SVN revision: 62725
2011-08-23 16:38:24 +00:00
Lucas De Marchi 428c512599 ecore: silence warnings the right way
Setting a variable but not using it will trigger another warning on gcc >= 4.6.



SVN revision: 62717
2011-08-23 12:04:52 +00:00
Christopher Michael 121d5b7314 Ecore_X(cb): Enable code for using xprint to get window root list
(like xlib has). Remove some fixme's (implement error checking for a
few functions).

NB: While this code makes ecore_x_window_root_list work like the xlib
version does (ability to use xprint to get list), I highly recommend
building ecore without xprint support (--disable-ecore-x-xprint)
because this seems like a lot of work to go through to get the window
root list. Building without xprint support provides a faster code path.



SVN revision: 62696
2011-08-22 20:10:53 +00:00
Cedric BAIL 8c078b294c ecore: make ecore_thread_main_loop_begin/end() recursive.
SVN revision: 62687
2011-08-22 09:47:17 +00:00
Carsten Haitzler ed6ed2987e we dont need 1 if level in ecore mainloop. it really isn't needed.
been harmless though.



SVN revision: 62682
2011-08-22 09:32:39 +00:00
ChunEon Park 40d578abe0 ecore - fixed typo
SVN revision: 62653
2011-08-21 09:30:29 +00:00
Christopher Michael 57cc30c651 Ecore_X(cb): Filter out some motion_notify events to reduce cpu
intensive operations (helps wrt fps when scrolling).

NB: I've seen no adverse effects from this, but please report if you do.



SVN revision: 62637
2011-08-20 21:14:34 +00:00
Christopher Michael 267356c0df Ecore_X(cb): 'Driver' not used here, remove.
SVN revision: 62629
2011-08-20 12:52:59 +00:00
Christopher Michael d9be5b2495 Ecore_X(cb): Use unchecked version for get_input_focus. Cache pixmap
format for reuse so we don't have to keep iterating pixmap formats
from the server setup (can be expensive).



SVN revision: 62627
2011-08-20 11:04:10 +00:00
Carsten Haitzler 0ee7168b3b ummm mike -> need to unlock and lock - calling ecore_timer_add inside
a lock already. unless u want to make both external and internal call
versions.



SVN revision: 62619
2011-08-20 05:03:13 +00:00
Christopher Michael 64fdc36b02 Ecore_X(cb): Add some extra 'flush' calls to improve framerate.
NB: For the purests, I know some/most of these are erroneous (extra &
not needed), but please leave them for now until I get time to go
through each one separately to verify & remove (or leave).



SVN revision: 62610
2011-08-20 02:33:57 +00:00
Christopher Michael 3e4c83a87b Ecore_X(cb): Use xcb_shm functions directly. This allows us to avoid
some extra overhead in the xcb image functions when doing shm_put/get.



SVN revision: 62609
2011-08-20 02:32:38 +00:00
Christopher Michael 119f80853e Ecore_X(cb): Add extra flush.
SVN revision: 62608
2011-08-20 02:28:08 +00:00
Christopher Michael 52a9f334bd Ecore_X(cb): Revert caching of visual (breaks borders on terminals for
some odd reason).



SVN revision: 62598
2011-08-19 21:52:25 +00:00
Christopher Michael 838d1e2337 Ecore_X(cb): Cache the visual and avoid extra lookups.
SVN revision: 62597
2011-08-19 20:36:26 +00:00
Sebastian Dransfeld ea52155aeb ecore: Fix shadow warnings
SVN revision: 62562
2011-08-18 10:59:24 +00:00
Sebastian Dransfeld 8fc827f7c0 ecore: Fix unused warnings
SVN revision: 62561
2011-08-18 10:59:12 +00:00
Sebastian Dransfeld d48cb21e21 ecore: Use PATH_MAX
SVN revision: 62555
2011-08-18 07:35:23 +00:00
Sebastian Dransfeld 82bb3a62af ecore: Fix shadow warning
SVN revision: 62554
2011-08-18 07:35:12 +00:00
Daniel Juyung Seo 49afea24f8 ecore Ecore.h: Fixed typo.
SVN revision: 62546
2011-08-18 04:24:21 +00:00
Cedric BAIL 7b047a49d7 ecore: add clean thread safety mecanism.
SVN revision: 62531
2011-08-17 09:43:49 +00:00
Mike McCormack 4955dc0c76 ecore/glib: Make ecore_main_loop_iterate non-blocking
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62523
2011-08-17 01:12:43 +00:00
Cedric BAIL 1ca5e18738 ecore: add ecore_main_loop_thread_safe_call_sync and rename ecore_main_loop_thread_safe_call.
SVN revision: 62513
2011-08-16 14:35:00 +00:00
Christopher Michael 9c41e1fe91 Ecore: Fix formatting.
SVN revision: 62490
2011-08-15 20:18:16 +00:00
Mike McCormack bfffcce2fe ecore: Create a lockless ecore_event_handler_del
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62375
2011-08-12 05:22:16 +00:00
Mike McCormack 01e790ed40 ecore: Create a lockless ecore_main_fd_handler_del
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62374
2011-08-12 05:22:07 +00:00
Mike McCormack 25b0ab9ca7 ecore: Create a lockless ecore_animator_add()
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62373
2011-08-12 05:21:58 +00:00
Mike McCormack a541e19c16 ecore: Use eina locks for _ecore_lock()
Always count lock calls too.

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

SVN revision: 62372
2011-08-12 05:21:49 +00:00
Gustavo Lima Chaves 608716961b [ecore] New main loop diagram.
SVN revision: 62357
2011-08-11 19:29:26 +00:00
Mike McCormack 0fad5661b0 ecore: Lock in ecore_shutdown
Avoid unbalanced locks when calling event-free callbacks.

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

SVN revision: 62348
2011-08-11 12:01:19 +00:00
Mike McCormack e1b75002f0 ecore: Avoid returning when holding locks
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62347
2011-08-11 12:01:09 +00:00
Mike McCormack 4f5d5c40bf ecore: Avoid using return in locked section
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62346
2011-08-11 11:38:54 +00:00
Mike McCormack f05e37addf ecore: Create callback wrappers
This gets rid of a lot of temporary variables and cleans the code up again...

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

SVN revision: 62342
2011-08-11 10:59:48 +00:00
Gustavo Lima Chaves 0603a5cf50 [ecore] Put order in header file, splitting function groups in contiguous chunks.
Sorry for having to pratically rewrite the header, but the other way
    to get docs right would be to put lots of @addtogroup around several
    chunks of the file, which is ugly too and doesn't organize anything.

    I have tested ecore with that and it seems to be okay.



SVN revision: 62307
2011-08-10 19:14:48 +00:00
Mike McCormack 68ecfd8183 ecore: Fix linking of xim module
SVN revision: 62301
2011-08-10 15:20:29 +00:00
Cedric BAIL 1dc2512897 efl: remove mman as we Eina_File now.
Patch from Vincent Torri.


SVN revision: 62244
2011-08-09 09:19:25 +00:00
Cedric BAIL 6ac11a9806 ecore: remove bad macro from ecore.
SVN revision: 62241
2011-08-09 08:50:47 +00:00
Carsten Haitzler 7b85e7da2b aaagh those were not meant to be in the docs!
SVN revision: 62223
2011-08-09 06:05:44 +00:00
Christopher Michael cc639e3d1e Ecore_X: Make ecore_xcb_e match up more w/ xlib version. Don't use
ecore_x_client_message32_send, but rather send the events directly via
xcb (like xlib does).



SVN revision: 62219
2011-08-08 20:40:04 +00:00
Christopher Michael 4b16e8b6fb Ecore_X: Make ecore_x_init (wrt xcb) match the xlib version more (add
eina_init, etc).
dlopen XCloseDisplay for opengl and use that also.
Use the unchecked version for query pointer.
Add some FIXME notes.



SVN revision: 62218
2011-08-08 20:39:10 +00:00
Christopher Michael ae585ba36a Ecore_X: Make ecore_xcb_window match up more w/ xlib version.
Fix some formatting.
Don't allocate any Ecore_X_Windows if the children count is zero.



SVN revision: 62217
2011-08-08 20:37:40 +00:00
Christopher Michael d04731b7e5 Ecore_X: Add comment wrt Fixes extension version (for Tom).
Remove unused code wrt invert regions.



SVN revision: 62216
2011-08-08 20:35:48 +00:00
Christopher Michael e6485b2198 Ecore_X: Fix fat finger copy-paste error wrt casting on shape
rectangles. Thanks jeffdameth for pointing that out ;)



SVN revision: 62215
2011-08-08 20:10:44 +00:00
Christopher Michael b15561a8c8 Ecore_X: We don't check fixes extension version in xlib, so don't
check it here.



SVN revision: 62214
2011-08-08 19:31:17 +00:00
Christopher Michael 5ded422d53 Ecore_X: Remove check for shape extension version.
SVN revision: 62213
2011-08-08 19:15:41 +00:00
Christopher Michael 3d6132e64e Ecore_X: Remove check for damage extension version. (we don't check
version in xlib, so don't check it here).



SVN revision: 62212
2011-08-08 19:15:04 +00:00
Christopher Michael 8a94655b0d Ecore_X: Use unchecked version for getting overlay window.
SVN revision: 62211
2011-08-08 18:59:25 +00:00
Christopher Michael 4f61801f58 Ecore_X: Fix newly added xfixes selection code for Tom ;)
SVN revision: 62210
2011-08-08 18:05:46 +00:00
Christopher Michael 9afbe23fe2 Ecore_X: Fix formatting of new xfixes code (someone's editor is not
indenting correctly) ;)

Fix formatting of some existing code to declare variables at the top
of functions.

Remove some unused variables.



SVN revision: 62209
2011-08-08 18:05:07 +00:00
Tom Hacohen 6a2929e448 Ecore X: Added Xfixes selection notification support.
Now we can get notifications for changes in X selection. This is very useful
for text editors that want to disable their "paste" button when there's
nothing to paste.

SVN revision: 62205
2011-08-08 14:36:02 +00:00
Carsten Haitzler 8e89c5ae88 doc - we dont really need the logo there.
SVN revision: 62201
2011-08-08 11:31:07 +00:00
Carsten Haitzler e8e1d50944 remove some docs on compiling goop we don't need really.
SVN revision: 62200
2011-08-08 11:29:05 +00:00
Sanjeev Ba 6cde0c4431 From: Sanjeev Ba <as2902.b@samsung.com>
Subject: Using Eina_BinBuf in Ecore_Con_Url

From Sanjeev - an improvement and addition to the Ecore_Con
documentation giving a handy tip on using Eina_Bin/StrBuf.



SVN revision: 62195
2011-08-08 09:40:36 +00:00
Daniel Juyung Seo cbed71db02 ecore ecore_imf_context.c: Added since 1.1.0. Patch by Jihoon Kim <jihoon48.kim@samsung.com>
On Sun, Aug 7, 2011 at 9:55 AM, Jihoon Kim <jihoon48.kim@samsung.com> wrote:
> In previous patch, version information (@since 1.1.0) is missed.
>
> Would you please apply this patch in svn?


SVN revision: 62184
2011-08-07 14:49:08 +00:00
Gustavo Lima Chaves 79f479c754 [ecore] Examples for the last batch of documentation
bumps.



SVN revision: 62152
2011-08-05 20:16:19 +00:00
Gustavo Lima Chaves 813e5e978a [ecore] Documentation for the following:
- ecore_evas_buffer_allocfunc_new
 - ecore_evas_buffer_new
 - ecore_evas_buffer_pixels_get
 - ecore_evas_manual_render
 - ecore_evas_object_image_new
 - ecore_evas_object_ecore_evas_get
 - ecore_evas_object_evas_get



SVN revision: 62151
2011-08-05 20:16:13 +00:00
Christopher Michael 30fe4be948 Ecore_X: Fix dnd for shaped windows.
SVN revision: 62105
2011-08-04 20:46:44 +00:00
Jonas M. Gastal a137a9c056 Ecore: removing author list from main page.
SVN revision: 62070
2011-08-03 21:00:09 +00:00
Jonas M. Gastal eda5044ed4 Ecore: Adding diagram to ecore_animator.
SVN revision: 62058
2011-08-03 14:40:06 +00:00
Jonas M. Gastal 7de33b63a3 Ecore: ecore_evas window properties documentation.
These functions are not contemplated by examples because there is no
meaningfull example(just setting the flags doesn't won't help developers
in understading how to use them) and because their behavior is dependant
on the windowing system.



SVN revision: 62056
2011-08-03 14:39:01 +00:00
Jonas M. Gastal 92f409501d Ecore: ecore_evas basics documentation.
SVN revision: 62055
2011-08-03 14:38:32 +00:00
Iván Briano d89accbdb8 More annoying DSO
SVN revision: 62021
2011-08-02 21:19:06 +00:00
Jonas M. Gastal 62cd6116d1 Ecore: ecore_evas_object documentation.
SVN revision: 62016
2011-08-02 17:02:07 +00:00
Gustavo Lima Chaves 171186e10c [ecore] Documenting the following:
- ecore_evas_size_base_get
 - ecore_evas_size_base_set
 - ecore_evas_size_max_get
 - ecore_evas_size_max_set
 - ecore_evas_size_min_get
 - ecore_evas_size_min_set
 - ecore_evas_size_step_get
 - ecore_evas_size_step_set



SVN revision: 62012
2011-08-02 16:44:08 +00:00
Iván Briano 1cffa73758 Just link to ecore-evas for all examples
SVN revision: 62008
2011-08-02 15:52:07 +00:00
Jonas M. Gastal 070ed98761 Ecore: ecore evas callbacks documentation.
SVN revision: 61998
2011-08-02 13:52:26 +00:00
Christopher Michael fde1f6eed6 Ecore_Xcb: Make ecore_xcb_window_shape reflect the xlib version more
(in the hunt to fix engage issue(s))...tho this still does not fix the
issue(s) with engage :/



SVN revision: 61986
2011-08-02 09:07:52 +00:00
Christopher Michael e339ae020a Ecore_Xcb: Allow ecore_xcb to support unstable/development version(s) of xcb.
(based on patch from Boris Faure)

NB: This is untested/unsupported code. Ymmv, but using/compiling
ecore_x with versions of xcb > 0.3.6 is not supported yet (until such
time that standard distros support 0.3.8 out of the box).



SVN revision: 61971
2011-08-02 01:32:10 +00:00
Cedric BAIL d0e8b833a9 ecore: merge call to main loop together to reduce number of main loop wakeup.
SVN revision: 61947
2011-08-01 12:16:39 +00:00
Cedric BAIL 236b7fca74 ecore: now you don't need to care if you are in the main loop or not when you call ecore_main_loop_thread_safe_call.
SVN revision: 61897
2011-07-29 14:59:43 +00:00
Carsten Haitzler 9821e8449b make jihoons start on on-the-spot editing work. :)
SVN revision: 61887
2011-07-29 10:50:59 +00:00
Carsten Haitzler 48cb97bcec more error handling improvements
SVN revision: 61879
2011-07-29 06:21:43 +00:00
Carsten Haitzler bf5829a614 make sure we complain enough on stderr about enignes not being found
by ecore-evas. improved error handling, though not really a bug.



SVN revision: 61878
2011-07-29 06:20:55 +00:00
WooHyun Jung a9538d59bd ecore : From. Jihoon Kim. In XIM immodule, it doesn't generate preedit
changed event in preedit_draw_callback func at this moment.
This patch will solve this problem.


SVN revision: 61876
2011-07-29 05:37:31 +00:00
Cedric BAIL b4338b1c7f ecore: add ecore_main_loop_thread_safe_call.
NOTE: that's for you mike.


SVN revision: 61857
2011-07-28 13:33:14 +00:00
Mike McCormack 5c8256e337 ecore: Add main loop thread safety
Thread safety is disabled by default.
Enable it with --enable-thread-safety

Should cover timers, events, animators, idlers and fd handlers.

Tested with Enlightenment and elementary_test.

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

SVN revision: 61851
2011-07-28 12:01:16 +00:00
Mike McCormack f46934e94f ecore-imf: Don't crash if no XIM is present
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61850
2011-07-28 12:01:04 +00:00
Christopher Michael a71c7d1f68 Ecore_X: For some very odd reason, certain *buntu systems will not
build our ecore_xcb without having pixman_clags & libs as separate
variables here...works on every other system I've tried, but eh it's
*buntu .. their stupid :P



SVN revision: 61796
2011-07-27 07:40:19 +00:00
Christopher Michael c3730e9748 Ecore_X: Remove recent xcb resource code (we're going to go a
different path with this) ;) Reorder init/shutdown procedures to match
order (first in, last out).



SVN revision: 61788
2011-07-27 05:10:28 +00:00
Mike McCormack 6f8f583abf ecore: Reduce rendering latency in g_main_loop
After a lot of hair pulling, and other debugging, it appears
that to make animation smooth on an embedded device, the
following things should happen in (quick) sequence:

1. update the loop time
2. call timers (which animates and updates the scene graph)
3. call idle enterers (which renders to the display)
4. call fd buf handlers (which flushes xlib stuff)

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

SVN revision: 61784
2011-07-27 03:13:47 +00:00
Mike McCormack 1fe297b463 ecore: Check timers when not idling also
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61782
2011-07-27 02:34:53 +00:00
Christopher Michael 8a63b0c909 Ecore_X: Xlib uses screen number, not screen object. Fix !! Bad DH,
spank spank ;)

Thanks antognolli for the report :)



SVN revision: 61760
2011-07-26 13:17:52 +00:00
Naruto TAKAHASHI c8383a2b87 From: Naruto TAKAHASHI <tnaruto@gmail.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

I attach a patch for fixing some XIM module bugs.

  - fix showing previous preedit string bug.
  - delete compile warning(thanks JihoonKim)
  -  fix some sequence issue to send preedit changed event and commit
  event.(thanks JihoonKim)



SVN revision: 61754
2011-07-26 11:57:51 +00:00
Carsten Haitzler 3e1c856d90 segv if preedit str null!
SVN revision: 61747
2011-07-26 11:47:40 +00:00
Christopher Michael ab5e8633df Ecore_Evas: Remove xlib (and xcb) specific calls for the software_x11
and opengl_x11 engines and replace with ecore_x calls.

NB: I did not touch software_16 or software_8 so we cannot yet remove
the XLib linking wrt ecore_evas. I leave that exercise to 'the old
man' as per our convo this morning...but this does put us one step
closer ;)



SVN revision: 61743
2011-07-26 11:24:10 +00:00
Christopher Michael f694f08de5 Ecore_X: Add some new api functions for getting default
Depth/Visual/Colormap of a given screen.

NB: Added these so that we can remove xlib specific calls in
ecore_evas and just generic ecore_x calls (so we are engine
independant).



SVN revision: 61742
2011-07-26 11:19:55 +00:00
Carsten Haitzler e93763d785 fix timer precision handling to do what it was meant to do to begin with
SVN revision: 61730
2011-07-26 07:01:55 +00:00
Christopher Michael 72abee3481 Ecore_X: Add a missing function for getting the count of screens.
Bonus: Added doxy and the @since stuffs (for Tom) ;)

NB: Needed for changes to ecore_evas as that was using xlib
ScreenCount. This way we can just use ecore_x_screen_count_get and not
have to worry if we are xcb/xlib/etc.



SVN revision: 61728
2011-07-26 06:44:12 +00:00
Christopher Michael 210b6dcc9b Ecore_X: Oopsie, don't need those dbg statements anymore.
SVN revision: 61725
2011-07-26 05:55:25 +00:00
Christopher Michael 37b122117e Ecore_X: Add start of XResource handling for xcb backend (NB: Nowhere
near finished yet). Add working OpenGL for XCB engine.

NB: wrt Opengl...Raster, this is the env var/dlsym version you
requested this morning ;)

NB: Basically what happens is, if you know you do not ever want/use
opengl, you can export ECORE_X_NO_XLIB env variable, and ecore_x will
use pure xcb to establish it's X connection. However, if you do use
OpenGL and this env var is not exported, then ecore_x(cb) will use
XOpenDisplay to init the connection.



SVN revision: 61724
2011-07-26 05:54:01 +00:00
Christopher Michael 27395e85cf Ecore_X: Remove 2 fixme's that were bogus, but add one new fixme note
SVN revision: 61723
2011-07-26 02:31:13 +00:00
Christopher Michael 4dcd5b1a7e Ecore_X: Remove fixme comment (correct as it sits).
SVN revision: 61722
2011-07-26 02:21:59 +00:00
Christopher Michael 4b87169132 Ecore_Evas: Use ecore_x function(s) for getting window attributes.
Some fixes for OpenGL wrt xcb (minor stuffs).

NB: We already use ecore_x for some things in here, so let's keep
duplicated code down to a minimum and resuse what we already have ;)



SVN revision: 61676
2011-07-25 09:29:09 +00:00
Naruto TAKAHASHI 75cfb11d6e ecore-imf: Fix warnings
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61665
2011-07-25 07:16:54 +00:00
Christopher Michael 35fbbc9aab Ecore_X: Fix CnP when using xcb backend.
SVN revision: 61662
2011-07-24 22:19:00 +00:00
Vincent Torri 3e655d5e56 link xim module against ecore_x. This patch fixes compilation on mac os x
SVN revision: 61625
2011-07-24 00:23:34 +00:00
Christopher Michael 08aedd264a Ecore_Evas: Use an easier check for If existing ecore_evas is already
alpha. No need to do comparisons like this.



SVN revision: 61611
2011-07-23 17:37:04 +00:00
Mike Blumenkrantz 48bb4c6252 url of ecore-con-url is now stringshared
SVN revision: 61607
2011-07-23 03:17:57 +00:00
Mike Blumenkrantz a10530a6f4 +ecore_con_url_url_get
SVN revision: 61606
2011-07-23 03:14:42 +00:00
Christopher Michael 9e994ffdd0 Ecore_X: Add some doxy for newly added functions (to keep Tom happy),
and fix some horrid formatting.



SVN revision: 61562
2011-07-21 14:05:27 +00:00
Christopher Michael cd65bde09c Ecore_X: Add a couple of missing functions to the xlib engine.
NB: These are mainly for systray module so that it can be engine
independant in that it can just use ecore_x calls now, instead of
specific xlib stuff.



SVN revision: 61555
2011-07-21 12:09:33 +00:00
Iván Briano 501232ecfc Diagrams for Ecore_Thread
SVN revision: 61507
2011-07-19 16:58:15 +00:00
Rafael Antognolli 8c58c7e668 ecore/doc - Add some @htmlonly guards.
SVN revision: 61485
2011-07-18 18:26:35 +00:00
Carsten Haitzler 6b39139e05 0 byte sreads are not so important - try again next time.
SVN revision: 61477
2011-07-18 10:34:25 +00:00
Mike McCormack 656fc3cd99 ecore: Make test more asserty
Following on from suggestion by Vincent Torri.

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

SVN revision: 61461
2011-07-18 00:20:00 +00:00
Mike McCormack 092c0e82ac ecore: Use ecore_pipe in ecore_test
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61460
2011-07-18 00:19:51 +00:00
Mike McCormack 500199fcc2 ecore: Put config.h first
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61459
2011-07-18 00:19:43 +00:00
Vincent Torri 22eb580e59 ecore_con : fix compilation on Windows
SVN revision: 61439
2011-07-17 11:11:25 +00:00
Christopher Michael 9d3be74bc3 Ecore_X: Use Eina_Bool for unsigned char.
SVN revision: 61431
2011-07-16 19:17:24 +00:00
Mike Blumenkrantz 9d235b3fc7 switch over all buffers to use binbufs
SVN revision: 61423
2011-07-16 13:07:39 +00:00
Mike Blumenkrantz 300a32728b clean up ecore-con server example: HTTP requires a seperator (\r\n in this case) following each header line and a double separator between headers and body. additionally, content-length must be EXACTLY the length of the body, and must not include trailing garbage.
snprintf use here is incorrect due to inconsistent behavior of snprintf, so we can lazily fall back to strlen since this is just a simple example


SVN revision: 61421
2011-07-16 08:01:19 +00:00
Lucas De Marchi 943fb6b06c ecore: fix common misppellings
Mispellings detected by codespell.



SVN revision: 61407
2011-07-15 14:36:13 +00:00
Christopher Michael 76fdeb601f Ecore_X: Add a few more missing randr functions to xcb.
SVN revision: 61399
2011-07-15 13:13:38 +00:00
Christopher Michael a391598c3b Ecore_X: Add some more missing randr functions.
SVN revision: 61398
2011-07-15 12:58:24 +00:00
Christopher Michael b1c32bd7a9 Ecore_X: Add a missing function for ecore_x_randr_modes_info_get. Add
a list of remaining ecore_xcb_randr functions to do.



SVN revision: 61397
2011-07-15 12:20:52 +00:00
Christopher Michael ac53b8b57b Ecore_X: Remove unused file.
SVN revision: 61387
2011-07-14 16:05:13 +00:00
Christopher Michael 927ce0bb7b Ecore_X: Remove unused file.
SVN revision: 61386
2011-07-14 16:04:26 +00:00
Christopher Michael 1039f57ad6 Ecore: Add 'makekeys' utility (used for compiling new xcb stuff)
provides a lookup table for xlookupstring (as xcb does not have a function for this).



SVN revision: 61382
2011-07-14 15:43:49 +00:00
Christopher Michael 7dd39d374c Ecore: Remove whitespace in Makefile.am
SVN revision: 61381
2011-07-14 15:42:02 +00:00
Christopher Michael c3e316bd9a Ecore_Input: Add Shift_Lock variable for Ecore_Event.
SVN revision: 61380
2011-07-14 15:41:36 +00:00
Christopher Michael da03bd6e66 Ecore_Evas: Fixes for working with the xcb engine. Fix some
formatting. Fix dst_rect being uninitialized. Remove 'prefetch &
fetch' calls as they are not used in the new xcb stuffs.



SVN revision: 61379
2011-07-14 15:40:53 +00:00
Christopher Michael c19fc42875 Ecore_Input_Evas: Add missing Shift_Lock modifier.
SVN revision: 61378
2011-07-14 15:38:09 +00:00
Christopher Michael 4c5e65e442 Ecore_X: Add missing shift_lock modifier. Remove unused _ecore_x_ic
variable. Add atom for VisualID (for systray module).



SVN revision: 61377
2011-07-14 15:37:04 +00:00
Christopher Michael 654b646e22 Ecore_X: Add new xcb code (still not 100% complete tho).
SVN revision: 61376
2011-07-14 15:35:42 +00:00
Rafael Antognolli 25e3fb0162 ecore/ecore_con - Add some sequence diagrams.
SVN revision: 61351
2011-07-13 19:04:27 +00:00
Rafael Antognolli e85a63bef5 ecore/ecore_con - Add minimal http server and url cookies examples.
SVN revision: 61350
2011-07-13 19:04:17 +00:00
Rafael Antognolli afaf1b535b ecore/ecore_con - Move more documentation to Ecore_Con.h.
Cookie related function documentation is moved, and some additional
comments were added to ecore_con_url_cookies_file_add and
ecore_con_url_cookies_jar_file_set.



SVN revision: 61349
2011-07-13 19:04:10 +00:00
Rafael Antognolli c66ec1de38 ecore/ecore_con - Brief description for the client and server groups.
Also improve the documentation of some functions.



SVN revision: 61298
2011-07-12 14:37:32 +00:00
Rafael Antognolli 6c645fa930 ecore/ecore_con - Ecore_Con examples (server and client).
SVN revision: 61297
2011-07-12 14:37:22 +00:00
Rafael Antognolli 4ef10c3b53 ecore/ecore_con - Update documentation of server/client timeout_set().
SVN revision: 61296
2011-07-12 14:37:14 +00:00
Rafael Antognolli 050b0c7c73 ecore/ecore_con - Constify return of ecore_con_server_clients_get().
We can't change the returned list, since it's not a copy but the
internal list itself.



SVN revision: 61295
2011-07-12 14:37:08 +00:00
Rafael Antognolli 03d383c201 ecore/ecore_con - Move more function documentation to Ecore_Con.h
Some small fixes were also made to these docs.



SVN revision: 61294
2011-07-12 14:36:58 +00:00
Iván Briano 970c4e6757 Some example for Ecore_Thread
It has some issues that need debugging, I'm not sure if Ecore_Thread doesn't
like having stuff done before the main loop is running and valgrind was also
complaining about some invalid reads in ecore_thread.c, but at least the
example is there for people to look at and report problems, things not clear
or just about anything that may come up from it.


SVN revision: 61293
2011-07-12 13:38:25 +00:00
Iván Briano 4da2c481b5 Fix some double frees. The hash frees the data itself.
SVN revision: 61292
2011-07-12 13:36:19 +00:00
Mike McCormack 6b57d19096 ecore: Enable timers in glib dispatch
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61286
2011-07-12 11:57:12 +00:00
Mike McCormack a55b6bb98e ecore: Make g_main_loop call idle enterers last
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61285
2011-07-12 11:57:03 +00:00
Mike McCormack dc537d0047 ecore: Run timers at end of glib loop
This reduces the time between calculating the scene
and rendering it, making scrolling smoother.

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

SVN revision: 61284
2011-07-12 11:56:54 +00:00
Mike McCormack 540bf3368f ecore: Fix warnings when epoll is disabled
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61283
2011-07-12 11:56:45 +00:00
Mike McCormack c64f48b32a ecore: Only check timers if we need to
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61282
2011-07-12 11:56:36 +00:00
Mike McCormack 6052bbe9c1 ecore: Remove redundant variable
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61281
2011-07-12 11:56:24 +00:00
Mike McCormack 125f08ef40 ecore: Set source priority to high
Will only make a difference if there are other gsources.

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

SVN revision: 61269
2011-07-12 06:11:23 +00:00
Mike McCormack 92723a2ee5 ecore: Wake main loop immediately on zero sleep
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61268
2011-07-12 06:11:14 +00:00
Mike McCormack 87b27ee044 ecore-imf: Place braces consistently
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61267
2011-07-12 06:11:04 +00:00
Mike McCormack b8c2bb3fe5 ecore-imf: Fix build in no XIM case
Fixes:

ecore_imf_xim.c: In function 'ecore_imf_xim_shutdown':
ecore_imf_xim.c:608:11: error: 'open_ims' undeclared (first use in this function)
ecore_imf_xim.c:608:11: note: each undeclared identifier is reported only once for each function it appears

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

SVN revision: 61266
2011-07-12 06:10:54 +00:00
Mike McCormack 02cf92bcc6 ecore-x: Use Evas CFLAGS to build XIM support
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 61260
2011-07-12 02:26:48 +00:00
Naruto TAKAHASHI d4dbb336bb ecore-x: Add XIM module for ecore_imf
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61259
2011-07-12 02:26:39 +00:00
Naruto TAKAHASHI f5f1c56657 ecore-x: Add immodules directory
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61258
2011-07-12 02:26:29 +00:00
Naruto TAKAHASHI 39164fb44d ecore-x: Remove XIM
Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>

SVN revision: 61257
2011-07-12 02:26:19 +00:00
Rafael Antognolli dba308e60b ecore/examples - Fix DSO build (linking example against Evas).
SVN revision: 61255
2011-07-11 17:22:31 +00:00
Mike McCormack 4ff69d688c ecore: Fix logic bug in g_main_loop
Want to use timerfd if either seconds or nanoseconds is non-zero.

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

SVN revision: 61224
2011-07-11 02:51:37 +00:00
Mike McCormack ebe85185b8 ecore: Comment missing example
This is causing problems for autogen.sh

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

SVN revision: 61217
2011-07-11 01:21:49 +00:00
David Walter Seikel fc1d772c79 Fix ancient typo, and make them all consistant.
Google tells me it's a fairly common miss spelling in USA, and a male singing group.



SVN revision: 61199
2011-07-10 12:02:53 +00:00
Rafael Antognolli 0a61ad17b6 ecore/ecore_con - add more reference doc to some functions.
Also add description to the examples.



SVN revision: 61161
2011-07-08 18:06:19 +00:00
Rafael Antognolli 8c3c7f0dac ecore/ecore_con - Add simple examples of ecore_con_url usage.
SVN revision: 61160
2011-07-08 18:06:12 +00:00
Rafael Antognolli 3f02227826 ecore/ecore_con - Move documentation from .c to .h.
This only affects ecore_con_url_* for now.
Also add docs to the structures used by ecore_con_url, and move them to
the Ecore_Con_Url_Group.



SVN revision: 61159
2011-07-08 18:06:04 +00:00
Mike McCormack f297fc260d ecore: Don't come out of idle because due to idlers
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61152
2011-07-08 10:26:24 +00:00
Mike McCormack cd493ac0b3 ecore: Check signals in glib prepare only
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61151
2011-07-08 10:26:14 +00:00
Mike McCormack 22719d5107 ecore: Check for pending before entering g_main_loop
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61150
2011-07-08 08:07:40 +00:00
Mike McCormack c69221de26 ecore: Only check timers on zero time left
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61149
2011-07-08 08:07:29 +00:00
Mike McCormack cd5abb2b0f ecore: Fix unused variable warnings
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61147
2011-07-08 06:38:56 +00:00
Mike McCormack 218b33a8c6 ecore: Add test for timers created from idlers
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61145
2011-07-08 06:38:38 +00:00
Mike McCormack 07ecfa527a ecore: Add a main loop test
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61144
2011-07-08 06:38:28 +00:00
Mike McCormack 8b02e5b6ab ecore: Remove redundant if statement
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61143
2011-07-08 06:38:18 +00:00
Jonas M. Gastal 54fb59c642 Ecore: Ecore_Animator example.
SVN revision: 61131
2011-07-07 18:57:10 +00:00
Jonas M. Gastal cb9c1403fc Ecore: Improved ecore_animator documentation.
SVN revision: 61130
2011-07-07 18:56:57 +00:00
Iván Briano a5b1673a70 Little errors no one cares about, but make thread-less case work as expected
SVN revision: 61129
2011-07-07 18:39:25 +00:00
Rafael Antognolli 5b21cc4aea ecore/ecore_con - If argument is EINA_FALSE, set the value to 0!
SVN revision: 61128
2011-07-07 18:34:20 +00:00
Rafael Antognolli 226b09c172 ecore/ecore_con - Set timer pointers to NULL when exiting them.
Otherwise this will lead to errors when some code does:
if (cl->until_deletion)
    ecore_timer_del(cl->until_deletion);



SVN revision: 61127
2011-07-07 18:18:53 +00:00
Jihoon Kim 7221f62185 ecore-imf: Add APIs for virtual keyboard support
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 61114
2011-07-07 11:55:05 +00:00
Mike McCormack f7f762154e ecore: Remove unnecessary debugging output
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61112
2011-07-07 11:37:12 +00:00
Mike McCormack 39c049c8d1 ecore: Make sure signals break from the main loop
SVN revision: 61111
2011-07-07 11:37:02 +00:00
Mike McCormack 18193e9918 ecore: Fix thread check for quicklaunch
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61109
2011-07-07 10:11:13 +00:00
Carsten Haitzler 8ab4b4042e typo fix!
SVN revision: 61108
2011-07-07 09:37:55 +00:00
Jihoon Kim fe041aca5f From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] add ecore_imf_context_cursor_location_set API

In this patch, it will add ecore_imf_context_cursor_location_set API in
Ecore_IMF.

The cursor location can be used to determine the position of candidate
word window in immodule.



SVN revision: 61105
2011-07-07 06:23:46 +00:00
Daniel Juyung Seo 72bcec17b9 edje/ecore/eina: Updated documentaton for version number.
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.


SVN revision: 61104
2011-07-07 04:58:34 +00:00
Bruno Dilly 8c90fc2072 Ecore File Download: don't mess with Ecore_Con event status
For some reason it was passing !ev->status instead of ev->status
to completion_cb, so all the information that should be provided
(200, 400 or 404 error, ...) was becoming 0.


SVN revision: 61099
2011-07-06 20:56:55 +00:00
Iván Briano 693af50513 Expand Ecore_Thread docs.
Thanks cedric for technical advice.
Thanks discomfitor for helping when English vanished.
Thanks myself for keeping both of them busy so they don't break SVN *too* much.


SVN revision: 61095
2011-07-06 18:08:21 +00:00
Mike McCormack c94a9eff7f ecore: Remove most #ifdef HAVE_EPOLL blocks
Replace with if statements and stub epoll calls, and let the
compiler optimize out the stub code.

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

SVN revision: 61081
2011-07-06 10:54:30 +00:00
Mike McCormack 829571df27 ecore: Remove most HAVE_TIMERFD_CREATE ifdefs
Introduce stub timerfd_create and timerfd_settime functions
so ifdefs can be removed.

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

SVN revision: 61080
2011-07-06 10:54:20 +00:00
Mike McCormack 0ddf5b9cab ecore: Use timerfd with g_main_loop
glib only allows millisecond resolution in g_main_loop.
To avoid this limitation, use timerfd to wake up the main loop.

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

SVN revision: 61079
2011-07-06 10:54:11 +00:00
Carsten Haitzler f1b0e8d075 provide alpha set call for buffer canvas in ecore-evas. new feature
related to elm shot engine.



SVN revision: 61077
2011-07-06 10:21:16 +00:00
Rafael Antognolli 4bd6379356 ecore/ecore_con - improved documentation and added example.
Just ecore_con_init, shutdown and lookup documented for now.



SVN revision: 61050
2011-07-05 13:09:57 +00:00
Sanjeev BA d5208c6ed9 ecore: Minor changes to documentation of ecore_con_url_fd_set
Signed-off-By: Sanjeev BA <as2902.b@samsung.com>

SVN revision: 61043
2011-07-05 11:13:47 +00:00
Mike McCormack 2e00abb45f ecore: Only dispatch if we have something to do
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61042
2011-07-05 11:13:39 +00:00
Mike McCormack 7b1d7bd4a0 ecore: Add basic thread checks
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61041
2011-07-05 11:13:29 +00:00
Mike McCormack f7ec79e13e ecore: Add function to check we're the main loop thread
Rearrange the the order of startup to avoid triggering
the thread checks in ecore_event_type_new().

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

SVN revision: 61040
2011-07-05 11:13:20 +00:00
Carsten Haitzler f7c9b4fa43 diable fix_hz - little need for that these days. i almost forgot that
this existed!



SVN revision: 61030
2011-07-05 04:08:01 +00:00
Mike McCormack a967e4f98a ecore: Sleep at least until the next timeout
The g_main_loop was spinning waiting for timers that were
almost ready.  The spinning was due to waking up from
the g_main_loop too early, and then having nothing to do.

To solve this, round the timeout up to the nearest millisecond,
so that when the main loop wakes, the timer will definitely be
ready.

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

SVN revision: 61028
2011-07-05 02:32:07 +00:00
Mike McCormack d1691ffd70 ecore: Remove excessively verbose logging
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61027
2011-07-05 02:31:58 +00:00
Mike Blumenkrantz 58d3ee0924 unify more event handling, fix a little formatting
SVN revision: 61025
2011-07-05 00:06:27 +00:00
Rafael Antognolli 60aa52189d ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
SVN revision: 61021
2011-07-04 20:04:18 +00:00
Rafael Antognolli 923ee3f2b9 ecore/fd_handler - Add detailed description to this group.
SVN revision: 61016
2011-07-04 18:31:23 +00:00
Rafael Antognolli 2440b258ed ecore/events - add detailed description to this group.
SVN revision: 61015
2011-07-04 18:31:13 +00:00