Commit Graph

10520 Commits

Author SHA1 Message Date
Carsten Haitzler 1837b63b38 ummmm revert. crash crash crash.
SVN revision: 50789
2010-08-03 21:32:45 +00:00
Sebastian Dransfeld eba0c34bf9 Remove unneeded fake_null theme
SVN revision: 50788
2010-08-03 20:46:56 +00:00
Sebastian Dransfeld c623230e98 Remove unneeded eina_hash_del
We already checked that this value isn't in the hash.

SVN revision: 50787
2010-08-03 20:46:46 +00:00
Sebastian Dransfeld b197b55abc Check return NULL
SVN revision: 50786
2010-08-03 20:46:36 +00:00
Sebastian Dransfeld beacf6f976 use EINA_LIST_FREE
SVN revision: 50785
2010-08-03 20:46:25 +00:00
Sebastian Dransfeld 08e9824c6e check return value from NEW
SVN revision: 50784
2010-08-03 19:31:44 +00:00
Sebastian Dransfeld 99673bb0a8 fix malloc calls
check return value and remove unneeded sizeof(char)

SVN revision: 50783
2010-08-03 19:31:34 +00:00
Sebastian Dransfeld 1576311af3 alloc the right amount of mem
sizeof(char) is 1, and sizeof(char *) is wrong for strings

SVN revision: 50782
2010-08-03 19:31:24 +00:00
Sebastian Dransfeld 69d0626265 use alloca for in function mem
SVN revision: 50781
2010-08-03 19:31:14 +00:00
Sebastian Dransfeld 7f93656d7b check return value from malloc
SVN revision: 50780
2010-08-03 19:31:04 +00:00
Sebastian Dransfeld 8554a0c23b free data on realloc error
SVN revision: 50779
2010-08-03 19:30:53 +00:00
Gustavo Lima Chaves da771758de Wrong return value here.
SVN revision: 50778
2010-08-03 18:36:42 +00:00
titan 83c74eccb5 Cleanups
SVN revision: 50777
2010-08-03 17:59:55 +00:00
titan bdb6e0f0ed *Warning Breaks API so if you use eio, make the necessary changes* Make the changes k-s requested. Use Enums, Use shorter code, Change the format of the callbacks to be data first value last, etc..
SVN revision: 50771
2010-08-03 17:11:44 +00:00
Gustavo Lima Chaves e378c6035d Fixing wrong memory allocations.
SVN revision: 50769
2010-08-03 16:45:37 +00:00
Tiago Rezende Campos Falcao 87034f74ac Call only once the eina_list_last(_edje_file_cache)
SVN revision: 50768
2010-08-03 14:27:47 +00:00
Cedric BAIL 74f7480e41 * edje: fix some issue during destruction of edje_part_description,
and move tweens to an array.


SVN revision: 50765
2010-08-03 12:58:31 +00:00
Massimiliano Calamelli 465a55b467 Leak-- using the macro
SVN revision: 50763
2010-08-03 11:44:55 +00:00
Carsten Haitzler ee1b715780 support calls++
SVN revision: 50760
2010-08-03 09:02:27 +00:00
Carsten Haitzler 9275e5beb2 re-jig native surface stuff to share the same gl image between
multiple instances of the same pixmap.



SVN revision: 50758
2010-08-03 06:09:53 +00:00
Gustavo Sverzut Barbieri 3994aee4d8 let's stop smoking crack while coding :-P
dudes, WTF is that look to check for numbers, then use atoi()??? Use
strtol() and let it do both in one pass. Also, just do these for part
types that make sense. The loop using child could result in unused
variables in lots of cases, returning the wrong value when not found.



SVN revision: 50757
2010-08-02 23:35:30 +00:00
Sebastian Dransfeld 4b221c3936 Check return value for realloc
SVN revision: 50753
2010-08-02 20:43:09 +00:00
Mike Blumenkrantz bec24bf71f fix random value generator.
SPANK SPANK SPANK!!!


SVN revision: 50750
2010-08-02 19:36:37 +00:00
Christopher Michael a7049f1f16 Rename 'same named' macros.
NB - Please use different macro names in the future for stuff like this 
(ie: not the same macro name in each file) as it spits nasty compiler 
warnings when compiling w/ amalgamation.



SVN revision: 50748
2010-08-02 19:06:07 +00:00
Mike Blumenkrantz 54a05dc2aa re-reformat
SVN revision: 50747
2010-08-02 18:54:27 +00:00
Mike Blumenkrantz d07a90f62a re-uncrustify
SVN revision: 50745
2010-08-02 17:47:49 +00:00
Gustavo Lima Chaves faa7644e22 Better documenting EINA_MAGIC_SET()'s use.
Patch by Jonas Gastal.



SVN revision: 50744
2010-08-02 16:57:38 +00:00
Cedric BAIL 1edd7e4ffa * eet: fix bug on 32bits computer.
SVN revision: 50743
2010-08-02 14:30:46 +00:00
Cedric BAIL 1ba6b50042 * edje: fix counting.
SVN revision: 50742
2010-08-02 12:41:28 +00:00
Brett Nash 9da847b538 Fix eina_unicode_strncpy
SVN revision: 50741
2010-08-02 09:44:11 +00:00
Brett Nash d3655ee501 Beef up the strncpy test
SVN revision: 50740
2010-08-02 09:44:06 +00:00
Brett Nash 7f83020567 Terminate the string after strcpy
SVN revision: 50739
2010-08-02 09:44:01 +00:00
Brett Nash 9e468e94e7 Update eina_unicode_strnlen
SVN revision: 50738
2010-08-02 09:43:57 +00:00
Brett Nash 4efb9d70af Add ustr tests.
SVN revision: 50737
2010-08-02 09:43:51 +00:00
Carsten Haitzler 3b6c09d89b allow max cutout rects to be tunable. and change3 default for gl?
SVN revision: 50736
2010-08-02 06:46:38 +00:00
Carsten Haitzler 50649552e3 dont sync if vsync not set...? (good?)
SVN revision: 50735
2010-08-02 06:44:23 +00:00
Jonathan Atton 6e1ada9850 Edje: now we can refer to the content of a external type
SVN revision: 50730
2010-08-01 17:27:31 +00:00
Sebastian Dransfeld 1c05469785 fix stupid align of *
SVN revision: 50721
2010-07-31 18:57:35 +00:00
Sebastian Dransfeld 5d1a9f4e0d remove space after *
SVN revision: 50719
2010-07-31 18:54:54 +00:00
Christopher Michael 38aac01b6a Buffer engine is desired/needed else livethumb previews do not work.
SVN revision: 50718
2010-07-31 18:50:51 +00:00
Christopher Michael d061f6229c Remove some unused variables/dead assignments.
Fix some formatting while I am here.



SVN revision: 50717
2010-07-31 17:06:55 +00:00
Christopher Michael b115cdf6b5 Remove unused variable(s).
SVN revision: 50716
2010-07-31 16:57:09 +00:00
Christopher Michael 3328859a0e Comment out dead assignment(s).
SVN revision: 50715
2010-07-31 07:13:21 +00:00
Christopher Michael f1c4520420 Fix evas_module clean 'bug'. NB: Not really an issue as this code
isn't used currently, but may be in the future, so fix the minor
bugger now, just in case :)



SVN revision: 50714
2010-07-31 06:15:00 +00:00
Christopher Michael ddf7f8d49f Cleanup some clang reports.
SVN revision: 50713
2010-07-31 06:12:39 +00:00
Christopher Michael 4b24545c3c Add missing break for case.
SVN revision: 50712
2010-07-31 05:48:51 +00:00
Christopher Michael cf0961ebf3 Add missing break for case statement.
SVN revision: 50711
2010-07-31 05:46:16 +00:00
Christopher Michael 428d5c05ab 'cache' is unused here.
SVN revision: 50710
2010-07-31 05:44:15 +00:00
Mike Blumenkrantz 5c670876c0 verify that fopen succeeded
SVN revision: 50709
2010-07-31 05:24:47 +00:00
Brett Nash 1e8074954f Fix end points
SVN revision: 50708
2010-07-31 05:24:45 +00:00
Mike Blumenkrantz 2174b972fc new can of grandma's LEEK B GON
SVN revision: 50707
2010-07-31 05:17:56 +00:00
Mike Blumenkrantz 056cfca56f const
SVN revision: 50706
2010-07-31 05:10:44 +00:00
Mike Blumenkrantz 31743ae6de comment out unused variables
SVN revision: 50705
2010-07-31 05:01:54 +00:00
Mike Blumenkrantz bb0b72558f add lengthy comment to document an obvious bug that someone who knows the code should fix
FIX THIS!!!!!!!!!!!!!


SVN revision: 50704
2010-07-31 05:01:34 +00:00
Mike Blumenkrantz f33f0139a6 move a couple variables into loops, reformat slightly to make obvious a redundant variable set
SVN revision: 50703
2010-07-31 05:00:42 +00:00
Mike Blumenkrantz 40a5ee431a another case without a break
SVN revision: 50702
2010-07-31 04:58:32 +00:00
Mike Blumenkrantz ae3e0ce5c5 comment a couple unused lines and add a break to a case instead of falling through to autoreturn NULL
SVN revision: 50701
2010-07-31 04:28:27 +00:00
Brett Nash db89ba43d7 eina: Actually implement strnlen for eina_unicode.
SVN revision: 50700
2010-07-31 03:54:09 +00:00
Mike Blumenkrantz e48c3cdc31 forgot to commit this earlier
SVN revision: 50699
2010-07-31 03:21:55 +00:00
Carsten Haitzler f7019f134d formatting. <- uncrustify
SVN revision: 50698
2010-07-31 01:54:48 +00:00
Christopher Michael 55d0190185 Don't use the same macro name in each file, gives nasty compiler warnings when
using amalgamation.



SVN revision: 50696
2010-07-31 01:21:30 +00:00
Mike Blumenkrantz d409884148 incomplete doxy!
cedric SPANK SPANK SPANK!!!


SVN revision: 50694
2010-07-30 21:18:40 +00:00
Mike Blumenkrantz 122ec75b01 return void* for data functions; depend on user not to be stupid (hahahahahah)
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?


SVN revision: 50692
2010-07-30 20:33:32 +00:00
Mike Blumenkrantz 81644c5029 some long overdue updates:
switch some variables to enum for debugging readability
doxy updates
some small leak fixes


SVN revision: 50690
2010-07-30 18:19:04 +00:00
Mike Blumenkrantz 5d52fce3f6 rrrrrrrrrrrrrr stupid enum!
SVN revision: 50689
2010-07-30 17:03:34 +00:00
Mike Blumenkrantz 8c946dff90 grrrrr this enum is really starting to piss me off
SVN revision: 50688
2010-07-30 15:57:19 +00:00
Mike Blumenkrantz d25cc594f9 remove ecore_thread_pool_data_wait, make thread data struct private again, return void* on _set(), fix global_wait to not mutex longer than wait time when no data added
SVN revision: 50687
2010-07-30 15:56:18 +00:00
Lucas De Marchi 8989ca1261 Spell: rememebr => remember
SVN revision: 50686
2010-07-30 11:34:08 +00:00
Cedric BAIL c897468e7e * edje: more unitialized case handled.
SVN revision: 50685
2010-07-30 09:53:20 +00:00
Cedric BAIL 29893ac71c * edje: fix rename of a part.
SVN revision: 50684
2010-07-30 09:08:37 +00:00
Cedric BAIL c9d5d8a62e * eina: add a way to move a key to another without triggering the Free_Cb.
SVN revision: 50683
2010-07-30 09:06:58 +00:00
Mike Blumenkrantz 7c45637e38 add data freeing support to ecore thread data api
TO FUTURE MIKE: you were too tired to update the doxy last night and instead of writing the doxy updates you fell asleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee


SVN revision: 50682
2010-07-30 08:52:18 +00:00
Cedric BAIL 50eb17c966 * edje: fix counting.
SVN revision: 50681
2010-07-30 08:29:13 +00:00
Cedric BAIL 85be5e4201 * eina: try to fix memory align on sparc.
SVN revision: 50680
2010-07-30 08:26:34 +00:00
Mike Blumenkrantz bc39497059 ssl cert cleanups: round 3
fix bitmask detection and refcount more correctly


SVN revision: 50679
2010-07-30 06:47:59 +00:00
Brett Nash 68b8380d51 Two fixes: Use the correct string for the stringshare and
if gl is on, but metric is compiled out, just bail out of all word/metric
cache


SVN revision: 50678
2010-07-30 04:53:30 +00:00
Brett Nash 618f5cdf34 Use strnlen... NFI if this works yet.
SVN revision: 50677
2010-07-30 03:51:48 +00:00
Brett Nash 4414556323 Unicde strnlen, and a slight fix to the header so at least part can be read by
humans.

Also strlen/strnlen are pure.


SVN revision: 50676
2010-07-30 03:39:12 +00:00
Brett Nash ec7e390bdf Fix word/metric cache to use strlen
SVN revision: 50675
2010-07-30 03:20:40 +00:00
Brett Nash 7403813b4b Fix the compile error: Doesn't fix massive performance regression or rather
obvious semantic change in the code.

ie: If you are changing code:
	Read the comment on the LINE ABOVE the code you are changing.


SVN revision: 50674
2010-07-30 03:04:43 +00:00
Carsten Haitzler ffc048d5e4 doc++
SVN revision: 50673
2010-07-30 02:57:39 +00:00
Carsten Haitzler 0caf090e66 close after fdh del
SVN revision: 50671
2010-07-30 02:53:46 +00:00
Carsten Haitzler 6dd1042033 fix close before fd handler del's
SVN revision: 50670
2010-07-30 02:50:50 +00:00
Carsten Haitzler bdce85e21c del x fd handler before close.
SVN revision: 50669
2010-07-30 02:44:43 +00:00
Carsten Haitzler 24bf638323 clean up epoll stuff a little bit. 32 events now.
SVN revision: 50668
2010-07-30 02:42:47 +00:00
Carsten Haitzler 0b3b437823 close after del fd handler
SVN revision: 50667
2010-07-30 02:42:17 +00:00
Carsten Haitzler e3d14a1032 formatting ewwww
SVN revision: 50665
2010-07-30 00:35:57 +00:00
Carsten Haitzler 9c3ea35501 fix valgrind unittied buffer bitches
SVN revision: 50664
2010-07-30 00:27:02 +00:00
Mike Blumenkrantz 21a7365572 dropping my life to fix previously broken mess so people will stop complaining
SVN revision: 50663
2010-07-29 23:42:32 +00:00
Carsten Haitzler 04df26bef5 aaah yes. get the ref -1 as free will dec it.
SVN revision: 50662
2010-07-29 23:32:56 +00:00
Iván Briano 55baf0a4f1 DO export this thingies
SVN revision: 50645
2010-07-29 14:08:02 +00:00
Cedric BAIL 836721fc6e * eina: remove some warning.
SVN revision: 50644
2010-07-29 13:59:31 +00:00
Cedric BAIL d184ce5c72 * evas: remove generated file.
SVN revision: 50643
2010-07-29 13:47:12 +00:00
Cedric BAIL 8f423ef340 * ecore: fix comment.
SVN revision: 50642
2010-07-29 12:29:19 +00:00
Cedric BAIL e773bc9246 * edje: change memory layout that will become the new file format.
NOTE: I tried this change with all the apps and theme I had, but maybe
	i missed some bug. Please report any strange behaviour.


SVN revision: 50641
2010-07-29 12:02:36 +00:00
Mike Blumenkrantz 3515de0a22 typos are frustratinnnnnnnnnnggggggggggggggggggggggggggggggggggggggg
SVN revision: 50637
2010-07-29 08:13:58 +00:00
Carsten Haitzler c68d77a283 need to add null items for item format things (inserted external item
objects)



SVN revision: 50636
2010-07-29 07:42:30 +00:00
Carsten Haitzler f20b010d41 now work?
SVN revision: 50635
2010-07-29 06:21:51 +00:00
Carsten Haitzler 29e957d6a7 bad mike!. fix.
SVN revision: 50634
2010-07-29 05:43:20 +00:00
Brett Nash 8573ddf384 Documentation for neon, word and metric caching in README.in
SVN revision: 50633
2010-07-29 03:52:31 +00:00
Brett Nash 2df94e37ff Minor fixes to font drawing with metric caching enabled.
SVN revision: 50632
2010-07-29 03:34:30 +00:00
Mike Blumenkrantz fae76ddd77 correctly use & to detect server type instead of ==
SVN revision: 50630
2010-07-29 01:42:43 +00:00
Mike Blumenkrantz 36601b4f78 more doxy than anyone will EVER need. EVER.
SVN revision: 50629
2010-07-29 01:28:18 +00:00
Mike Blumenkrantz eb9de4e5f0 redo some comments
SVN revision: 50628
2010-07-29 01:28:03 +00:00
Mike Blumenkrantz c39514b9be reorder functions, redo doxy, make a not so obvious null pointer more obvious for future readers
SVN revision: 50627
2010-07-29 00:27:15 +00:00
Mike Blumenkrantz 94baa35276 prevent crafty users from breaking build if they define USE_OPENSSL and USE_GNUTLS
SVN revision: 50626
2010-07-29 00:13:56 +00:00
Mike Blumenkrantz 98c7e38f58 ac_path_generic.m4 from eet, prevent users from trying to build with both gnutls and openssl since this is broken
SVN revision: 50625
2010-07-29 00:13:25 +00:00
Mike Blumenkrantz 6d6bab5535 these functions return a const char *, so they should actually return a const char *
SVN revision: 50624
2010-07-29 00:12:27 +00:00
Mike Blumenkrantz 920c508d86 these functions return a const char *, so they should actually return a const char *
SVN revision: 50622
2010-07-28 22:32:39 +00:00
Mike Blumenkrantz 1b41ba0fb1 forgot to put some doxy in groups
SVN revision: 50620
2010-07-28 22:23:14 +00:00
titan 0ae939099c Add the ability to perform standard IO operations on a file in a thread.
SVN revision: 50618
2010-07-28 22:12:41 +00:00
Mike Blumenkrantz 34bc016890 ssl uh-oh
SVN revision: 50612
2010-07-28 20:03:28 +00:00
Mike Blumenkrantz 76f9c81589 fix for people who compile without ssl/tls support
SVN revision: 50611
2010-07-28 19:58:57 +00:00
Mike Blumenkrantz 6a8c01999f remove unused and null init a pointer
SVN revision: 50604
2010-07-28 18:27:47 +00:00
Mike Blumenkrantz 0bbca7c75d fix cert support, split functions for client/server
note: crl checking and cert verification do not currently function


SVN revision: 50603
2010-07-28 18:25:46 +00:00
Cedric BAIL 4010a9b18a * eina: fix wrong test in eina_big.
SVN revision: 50602
2010-07-28 18:10:53 +00:00
Christopher Michael 28a5e44f7d Make evas build again (here at least).
Added missing unicode & bidi opts to necessary places.
Fixes lots of compiler warnings.

NB - Not all engines tested. If you spot a problem wrt any specific
engine, please report it.



SVN revision: 50601
2010-07-28 17:57:18 +00:00
Tom Hacohen 713354b764 Eina: Fixed a bug in eina_*share_dump functions and fixed a documentation error.
SVN revision: 50600
2010-07-28 17:53:10 +00:00
Mike Blumenkrantz f337f66880 formatting again
SVN revision: 50599
2010-07-28 17:35:31 +00:00
Tom Hacohen a6d428334f Evas: Changing the font engine to work with Eina_Unicode instead of utf8.
Changing textblock and text objects to work with Eina_Unicode instead of utf8 (internally, API remains intact).
Started relying on new fribidi 0.19.2 instead of the old fribidi.
A lot of fixes to the font engine.
Renaming of evas_common_font_utf8_* to evas_common_encoding_utf8_*
This relies on new Eina changes and types: Eina_Unicode, Eina_UStrbuf and Eina_UStringshare.

SVN revision: 50595
2010-07-28 12:00:41 +00:00
Carsten Haitzler 1a0f8b1c51 try this one
SVN revision: 50589
2010-07-28 08:11:30 +00:00
Brett Nash c391638bec ...but don't draw twice
SVN revision: 50588
2010-07-28 07:34:04 +00:00
Brett Nash 3f3f0909cc Fall through to slow path if no word and metric cache
SVN revision: 50587
2010-07-28 07:33:48 +00:00
Brett Nash 507834e27d Don't try and render wordcache if GL is on, and metric cache is enabled.
SVN revision: 50586
2010-07-28 07:33:23 +00:00
Carsten Haitzler 93d98ebedf epoll <- blame mike if it breaks. :)
SVN revision: 50585
2010-07-28 06:08:35 +00:00
Carsten Haitzler 1154cf402c add new win before deleting old.
SVN revision: 50584
2010-07-28 06:00:02 +00:00
Mike Blumenkrantz e248c8b6fc uncrustify so T_UNIX will stop nagging me! :)
SVN revision: 50583
2010-07-28 05:23:42 +00:00
Mike Blumenkrantz 5028d6a282 lots of doxy fixes and stop casting to char*
SVN revision: 50582
2010-07-28 03:34:25 +00:00
Mike Blumenkrantz a124fffeca start binshare
SVN revision: 50581
2010-07-28 03:33:49 +00:00
Carsten Haitzler 15c71af0a5 fix formatting also
SVN revision: 50577
2010-07-28 03:03:25 +00:00
Carsten Haitzler c127ff73e7 fix formatting
SVN revision: 50576
2010-07-28 03:03:10 +00:00
Carsten Haitzler 9965849a0e formatting!!!!!
SVN revision: 50575
2010-07-28 02:49:01 +00:00
Carsten Haitzler bed21c315d errrr... hmmm why did this change?
SVN revision: 50574
2010-07-28 02:48:11 +00:00
Carsten Haitzler ddc6ba2c2a uncrustify eina.
SVN revision: 50573
2010-07-28 02:37:05 +00:00
Carsten Haitzler c4da05607d and add in the 8bpp gray stuff
SVN revision: 50571
2010-07-28 02:27:29 +00:00
Mike Blumenkrantz 9dec9fa6b5 according to the docs you're supposed to set this or else you will be destroyed by lack of mutexes...
SVN revision: 50570
2010-07-28 02:10:44 +00:00
Carsten Haitzler 926db95c54 testing uncrustify on eet. this shall be standard efl formatting from
now on. you may run indent on code and convert to your own formatting
if you want.. but all code MUST be "uncrustified" before being
cxommitted to svn or before generating patches. time to get the
formatting monster under control.



SVN revision: 50563
2010-07-28 01:45:57 +00:00
Alexander Kerner ba10bce434 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50561
2010-07-28 00:17:40 +00:00
Alexander Kerner 0ec2a33a22 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50560
2010-07-28 00:16:06 +00:00
Mike Blumenkrantz d87ed6ac22 when all files combine and the enable flag is set, form VOLTRON, DEFENDER OF THE UNIVERSE!
SVN revision: 50550
2010-07-27 20:17:25 +00:00
Tom Hacohen e6ec7adedb Eina: Fix the segfault in eina_stringshare_shutdown with-enable-amalgamation.
SVN revision: 50548
2010-07-27 16:53:49 +00:00
Tom Hacohen 32c7a50118 Eina: Fix compilation with --enable-amalgamation.
Sorry dh :P

SVN revision: 50545
2010-07-27 15:15:45 +00:00
Tom Hacohen 6b69189efd Eina: Added ustringshare and binshare tests.
Fixed a small bug in binshare (in the length function).
Moved some debug messages around.

SVN revision: 50541
2010-07-27 11:43:37 +00:00
Naruto TAKAHASHI b7b6e3c585 From: Naruto TAKAHASHI <tnaruto@gmail.com>
Subject: [E-devel] [PATCH] ecore_con_url_httpauth_set()

Hi all,

I attach a tiny Patch for ecore_con_url_httpauth_set().

CURLOPT_USERNAME and CURLOPT_PASSWORD is declared in enum, so those
options isn't able to be used #ifdef macro's argument.

This patch checks that LIBCURLVERSION_NUM is 0x071301(v7.19.1) and
over.  Because CURLOPT_USERNAME and CURLOPT_PASSWORD was added at
7.19.1.

thanks to confirm this patch.



SVN revision: 50539
2010-07-27 10:29:58 +00:00
Hugo Camboulive e4b874d3c4 From: Hugo Camboulive <hugo.camboulive@gmail.com>
Subject: [E-devel] [E-Devel] [Patch] Edje Message - add the callback
recursively

When you send a message from an edje subgroup (part { type: GROUP
...}), the
message callback isn't called because it tries to reach
ed->message.func,
which is only defined for the top edje part.
This patches adds the callback and data to all the subgroups
recursively.



SVN revision: 50538
2010-07-27 10:08:40 +00:00
Cedric BAIL a6b33190b0 * edje: fix fit code when string is empty.
SVN revision: 50537
2010-07-27 10:06:02 +00:00
Tom Hacohen d928a9ded8 Eina: implement the macro eina_binshare_add.
SVN revision: 50535
2010-07-27 09:41:34 +00:00
Tom Hacohen 279da003e0 Eina: Added Eina_UStrbuf.
Same as Eina_Strbuf but for Eina_Unicode strings.

SVN revision: 50534
2010-07-27 09:05:41 +00:00
Tom Hacohen 3675a5f02b Eina: Add Eina_UStringshare and Eina_Binshare.
Also modified Eina_Stringshare to share most of the code with the two above.
Added Magics for Eina_UStrbuf as well as for UStringshare/Binshare.

SVN revision: 50533
2010-07-27 08:55:23 +00:00
Tom Hacohen 270f765c91 Eina: Added Eina_Unicode.
SVN revision: 50532
2010-07-27 08:22:20 +00:00
Christopher Michael 5f64c38549 Fix up a little formatting (wrt wrapping).
SVN revision: 50531
2010-07-27 06:33:47 +00:00
Mike Blumenkrantz f0053045e4 add full ssl certificate support to ecore_con: call ecore_con_ssl_cert_add("/path/to/cert.pem") and then create the server object with the ECORE_CON_LOAD_CERT flag
also may have accidentally ruined the formatting on a couple files and started an hour-long discussion over efl formatting scripts to conceal the fact that I used uncrustify to reformat everything


SVN revision: 50529
2010-07-27 06:30:27 +00:00
Mike Blumenkrantz 1ddcb2340a fix threadless compile
SVN revision: 50528
2010-07-27 03:59:04 +00:00
Mike Blumenkrantz 12c294af32 doxy
SVN revision: 50527
2010-07-27 01:05:13 +00:00
Mike Blumenkrantz 021fe34df8 big doxy update
SVN revision: 50526
2010-07-27 01:00:24 +00:00
Mike Blumenkrantz 3e3c256e0d doxy fixes grrrrrrrrrrrrrrrrrrrrrr
SVN revision: 50525
2010-07-27 00:10:40 +00:00
Mike Blumenkrantz 24a6c8ce55 ecore_thread_cancel is now nullsafe, returning EINA_TRUE
SVN revision: 50523
2010-07-26 20:41:54 +00:00
Mike Blumenkrantz 7f68aaa0c0 fix fixme: free error strings on ssl shutdown
SVN revision: 50516
2010-07-26 20:05:50 +00:00
Nicolas Aguirre c024369336 Use INF only when it's defined. Fix a warning during eina compilation.
SVN revision: 50512
2010-07-26 16:17:11 +00:00
Cedric BAIL 25ffaac60f * eina: actually add the directory too.
SVN revision: 50511
2010-07-26 15:58:18 +00:00
Cedric BAIL 07ad9d5139 * eina: add a mempool that just do one big malloc.
SVN revision: 50510
2010-07-26 15:52:43 +00:00
Cedric BAIL 21f5dec9d3 * eina: SPANK SPANK SPANK !
SVN revision: 50509
2010-07-26 09:31:40 +00:00
Carsten Haitzler 1dbda53fe1 bah!
SVN revision: 50507
2010-07-26 07:24:17 +00:00
Mike Blumenkrantz d214a77221 rename function typedefs
SVN revision: 50506
2010-07-26 07:19:27 +00:00
Carsten Haitzler 0cdb510001 fix up docs. edje player - 60fps
SVN revision: 50505
2010-07-26 06:52:36 +00:00
Mike Blumenkrantz 854ccebd14 whoops
SVN revision: 50504
2010-07-26 05:47:33 +00:00
Brett Nash 97528eaa60 Bloody fenceposts. Draw the right stuff when rendering. neon fixes ++ ;-)
SVN revision: 50503
2010-07-26 05:37:36 +00:00
Mike Blumenkrantz dd2dc39bff this was supposed to go with the last commit...
SVN revision: 50502
2010-07-26 05:09:20 +00:00
Mike Blumenkrantz f3ad2982b8 +eina_stringshare_vprintf for using a va_list
SVN revision: 50501
2010-07-26 05:09:02 +00:00
Brett Nash 8b858d5f7b Use offsetof rather the manual pointer compares. C89 can be taken as given I
think.  Also update authors to add Mwa, and fix copyright statement to be
useful.  (Always list years, not ranges of years... longer, but covered by
	international conventions).


SVN revision: 50500
2010-07-26 04:21:47 +00:00
Mike Blumenkrantz d5b507adcc add typedefs for ecore thread function types because I'm tired of typing them out
SVN revision: 50499
2010-07-26 04:20:18 +00:00
Brett Nash 9357c5d284 Use memcmp instead of stringshare. Much faster.
Everyones favourite arm benchmarks (a8 cortex)
Base                       stringshare   memcmp     Diff   Diff %
Widgets File Icons               32.48    36.78      4.3   13.24%
Widgets File Icons 2             73.65    74.93     1.28    1.74%
Widgets File Icons 3             44.87    46.89     2.02    4.50%
Widgets File Icons 4             65.66    66.45     0.79    1.20%
Text Basic                       88.67    91.21     2.54    2.86%
Text Styles                      10.71    10.95     0.24    2.24%
Text Styles Different St           8.3     8.45     0.15    1.81%
Text Change                       56.4    57.34     0.94    1.67%
Textblock Basic                  60.75     68.8     8.05   13.25%
Textblock Intl                  155.33   193.51    38.18   24.58%


SVN revision: 50498
2010-07-26 03:17:40 +00:00
Sebastian Dransfeld 31c6799a7e goto not needed anymore with alloca
SVN revision: 50496
2010-07-25 20:38:28 +00:00
Sebastian Dransfeld 78f80647ea use eina hash set
SVN revision: 50494
2010-07-25 20:28:21 +00:00
Sebastian Dransfeld 230461d56b free data on error
SVN revision: 50493
2010-07-25 20:25:51 +00:00
Sebastian Dransfeld b76d9490dc Fix errors reported by clang
SVN revision: 50492
2010-07-25 20:25:40 +00:00
Mike Blumenkrantz e43175fa37 add doxy
SVN revision: 50491
2010-07-25 19:32:03 +00:00
Mike Blumenkrantz 7ff1096672 +eina_stringshare_printf
+eina_stringshare_nprintf
the long awaited printf functions for stringshare!


SVN revision: 50490
2010-07-25 19:18:26 +00:00
Andreas Volz 5967027157 doxygen
SVN revision: 50486
2010-07-25 18:29:01 +00:00
Mike Blumenkrantz 37de5b807f +eina_error_msg_modify to change the error string of a registered error; preserves allocation state of message creation (errors created with static_register() will remain statically allocated)
SVN revision: 50484
2010-07-25 06:25:06 +00:00
Mike Blumenkrantz 846e224fd2 +eina_str_toupper for completion
SVN revision: 50483
2010-07-25 02:03:10 +00:00
Brett Nash a834d2e85f Some improvements to 90 degree rotated neon.
SVN revision: 50476
2010-07-24 04:52:13 +00:00
Brett Nash 68682317e8 Bump the default buffer size. USeful for expedite ;-)
SVN revision: 50474
2010-07-24 02:38:36 +00:00
Christopher Michael 32d67b080a Don't need 2 of the same variables.
SVN revision: 50473
2010-07-24 02:28:24 +00:00
Mike Blumenkrantz 034e320ac1 fix longstanding leak
SVN revision: 50470
2010-07-24 02:05:35 +00:00
Mike Blumenkrantz 5d5517868b fix leak
SVN revision: 50469
2010-07-24 02:04:53 +00:00
Mike Blumenkrantz bc9b536b14 correctly init some variables that I missed somehow. I blame Sachiel.
SVN revision: 50465
2010-07-23 22:28:18 +00:00
Mike Blumenkrantz 15f3719964 shut up eina
SVN revision: 50460
2010-07-23 17:52:50 +00:00
Mike Blumenkrantz 2e9651eeca fix leak in thread_shutdown, use lots of mutexes and conditionals instead of sleeps to wait in data_wait functions
SVN revision: 50459
2010-07-23 17:30:21 +00:00
Mike Blumenkrantz f10870c933 whoops
SVN revision: 50455
2010-07-23 16:40:40 +00:00
Mike Blumenkrantz e488119c47 +ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or pool data contexts and simulate g_async_queue in a less mutexy fashion
SVN revision: 50454
2010-07-23 16:24:35 +00:00
Mike Blumenkrantz 4436081e5b add threadsafe global data to threads, allowing for communication between threads and other threads and threads and main loop
SVN revision: 50453
2010-07-23 15:33:22 +00:00
Mike Blumenkrantz 8ed22a2023 rename mutex
SVN revision: 50451
2010-07-23 13:35:14 +00:00
Mike Blumenkrantz 680ec26e8a fix doxy
SVN revision: 50450
2010-07-23 13:12:42 +00:00
Mike Blumenkrantz 9efdf6c9d4 remove unnecessary mutexes, expand pthread self member to short_run threads, make thread pool data work on short_run threads, ecore_thread_pool_data_modify_or_add -> ecore_thread_pool_data_set
SVN revision: 50449
2010-07-23 13:08:38 +00:00
Mike Blumenkrantz 2f183fa194 eina_hash_modify_or_add -> eina_hash_set
SVN revision: 50448
2010-07-23 13:04:21 +00:00
Cedric BAIL 4df9bbead1 * eio: Add an error callback, some docs and a small README.
SVN revision: 50446
2010-07-23 11:00:44 +00:00
Boris Faure 2ac69e62f0 eet: typo. Patch by Vincent Torri
SVN revision: 50445
2010-07-23 07:32:34 +00:00
Mike Blumenkrantz a1022c849e shutup libtool on convenience libs
SVN revision: 50444
2010-07-23 04:20:24 +00:00
Mike Blumenkrantz c85f521ffa +ecore_thread_pool_data_modify_or_add
SVN revision: 50443
2010-07-23 04:17:41 +00:00
Mike Blumenkrantz 92cd8f2705 api change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid copying key value if desired
SVN revision: 50442
2010-07-23 03:39:52 +00:00
Mike Blumenkrantz ebd21717c6 +ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls are used from heavy_run to manage data within a thread pool. more to come
SVN revision: 50438
2010-07-22 20:28:34 +00:00
Christopher Michael e42fd65b80 Fix use of __UNUSED__ and fix some formatting.
SVN revision: 50437
2010-07-22 18:42:44 +00:00
Cedric BAIL c5cc3b6e19 * eio: please welcome our asynchronous input output library.
NOTE: right now only help with file listing and provide a
	wrapper around eina_file_ls and eina_file_direct_ls and ecore_long_run.
	But the idea is to do the same with all Ecore_File code so that one
	day we can remove Ecore_File.


SVN revision: 50429
2010-07-22 16:08:17 +00:00
Cedric BAIL 7726478790 * ecore: add ecore_con_lookup for dns request retrieval.
NOTE: ecore_con_info_get is now private has it can't be used outside of Ecore_Con.


SVN revision: 50425
2010-07-22 11:32:55 +00:00
Mike Blumenkrantz 0ffbf90242 should probably make thread functions threadsafe. and compile.
SVN revision: 50411
2010-07-21 08:33:25 +00:00
Brett Nash 8528bb0179 Tweaks to neon text: Help with some bugs at least.
SVN revision: 50410
2010-07-21 08:09:41 +00:00
Mike Blumenkrantz 977be45e37 fix some function variables and a cedric-requested rename
SVN revision: 50409
2010-07-21 07:09:51 +00:00
Brett Nash 59d93f9353 Minor fix: Don't render text if there is nothing to do
SVN revision: 50408
2010-07-21 06:43:47 +00:00
Mike Blumenkrantz 55f0882da4 revert previous. why would I do that in the first place?
SVN revision: 50407
2010-07-21 05:02:17 +00:00
Mike Blumenkrantz 00023656af man I fail at formatting
SVN revision: 50406
2010-07-21 04:26:57 +00:00
Mike Blumenkrantz 82d7183f47 +ecore_thread_total_get to return total number of pending jobs
SVN revision: 50405
2010-07-21 04:03:40 +00:00
Mike Blumenkrantz 50e621c5c2 remove tolower() from eina_str_tolower
SVN revision: 50404
2010-07-21 03:59:37 +00:00
Brett Nash 9dc5a96f2d Generally speaking, dereffing uninited pointners is not so good.
Squash one nasal daemon!


SVN revision: 50403
2010-07-21 03:51:36 +00:00
Mike Blumenkrantz 489cae4eee +eina_hash_modify_or_add to always add a value to the hash at the specified key
SVN revision: 50402
2010-07-21 03:15:39 +00:00
Mike Blumenkrantz 35ca9e3e12 +ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also fix formatting
SVN revision: 50399
2010-07-21 02:12:10 +00:00
Mike Blumenkrantz ec1d528178 +ecore_thread_max_{set,get} to return/set the max number of threads ecore will attempt to run simultaneously
SVN revision: 50397
2010-07-21 01:04:28 +00:00
Christopher Michael 13399b7362 Fix for Ecore Api changes wrt Eina_Bool.
SVN revision: 50394
2010-07-20 22:02:31 +00:00
Cedric BAIL 3f4ca260af * eet: reduce likeliness of race condition by checking file size too.
SVN revision: 50382
2010-07-20 16:13:51 +00:00
Cedric BAIL 58dfd1c2b8 * evas: make WORD/METRIC cache work with pipe rendering.
SVN revision: 50381
2010-07-20 12:11:49 +00:00
Cedric BAIL 3479d5e0ea * evas: fix fribidi lock.
SVN revision: 50380
2010-07-20 12:10:40 +00:00
Cedric BAIL 0a5c65549a * evas: font config access is not thread safe at all. Don't forget
to call FTLOCK/FTUNLOCK around each FT_* call.


SVN revision: 50379
2010-07-20 12:09:46 +00:00
Cedric BAIL 8006ed3753 * evas: METRIC and WORD cache require stringshare use in thread, so
enable it.


SVN revision: 50378
2010-07-20 12:07:51 +00:00
Mike Blumenkrantz 5701a455d1 some variable renames to make this easier to understand
SVN revision: 50376
2010-07-20 09:40:53 +00:00
Mike Blumenkrantz 75d478dfac +ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get to retrieve number of threads present with given status
SVN revision: 50375
2010-07-20 09:40:18 +00:00
Cedric BAIL 8bd358c65e * evas: unbreak pipe rendering, that was a long break.
SVN revision: 50374
2010-07-20 09:32:28 +00:00
Mike Blumenkrantz b0ce982544 make some comments that were so close to being real doxy blocks into doxy blocks. come on guys. let's see some doxy hustle!
SVN revision: 50373
2010-07-20 05:32:29 +00:00
Mike Blumenkrantz 952dd2bd44 note: '/*' is not how you begin a doxygen code block
SVN revision: 50372
2010-07-20 05:25:02 +00:00
Christopher Michael e6f4e7be70 Remove useless if statement. Regardless if count is greater than 1, we
were still returning the count anyway.



SVN revision: 50369
2010-07-19 18:16:56 +00:00
Cedric BAIL 05a03bd60c * edje: fix constness warning.
SVN revision: 50368
2010-07-19 16:41:19 +00:00
Cedric BAIL 9660c1c66f * eina: fix tolower call.
SVN revision: 50366
2010-07-19 11:25:10 +00:00
Mike Blumenkrantz f18e1899e5 +eina_str_tolower for lowercasing an entire string in one line
SVN revision: 50361
2010-07-19 01:56:42 +00:00
Mike Blumenkrantz 0c983ac8d8 dox fixes
SVN revision: 50355
2010-07-18 18:59:01 +00:00
Mike Blumenkrantz c146935917 +eina_stringshare_replace_length to replace a stringshared string with a given length of another string
SVN revision: 50320
2010-07-18 07:39:21 +00:00
Mike Blumenkrantz 9dcd70a33d and macro whoops
SVN revision: 50319
2010-07-18 06:48:08 +00:00
Mike Blumenkrantz 8e56225323 attribute whoops
SVN revision: 50318
2010-07-18 06:45:22 +00:00
Mike Blumenkrantz 02ef2d58e5 small patch from andmils in #e; fixes compile on freebsd
SVN revision: 50317
2010-07-18 06:38:23 +00:00
Mike Blumenkrantz 9276378041 +eina_strbuf_string_free to free string in strbuf without freeing strbuf
SVN revision: 50316
2010-07-18 06:21:50 +00:00
Mike Blumenkrantz d3982d4b5c +eina_hash_free_buckets to free buckets without freeing a hash
SVN revision: 50315
2010-07-18 04:24:24 +00:00
Mike Blumenkrantz af32bf04f0 well this was just plain wrong
SVN revision: 50314
2010-07-18 03:55:53 +00:00
Mike Blumenkrantz 7d3bf122ac on the fifth day the rasterman said "let there be docs for hash tables!"
but there were no docs for hash tables because k-s and cedric were busy writing new functions for hash tables. so rasterman again said "let there be docs for hash tables! really guys, I mean it this time!"
and this time there were docs, but these docs were incomplete and in some places vague and misleading.
these docs frustrated little discomfitor, who had just healed up after learning to ride his edje bicycle and was just starting to read. so he read all that he could, and then he started to write. he wrote his little heart out until finally there were more docs for hash tables like the rasterman had wanted.
then he went and got ice cream.

The End.


SVN revision: 50313
2010-07-18 03:29:10 +00:00
Christopher Michael 39adb32e71 Use eina_stringshare_replace rather than several _del & _add calls
(tested w/ no apparent adverse affects).

Fix some formatting.



SVN revision: 50307
2010-07-17 19:49:16 +00:00
Gustavo Sverzut Barbieri 7521047f09 Fix invalid access if using async-render
Ouch, that was nasty! src/lib/cache/evas_cache_image.c was assuming
all Image_Entry were RGBA_Image (why?!?!?), thus doing the cast and
having mutexes and other to operate on garbage (possibly crashing due
segv). This happened to be the case with Soft16_Image used by
software_16 engines.

I'm not sure, but this may fix problems that people noticed with
async-render hanging their systems even if not explicitly enabled
during runtime.

I also found it quite strange the number of locks required by this
code! Clearly we could use macros to simplify and avoid bugs, but
maybe some atomic_inc/dec code should be used to remove half of the
mutexes in that code?

/me wonders what kinds of bug more we can expect from this code :-/



SVN revision: 50300
2010-07-16 22:52:04 +00:00
Gustavo Sverzut Barbieri a7e471700b Fix soft16 preload by replicating Image_Entry::info.
Software 16bpp variants were crashing if using preload as the
Image_Entry that was used by preload did not keep the loader and
module information, since these were only set in the
Soft16_Image::source.  Now we copy these members while the source is
live.



SVN revision: 50299
2010-07-16 22:47:31 +00:00
Lucas De Marchi 01d20339dd Create interface to system bell
Only the xlib implementation is done. It's calling XBell() to alert user.



SVN revision: 50290
2010-07-16 20:54:18 +00:00
Cedric BAIL 793c66b5dc * edje: last move of properties in the right structure.
SVN revision: 50284
2010-07-16 16:00:26 +00:00
Cedric BAIL 93ea3f4e52 * edje: move all structures outside of Edje_Part_Description.
SVN revision: 50283
2010-07-16 14:24:57 +00:00
Cedric BAIL 04ffefa9e5 * edje: move image specific properties to their own structure.
SVN revision: 50282
2010-07-16 14:13:38 +00:00
Cedric BAIL 83bb52f7c9 * edje: attempt to reduce code size by using more macro.
SVN revision: 50281
2010-07-16 13:58:35 +00:00
Cedric BAIL 8e1a7c28e6 * edje: jump to the right offset in the string.
SVN revision: 50280
2010-07-16 13:05:37 +00:00