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
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
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
Rafael Antognolli
2cb63dce2a
ecore - add and fix links to examples on each module description.
...
SVN revision: 61014
2011-07-04 18:31:02 +00:00
Carsten Haitzler
bf448752f4
Fix epoll delete fd handling in child process - #796
...
SVN revision: 60895
2011-07-01 00:04:06 +00:00
Jonas M. Gastal
df2d739a35
Ecore: ecore_pipe documentation.
...
SVN revision: 60878
2011-06-30 18:10:30 +00:00
Christopher Michael
58fad65f2b
Ecore: Ecore_X: Add missing EAPI for ecore_x_dnd_source_action_get
...
function.
SVN revision: 60834
2011-06-29 19:40:20 +00:00
Rafael Antognolli
47cdbe390a
ecore/timer - Document ecore_timer_freeze and ecore_timer_thaw.
...
SVN revision: 60830
2011-06-29 18:15:36 +00:00
Rafael Antognolli
cd9e094226
ecore/poller - Add a poller example and its explanation.
...
SVN revision: 60829
2011-06-29 18:07:34 +00:00
Rafael Antognolli
9cad53125d
ecore/time - Rename example to avoid mismatch.
...
SVN revision: 60828
2011-06-29 18:07:23 +00:00
Rafael Antognolli
e4dc033594
ecore/timer - Add a commented example.
...
SVN revision: 60827
2011-06-29 18:07:08 +00:00
Cedric BAIL
94718fa484
ecore: forgotten eina_threads_init/shutdown.
...
SVN revision: 60801
2011-06-29 08:24:13 +00:00
Iván Briano
0365a18df7
It doesn't look like this matters, so let's fix the build.
...
And if it does matter, I hope it breaks something from cedric. One femur, for example. Or both.
SVN revision: 60789
2011-06-29 02:32:37 +00:00
Cedric BAIL
5d473313b0
ecore: do count threads only in the main loop.
...
NOTE: for an unknow reason I always get the wrong number
of threads when doing the computation from the thread.
Even if I use volatile and mutex. So to avoid that move
that stuff in the main loop. It increase the complexity
of the code, but at least it work.
SVN revision: 60767
2011-06-28 15:53:19 +00:00
Rafael Antognolli
0ba8b7a39b
ecore/fd_handler - Add an example.
...
SVN revision: 60766
2011-06-28 15:05:29 +00:00
Rafael Antognolli
5017f501ac
ecore/fd_handler - Fix prepare_callback_set and improve its doc.
...
Now they can be set even if the list is empty (sorry discomfitor,
removing your optimization and making it O(n) again, back from O(0)).
Also notice that due to the already existing check, if a prepare
callback was already set to a fd handler, it can't be changed, so I
added that to the docs.
SVN revision: 60765
2011-06-28 15:05:09 +00:00
Rafael Antognolli
358f5b594e
ecore/fd_handler - Rename fd_handler example that uses gnutls.
...
SVN revision: 60764
2011-06-28 15:03:58 +00:00
Cedric BAIL
edfeab7295
ecore: actually limit the number of pipe in the cache.
...
SVN revision: 60763
2011-06-28 14:53:34 +00:00
Carsten Haitzler
9bbe57e6e6
add ecore_throttle
...
SVN revision: 60756
2011-06-28 12:34:52 +00:00
Rafael Antognolli
3010ac711e
ecore/events - constify data parameter of event_handler_data_set.
...
Make this function and ecore_event_handler_add be consistent about it.
SVN revision: 60741
2011-06-27 19:58:53 +00:00
Rafael Antognolli
89fa0bee81
ecore/event_handler - Improve documentation and add an example.
...
SVN revision: 60740
2011-06-27 19:42:28 +00:00
Mike Blumenkrantz
3bde9147fb
apparently SSL_set_verify with SSL_VERIFY_PEER is NOT sufficient for validating a certificate as its man page implies. good thing the correct way is properly docu...right. openssl. riiiiiiiiiggghhht.
...
+ecore_con_ssl_server_verify_basic for checking a cert against its hostname
SVN revision: 60673
2011-06-25 08:39:07 +00:00
Rafael Antognolli
394433f438
ecore/idler - Fix wrong explanation!
...
Event callbacks don't stop being called by returning false, but won't
allow other callbacks to handle that event.
SVN revision: 60611
2011-06-22 22:56:36 +00:00
Rafael Antognolli
a63e92496a
ecore/job - Improve documentation and add an example.
...
SVN revision: 60608
2011-06-22 20:54:32 +00:00
Rafael Antognolli
d83f174929
ecore/idler - Improve documentation and add an example.
...
SVN revision: 60602
2011-06-22 18:29:38 +00:00
Rafael Antognolli
1a82ea0ad6
ecore/doc - Move some examples to examples.dox
...
Also remove references to examples that don't exist anymore.
More examples are going to be explained, and removing them from Ecore.h
will improve the readability of that file. This is the same that was
done to Elementary.
I'm going to move all the examples reference to this file, and should
have them being pointed by functions that use them too.
SVN revision: 60598
2011-06-22 15:01:55 +00:00
Rafael Antognolli
f5e4319b23
ecore/main_loop - Improve documentation of some functions.
...
SVN revision: 60597
2011-06-22 15:00:44 +00:00
Rafael Antognolli
2344ff2a81
ecore/time - Add an example to use the ecore_time_* functions.
...
It exemplifies the difference between ecore_time_get(), ecore_time_unix_get()
and ecore_loop_time_get(). A description of this example is also provided.
SVN revision: 60557
2011-06-21 17:15:54 +00:00
Rafael Antognolli
dcc4859c24
ecore/examples - Add support for building and installing examples.
...
Also move them from ecore/examples to ecore/src/examples, to match the other
libraries organization.
SVN revision: 60556
2011-06-21 17:14:19 +00:00
Jihoon Kim
a889ae4997
From: Jihoon Kim <jihoon48.kim@samsung.com>
...
Subject: [E-devel] [PATCH] Add Ecore_IMF API to set the attirbute of
input panel
For supporting virtual keyboard, I'd like to add
ecore_imf_context_input_panel_enabled_set/get APIs. The detail description of
each API is included in the patch file as doxygen format.
If input panel is in 'enabled' status, the immodule will request to
show the input panel automatically When the input widget such as entry is
clicked or has focus. In some case, application programmers want to control
the input panel manually (not automatically), so I implement this API.
SVN revision: 60504
2011-06-20 07:17:24 +00:00
Ulrich Eckhardt
46cdaea3cb
From: Ulrich Eckhardt <doomster@knuut.de>
...
Subject: [E-devel] XRender engine causes ecore build failure
while building ecore. The problem is that this engine was removed from evas
but not yet completely from ecore. I was on IRC with Vincent Torri (vtorri)
and Daniel Juyung Seo (SeoZ) and the consensus was to remove the code for the
XRender engines, both the Xlib and XCB versions.
There is a switch over the different engine types, where there are still a few
places left where XRender is handled, grep for "xrender" or "XRENDER" and you
will find them. The question is whether to just return NULL in order to signal
that this engine is not supported or to remove the whole thing. The latter
could break binary compatibility, therefore I left those stubs in.
SVN revision: 60502
2011-06-20 06:58:33 +00:00
Vincent Torri
3914920d09
Ecore : ecore_evas : use correct temporary directory on Windows
...
SVN revision: 60468
2011-06-17 21:49:47 +00:00
Vincent Torri
e91c5a0787
Ecore: remove wrong cast
...
SVN revision: 60467
2011-06-17 21:45:21 +00:00
Mike Blumenkrantz
d932f0b0c5
ecore_con_server_timeout_g/set now apply to client-type servers
...
CAN'T SLEEP
MUST HACK
SVN revision: 60445
2011-06-17 11:16:50 +00:00
Mike McCormack
b78bdd3d34
Update .gitignore files
...
SVN revision: 60416
2011-06-17 01:59:49 +00:00
Hannes Janetzek
8d783d1ee8
ecore: fix dnd for 'shaped' windows. added rect offset to 'inside' check
...
SVN revision: 60409
2011-06-16 21:10:41 +00:00
Michael Jennings
092d2d861b
Since the SVN revision is now included in %{version}, it's redundant
...
to have it in %{release} also. So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.
SVN revision: 60407
2011-06-16 20:36:43 +00:00
Daniel Juyung Seo
5724f5b257
ecore ecore_x_test.c: Fixed warnings.
...
SVN revision: 60396
2011-06-16 15:11:30 +00:00
Cedric BAIL
b414ea97fb
ecore: fix ecore_x_selection_convert not taking selection length into account.
...
SVN revision: 60382
2011-06-16 09:16:03 +00:00
Mike Blumenkrantz
bf2fb87d4d
@since 1.1
...
SVN revision: 60366
2011-06-15 21:57:47 +00:00
Mike Blumenkrantz
64731e1dc9
+ecore_con_ssl_server_upgrade
...
+ecore_con_ssl_client_upgrade
+ECORE_CON_EVENT_SERVER_UPGRADE
+ECORE_CON_EVENT_CLIENT_UPGRADE
new functions for upgrading an existing plaintext connection to SSL/TLS, as seen in STARTTLS and my nightmares
SVN revision: 60359
2011-06-15 18:58:34 +00:00
Rafael Antognolli
4a8437d838
ecore: fix doc build when srcdir != builddir.
...
SVN revision: 60286
2011-06-13 17:31:21 +00:00
Mike McCormack
ad350741a0
ecore: Fix glib main loop busy waiting
...
SVN revision: 60253
2011-06-13 02:58:20 +00:00
Boris Faure
e6119fa4d9
remove .cvsignore files
...
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler
724f2a70ef
hmm not much testing of these ecore_x calls with backlight... at least
...
none of ecore_x_randr_window_outputs_get()
SVN revision: 60232
2011-06-12 01:09:09 +00:00
Daniel Juyung Seo
917b378841
Ecore ecore_events.c: Fixed indentation.
...
SVN revision: 60179
2011-06-10 07:26:56 +00:00
Cedric BAIL
9bf62d7383
ecore: since...
...
SVN revision: 60136
2011-06-09 15:32:08 +00:00
Cedric BAIL
707f908ba1
ecore: add ecore_pipe_wait.
...
SVN revision: 60135
2011-06-09 14:54:24 +00:00
Vincent Torri
d9e7ffbf87
Ecore: ecore_thread : free resources, spotted by Ulrich Eckhardt
...
SVN revision: 60057
2011-06-07 22:21:25 +00:00
Vincent Torri
7ad2e5e0d4
Ecore : ecore_wince : remove useless casts. Spotted by Ulrich Eckhardt
...
SVN revision: 60056
2011-06-07 22:17:09 +00:00
Vincent Torri
0b57481661
fix doc
...
SVN revision: 60054
2011-06-07 22:12:58 +00:00
Vincent Torri
21fd8a2ba4
Ecore : ecore_win32 : remove useless casts. Spotted by Ulrich Eckhardt
...
SVN revision: 60051
2011-06-07 21:59:08 +00:00
Mike McCormack
2b58267396
Add ignore and update files
...
SVN revision: 60034
2011-06-07 10:26:13 +00:00
Vincent Torri
50cadd1765
Ecore: ecore_pipe : fix function name in magic check. Reported by Ulrich Eckhardt
...
SVN revision: 60023
2011-06-07 06:37:25 +00:00
Vincent Torri
f07605db74
too much po/Makefile.in
...
SVN revision: 59993
2011-06-06 16:26:49 +00:00
Vincent Torri
564f6f272f
Ecore: fix gettext stuff
...
SVN revision: 59986
2011-06-06 07:00:24 +00:00
Lucas De Marchi
2d6d954935
Fix ecore_file initialization
...
We must init ecore, otherwise we will not have an eina ref.
SVN revision: 59916
2011-06-03 16:06:57 +00:00
Jihoon Kim
156fb16ab2
From: Jihoon Kim <jihoon48.kim@samsung.com>
...
Subject: [E-devel] [PATCH] Add some APIs for supporting virtual
keyboard in Ecore_IMF
For supporting virtual keyboard, I'd like to add some APIs. The detail
description of each API is included in the patch file as doxygen format.
In the attached patch, the reason why we add the subprefix 'input_panel_'
related to virtual keyboard is that input method can be soft keyboard or voice
input or image captured by camera.
SVN revision: 59894
2011-06-02 07:56:58 +00:00
Carsten Haitzler
a9a76f8012
thanks mike - g main loop build opt broken when removing too many loop
...
time gets
SVN revision: 59888
2011-06-02 06:08:59 +00:00
Christopher Michael
29067b799b
Ecore_X: Fix building without shape extension (rects was undefined, as
...
was the variable i).
SVN revision: 59854
2011-05-31 19:28:30 +00:00
Carsten Haitzler
3862411f83
fix sdl ecore evas mixup when adding ecore evas geometry get
...
SVN revision: 59841
2011-05-31 11:18:28 +00:00
Cedric BAIL
5817ae601f
ecore: fix typo.
...
SVN revision: 59835
2011-05-31 08:05:16 +00:00
Cedric BAIL
dbd6c4cd1e
ecore: add ecore_pipe_freeze/thraw.
...
SVN revision: 59823
2011-05-30 16:52:19 +00:00
Lucas De Marchi
2f4bba5d15
ecore: fix misspellings
...
Misspellings found by codespell
SVN revision: 59821
2011-05-30 16:17:07 +00:00
Gustavo Sverzut Barbieri
7074e168e1
A voice in my head said "vtorri will go after you if you don't provide a changelog for those auxiliary functions"
...
SVN revision: 59762
2011-05-27 19:38:14 +00:00
Gustavo Sverzut Barbieri
89971de866
Ecore_Evas: introduce ecore_evas_screen_geometry_get()
...
This common interface allows engines to provide whole screen
information to users.
Right now just X is implemented and it queries the size of the default
screen. I hope this is fine.
SVN revision: 59761
2011-05-27 19:31:11 +00:00
Gustavo Sverzut Barbieri
7233dba9d8
provide a way to query screen size (just the default screen right now).
...
NOTE: I don't have xcb, so it's untested. It is supposed to work given
http://www.x.org/releases/X11R7.5/doc/libxcb/tutorial/#DefaultScreen
SVN revision: 59760
2011-05-27 19:17:04 +00:00
Gustavo Sverzut Barbieri
a2e1a187e6
let ecore_evas_ecore_evas_get() be safer.
...
SVN revision: 59759
2011-05-27 18:53:27 +00:00
Christopher Michael
646781851c
Ecore: Ecore_File: Fix shadow declaration of 'mtime' and 'l' variables.
...
SVN revision: 59722
2011-05-27 02:30:57 +00:00
Christopher Michael
61ec1408bd
Ecore: Fix shadow declaration of variable 'time'.
...
SVN revision: 59720
2011-05-27 02:06:26 +00:00
Daniel Juyung Seo
45ef1544d4
Ecore ChangeLog: Log for r59549 and r59559.
...
SVN revision: 59655
2011-05-24 17:39:47 +00:00
Daniel Juyung Seo
30e6030197
Ecore: Moved ecore.dox.in to Ecore.h header.
...
SVN revision: 59651
2011-05-24 11:31:32 +00:00
Daniel Juyung Seo
534e53d1a1
Ecore: Added myself to authors.
...
SVN revision: 59650
2011-05-24 11:23:58 +00:00