Commit Graph

4283 Commits

Author SHA1 Message Date
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
Carsten Haitzler e26164d164 changelog dates wrong/out of order fix.
SVN revision: 62895
2011-08-28 03:41:18 +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
Gustavo Lima Chaves 9736929538 [ecore] Fix alphabetical index of doc. components.
SVN revision: 62747
2011-08-24 15:01:56 +00:00
Gustavo Lima Chaves 9cf7351f27 [ecore] Don't mess with page names anymore (doxygen's
lameness).



SVN revision: 62743
2011-08-24 14:23:05 +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 b5a619847e ecore: forgotten ChangeLog.
SVN revision: 62532
2011-08-17 09:46:17 +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
Cedric BAIL a74c65adfb ecore: take static as a yes.
Note: maybe it would be better to put yes in the .pc file
instead of static. I don't see any advantage having that
information in the pc file.


SVN revision: 62412
2011-08-12 20:31:15 +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 04cb223e48 Ecore: Adding mention of Samsung's contribution to
documentation.



SVN revision: 62057
2011-08-03 14:39:52 +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
Carsten Haitzler 29864666c9 that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.



SVN revision: 61974
2011-08-02 04:13:33 +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
Boris Faure aa67649153 ecore: update .gitignore
SVN revision: 61921
2011-07-30 19:41:43 +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 89de7b2e3d chlog++
SVN revision: 61880
2011-07-29 06:22:31 +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 ca78a5dc81 Ecore: Add back in x11-xcb pkgconfig check. Needs for 11.04 apparently.
SVN revision: 61804
2011-07-27 11:13:58 +00:00
Christopher Michael 3ffddafeed Ecore: Fix configure.ac for dumb systems that cannot find pixman
without being explicitly told where it is.



SVN revision: 61797
2011-07-27 07:40:55 +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
Rui Seabra 871ddf43d1 Fix rpm build.
SVN revision: 61652
2011-07-24 15:36:22 +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
Jonas M. Gastal 9023cef248 Ecore: copy images to latex doc dir so we can create PDF.
SVN revision: 61480
2011-07-18 14:03:23 +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 cfed4716f6 Ecore: Add autofoo magic for building XCB-based ecore_x.
NB: IF you are going to try this, build evas with
`--enable-software-xcb` AND build ecore with `--enable-ecore-x-xcb
--disable-ecore-evas-opengl-x11`.

NB: OpenGL does NOT work with the xcb stuff yet. E itself does NOT
work with this yet either (still have to commit those changes).



SVN revision: 61385
2011-07-14 15:46:30 +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
Christopher Michael e3ad6ca2cc Ecore: Add myself to Authors (for incoming xcb stuffs).
SVN revision: 61375
2011-07-14 15:31:24 +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 3b5050421b ecore: Ignore new binary ecore_test
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 61218
2011-07-11 01:21:59 +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
Iván Briano 4dbecee5e9 keep'em consistent
SVN revision: 61175
2011-07-09 18:19:23 +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 bb6ae3956e ecore: Build with -Wall -W by default
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61146
2011-07-08 06:38:47 +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 3c2f6cfbc9 ecore: Update translations
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61110
2011-07-07 10:11:26 +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