Commit Graph

3258 Commits

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