Commit Graph

6569 Commits

Author SHA1 Message Date
kaethorn d39ef21f2f fix Debian rule to properly build doc.
SVN revision: 37726
2008-11-21 10:38:21 +00:00
Vincent Torri 5da71a34cd typo
SVN revision: 37725
2008-11-21 08:18:09 +00:00
Vincent Torri 28b9492829 formatting
SVN revision: 37720
2008-11-20 22:16:02 +00:00
Vincent Torri b058683e9c use m4 macro to check evas loaders
please report any problem


SVN revision: 37719
2008-11-20 22:00:50 +00:00
Cedric BAIL 9a5b397a3e Fix a little memory leak when iterating.
SVN revision: 37718
2008-11-20 13:26:18 +00:00
Gustavo Sverzut Barbieri 71f9ed1fc3 Fix size hint docs and improve them.
SVN revision: 37716
2008-11-20 03:02:27 +00:00
Gustavo Sverzut Barbieri c47275f609 add missing evas_object_smart_changed()
SVN revision: 37714
2008-11-19 12:20:20 +00:00
Vincent Torri e9798f4d5e add Windows CE gdi backend
SVN revision: 37713
2008-11-19 09:24:26 +00:00
Vincent Torri b5170a3e63 * formatting
* use a negative height for the biHeight member of the
   bitmap info (topdown bitmap)


SVN revision: 37712
2008-11-19 08:48:00 +00:00
Vincent Torri 5a93b3731e create the bitmap only once. Increased speed :)
SVN revision: 37711
2008-11-19 07:52:05 +00:00
Vincent Torri b8ae972c6c mem leak --
SVN revision: 37710
2008-11-19 07:29:27 +00:00
Vincent Torri ccf5e40899 add gdi backend to the win ce engine. Not working yet
but some other people can help me now with that code in svn

 * expedite is working but sometimes crashes. Maybe a big mem leak ?
 * maybe moving the creation of the bitmap in
   evas_software_wince_gdi_output_buffer_paste()
   to
   evas_software_wince_gdi_output_buffer_new()
   so that the memcpy is not necessary anymore   


SVN revision: 37709
2008-11-19 07:08:18 +00:00
Carsten Haitzler 44c07b8fc9 middle mouse does a paste request now.. unix stylin'
SVN revision: 37705
2008-11-19 06:22:12 +00:00
Carsten Haitzler 965b3be9db fix selection get
SVN revision: 37703
2008-11-19 02:14:50 +00:00
Carsten Haitzler d5bc0e8546 add calls to select all/none
SVN revision: 37700
2008-11-18 08:45:27 +00:00
Vincent Torri e3dd190240 remove the problem of the main loop taking 100% of the cpu
consumption on Windows


SVN revision: 37699
2008-11-18 06:56:31 +00:00
Carsten Haitzler ba0bf9010f and actually force styles to be assigned early.
SVN revision: 37695
2008-11-18 01:46:56 +00:00
Gustavo Sverzut Barbieri 9ede53480f minor optimization for box remove_at.
use eina_list_nth_list() so we can cut search time up to half, as eina
list can look backwards if position is close to list end.



SVN revision: 37692
2008-11-17 14:20:08 +00:00
Carsten Haitzler a867b99db0 make click below text put cursor at end
SVN revision: 37690
2008-11-17 06:17:09 +00:00
Carsten Haitzler 38f06f34e8 track subobjs (used by entry only for now) and emit signals to them too
SVN revision: 37688
2008-11-17 05:54:01 +00:00
Carsten Haitzler 3e2108728f and only remove markup if we have a style...
SVN revision: 37661
2008-11-15 13:57:37 +00:00
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
Carsten Haitzler f025b8cd62 move setup of loop time to init.
SVN revision: 37424
2008-11-02 22:32:18 +00:00
Davide Andreoli 6aaa2a7b35 * Arghh! Fix compilation... sorry
SVN revision: 37417
2008-11-02 15:02:40 +00:00
Davide Andreoli c1be5313b7 * Support text styles in edje_edit
SVN revision: 37415
2008-11-02 14:10:11 +00:00
Vincent Torri c8e2f1f51f small doc fix
SVN revision: 37407
2008-11-02 09:41:14 +00:00
Vincent Torri 9b19b7dec4 autotools fixes
* remove useless _DEPENDENCIES variables
 * remove useless files in EXTRA_DIST
 * use -no-undefied directly
 * add some flags when the host is windows ce

make distcheck succeeds on my computer

next step will be to fix the horrible mess in Ecore.h and ecore_private.h


SVN revision: 37406
2008-11-02 09:01:35 +00:00
Vincent Torri 36a04eb80a const++
SVN revision: 37405
2008-11-02 08:40:27 +00:00
Vincent Torri f90666e89b const++
SVN revision: 37404
2008-11-02 08:32:52 +00:00
Carsten Haitzler 68794e198b also use looptime
SVN revision: 37394
2008-11-02 02:43:43 +00:00
Carsten Haitzler 41ac47244f remove more useless ecore_time_get's
SVN revision: 37392
2008-11-02 02:19:18 +00:00
Carsten Haitzler b2edd2d7d6 new ecore_loop_time_get() call. also priority setting for spawning sub-procs
SVN revision: 37389
2008-11-02 01:29:08 +00:00
Davide Andreoli f38e74e550 * remove \'too small\' categories
SVN revision: 37387
2008-11-01 22:21:10 +00:00
Davide Andreoli f526e28ac0 * More better cats\'
* remove some @ingroup in favor of @addtogroup

SVN revision: 37386
2008-11-01 21:50:36 +00:00
Davide Andreoli 08ca0e43c0 * put evas_object stack functions in the Evas_Object_Group
SVN revision: 37385
2008-11-01 21:13:21 +00:00
Davide Andreoli 6637117c95 * put all the verious objects (rect, image, text...) in a single macro category
SVN revision: 37384
2008-11-01 21:07:49 +00:00
Michael Lauer f10451da1f evas: rename 'delete' parameter in evas_object_table_clear to 'clear'.
delete is a reserved keyword in C++.


SVN revision: 37383
2008-11-01 20:55:22 +00:00
Davide Andreoli b1b189a0bb * remove \'too small\' groups (unify image and gradient groups)
* fix some modules name to be more consistent

SVN revision: 37382
2008-11-01 20:19:28 +00:00
Davide Andreoli 92dfd49fdb * Add a Texblock doxy category and put all the textblock_* functions to apper under it
SVN revision: 37381
2008-11-01 19:40:07 +00:00
Vincent Torri 478e8c1e4c fix ecore_evas on Windows CE
SVN revision: 37380
2008-11-01 19:01:58 +00:00
Vincent Torri 9ca6c0af5d formatting, disable openssl by default on Windows XP
SVN revision: 37379
2008-11-01 18:11:27 +00:00
Vincent Torri 9efc8ecf79 * configure.ac:
add a flag to know if cegcc is used or not
	* src/lib/Makefile.am:
	* src/lib/dirent.h:
	* src/lib/evil_dirent.c:
	add opendir(), closedir() and readdir() implementations
	for Windows XP and CE. Now, the evas engines are correctly
	found.
	* src/lib/fnmatch.h:
	formatting



SVN revision: 37376
2008-11-01 17:07:41 +00:00
Cedric BAIL 437c220266 Add dladdr and env code for eina_module from Vincent Torri.
SVN revision: 37374
2008-11-01 15:39:53 +00:00
Cedric BAIL 66c2f07a28 Fix bug in emotion_test discovered by jcwong introduced in r36943.
SVN revision: 37373
2008-11-01 15:10:22 +00:00
Gustavo Sverzut Barbieri ef48d58df5 Comments about box and table.
SVN revision: 37372
2008-11-01 13:36:58 +00:00
Vincent Torri 7e2b141beb * configure.ac:
formatting
	* src/lib/dlfcn/dlfcn.c:
	* src/lib/dlfcn/dlfcn.h:
	fix dladdr declaration



SVN revision: 37370
2008-11-01 09:50:01 +00:00
Vincent Torri b7d5746e0d * remove module_la_DEPENDENCIES useless variable
* add -fno-rtti and -fno-exceptions when c++ is used (in Windows engines)
 * fix glew engine compilation
 * minor formatting


SVN revision: 37369
2008-11-01 09:46:51 +00:00
Vincent Torri 5be63df7c0 fix constness and wrong type parameters
SVN revision: 37368
2008-11-01 07:55:33 +00:00
Vincent Torri c2d7540e84 ffs does not exist on windows CE, so use Evil
SVN revision: 37367
2008-11-01 07:33:02 +00:00
Gustavo Sverzut Barbieri b2470c6cd6 Implement non-homogeneous (regular) table layout.
It's now complete, needs some more testing and possible fix corner
cases, but should do the same as els_table (from elementary).


SVN revision: 37362
2008-11-01 00:03:17 +00:00
Gustavo Sverzut Barbieri f2791cdc56 Add evas_object_table, make evas_object_box more consistent.
Table code is still *incomplete*, it just do homogeneous layouts as
I'm still trying to figure out how to make it great.

I'm not expecting to make layout configurable, as we did for box, but
if you think it's required we can do that later.

Now that the public API of both BOX and TABLE are in, we can add these
as parts of Edje.



SVN revision: 37359
2008-10-31 17:42:47 +00:00