Commit Graph

6548 Commits

Author SHA1 Message Date
Carsten Haitzler 7e6fb27b4c make scale set apply immediately on objects that do scaling...
SVN revision: 37656
2008-11-15 10:39:46 +00:00
Carsten Haitzler fec072d883 fix some formatting/indenting and explicitly look at mouse_down as a counter.
SVN revision: 37650
2008-11-15 05:13:09 +00:00
Gustavo Sverzut Barbieri 4e108162aa make it easy to write bindings for box.
giving an extra void *user_data to layout function is now easy to
write bindings, just give the callback to be a generic function that
will call the language/binding specific function handled as user_data.

Example, for python we can use:

   void _layout_dispatcher(Evas_Object *o, Evas_Object_Box_Data *priv, void *data) {
       PyObject *pyobj = data, *args;

       args = PyTyple_New(1);
       PyTuple_SET_ITEM(args, 0, Evas_object_from_instance(o));
       PyObject_Call(pyobj, args, NULL);
       Py_DECREF(args);
   }

   evas_object_box_layout_set(o, _layout_dispatcher, pyobj, Py_DecRef);


SVN revision: 37640
2008-11-14 23:10:29 +00:00
kaethorn e20d52ab8b update doc package.
SVN revision: 37639
2008-11-14 23:06:04 +00:00
kaethorn 84f47cea82 update doc package.
SVN revision: 37637
2008-11-14 22:30:48 +00:00
Gustavo Sverzut Barbieri 4ce0cbc6ea oops! fix bugs hinted by compiler warnings!
SVN revision: 37635
2008-11-14 21:33:10 +00:00
Gustavo Sverzut Barbieri d5f5e6eb55 src/bin/ stuff uses it, so these symbols must be exported.
SVN revision: 37634
2008-11-14 20:22:03 +00:00
Sebastian Dransfeld b2fa64de52 Formatting
SVN revision: 37626
2008-11-14 17:35:05 +00:00
Cedric BAIL febbf0ab0f Make password callback work (PKCS8 support), fix minor bugs and add more tests.
SVN revision: 37625
2008-11-14 17:34:51 +00:00
Gustavo Sverzut Barbieri 2d05e12a0a Oops! no change of version number.
SVN revision: 37621
2008-11-14 11:08:22 +00:00
Gustavo Sverzut Barbieri f53febde32 Edje postponed calculations.
This makes use of new Evas_Smart_Class calculate() callback to
postpone calculations until render time, possible saving lots of
calculations to happen.

It is another try, with Cedric's changes to force recalculations when
requried (ie: just before doing some edje_object_*_get()), let's see
if this one solve found issues.



SVN revision: 37620
2008-11-14 11:06:15 +00:00
Samuel F. Baggen 5768d41053 [vtorri patch] detection of fnmatch function in evil before the detection in iberty
SVN revision: 37615
2008-11-14 09:57:45 +00:00
Cedric BAIL 059a224215 Oops, forgot to commit this file. Crypto should now work.
SVN revision: 37614
2008-11-14 09:01:11 +00:00
Samuel F. Baggen fafeb1044d [vtorri patch] include fnmath code for mingw users
SVN revision: 37611
2008-11-13 20:53:16 +00:00
Gustavo Sverzut Barbieri ca1c7d5bfc fix typo: cypher -> cipher
also reduce scope of ciphered and ciphered_len.


SVN revision: 37609
2008-11-13 20:49:18 +00:00
Gustavo Sverzut Barbieri 817e679d29 check fnmatch in evil before iberty (for mingw users)
Patch by Vincent, who is on windows and cannot commit :-P



SVN revision: 37608
2008-11-13 20:48:37 +00:00
Gustavo Sverzut Barbieri 14243bc1b3 runtime configurable timer precision
One can now configure the maximum acceptable delay to be introduced by
Ecore so possibly more timers will be dispatched together, reducing
wakeups and saving more power.



SVN revision: 37607
2008-11-13 20:42:01 +00:00
Gustavo Sverzut Barbieri d5216f9ea7 it's 'UNsigned' char, not signed!
SVN revision: 37606
2008-11-13 20:39:56 +00:00
codewarrior e66c00cad3 rename, build still doesnt work for gnutls.
SVN revision: 37604
2008-11-13 19:26:28 +00:00
Cedric BAIL 0f36b190f1 Add crypto support to eet.
GNUTLS support by Arnaud de Turckheim <quarium@gmail.com>.


SVN revision: 37603
2008-11-13 16:31:13 +00:00
Vincent Torri f3456d4368 fix compilation on windows, minor formatting, use unix end of line
SVN revision: 37597
2008-11-12 07:54:25 +00:00
Vincent Torri bd70ea0c86 * src/lib/evil_unistd.h:
export execvp()



SVN revision: 37596
2008-11-12 07:25:38 +00:00
Vincent Torri 1b00e273ed eina needs dl functions (Windows)
SVN revision: 37583
2008-11-11 07:22:47 +00:00
Vincent Torri 8d4ddb1096 move the check of programs before the check of libs
SVN revision: 37582
2008-11-11 06:57:40 +00:00
Cedric BAIL 25f4acee01 This is a quick fix for edje match memory consuption. It is not the best
solution, but the fastest to implement without breaking edje file format.

So now, when a callback or a program don't use globbing charactere (*, ?,
[] and \), the match are put in a little rbtree instead of the big automate
matrix.

This patch could potentially break edje user, if you experience anything
strange with your edje file, please report.



SVN revision: 37577
2008-11-10 16:37:52 +00:00
Cedric BAIL 5257321d9a Fix some constness.
SVN revision: 37576
2008-11-10 16:23:56 +00:00
Cedric BAIL aa82395cc1 Fix order of free during hash free.
SVN revision: 37572
2008-11-10 14:32:14 +00:00
Vincent Torri 2adbc70d6b Use native calls on Windows CE to open, read and close a png file.
This code must use the libpng 1.2.33 port that is in the cegcc
project page on SF when using Windows CE.


SVN revision: 37571
2008-11-09 19:32:12 +00:00
Vincent Torri ad106db9fe * evil.pc.in:
remove -ldl
	* src/lib/evil_dirent.c:
	change guards
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	add some checks,
	add a function that more or less mimic fopen, but with
	native win32 api calls. This is only for the evas loader
	and saver of png files and works only for Windows CE.
	* src/lib/evil_unistd.c:
	move a free() and remove debug calls.



SVN revision: 37570
2008-11-09 19:27:13 +00:00
Vincent Torri a00a2a3636 put static functions where they belong
SVN revision: 37552
2008-11-08 16:47:52 +00:00
Sebastian Dransfeld 4173b41de5 Add missing return value.
SVN revision: 37528
2008-11-07 06:50:45 +00:00
Vincent Torri 7e2ccddb48 use correct png calls (from the libpng doc) in the png loader and saver. Expedite is running fine
SVN revision: 37527
2008-11-06 18:54:19 +00:00
Massimiliano Calamelli 3292fa9100 Fix doxy
SVN revision: 37526
2008-11-06 15:59:28 +00:00
Viktor Kojouharov 3489be1dda typo--
SVN revision: 37517
2008-11-05 21:36:23 +00:00
Vincent Torri cfbfc24c32 include setjmp.h after png.h
SVN revision: 37515
2008-11-05 20:39:10 +00:00
Vincent Torri 6a7aefef08 * src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
	overload rewind for Windows CE
	* src/lib/evil_unistd.c:
	remove debug



SVN revision: 37477
2008-11-05 17:27:20 +00:00
Vincent Torri d250e5501b Big patch to make Evas work (more or less) with Windows CE:
* when fopen used, open in binary mode
 * use Evil when fopen is used
 * clean a bit some Makefile.am and add Evil dependency where needed
 * in evas_path.c, remove useless old Windows CE code. It's managed by Evil, now
 * in Evas_Data.h, move Eina.h before EAPI is defined for Evas.
 * define _WIN32_WCE when the host is windows cee


SVN revision: 37476
2008-11-05 17:21:04 +00:00
Cedric BAIL e8ed3963c8 Add eina_array_data_set.
SVN revision: 37475
2008-11-05 17:16:07 +00:00
Cedric BAIL e63dde947d Fix documentation.
SVN revision: 37474
2008-11-05 16:20:37 +00:00
Gustavo Sverzut Barbieri 1b1896ec55 for some reason this was being NULL to me.
it was crashing on group changing.



SVN revision: 37473
2008-11-05 16:08:39 +00:00
Gustavo Sverzut Barbieri 9e80a086f6 Add and use eina_stringshare_ref().
This is a faster "add", if we know we're using a shared string we know
the node without any need to search it, just increment reference and
exit.



SVN revision: 37458
2008-11-04 16:25:12 +00:00
Gustavo Sverzut Barbieri 25c58aefef emotion: set default volume to 80%.
SVN revision: 37454
2008-11-04 11:48:19 +00:00
Carsten Haitzler 9705e3c741 hmmm after some talking - for now put the transform patch on hold - we need
tyo fix up some of these breaks first and there isn't a lot of time devoted
to this. so revert this. it's in svn history so we can dig it out any time we
like.



SVN revision: 37453
2008-11-04 09:19:35 +00:00
Vincent Torri d475a28d93 * src/lib/Evil.h:
* src/lib/evil_stdio.h:
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	overload the stat() function for native Windows CE platform.
	move pipe() and fopen() definitions to their own header files



SVN revision: 37452
2008-11-04 07:53:43 +00:00
Carsten Haitzler 3e984fee34 jose's transform patches. some things to note:
1. nearest scaling is now broken - it's always linear interpolation. this
will lead to slowdowns. i need to fix this - a must.
2. i think it's time i put in a transformed image cache that can cache an
image object at a transform (and share it) automatically.
3. transforms in non-software-engines will not work - broken. need to at
least do xrender and gl engines.

any volunteers to help?



SVN revision: 37447
2008-11-03 22:50:54 +00:00
Peter Wehrfritz f0129584b5 take the right patch for ecore_pipe. I moved nbytes back to unsigned int, from int. Was there a reason why you changed it to a signed integer? Negative values doesn't make sense for a size value. Anyway, if you really prefer int, I can change it, later.
One possible problem that come to mind, is that some one could del a pipe inside of the handler. That segfaults at the moment. So this should be fixed some time.


SVN revision: 37438
2008-11-03 13:57:53 +00:00
Carsten Haitzler c8731aeaa6 add patch to add a pipe handler for glueing threads to the core main loop via
pipes - makes it save for a thread to send a message to the main loop and not
need lots of thread locks etc.



SVN revision: 37429
2008-11-03 05:42:27 +00:00
Vincent Torri 611850f0a6 Use stdio instead of iostream to output error messages
Large parts of the stdc++ library are statically linked into the dll.
The size of the generated DLL decrease from ~500KB to ~24KB



SVN revision: 37428
2008-11-03 05:25:56 +00:00
Carsten Haitzler 3de2227ec4 stderr-- (just noisy!)
SVN revision: 37426
2008-11-03 00:04:43 +00:00
Carsten Haitzler 60b4dab196 formatting.
SVN revision: 37425
2008-11-02 22:51:24 +00:00