Commit Graph

9761 Commits

Author SHA1 Message Date
Vincent Torri 9c210617f7 declare variables at the beginning of the block
SVN revision: 49254
2010-05-28 19:04:44 +00:00
Vincent Torri 247674b26c do not declare inlined functions in the source file,
fix a bit the doc of inlined functions

SVN revision: 49253
2010-05-28 19:03:26 +00:00
Vincent Torri f446a5b9f9 vasprintf is not declared in mingw too
SVN revision: 49252
2010-05-28 18:59:43 +00:00
Vincent Torri 52e3f2d0ab do not declare _eina_small_share twice
SVN revision: 49251
2010-05-28 18:58:49 +00:00
Vincent Torri 440fb47e30 fix pthread support with mingw
SVN revision: 49250
2010-05-28 18:57:19 +00:00
Sebastian Dransfeld cf894cab2e fix double free
eina_hash_del calls free callback, so we don't need to free the data
ourselves.

SVN revision: 49247
2010-05-28 09:25:16 +00:00
Lucas De Marchi 98d843e91b Reschedule timer_current in case of inner mainloop
Timers' list is and *ordered list*. Therefore, timers can be added
before timer_current in an inner mainloop. Reschedule timer_current in
this case before looping through timers' list.

Thanks to Barbieri for the insight.

The following test didn't work before and it's ok now (I'm adding it to
ecore_suite too).

static int _timer3(void *data)
{
printf("timer 3, do nothing\n");
return 0;
}

static int _timer2(void *data)
{
printf("timer 2, quit inner\n");
ecore_main_loop_quit();
return 0;
}

static int _timer1(void *data)
{
int *times = data;
(*times)++;
printf("BEGIN: inner\n");

ecore_timer_add(0.3, _timer2, NULL);
ecore_timer_add(0.1, _timer3, NULL);

ecore_main_loop_begin();
printf("END: inner\n");
ecore_main_loop_quit();

return 0;
}

int main(void)
{
int times = 0;

ecore_init();
ecore_timer_add(1.0, _timer1, &times);
printf("BEGIN: main\n");
ecore_main_loop_begin();
assert(times == 1);
printf("timer1 called %d times \n", times);
printf("END: main\n");
return 0;
}

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 49245
2010-05-28 02:31:02 +00:00
Bruno Dilly 66c015f3cc Fix _edje_entry_cursor_end function.
This fix the issue with elementary cursor end set function.
The cursor is now after the last textblock node, and not before it, as
it was until now.



SVN revision: 49242
2010-05-27 22:18:37 +00:00
Bruno Dilly 930fdce0ee small fix in evas html escape table
SVN revision: 49240
2010-05-27 21:03:53 +00:00
Bruno Dilly 5a34288bfb Add '-h' argument to edje_decc and improve usage message.
SVN revision: 49221
2010-05-27 02:39:20 +00:00
Carsten Haitzler a66404bfe2 ummmm edje wasnt processing the message queue. use jobs a little better.
SVN revision: 49204
2010-05-26 11:41:35 +00:00
Carsten Haitzler 17873647fc ooh someone somewhere made the main event loop not work quite right.
fix if event purge happens to generate events.



SVN revision: 49203
2010-05-26 11:40:22 +00:00
Brett Nash 285d1558ae Fix buggy arm ldr instruction.
The size suffixes are apparetly allowed only on neon instructions.
Thanks to Ben Zores for the bug report + testing.


SVN revision: 49174
2010-05-24 02:16:14 +00:00
Mike Blumenkrantz 8512dd26db dox update, remove image of unknown source
SVN revision: 49153
2010-05-23 05:47:30 +00:00
Mike Blumenkrantz 25e5f5af08 some dox tweaks
SVN revision: 49151
2010-05-23 05:03:17 +00:00
Mike Blumenkrantz 54959ad476 dox overhaul, should be easier to navigate now
SVN revision: 49147
2010-05-22 21:44:26 +00:00
Mike Blumenkrantz 7ca4deb698 change cutoff for old udev to 148
SVN revision: 49145
2010-05-22 19:36:13 +00:00
Mike Blumenkrantz 05d050b029 maintainer clean is cleaner
SVN revision: 49144
2010-05-22 19:09:57 +00:00
Mike Blumenkrantz 41462f23ef forgot this, versioning
SVN revision: 49143
2010-05-22 18:58:27 +00:00
Mike Blumenkrantz 5223f0573d patch from vtorri for autotools, a couple compile warning shutups
SVN revision: 49142
2010-05-22 18:50:27 +00:00
Mike Blumenkrantz 6ad3256a01 completely change directory structure, lib name, includes, don't even bother trying to use this unless your e is the latest version
SVN revision: 49129
2010-05-22 07:04:00 +00:00
Mike Blumenkrantz c339222b25 versioning, descriptiong updates
SVN revision: 49124
2010-05-22 03:43:42 +00:00
Mike Blumenkrantz 2e71c06192 BIG change, api break (again).
watches now return an int value that can be can be bitwise checked with & to reduce usage of strcmp
overall memory allocation should be less (I think), some related bugs fixed along the way
small memory leak in test app that I'm too lazy/blind to figure out
**this should be the last commit that causes an api break


SVN revision: 49118
2010-05-22 01:55:14 +00:00
Tiago Rezende Campos Falcao 9317ce25ac INT_MAX need limits.h. By Raphael Kubo
SVN revision: 49117
2010-05-21 22:53:41 +00:00
kiwi b55d9b91c3 preprocess the edc file on OpenBSD as on MacOS X.
NetBSD and FreeBSD might have the same issue

fixes handling of #define and comments in edc files, so e theme builds now on OpenBSD


SVN revision: 49113
2010-05-21 19:58:40 +00:00
kiwi 0bc9b1cf55 set EDJE_EXTERNAL_DOUBLE_UNSET to DBL_MAX instead of HUGE_MAX, so that it's a constant on OpenBSD.
set EDJE_EXTERNAL_INT_UNSET to INT_MAX for consistency.

that fixes compilation on OpenBSD and closes ticket #540
ok vtorri


SVN revision: 49112
2010-05-21 19:28:33 +00:00
Carsten Haitzler cec0aa3771 segv there in frame queue code. fix.
SVN revision: 49107
2010-05-21 16:50:25 +00:00
Gustavo Sverzut Barbieri 446b0040a4 make it easier to debug if it was enabled, and how :-)
minor style fixes.



SVN revision: 49100
2010-05-21 14:14:54 +00:00
Carsten Haitzler 3b47f08dcb ++d
SVN revision: 49099
2010-05-21 14:14:41 +00:00
Carsten Haitzler 56265a930f eet now has an eet_version you can runtime check:
eet_version->major
eet_version->minor
eet_version->micro
eet_version->revision

also an ifdef.

nb - revision is 0 if its a rrelease, > 0 if built from svn.



SVN revision: 49098
2010-05-21 14:07:25 +00:00
Brett Nash 2677b8d493 Minor doc update: It's nice when examples compile without warnings ;-)
SVN revision: 49091
2010-05-21 09:48:46 +00:00
Carsten Haitzler d17e840e13 aaah yes - the flush will ... possibly delete the image - in fract almost
definitely as it got to 0 fref. unlocking the image is bad as it was just
deleted. do the delete (cache fluch) after unlock.



SVN revision: 49089
2010-05-21 07:44:07 +00:00
Carsten Haitzler 6e93fa88d3 unloading of loader module -> bad for sync preload it seems.
SVN revision: 49088
2010-05-21 07:31:03 +00:00
Carsten Haitzler eaad0eb095 big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking
  
presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html



SVN revision: 49087
2010-05-21 07:10:45 +00:00
Mike Blumenkrantz 2133ccd144 fix compile error, add new private function to walk_get sysattr value, fix internal/removable drive detection
SVN revision: 49084
2010-05-21 05:18:24 +00:00
Mike Blumenkrantz e13e6ce071 pretty huge overhaul:
test app should be a bit more robust now
udev compat code is done (I think?)
added udev walk functions for easier device checking
fixed some potential segv in cases where errors checking was not complete enough


SVN revision: 49081
2010-05-21 04:11:58 +00:00
Mike Blumenkrantz 0cae05c2a8 add )
SVN revision: 49078
2010-05-20 21:28:43 +00:00
Mike Blumenkrantz 8b58afe33a fix private walk
SVN revision: 49077
2010-05-20 21:25:34 +00:00
Mike Blumenkrantz 683eafd4c8 attempted fix for temp sensors #1
SVN revision: 49072
2010-05-20 18:56:30 +00:00
Carsten Haitzler 8cc1f752d0 be paranoid about gl context - reset it to "0" every frame.
SVN revision: 49065
2010-05-20 15:24:28 +00:00
Mike Blumenkrantz 6eabef2077 fix temp sensor finder
SVN revision: 49059
2010-05-20 08:28:57 +00:00
Mike Blumenkrantz e7baca25dc somehow I forgot a sysattr function...
SVN revision: 49058
2010-05-20 07:30:41 +00:00
Mike Blumenkrantz 9ec074719a add temp find to find by type
SVN revision: 49055
2010-05-20 05:34:08 +00:00
Mike McCormack fee26de20a From: Mike McCormack <mj.mccormack@samsung.com>
"cd ecore && ./autogen.sh --enable-tests &&make && make check-local" was 
failing.
Make sure to build ecore_suite before trying to run it.



SVN revision: 49053
2010-05-20 05:06:22 +00:00
Eduardo Felipe 023da4d5ba From: Eduardo Felipe <eduardofelipe87@gmail.com>
Upon creating a timer, it's callback must return an int, otherwise it
would panic. The python bindings do the nicety of, if the callback
function returns nothing, automatically canceling the reschedule of
the timer.

This patch does the same for lua. It's a oneliner.



SVN revision: 49051
2010-05-20 04:48:17 +00:00
Carsten Haitzler 1ea1a6d3cc oops typo.
SVN revision: 49050
2010-05-20 04:47:53 +00:00
Mike Blumenkrantz db7da9bab1 add event filtering to watches
SVN revision: 49045
2010-05-20 04:28:05 +00:00
Lukasz Wrzosek 4957dd16fe From: Lukasz Wrzosek <l.wrzosek@samsung.com>
I’ve prepared basic patch to add support for custom malloc/free functions for
buffer management. (with changes to api from raster to addd void *data param
to alloc/free callbacks and naming and ordering changes).



SVN revision: 49044
2010-05-20 03:53:54 +00:00
Carsten Haitzler 6ebb4a2152 2 more symbosl not exported - there, but hidden if visibility hidde.
SVN revision: 49004
2010-05-19 13:00:08 +00:00
Mike Blumenkrantz d55e116a4e added functions for changing/getting a poller's poll interval: ecore_poller_poller_interval_(set|get) along with dox for them
surprisingly enough they seem to work!


SVN revision: 49002
2010-05-19 09:16:37 +00:00