Commit Graph

10021 Commits

Author SHA1 Message Date
Christopher Michael 3ba73cf34b No reason to include the same header twice.
SVN revision: 49449
2010-06-04 16:00:28 +00:00
Cedric BAIL 5685faac42 * evas: make it possible to call unload_all from surface_alloc.
SVN revision: 49448
2010-06-04 15:21:12 +00:00
Carsten Haitzler 2049cf563c leake! fix!
SVN revision: 49445
2010-06-04 06:45:46 +00:00
Carsten Haitzler eb886add0e be mroe explicit on keeping im handle.
SVN revision: 49444
2010-06-04 06:36:54 +00:00
Carsten Haitzler c4ea029772 larger block size for native call array
SVN revision: 49443
2010-06-04 06:09:15 +00:00
Carsten Haitzler 6e1b5c42fa formatting.
SVN revision: 49441
2010-06-04 04:53:10 +00:00
Carsten Haitzler 8fba7a4476 formatting.
SVN revision: 49440
2010-06-04 04:45:53 +00:00
Carsten Haitzler f8cc974e07 didnt set right ptr to null
SVN revision: 49439
2010-06-04 04:18:50 +00:00
Carsten Haitzler 0d5088488e clean up smart cb descriptions on del.
SVN revision: 49438
2010-06-04 04:07:12 +00:00
Iván Briano 99c7285483 Move functions around and fix the style to match the rest.
SVN revision: 49437
2010-06-04 03:08:18 +00:00
Lucas De Marchi 4ce0e74d63 housekeeping++
* process filters in their own function
* remove commented printf
* remove trailing white space
* lower indentation needed by breaking loop instead of a big if



SVN revision: 49436
2010-06-04 02:47:00 +00:00
Lucas De Marchi bda2b1d0af Fix current event pointer when walking filters
When walking the filters' list, using event_current might screw a
recursive main loop that had to process filters *and* events on the
first iteration. Thus, use a new pointer to mark the current event being
treated when walking filters' list.

Tests for this one is difficult. I'll try to think about a test later.



SVN revision: 49435
2010-06-04 02:45:47 +00:00
Lucas De Marchi 0fa2ca5721 Fix semantics of event->delete_me
* _ecore_event_purge_deleted() purges only events marked with
delete_me
* _ecore_events_exist() walks the events list to control that
at least one event with delete_me == 0 exists

Tests coming in a separate patch.



SVN revision: 49434
2010-06-04 02:45:20 +00:00
Carsten Haitzler a4769c42cb change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.



SVN revision: 49429
2010-06-04 01:04:24 +00:00
Carsten Haitzler 3a5502362e fix valgrind complaint - indeed corner case.
SVN revision: 49414
2010-06-03 14:02:46 +00:00
Carsten Haitzler eb4b780754 set magic to none later - and set props to null after freeing each -
in case del callbacks on objects access ee.



SVN revision: 49410
2010-06-03 12:33:27 +00:00
Iván Briano 6600f0c43f Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Carsten Haitzler 5cad6a1c95 fix crash on null yuv.
SVN revision: 49392
2010-06-02 09:15:01 +00:00
Lucas De Marchi c3dd8fa055 Fix ecore_events for recursive main loops
This fixes the following scenario:
1) An event handler starts another main loop
2) The new main loop processes all the remaining event_handlers of this
event and the remaining events
3) New events are added to the events list
4) A new iteration occurs

Prior behavior was that on (4) the events already processed were
triggered again. The code added to ecore_suite shows a test case,
similar to the one that is fixed now for modal dialogs on WebKit-EFL. I
preferred to let the INF() messages in order to be easy to copy, paste
and debug outside of the suite if anyone wants to. When the number of
tests grows more, we might want to separate them in different files.

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



SVN revision: 49390
2010-06-02 06:20:18 +00:00
Carsten Haitzler 7a935a6eac add verbose option/
SVN revision: 49387
2010-06-02 00:19:38 +00:00
Rui Seabra a0eb32fd7c Support for new module loaders for BMP and TGA... if they should be enabled by default, please just move them to bcond_with instead of bcond_without
SVN revision: 49380
2010-06-01 20:01:23 +00:00
Cedric BAIL 95f157da9f * edje: fix constness warning.
SVN revision: 49372
2010-06-01 14:35:19 +00:00
Cedric BAIL 17151d4fcf * eina: remove duplicate declaration of MODULE_ARCH.
SVN revision: 49370
2010-06-01 14:23:23 +00:00
Cedric BAIL 83e505b5c6 * edje: Add image set support.
Ease support of Freedesktop multiple size image.

	Sample:
	-------

	images {
		..
	       	set {
			name: "image_name_used";
  			image {
				image: "500x500.png" LOSSY 90;
     				size: 201 201 500 500;
  			}
  			image {
				image: "200x200.png" COMP;
     				size: 51 51 200 200;
  			}
  			image {
				image: "50x50.png" COMP;
     				size: 11 11 50 50;
  			}
  			image {
				image: "10x10.png" COMP;
     				size: 0 0 10 10;
  			}
		}
		..
	}



SVN revision: 49369
2010-06-01 13:31:07 +00:00
Mike Blumenkrantz 1774490b2f versioning stuff from rasties
SVN revision: 49353
2010-05-31 09:33:54 +00:00
Carsten Haitzler 8336361a47 remove debug
SVN revision: 49347
2010-05-31 03:51:33 +00:00
Carsten Haitzler 3b8ae6502a ooh and also lkd - just to be clean.
SVN revision: 49346
2010-05-31 03:40:48 +00:00
Carsten Haitzler 77123462e1 now that header was a mess - and this wasnt using the same lock! bad
bad!



SVN revision: 49345
2010-05-31 03:31:49 +00:00
Carsten Haitzler f1e19253e6 nopw svn revision works again.
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler 17dfab359b fix - if no svn tree, then it will pretend to be a release.
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler d231f624eb distcheck!
SVN revision: 49342
2010-05-31 01:34:43 +00:00
Carsten Haitzler 9621532945 trga loader - snarfed 80% from imlib2. missing paletted mode (just
like the imlib2 one) but.. handles alpha correctly- unlike imlib2 and
manyother loaders.



SVN revision: 49330
2010-05-30 17:48:19 +00:00
Carsten Haitzler 2cf09cdc4a on data load alloc surface only if dimensiosn match
SVN revision: 49329
2010-05-30 15:34:22 +00:00
Carsten Haitzler 5f03706efa oops - left over png thing.
SVN revision: 49328
2010-05-30 14:33:36 +00:00
Carsten Haitzler 6f6730eaf8 for shits and giggles... i wrote a bmp loader. i did look at the old
imlib2 bmp loader, but it was imcomplete compared to the bmp
standards, so i actually ended up reading the file format definitions
on line i could find and using lots of test images... wrote a new one.
you can at least view bmp files now. note - i found 1 bmp file that
claims to have an alpha channel (amask is non-empty) and then proceeds
to provide an image with pixels - all alpha 0. so its transparent when
it shouldnt be. beats me but looks like a broken bmp file to me when
it compes to specs.



SVN revision: 49324
2010-05-30 13:04:34 +00:00
Mike Blumenkrantz ca1a90eeee possibly compat for stupid other versions of udev
SVN revision: 49322
2010-05-30 07:09:59 +00:00
Carsten Haitzler e232fcd42b make other defines in ecore the same.
SVN revision: 49300
2010-05-29 13:59:42 +00:00
Carsten Haitzler b28f662869 bah. VMIN conflicts with system header defines ... termin.h
SVN revision: 49299
2010-05-29 13:56:21 +00:00
Carsten Haitzler 427b678d44 proto wrong. fix.
SVN revision: 49298
2010-05-29 13:49:43 +00:00
Carsten Haitzler d639576e8e wanring: shadddaaap
SVN revision: 49297
2010-05-29 13:43:48 +00:00
Vincent Torri 59384ec82a * doc/Doxyfile:
define _MSC_VER so that code guarded by it can
	be processed by doxygen
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	vasprintf() is also not in mingw crt
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	getpid is declared and defined in mingw crt



SVN revision: 49287
2010-05-29 10:51:06 +00:00
Carsten Haitzler dca0b4ec2b no rev in eet pc.
SVN revision: 49285
2010-05-29 10:00:10 +00:00
Carsten Haitzler 0d773a63a0 version for efreet
SVN revision: 49282
2010-05-29 08:30:06 +00:00
Carsten Haitzler 2136ee4451 edje -> version info
SVN revision: 49281
2010-05-29 08:05:11 +00:00
Carsten Haitzler 292fb4d87f relanem - consistent
SVN revision: 49280
2010-05-29 07:57:59 +00:00
Carsten Haitzler e68f469ecf release consistency with other efl.
SVN revision: 49279
2010-05-29 07:32:40 +00:00
Carsten Haitzler 4858dabb50 fix release modules
SVN revision: 49278
2010-05-29 07:31:52 +00:00
Carsten Haitzler 4b43b4ee86 oops - broke module dirs!
SVN revision: 49277
2010-05-29 07:24:43 +00:00
Carsten Haitzler cc621a2685 not fully done string insert approval cb for entry
SVN revision: 49276
2010-05-29 06:40:56 +00:00
Carsten Haitzler a14cd60f77 add version info to embryo
SVN revision: 49275
2010-05-29 06:40:07 +00:00
Carsten Haitzler 4bd7dd03d6 move evas version inside extern c.
SVN revision: 49274
2010-05-29 06:37:19 +00:00
Carsten Haitzler 78fd14d116 more extern c outside typedefs etc.
SVN revision: 49273
2010-05-29 06:37:02 +00:00
Carsten Haitzler 9b41314165 remove semi-colon
SVN revision: 49272
2010-05-29 06:28:38 +00:00
Carsten Haitzler 17263ea263 add ecore versioning
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Carsten Haitzler e7d93cc2f8 remove semi-colon
SVN revision: 49270
2010-05-29 06:27:29 +00:00
Carsten Haitzler 7d039b1101 extra ; - remove
SVN revision: 49269
2010-05-29 06:19:40 +00:00
Carsten Haitzler 37e28d6008 evas version too.
SVN revision: 49268
2010-05-29 05:42:21 +00:00
Carsten Haitzler 02503dd152 eina gets version thing ala eet.
SVN revision: 49267
2010-05-29 03:05:04 +00:00
Carsten Haitzler cc7fa6f6a6 fmting
SVN revision: 49266
2010-05-29 02:42:08 +00:00
Carsten Haitzler fb41798934 eet version stuff rehashed to use more m4 stuff.
SVN revision: 49265
2010-05-29 02:24:36 +00:00
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
Brett Nash 5259fb8d83 BUILD_NEON, not BUILD_NEONx
/me kicks me for commiting debugging code.


SVN revision: 49000
2010-05-19 09:03:46 +00:00
Brett Nash 0a18dc2c93 Neonized rotated 90 display for ARMs.
Share and enjoy.
See my previous neon related commit for more details.


SVN revision: 48999
2010-05-19 08:52:29 +00:00
Davide Andreoli ee29a2423d ecore_file_download(): Call the completion_cb (with error status) when a download is aborted
SVN revision: 48988
2010-05-18 23:06:07 +00:00
Carsten Haitzler 7bf5eee839 fix symbols! oops.
SVN revision: 48980
2010-05-18 14:45:50 +00:00
Carsten Haitzler 9b50145007 formatting cleanups.
SVN revision: 48970
2010-05-18 08:01:06 +00:00
Carsten Haitzler cbebd8f00b data passed in wrong order! fix.
SVN revision: 48964
2010-05-18 06:59:59 +00:00
Mike Blumenkrantz c08f0d5d97 fix stringshare in watch
SVN revision: 48962
2010-05-18 06:14:07 +00:00
Carsten Haitzler cedba3f7d9 handle gl init fialure correctly and dont mess up font init.
SVN revision: 48959
2010-05-18 04:22:33 +00:00
Christopher Michael 0cad792cb6 Fix typos ;)
SVN revision: 48958
2010-05-18 04:13:13 +00:00
Carsten Haitzler 194aa90d0c handle info_set failures.
SVN revision: 48957
2010-05-18 03:50:17 +00:00
Carsten Haitzler 4fefcad954 if shader compile fails - peroclate error back up to engine info_set so we
know gl engine is useless.



SVN revision: 48956
2010-05-18 03:49:59 +00:00
Mike Blumenkrantz 3cd8279021 re-add stringshare to monitor return, but now decrement refcount; this allows for direct pointer comparison
SVN revision: 48954
2010-05-18 01:50:43 +00:00
Mike Blumenkrantz b8821033ae pebkac
SVN revision: 48953
2010-05-18 00:18:45 +00:00
Mike Blumenkrantz d68a192abc possibly better error checking on watch_del
SVN revision: 48952
2010-05-18 00:17:13 +00:00
Mike Blumenkrantz 830db2243e fix battery/ac watches
SVN revision: 48951
2010-05-17 23:41:07 +00:00
Sebastian Dransfeld d4eb19a520 efreet: formatting
SVN revision: 48946
2010-05-17 19:45:20 +00:00
Mike Blumenkrantz f135f009a5 hardcode variable names into watch cb for clarity
SVN revision: 48942
2010-05-17 08:14:02 +00:00
Mike Blumenkrantz 1b6703ce89 fix up init
SVN revision: 48941
2010-05-17 07:36:54 +00:00
Mike Blumenkrantz 567664a1a3 massive update. strbuf fixes, new functions, more compat for old udev, updates to test app, version bump, use config.h, split more functions into other files
SVN revision: 48935
2010-05-17 02:59:07 +00:00
Hannes Janetzek 61df60e3bb get min/max size only for scalable icons
SVN revision: 48924
2010-05-16 21:11:21 +00:00
Hannes Janetzek 3ac99ef29b fix ret_size used unitialized
Threshold is fallback for type
calc min/max dir size for threshold only once


SVN revision: 48923
2010-05-16 21:02:52 +00:00
Mike Blumenkrantz fa5fa3c7e7 comment out nonexistent functions
SVN revision: 48922
2010-05-16 20:17:07 +00:00
Sebastian Dransfeld f7b9de9595 efreet: formatting
SVN revision: 48921
2010-05-16 19:36:42 +00:00
Sebastian Dransfeld fc031b899d efreet: better variable naming
SVN revision: 48920
2010-05-16 18:42:43 +00:00
Sebastian Dransfeld f827867a22 efreet: prefer downsizing
SVN revision: 48919
2010-05-16 18:42:33 +00:00
Sebastian Dransfeld 31fa5a1e1d efreet: use exponential scale for icon size search
fd.o spec wants us to use linear distance for icon size search. But
f.ex. when searching for a 128px icon, and the available is 48px and
256px, 256px would be preferable as 256/128 is 2 and 128/48 is 2.67

SVN revision: 48918
2010-05-16 18:41:56 +00:00
Carsten Haitzler 8bbc3b9024 gaaaaah! fix buf - paths were "wrong" - thus matching failed. man i see some
expensive ops going on with lots of strcmping.



SVN revision: 48917
2010-05-16 17:11:38 +00:00
Carsten Haitzler 79f1448682 CEEEEEEEEEEEEEEEEEEEEEEEEDRIC! *spank*
SVN revision: 48907
2010-05-16 03:04:18 +00:00
Sebastian Dransfeld 8cde10890b efreet: Don't remove/add stuff already in list
eina_list_promote_list to prepend data already in list.

SVN revision: 48898
2010-05-15 18:38:50 +00:00
Vincent Torri 3185c6d8a0 * redirection of stdout and stderr (with libc or win32 apps) is working
* there is though a problem in the win32 select function: the _del
   callback is always sent before _data or _error callback


SVN revision: 48897
2010-05-15 18:38:01 +00:00
Hannes Janetzek af2471c7bc remove svg from default types.
make efreet_icon_extensions prepended a type when it already is in list


SVN revision: 48895
2010-05-15 17:55:41 +00:00
Hannes Janetzek 82b89cea6b add FIXME
SVN revision: 48893
2010-05-15 16:57:28 +00:00
Hannes Janetzek 85dbd6d844 search for svg icons
SVN revision: 48891
2010-05-15 16:24:58 +00:00
Hannes Janetzek db8de25e56 allow trashing of files which are not on home partition
SVN revision: 48885
2010-05-15 07:51:49 +00:00
Carsten Haitzler 67060c70ee more netwm window types - they were missed!
SVN revision: 48884
2010-05-15 05:38:21 +00:00
Mike Blumenkrantz 264ca1658a fix a leak with strbuf
SVN revision: 48866
2010-05-14 18:02:43 +00:00
Mike Blumenkrantz 2301b57acf remove unnecessary stringshares
SVN revision: 48865
2010-05-14 17:55:03 +00:00
Mike Blumenkrantz 2fb9ac1f9e fix configure variable name
SVN revision: 48864
2010-05-14 17:10:40 +00:00
Mike Blumenkrantz 019bb06085 I know how to use loops, I swear!
SVN revision: 48860
2010-05-14 07:47:37 +00:00
Mike Blumenkrantz b79eccfc57 EVEN MORE OLD UDEV COMPAT ADGSGOUIGHAWEGAOUGAWEF
SVN revision: 48859
2010-05-14 07:36:43 +00:00
Mike Blumenkrantz 57092e9c95 reverse logic checking for compat code
SVN revision: 48858
2010-05-14 07:24:56 +00:00
Mike Blumenkrantz 87e0ecfaa7 even MORE compat code
SVN revision: 48857
2010-05-14 07:23:18 +00:00
Mike Blumenkrantz d04755d2a2 forgot loop increment!
SVN revision: 48856
2010-05-14 07:09:19 +00:00
Mike Blumenkrantz 77fa364241 more eudev->eeze_udev cleanup, add even more legacy udev code (hurgh)
SVN revision: 48854
2010-05-14 07:02:50 +00:00
Mike Blumenkrantz 0cccb61516 should work with old udev now I think?
SVN revision: 48850
2010-05-14 05:45:09 +00:00
Mike Blumenkrantz 90b028d63c move/rename all files/functions/variables to eeze_udev for proper namespacing
SVN revision: 48845
2010-05-14 05:21:52 +00:00
Carsten Haitzler 308c35adac ok - put it in the right spot
SVN revision: 48844
2010-05-14 04:56:07 +00:00
Mike Blumenkrantz 9f5af6d88e udev compile fix, try 3
SVN revision: 48843
2010-05-14 04:52:42 +00:00
Mike Blumenkrantz 62d16496f5 should fix udev compile issues?
SVN revision: 48842
2010-05-14 04:45:15 +00:00
Mike Blumenkrantz b5ecfed588 add define for udev compile and error case for no modules being built
SVN revision: 48841
2010-05-14 04:35:58 +00:00
Mike Blumenkrantz 767b9263f2 change EAPI define so vtorri doesn't get angry at me
SVN revision: 48837
2010-05-14 02:57:05 +00:00
Mike Blumenkrantz 9392349756 fix stupid formatting from buggy editor, fix all compiler warnings, fix bug with name filtering
SVN revision: 48827
2010-05-13 21:21:12 +00:00
Mike Blumenkrantz 0b3d445747 watches that use types will actually work now! also, documentation on ecore_fd_handlers is very misleading
SVN revision: 48825
2010-05-13 20:52:27 +00:00
Sebastian Dransfeld 0f4eb30d82 ecore_con: remove unused variable
SVN revision: 48821
2010-05-13 20:24:16 +00:00
Sebastian Dransfeld 2c74596411 evas: Add return value
SVN revision: 48820
2010-05-13 20:24:06 +00:00
Sebastian Dransfeld ab7e6fe3f8 evas: remove unused variables
SVN revision: 48819
2010-05-13 20:23:49 +00:00
Mike Blumenkrantz 7c1298ea04 watch changes:
event data is now returned
device/event strings are now deleted after callback is complete


SVN revision: 48813
2010-05-13 19:36:04 +00:00
Sebastian Dransfeld dc91f4ebbf efreet: make sure we flush new dirs
SVN revision: 48812
2010-05-13 18:31:41 +00:00
Mike Blumenkrantz 7c28e4ce29 New lib for EFL: eeze! Bringing you the freedom to (hopefully) never need to learn external apis again!
So far only e_udev is complete, but more will be added.  Add stuff to the TODO or yell at me in irc if you want something in.
If anyone knows how to fix the doxygen css, I'd be most grateful!


SVN revision: 48808
2010-05-13 10:49:17 +00:00
Vincent Torri 141a2bb9a8 fix the Windows select function:
* On Windows, the values returned by pipe() are sockets.
   Hence they can be huge. Iterate over the list of "fds"
   instead of the max value
 * In the loop which iterates over the win32 handlers,
   we never go to the next element, so infinite loop...


SVN revision: 48807
2010-05-13 08:10:17 +00:00
Vincent Torri af63e9e4e7 the extension of shared lib is not needed anymore in ecore
SVN revision: 48806
2010-05-13 08:07:20 +00:00
Michael Jennings 9b86923c9a Fix build on RHEL5. Please provide feedback for these changes as I
realize they may have impact on other platforms/distros.  But this is
what ended up working on RHEL, unlike what Vincent was given by the
automake developer mailing list. :/

If this breaks, please discuss on the ML rather than simply
reverting.  We need to work toward a cooperative resolution.



SVN revision: 48783
2010-05-12 18:19:11 +00:00
Carsten Haitzler 53fb870568 hmmmm gl-es doesnt like that texture2d thing. disable again.
SVN revision: 48774
2010-05-12 03:27:34 +00:00
Christopher Michael 54a9f1023d Fix 'return' with a value in function returning void.
SVN revision: 48754
2010-05-11 14:01:42 +00:00
Carsten Haitzler 8abda5cb05 only do auth stuff if there in curl.
SVN revision: 48749
2010-05-11 12:10:29 +00:00
Brett Nash bd6b2d5cb1 Neon improvements for ARM Cortex.
Samsung Electronics just allowed me to release the first set of ARM neon
patches under the Evas licence.  They are silently helping improve EFL and
this another product of their help.

These patches have been tested on a Cortex A8 and show consistent improvement
across the board.  For expedite some tests up to 100% improvements, and
practical real world examples show that rendering limited applications show
similar improvements.  For instance in one application from 17fps->30fps or
for another 40->63fps.

The patches are pure neon code (intrinsics tend to generate worse code).  To
build under GCC you will need a recent GCC and the following C flags:
	-mfloat-abi=softfp -mfpu=neon
I also recommend -O2 and -ffast-math.

If you have any problems please let me know.


SVN revision: 48733
2010-05-10 09:24:11 +00:00
Rui Seabra b923e09da0 This commit implements http auth support; in order to avoid exposing too much of curl's internal workings, I opted to have a safety parameter in order to choose between CURLAUTH_ANY and CURLAUTH_ANYSAFE.
SVN revision: 48715
2010-05-09 15:06:06 +00:00
Vincent Torri 798e88594f * fix comment
* do consistent test (though it is useless)


SVN revision: 48708
2010-05-09 06:03:46 +00:00
Carsten Haitzler 9c96f2b98e try right #ifdef
SVN revision: 48707
2010-05-09 05:51:10 +00:00
Carsten Haitzler e2279c66c4 support new gl enigne rotate ability from ecore-evas
SVN revision: 48705
2010-05-09 05:15:55 +00:00
Carsten Haitzler fa6a067737 gl engine now does rotates (0, 90, 180, 270), like software engines
SVN revision: 48704
2010-05-09 05:15:20 +00:00
Michael Lauer dc4449c764 edje: be more precise about the Lua version we are expecting
SVN revision: 48676
2010-05-08 10:54:40 +00:00
Hannes Janetzek 9dc6c78922 added fuction to send httposts created with curl formadd.
SVN revision: 48651
2010-05-06 20:18:39 +00:00
Hannes Janetzek 1a49327928 make all strings returned by efre_mime_type_get stringshared
SVN revision: 48641
2010-05-05 20:55:14 +00:00
Carsten Haitzler db0679543f oops - call params in right order.
SVN revision: 48627
2010-05-05 16:17:23 +00:00
Cedric BAIL 7bcd87e551 * evas: bring back object cache.
SVN revision: 48620
2010-05-05 11:36:21 +00:00
Cedric BAIL bb85e11b50 * eina: don't shadow global variable.
SVN revision: 48614
2010-05-04 16:26:29 +00:00
Carsten Haitzler 7041c968bf oooh you'd love to know why this is here.. won't you? :)
SVN revision: 48613
2010-05-04 15:58:10 +00:00
Cedric BAIL 197a9a879e * eina: use previous cached result in quadtree.
SVN revision: 48607
2010-05-04 14:42:13 +00:00
Cedric BAIL 9522f7ab27 * ecore: make it possible to easily freeze/thaw animator.
NOTE: logic could be optimised as in some case we could just stop
	the timer also.


SVN revision: 48580
2010-05-03 16:21:39 +00:00
Cedric BAIL 9d8b1da4cb * eina: make quadtree faster.
SVN revision: 48575
2010-05-03 13:17:52 +00:00
Vincent Torri 9c437476aa * link pthread and spinlock code instead of just compiling
* POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available



SVN revision: 48541
2010-05-02 05:20:02 +00:00
Vincent Torri d0a0206be6 * link pthread and spinlock code instead of just compiling
* POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available



SVN revision: 48540
2010-05-02 05:19:47 +00:00
Vincent Torri 28736f4621 * link pthread and spinlock code instead of just compiling
* POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available



SVN revision: 48539
2010-05-02 05:19:35 +00:00
Vincent Torri 9abb2c1357 * link pthread and spinlock code instead of just compiling
* POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available


SVN revision: 48537
2010-05-02 05:19:00 +00:00
Vincent Torri f5a84223e0 Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.



SVN revision: 48527
2010-05-01 20:38:44 +00:00
Vincent Torri ba64a18e0f Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.



SVN revision: 48526
2010-05-01 20:38:28 +00:00
Vincent Torri b6b530016f Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.



SVN revision: 48525
2010-05-01 20:38:10 +00:00
Vincent Torri 240395f366 Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.



SVN revision: 48524
2010-05-01 20:37:56 +00:00
Vincent Torri 0cc286508a indentation and comments
SVN revision: 48522
2010-05-01 20:35:16 +00:00
Boris Faure 625818de6e edje: get parts in a part type BOX/TABLE
SVN revision: 48513
2010-05-01 17:13:38 +00:00
Boris Faure 5a4287896d edje: wibble
SVN revision: 48509
2010-05-01 16:17:44 +00:00
Carsten Haitzler 15b7e11198 hmm - i don't know how this happened, but - metrics were not being done
right. fixed now. i wonder why. this used to be right at some point.



SVN revision: 48503
2010-05-01 14:08:14 +00:00
Carsten Haitzler c10f1e9c5d fix map rendering of text objects.
SVN revision: 48501
2010-05-01 13:27:05 +00:00
Carsten Haitzler 9f030460b3 use part geom for map - better for text.. oh yeah.
SVN revision: 48498
2010-05-01 12:40:27 +00:00
Cedric BAIL 6caac50006 * eina: improve QuadTree API.
SVN revision: 48482
2010-04-30 17:04:28 +00:00
Lucas De Marchi c98e00eec0 Define new error handling macros
EINA_SAFETY_ON_TRUE_GOTO and EINA_SAFETY_ON_FALSE_GOTO are now defined
to ease error handling. Functions might need to take actions before
returning upon safety checks fail.




SVN revision: 48478
2010-04-30 14:54:05 +00:00
Carsten Haitzler 7713be2a89 fix map bug - overzealous optimising. missed case in opt.
SVN revision: 48465
2010-04-30 11:24:22 +00:00
Carsten Haitzler 64c051e7c2 fix map render bug.
SVN revision: 48462
2010-04-30 08:24:55 +00:00
Iván Briano 0346030c17 Always allow selections for entries when select_mode is default
SVN revision: 48434
2010-04-29 19:56:59 +00:00
Tiago Rezende Campos Falcao 266ac4bd99 update mtime when save
SVN revision: 48432
2010-04-29 18:52:59 +00:00
Tiago Rezende Campos Falcao ea7c060805 Code Replication --
SVN revision: 48431
2010-04-29 18:52:55 +00:00
Sebastian Dransfeld 5be72adc7d efreet: TODO++
SVN revision: 48429
2010-04-29 18:16:15 +00:00
Cedric BAIL a52773a8ab * evas: specify Evas canvas for Evas_Object.
SVN revision: 48428
2010-04-29 17:35:47 +00:00
Cedric BAIL d239b6c524 * eina: oops forgotten file.
SVN revision: 48425
2010-04-29 17:30:18 +00:00
Cedric BAIL 9367b5f7c7 * eina: Add first version of a Quad Tree data type.
NOTE: consider the API experimental and subject to change.


SVN revision: 48424
2010-04-29 17:21:14 +00:00
Cedric BAIL 49c0a1e6e2 * eina: add tests for eina fixed point sin/cos functions.
SVN revision: 48423
2010-04-29 17:08:24 +00:00
Gustavo Sverzut Barbieri 2e4b0fddd8 load ~/.Xdefaults less often, make it shared and free its resources.
SVN revision: 48420
2010-04-29 15:32:47 +00:00
Iván Briano 843fb898ef be friendly with the commonlispers who like to call init and shutdown more than once
SVN revision: 48409
2010-04-28 23:10:31 +00:00
Gustavo Sverzut Barbieri 66475f25c3 Load Xft.dpi from ~/.Xdefaults as well.
Do this for consistency with other applications, some people just set
.Xdefaults but do not have xrdb to load it to screen. This works with
most of the systems, like Gtk and Qt, but not in Evas, so we get
different font sizes as they calculate based on DPI.

HOWEVER, and this may be a big thing, so RASTERMAN take a look, this
might impose a performance hit on window creation... remember that
every E17 popup/tooltip will hit this process of reading the file (if
exists) and then query X server (round trip).
    I'd rather make this a global resource, loaded just once for all
created windows, we can store the mtime to know when it changed and
invalidate the pointer... but as Raster did not keep the
XrmGetDatabase() result as global, I'm not doing it here either.



SVN revision: 48403
2010-04-28 20:26:04 +00:00
Iván Briano 2f9b52fb1c When changing source of a GROUP part, set/clean the swallowed_object, by Thiago Masaki
SVN revision: 48398
2010-04-28 18:40:05 +00:00
Carsten Haitzler 8ea3844c85 fix fill render bug cedric reported. :)
SVN revision: 48393
2010-04-28 14:38:46 +00:00
Carsten Haitzler c4e6db910d enable that stuff - shouldnt hurt to be explicit.
SVN revision: 48383
2010-04-28 05:14:02 +00:00
Carsten Haitzler a0b2235a44 add offset in transform of coords. missed that.
SVN revision: 48372
2010-04-28 01:52:58 +00:00
Carsten Haitzler 0dc8a3d0b7 \n--
SVN revision: 48371
2010-04-28 00:05:56 +00:00
Carsten Haitzler 9941fd4f8e better debug/error output for foreign fd issues.
SVN revision: 48370
2010-04-27 23:53:08 +00:00
Cedric BAIL fc44f0f050 * evas: cleanup white space.
SVN revision: 48363
2010-04-27 13:43:10 +00:00
Carsten Haitzler ea3dace944 handle url set better
SVN revision: 48358
2010-04-27 10:53:25 +00:00
Carsten Haitzler a08e3d18dc formatting.
SVN revision: 48354
2010-04-27 04:30:55 +00:00
Iván Briano 53f05ae0e5 A bit more carefulness when deleting states.
SVN revision: 48352
2010-04-26 22:51:24 +00:00
Iván Briano 675bb06b45 Make program_del() a bit more straight forward while fixing the problems it had updating references.
SVN revision: 48350
2010-04-26 22:35:49 +00:00
Iván Briano d57f9b09d6 Use edje_edit_object_add() or the edje_edit API won't work.
SVN revision: 48347
2010-04-26 19:46:15 +00:00
Tiago Rezende Campos Falcao a68f8e5529 Edje_edit font_del
SVN revision: 48339
2010-04-26 18:19:49 +00:00
Tiago Rezende Campos Falcao f95de840fa Edje_edit font_add with alias
SVN revision: 48338
2010-04-26 18:19:46 +00:00
Tiago Rezende Campos Falcao 023d8d6c15 Edje_edit image_del
SVN revision: 48337
2010-04-26 18:19:43 +00:00
Tiago Rezende Campos Falcao 1c1eee2805 Edje_edit image_add review
SVN revision: 48336
2010-04-26 18:19:39 +00:00
Carsten Haitzler 685fadf869 item provider callback... add!
SVN revision: 48329
2010-04-26 14:55:45 +00:00
Carsten Haitzler 2d349c2d7b and dont mix anchors and items - for now. for now now way to "get" all the
items. mulling over how an item href name will map to having an evas object
attached/supplied (once there, its' easy to just control the object like href
objects, selection and cursor objects are).



SVN revision: 48311
2010-04-25 13:57:41 +00:00
Carsten Haitzler ac70bae562 correct ascent
SVN revision: 48309
2010-04-25 13:11:44 +00:00
Carsten Haitzler 39de4a6db7 support items... yo... mostly.
SVN revision: 48307
2010-04-25 13:06:58 +00:00
Carsten Haitzler fbbd6ffef1 and make items work properly.
SVN revision: 48306
2010-04-25 13:05:45 +00:00
Carsten Haitzler 1112f418dc add api to get the item geometry itself. needed to put somethign there.
SVN revision: 48305
2010-04-25 12:40:26 +00:00
Carsten Haitzler d37f08a616 adding... items... oooooh what are these items? invisible sized blobs treated
like characters/words for wrapping. intended for use in sticking inlined
content - like icons, images etc.



SVN revision: 48301
2010-04-25 11:35:41 +00:00
Carsten Haitzler bf22e27af6 apparently fbsd is unaware of expr substr...
SVN revision: 48277
2010-04-24 14:33:10 +00:00
Carsten Haitzler 0dd3139705 apparently fbsd is unaware of expr substr...
SVN revision: 48276
2010-04-24 14:31:36 +00:00
Carsten Haitzler 87efa72125 apparently fbsd is unaware of expr substr...
SVN revision: 48275
2010-04-24 14:31:23 +00:00
Carsten Haitzler d4ba7c3a06 amd64 - apparently fbsd is still living back in that past where 64bit was amd
only... :)



SVN revision: 48273
2010-04-24 14:07:17 +00:00
Carsten Haitzler 36bd7d71e0 amd64 - apparently fbsd is still living back in that past where 64bit was amd
only... :)



SVN revision: 48272
2010-04-24 14:05:05 +00:00
Iván Briano bb157d6145 Delete the right file, not the newly added to the cache.
SVN revision: 48262
2010-04-23 23:01:29 +00:00
Vincent Torri d762831a62 copy/paste error
SVN revision: 48254
2010-04-23 17:37:31 +00:00