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