Commit Graph

4062 Commits

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