Commit Graph

725 Commits

Author SHA1 Message Date
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 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
Carsten Haitzler bf22e27af6 apparently fbsd is unaware of expr substr...
SVN revision: 48277
2010-04-24 14:33:10 +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
Cedric BAIL 2042862423 * eet: refactor some code.
SVN revision: 48218
2010-04-22 14:43:51 +00:00
Cedric BAIL eccf7d14a7 * eet: fix documentation.
SVN revision: 48217
2010-04-22 14:40:31 +00:00
Cedric BAIL c22277e070 * eet: remove EET_G_INHERIT.
SVN revision: 48216
2010-04-22 09:56:22 +00:00
Cedric BAIL b0618cbc01 * eet: use const only when needed.
SVN revision: 48204
2010-04-21 16:10:55 +00:00
Cedric BAIL a5aaf1723b * eet: Add EET_G_VARIANT and EET_G_UNION.
This are the basis for a new edje file format.
	Next to come EET_G_INHERIT.


SVN revision: 48201
2010-04-21 14:00:24 +00:00
Michael Jennings c3f93a9ebd After discussing with raster, this is what he requested for the spec
files:  using the SVN revision instead of the datestamp.  Other
methods can still be used, however, by adding (e.g.):

--define "_rel 0.`date +%Y%m%d`"

to the rpmbuild command line.

Other spec files will need similar changes.  This is just the first
few.



SVN revision: 48099
2010-04-18 07:03:09 +00:00
Cedric BAIL d0ec0f0b96 * eet: improve tests suite coverage of signature print code.
SVN revision: 48056
2010-04-16 15:27:50 +00:00
Cedric BAIL b7dcdf619a * eet: handle fixed point in data stream.
SVN revision: 48055
2010-04-16 14:44:29 +00:00
Cedric BAIL 2cc28483e6 * eet: Improve coverage by tests suite and don't leak file in /tmp.
SVN revision: 48054
2010-04-16 14:43:07 +00:00
Cedric BAIL 4b55e9f4eb * eet: let eet create the temporary test file.
SVN revision: 47880
2010-04-09 17:22:45 +00:00
Cedric BAIL b02d6ed0ce * eet: Add eet_sync, reduce between file delete and file creation,
reduce number of fd open.

	This should not break anything, but report any issue regarding eet file
	creation, thread and file corruption on disk.


SVN revision: 47872
2010-04-09 13:45:25 +00:00
Cedric BAIL 97b8f7a58d * eet: remove dead code.
SVN revision: 47871
2010-04-09 12:38:49 +00:00
Cedric BAIL 28759c1a67 * eet: fix file corruption reported by Tiago Falcao <tiago@profusion.mobi>
Note: Do never call eet_flush2 if you don't actually fclose the file just after.



SVN revision: 47832
2010-04-08 14:04:22 +00:00
Cedric BAIL 7c14ed7617 * eet: we don't need to duplicate hash key when we could just point
to the Eet_File dictionnary entries.



SVN revision: 47806
2010-04-07 14:00:15 +00:00
Vincent Torri 84bf1cda79 must include winsock2.h before time.h and jpeglib.h (for vc++...)
SVN revision: 47721
2010-04-03 06:11:19 +00:00
Vincent Torri 1132f6d855 remove cegcc compiler support
SVN revision: 47720
2010-04-03 05:34:44 +00:00
Vincent Torri a8cc200870 * update Visual Studio project files
* declare alloca in eet_connection.c
 * remove the definition of __UNUSED__ (already done in config.h)
 * reorganize a bit the inclusion of header files so that
   the code is a bit more consistent


SVN revision: 47719
2010-04-03 05:29:44 +00:00
Cedric BAIL c20cd7715a * eet: oops, forgot to add the file.
SVN revision: 47690
2010-04-02 14:30:06 +00:00
Cedric BAIL aa015979bb * eet: Add Eet_Connection.
This will help people that want to use Eet over any kind of link.


SVN revision: 47688
2010-04-02 13:51:00 +00:00
Cedric BAIL 3efbdeee6d * eet: minor API/code cleanup.
SVN revision: 47687
2010-04-02 13:48:36 +00:00
Cedric BAIL 57f1862163 * eet: reduce amount of stress test with many thread.
SVN revision: 47686
2010-04-02 13:48:07 +00:00
Gustavo Sverzut Barbieri 8cdfb061dd eet docs: next steps
SVN revision: 47337
2010-03-18 22:36:41 +00:00
Vincent Torri 80adafe5fc add "Compiling" and "Installing" in TOC
SVN revision: 47332
2010-03-18 21:51:35 +00:00
Vincent Torri b1a89973df add a table of content. "Next Steps" must be filled.
SVN revision: 47329
2010-03-18 21:32:34 +00:00
Vincent Torri bb2462c3ab Add eet examples documentation and update html doc menu to add 'Examples' tab.
Gustavo: documentation of examples should be added in examples.dox.
         There is one page for each example in that file.


SVN revision: 47328
2010-03-18 21:09:13 +00:00
Gustavo Sverzut Barbieri ea4e8a0abb eet: mega doc update, still stuff to do.
* sync AUTHORS

 * add couple of groups, and change head.html to include "Modules"

 * Reorganize the Eet.h so header is better grouped and in an order
   that makes sense to the reader (as Eet.h gives the modules/group
   ordering).



SVN revision: 47327
2010-03-18 20:16:56 +00:00
Cedric BAIL 563eb442b1 * eet: make doc sync with our time.
SVN revision: 47323
2010-03-18 15:18:13 +00:00
Gustavo Sverzut Barbieri 5703649567 Update example to not use deprecated calls.
SVN revision: 47301
2010-03-17 01:00:59 +00:00
Gustavo Sverzut Barbieri 42c8058da2 Fix docs indentation and one example.
@vincent: This is an ongoing effort, after we're all done we'll update
the damn ChangeLog :-)

@cedric: There are couple of @since 2.0.0, but we're at 1.2.3, could
you review in which version you introduced those changes? :-)



SVN revision: 47300
2010-03-17 00:49:51 +00:00
Cedric BAIL 92cf666bd7 * eet: Fix a dead lock when reopening the same file.
SVN revision: 47286
2010-03-16 12:10:28 +00:00
Cedric BAIL 6ce0cadc63 * eet: Oops forgot ChangeLog and give credit to Adam Simpkins.
SVN revision: 47239
2010-03-15 17:04:30 +00:00
Cedric BAIL 649760234c * eet: Reintroduce eet cache lock fix.
This version also fix a bug when file wasn't an eet file.


SVN revision: 47237
2010-03-15 14:47:51 +00:00
Vincent Torri 965ee1d469 typo
SVN revision: 46946
2010-03-07 12:13:44 +00:00
Vincent Torri 633c600ddf when pthread is found, don't abort if spin lock is not found but not reqested
Patch by Albin Tonnerre


SVN revision: 46941
2010-03-07 12:05:49 +00:00
Carsten Haitzler 73a9612f2c also revert - on3e of these 2 - or both, causes a deadlock in e. see my
previous commit log.



SVN revision: 46918
2010-03-07 03:01:55 +00:00
Carsten Haitzler 329628e8e7 remove this patch (and will remove next too).. somethgn created a deadlock..
for NON threaded apps (e17). specifically:

   if (!locked) LOCK_CACHE;
   
at the top of eet_internal_close() gets called (locked is 0) and deadlocks e.
this is worse than threaded apps having problems. so... need to revert.



SVN revision: 46917
2010-03-07 03:01:14 +00:00
Carsten Haitzler e9b23a2d30 dont link to unrelated pages
SVN revision: 46903
2010-03-06 01:12:38 +00:00
Cedric BAIL 9033f05263 * eet: Fix a dead lock when eet file was open more than once.
SVN revision: 46892
2010-03-05 17:29:37 +00:00
Cedric BAIL c285985eeb * eet: Fix clearcache race condition.
Patch by Adam Simpkins.


SVN revision: 46891
2010-03-05 17:19:03 +00:00
Carsten Haitzler 0226ebda94 fmatting.
SVN revision: 46758
2010-03-02 01:07:32 +00:00
Cedric BAIL 3e59d34441 * eet: Fix override of global symbols.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>


SVN revision: 46682
2010-03-01 11:03:35 +00:00
Vincent Torri 9129d1d30a abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46655
2010-02-28 17:27:38 +00:00
Vincent Torri c3ec1a38f7 useless semi-colon
SVN revision: 46080
2010-02-11 15:32:29 +00:00
Sebastian Dransfeld eea9a74ebb Don't do unnecessary strcmp
SVN revision: 45882
2010-02-04 20:02:45 +00:00
Carsten Haitzler 82d51bffd7 changelog++
SVN revision: 45864
2010-02-04 09:11:09 +00:00
Vincent Torri 519cb98847 use efl_fnmatch m4 macro
SVN revision: 45852
2010-02-03 20:47:48 +00:00