Commit Graph

10520 Commits

Author SHA1 Message Date
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
Cedric BAIL 30d35eb1ba * edje: start to split structure content.
SVN revision: 50279
2010-07-16 11:37:58 +00:00
Christopher Michael 6f110efad1 Remove duplicate if (This is already checked a few lines above, so not
needed).



SVN revision: 50272
2010-07-15 20:52:29 +00:00
Eduardo de Barros Lima 9b3cf97523 Ability to disable NEON code in runtime
Just set the EVAS_CPU_NO_NEON environment var if you want to disable Neon.
The same is done for other specific CPU codes, such as MMX, MMX2, SSE, etc.



SVN revision: 50271
2010-07-15 17:58:38 +00:00
Cedric BAIL 9685d5d369 * edje: count each type of description.
SVN revision: 50267
2010-07-15 13:38:07 +00:00
Gustavo Sverzut Barbieri 5882201502 ethumb: Invalid access upon ethumb_free
The sub-ecore_evas is automatically deleted by ecore_evas_object_image
object when it is deleted, so we were double-freeing it.

By: Brian Wang <brian.wang.0721@gmail.com>


SVN revision: 50265
2010-07-15 12:45:52 +00:00
Vincent Torri 8351950dee Add native Windows thread support instead of using pthread
(less overhead). On other OS, pthread is still used by default.
Pass --enable-win32-threads to activate thread support on
Windows.


SVN revision: 50262
2010-07-15 06:34:32 +00:00
Carsten Haitzler cebe53cd3d final existing exposed api works. fixme time.
SVN revision: 50246
2010-07-14 08:07:26 +00:00
Carsten Haitzler a6224e33b0 more edje lua api in.
SVN revision: 50245
2010-07-14 05:32:48 +00:00
Lucas De Marchi 749cc7478c Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".



SVN revision: 50242
2010-07-14 02:20:30 +00:00
Lucas De Marchi 2a84379ba9 Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Carsten Haitzler 3a00e81a7c add pixmap set/get for comp.
SVN revision: 50238
2010-07-13 23:31:16 +00:00
Vincent Torri c7bb6d41f5 include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
i really dislike having PATH_MAX in a header file...



SVN revision: 50231
2010-07-13 19:17:35 +00:00
Vincent Torri 84efd3507f leak--, thanks cedric
SVN revision: 50225
2010-07-13 16:43:15 +00:00
Cedric BAIL b49c2411bd * edje: when gradient meet dodo. Yes, they are gone !
SVN revision: 50223
2010-07-13 15:47:19 +00:00
Tiago Rezende Campos Falcao ab8cdf1979 EDC Snippets for vim snipmate
SVN revision: 50222
2010-07-13 13:58:37 +00:00
Vincent Torri 971f0800ca useless headers now
SVN revision: 50221
2010-07-13 13:57:21 +00:00
Vincent Torri c97a897584 use Win32 native mutex on Windows. To use it, pass the following option
to configure:

--enable-win32-threads

By default, pthreads are used


SVN revision: 50220
2010-07-13 13:51:00 +00:00
Vincent Torri 9f425c5892 make it compile on Windows
SVN revision: 50219
2010-07-13 13:08:14 +00:00
Vincent Torri fd59d59930 newline --
SVN revision: 50218
2010-07-13 12:49:37 +00:00
Carsten Haitzler 290e2bb6b7 fill in moar.
SVN revision: 50213
2010-07-13 06:47:18 +00:00
Carsten Haitzler 038e71b4ce oooh lua... looking good.
SVN revision: 50212
2010-07-13 06:17:15 +00:00
Rafael Antognolli 3934ad9f68 Fix accounting safeness logic introduced at rev. 50158.
SVN revision: 50202
2010-07-12 17:59:48 +00:00
Gustavo Lima Chaves 2c1a54103d Changes accounting safeness logic introduced at rev. 50158.
SVN revision: 50201
2010-07-12 17:20:14 +00:00
Cedric BAIL 3015da94da * ecore: fix build without thread.
NOTE: if you build ecore without pthread support, you really should know
	that it is a bad idea. Only people without pthread support on their
	device/C library should disable it.


SVN revision: 50200
2010-07-12 14:39:06 +00:00
Carsten Haitzler e80f08b4b4 bitrot-- > work again (minus map features etc. tho)
SVN revision: 50192
2010-07-12 02:47:02 +00:00
Carsten Haitzler ac9bd77564 fix flags/libs used.
SVN revision: 50189
2010-07-12 01:00:52 +00:00
Carsten Haitzler 9d610104a3 more correct dso fix.
SVN revision: 50186
2010-07-11 23:59:06 +00:00
Carsten Haitzler 6a6d4d991c more correct version of the dso fix
SVN revision: 50185
2010-07-11 23:57:08 +00:00
Carsten Haitzler c8765d7594 a more correct version of the dso fix.
SVN revision: 50184
2010-07-11 23:56:40 +00:00
Carsten Haitzler 86166e7bc4 make emotion do the same snap/rev thing. while i'm poking around.
SVN revision: 50183
2010-07-11 23:42:38 +00:00
Vincent Torri c012d2e7f6 fix compilation on Windows
SVN revision: 50179
2010-07-11 11:52:43 +00:00
Massimo Maiurana f7d49e0b6d updating french translation
SVN revision: 50178
2010-07-11 08:11:07 +00:00
Vincent Torri 3e15fef7b8 fix warnings
SVN revision: 50174
2010-07-10 11:09:40 +00:00
Vincent Torri 5ae1fc61e1 fix spaces
SVN revision: 50173
2010-07-10 11:08:20 +00:00
Vincent Torri 82fa7e0fa0 don't install private headers
SVN revision: 50166
2010-07-09 20:24:49 +00:00
Mike Blumenkrantz e9568abe33 sigh
SVN revision: 50163
2010-07-09 16:44:33 +00:00
Mike Blumenkrantz 718fb33521 remove copypasta
SVN revision: 50162
2010-07-09 15:59:49 +00:00
Gustavo Sverzut Barbieri 675b20a859 ethumb: cleanup headers
This bug of including Ecore, Evas and Ecore_Evas from Ethumb.h was
actually expoed from recent evas-0/Evas.h change, as these were not
required in the public file, I'm removing them and just letting eina
as it is used to typedef Eina_Bool and function attributes.




SVN revision: 50160
2010-07-09 15:24:17 +00:00
Gustavo Sverzut Barbieri 747fd6151a be loud about deleting timers, idlers and events more than once.
SVN revision: 50158
2010-07-09 14:52:45 +00:00
Gustavo Sverzut Barbieri dcced661a2 fix amalgamation after lua2 changes.
BTW, if lua2 is the default, maybe we could remove the mess that is
the first version? SVN serves as history as well.



SVN revision: 50157
2010-07-09 14:24:14 +00:00
Jonathan Atton d97c0b0a9a the min size of the box is the sum of the items min size
SVN revision: 50156
2010-07-09 11:17:35 +00:00
Christopher Michael 6d4c38f97b Move Ethumb headers to own directory.
Fix trying to free an evas_object by using ecore_evas_free...spankies !!



SVN revision: 50152
2010-07-09 08:14:24 +00:00
Carsten Haitzler b4748494e2 start to fill in some object methods. empty for now
SVN revision: 50151
2010-07-09 07:52:53 +00:00
Christopher Michael 03b7bd2653 Move Eeze header to own dir.
SVN revision: 50148
2010-07-09 06:41:31 +00:00
Christopher Michael f503b5f75b Move Emotion.h to own dir.
SVN revision: 50147
2010-07-09 06:38:12 +00:00
Christopher Michael 5cf875426f Move Edje (and associated headers) to own dir.
SVN revision: 50146
2010-07-09 06:35:02 +00:00
Christopher Michael c3ed53b869 Move Embryo.h header to own dir.
SVN revision: 50145
2010-07-09 06:31:53 +00:00
Christopher Michael c6f20a9cdf Missed two .pc.in files on the header move there :(
SVN revision: 50144
2010-07-09 06:31:32 +00:00
Christopher Michael 4f972b800b Move Efreet (and associated headers) to own dir.
SVN revision: 50143
2010-07-09 06:28:29 +00:00
Christopher Michael bb651d8eb8 Move Ecore.h (and associated headers) to own dir.
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Christopher Michael fefbc09a63 Move Evas (and associated headers) to their own dir (ie: the 'eet.h'
move).



SVN revision: 50141
2010-07-09 06:10:55 +00:00
Carsten Haitzler 9f2028be95 message worketh now too.
SVN revision: 50140
2010-07-09 05:57:17 +00:00
Carsten Haitzler 519ca3be8b lua2 getting gooooooooooooooood. message method still needs work.
SVN revision: 50139
2010-07-09 05:12:35 +00:00
Lucas De Marchi 442fe3afae Add missing macros
Add missing EINA_SAFETY_ON_NULL_GOTO and define all the *GOTOs macros when
safety checks are disabled.



SVN revision: 50138
2010-07-09 03:27:04 +00:00
Carsten Haitzler f723c133d7 more api. yo.
SVN revision: 50137
2010-07-09 00:46:42 +00:00
Gustavo Sverzut Barbieri a2a0ab8d4c Fix memory alignment and remove dead/useless code.
* those write to stderr were legacy from development, some of them
   were even wrongly accessing out-of-buffer memory;

 * some platforms cannot access non-aligned memory, like integers that
   are not aligned to sizeof(int) and do on. Change the generated
   message using memcpy to aligned memory before using them. Add
   comment to explain that;



SVN revision: 50135
2010-07-08 22:37:04 +00:00
Lucas De Marchi b07f70b85c Update doc of eina_str_split functions
Mention that they can return NULL in case malloc() fails.



SVN revision: 50127
2010-07-08 15:08:31 +00:00
Carsten Haitzler 0a642224aa hmm seems not kosher
SVN revision: 50122
2010-07-08 06:53:06 +00:00
Lucas De Marchi 9df58ae530 Remove NULL pointer dereference
Bug found by the "andand" semantic patch:

// The right argument of || or && is dereferencing something known to be NULL
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU.  GPLv2.
// URL: http://coccinelle.lip6.fr/rules/andand.html
// Options:

@ expression@
expression E;
identifier fld;
@@

- !E &&
+ !E ||
  <+...E->fld...+>

@ expression@
expression E;
identifier fld;
@@

- E ||
+ E &&
  <+...E->fld...+>




SVN revision: 50118
2010-07-08 03:21:33 +00:00
Carsten Haitzler e9d4afc9d7 moved eet.h to its own dir - pkgconfig handles all the right stuff.
SVN revision: 50117
2010-07-08 03:05:00 +00:00
Lucas De Marchi 7c12cc36aa Fixes for Ecore Api changes
Patch automatically generated by Coccinelle to fix the
callbacks used by the following functions:

 * ecore_event_handler_add()
 * ecore_event_filter_add()
 * ecore_idler_add()
 * ecore_idle_enterer_add()
 * ecore_idle_enterer_before_add()
 * ecore_idle_exiter_add()
 * ecore_main_fd_handler_add()
 * ecore_main_win32_handler_add()
 * ecore_timer_add()
 * ecore_timer_loop_add()
 * ecore_animator_add()
 * ecore_poller_add()


SVN revision: 50113
2010-07-08 01:00:48 +00:00
Lucas De Marchi 4686d20b47 Fixes for Ecore Api changes
Patch automatically by Coccinelle to fix the
callbacks used by the following functions:

 * ecore_event_handler_add()
 * ecore_event_filter_add()
 * ecore_idler_add()
 * ecore_idle_enterer_add()
 * ecore_idle_enterer_before_add()
 * ecore_idle_exiter_add()
 * ecore_main_fd_handler_add()
 * ecore_main_win32_handler_add()
 * ecore_timer_add()
 * ecore_timer_loop_add()
 * ecore_animator_add()
 * ecore_poller_add()



SVN revision: 50099
2010-07-08 00:51:55 +00:00
Carsten Haitzler 3f941f2e46 bah! i didnt mean to add this "make 2 of them" test to svn. remove.
SVN revision: 50097
2010-07-07 23:39:12 +00:00
Carsten Haitzler bf32b545f3 notes, setjmp safety for panics.
SVN revision: 50092
2010-07-07 03:24:05 +00:00
Carsten Haitzler ba9137e404 more time calls.
SVN revision: 50091
2010-07-07 02:40:46 +00:00
Carsten Haitzler 06dd419b4b transition++
SVN revision: 50089
2010-07-07 00:58:34 +00:00
Carsten Haitzler d26b1c46fd animator works.
SVN revision: 50088
2010-07-07 00:19:39 +00:00
Lucas De Marchi 62391791bf Move ifdefs
Much better and readable, with less code and the same result. Moreover this
makes some parsers not to kill themselves.



SVN revision: 50069
2010-07-06 17:20:30 +00:00
Lucas De Marchi 93f03880bd Do not purify what's impure
Two tests were failing, but no more.



SVN revision: 50067
2010-07-06 15:50:15 +00:00
Gustavo Sverzut Barbieri 5b03bc86ec add some gcc modifiers: non-null args, warn unused results and malloc.
SVN revision: 50066
2010-07-06 15:48:24 +00:00
Gustavo Sverzut Barbieri ed15713785 add eina_file_direct_ls()
Similar to eina_file_ls(), but useful when one wants to apply some
filters to the names before using them as it provides sizes of the
whole path and basename, index of the basename inside the path, dirent
structure for reference (skip directories, etc) and last but not
least, it is faster as it does not stringshare or even builds the full
path at each iteration, instead it keeps the invariant prefix
untouched and just copy the filename.

All in all this is a faster version of eina_file_ls(), use it as
possible as it will avoid overheads.



SVN revision: 50065
2010-07-06 15:45:12 +00:00
Lucas De Marchi 33892c5fc4 Do not clobber type with var name
value => val, because value is a pre-defined type



SVN revision: 50063
2010-07-06 14:16:41 +00:00
Carsten Haitzler ec1bf49da9 lua2 stuff.
SVN revision: 50061
2010-07-06 09:35:34 +00:00
Lucas De Marchi c7d1c78c46 Finish fixing int => Eina_Bool
A buggy standard.h caused some parser errors in the previous committed
patch generated by Coccinelle. This commit find the other places.



SVN revision: 50052
2010-07-06 00:08:52 +00:00
Brett Nash 8dfc47998e Add more control over word-cache size. Also really fix my leak on international text.
The new wordcache option is an environment variable called:
	EVAS_WORD_CACHE_MAX_WORDS
set this to a number between 1-500 to change the cache size.

Larger values (40+) fix regressions in a few of the expedite tests.



SVN revision: 50047
2010-07-05 06:40:20 +00:00
Brett Nash 1c185410b4 Old bug: Don't suffer from buffer overflow in readlink.
SVN revision: 50040
2010-07-05 04:11:53 +00:00
Iván Briano b895f0c07f Re-convert to old format on Edje_Edit when saving
SVN revision: 50016
2010-07-03 22:50:58 +00:00
Lucas De Marchi 622d0a901f segv--
SVN revision: 50011
2010-07-03 15:48:01 +00:00
Rui Seabra b4fe249fce edje_convert.h wasn't included in make dist
SVN revision: 50010
2010-07-03 11:26:00 +00:00
Mike Blumenkrantz b3a4801b79 fix leak in free
SVN revision: 50009
2010-07-03 05:29:31 +00:00
Nicholas Hughart 520441b412 Fix a couple of missed Eina_Bool conversions
SVN revision: 50007
2010-07-03 03:07:28 +00:00
Jonathan Atton 88c1bf3585 Fix research with Alias
SVN revision: 50003
2010-07-02 18:17:37 +00:00
Cedric BAIL d4059c7107 * eina: rename ecore_file_ls_iterator to eina_file_ls.
SVN revision: 50002
2010-07-02 17:23:05 +00:00
Cedric BAIL 9560d51241 * edje: Add alias for part too. This should help designer to
provide the right part name and still use GROUP and BOX.


SVN revision: 50001
2010-07-02 16:56:42 +00:00
Cedric BAIL f424ca1e1e * ecore: for the 50 000 commits, why not adding some docs ?
SVN revision: 50000
2010-07-02 16:01:21 +00:00
Cedric BAIL ba95606159 * edje: prevent some segv in edje_cc and detect wrong edje file
before compiling them.

	Patch by Rafael Fonseca <rfonseca@profusion.mobi>.


SVN revision: 49999
2010-07-02 15:37:37 +00:00
Cedric BAIL 87b85132dd * ecore: add ecore_file_ls_iterator.
SVN revision: 49997
2010-07-02 15:25:22 +00:00
Cedric BAIL 062f4c3920 * ecore: fix long run thread, now that I have a nice user.
SVN revision: 49994
2010-07-02 11:15:20 +00:00
Brett Nash 977221953e Stringshare doesn't have a 64k limit. Don't say it does.
SVN revision: 49992
2010-07-02 08:56:09 +00:00
Brett Nash daa5685bd3 Don't check alloca, it's like checking the stack exists.
SVN revision: 49991
2010-07-02 08:31:12 +00:00
Brett Nash 0227f22ad7 Some fixes for internation support and word cache
SVN revision: 49990
2010-07-02 07:05:20 +00:00
Brett Nash 59bbcfbb8a Put a FIXME where someone doesn't understand alloca.
SVN revision: 49989
2010-07-02 06:53:41 +00:00
Brett Nash b304ae1642 Only use work and metric cacheing on 3 character or longer strings.
SVN revision: 49988
2010-07-02 06:47:22 +00:00
Brett Nash ac552cd762 Renable 'free' for word cache
SVN revision: 49986
2010-07-02 02:20:11 +00:00
Lucas De Marchi 7051feb04e Fix callback signatures
The change from returning int to Eina_Bool left several call sites with
warnings because they were not updated. Here they are fixed by using
Coccinelle, a tool that allows us to automate tasks like that. This
commit was generated from the following semantic patch:

virtual org

@r1@
identifier fn!=NULL, fn2;
expression E1, E2, E3;
@@
(
ecore_event_handler_add(E1, fn, ...)
|
ecore_event_filter_add(E1, fn, ...)
|
ecore_idler_add(fn, ...)
|
ecore_idle_enterer_add(E1, fn, ...)
|
ecore_idle_enterer_before_add(E1, fn, ...)
|
ecore_idle_exiter_add(E1, fn, ...)
|
ecore_main_fd_handler_add(E1, E2, fn, E3, fn2, ...)
|
ecore_main_win32_handler_add(E1, fn, ...)
|
ecore_timer_add(E1, fn, ...)
|
ecore_timer_loop_add(E1, fn, ...)
|
ecore_animator_add(fn, ...)
|
ecore_poller_add(E1, E2, fn, ...)
)

@r2@
identifier r1.fn;
identifier ret;
typedef Eina_Bool;
position p;
@@
- int
+ Eina_Bool
fn@p(...) {
<...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...>
}

@r3@
identifier r1.fn2;
identifier ret;
position p;
@@
- int
+ Eina_Bool
fn2@p(...) {
...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...
}

@r4@
identifier r1.fn;
@@
- int
+ Eina_Bool
fn(...);

@r5@
identifier r1.fn2;
@@
- int
+ Eina_Bool
fn2(...);

@script:python depends on org@
p << r2.p;
f << r1.fn;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg

@script:python depends on org@
p << r3.p;
f << r1.fn2;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg



SVN revision: 49985
2010-07-02 01:38:05 +00:00
Brett Nash 4b7cab6ed4 Not pure, don't need to care about results.
Code with side effects is NOT pure.  Cdoe where you can ignore the return
value because you care about the side effects should not have WARN_UNUSED...
Please only add such things when you've checked


SVN revision: 49984
2010-07-02 00:44:03 +00:00
Brett Nash bb4c28dbb1 Commit ecore_evas_ecore_evases get
Coming soon:
	ecore_ecore_evas_evas_get
	evas_ecore_ecore_evas_get
	get_ecore_evas_ecore_evas_name_gen()


SVN revision: 49983
2010-07-02 00:32:56 +00:00
Iván Briano b9d2cf0983 Fix nasty cenourette.
Also from Raphael Kubo, you can ask him what the commit message means (rakuco around the irc plane of existence)


SVN revision: 49976
2010-07-01 19:54:47 +00:00
Iván Briano 8e50bcb41b More from Raphael Kubo, register log domains
SVN revision: 49975
2010-07-01 19:48:54 +00:00
Iván Briano 01b6434842 From Raphael Kubo da Costa, fix callbacks to match Ecore changes
SVN revision: 49974
2010-07-01 19:42:12 +00:00