Commit Graph

3548 Commits

Author SHA1 Message Date
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