Commit Graph

6019 Commits

Author SHA1 Message Date
Carsten Haitzler 459569ee08 wrong return error handling. 0 == error, 1 == ok.
SVN revision: 35280
2008-08-01 01:02:49 +00:00
Cedric BAIL a309e49392 Cleanup the mempool stuff.
SVN revision: 35277
2008-07-31 17:00:56 +00:00
Cedric BAIL 9321fbbfdc Fix a typo.
SVN revision: 35276
2008-07-31 16:58:22 +00:00
Cedric BAIL 162f31877f Forgotten declaration.
SVN revision: 35275
2008-07-31 16:55:29 +00:00
Cedric BAIL f377939d0b Fix some warning.
SVN revision: 35274
2008-07-31 16:54:02 +00:00
Cedric BAIL 88877cf64c Add the chained_pool stuff from evas with some cleanup.
SVN revision: 35272
2008-07-31 15:11:05 +00:00
Cedric BAIL 2964bdd9b3 Cleanup.
SVN revision: 35271
2008-07-31 15:08:47 +00:00
Cedric BAIL e04f59c7b0 Export a magic API.
SVN revision: 35270
2008-07-31 15:08:19 +00:00
Cedric BAIL 7473953e3e Add the __UNUSED__ macro.
SVN revision: 35269
2008-07-31 14:59:23 +00:00
Cedric BAIL a8aac59e01 Fix namespace.
SVN revision: 35268
2008-07-31 14:58:23 +00:00
Peter Wehrfritz b57eac0726 fix warnings
SVN revision: 35262
2008-07-30 22:59:23 +00:00
Davide Andreoli e87f1f0aca * work in progress for generate edc. thanks to dieb
SVN revision: 35261
2008-07-30 22:41:04 +00:00
Sebastian Dransfeld fa1cf1962c typo
SVN revision: 35259
2008-07-30 17:29:11 +00:00
Cedric BAIL ea2d7be8ec Include new headers too.
SVN revision: 35258
2008-07-30 16:40:15 +00:00
Cedric BAIL edce92f017 Add array and cleanup lalloc namespace.
SVN revision: 35257
2008-07-30 16:34:54 +00:00
Peter Wehrfritz 0eefad12bd - add init() and shutdown() functions
- add doxy


SVN revision: 35256
2008-07-30 14:42:37 +00:00
Cedric BAIL d59f9b7d6c Fix a little bug in the test and do a real write test.
SVN revision: 35255
2008-07-30 14:10:36 +00:00
doursse 00911f4df4 add unit test and coverage support in configure.in and Makefile.am. Now let's encourage Cedric for writing the unit tests :)
SVN revision: 35254
2008-07-30 13:58:26 +00:00
Cedric BAIL 86f58ba639 Use only the needed headers per file and remove some warning.
SVN revision: 35253
2008-07-30 13:35:49 +00:00
doursse f4bfef330c cvsignore++
SVN revision: 35252
2008-07-30 13:17:31 +00:00
doursse 16b95f91c9 install headers in $prefix/include/eina-$VERSION_MAJOR to allow parralel
installations between different major versions


SVN revision: 35251
2008-07-30 13:16:09 +00:00
Cedric BAIL 3b7fb95c9d Add .cvsignore.
SVN revision: 35250
2008-07-30 13:09:03 +00:00
Cedric BAIL 6e74d01030 Adding stringshare from evas inside eina.
SVN revision: 35249
2008-07-30 13:05:13 +00:00
Cedric BAIL a92e3d6c83 Adding turran work to unify EFL data types and functions.
SVN revision: 35248
2008-07-30 12:46:55 +00:00
Carsten Haitzler e20edb01e2 revert patch - breaks etk "drag scrolling".
SVN revision: 35247
2008-07-30 07:57:05 +00:00
Carsten Haitzler 98623a9077 add new ecore_Exe control calls (interrupt and quit) and dont ertror dialog
on all exits of apps (sigint/quit/.term can be ignored i think).


SVN revision: 35246
2008-07-29 22:07:19 +00:00
Sebastian Dransfeld e909810628 remove uneeded variable.
SVN revision: 35245
2008-07-29 18:55:41 +00:00
Sebastian Dransfeld 31c9bed503 Reduce the needed amount of ecore_strlcpy.
SVN revision: 35244
2008-07-29 18:52:27 +00:00
doursse 3f80f51a24 add ecore_x_window_shadow* api, use latest xcb_icccm api, remove trailing spaces, formatting
SVN revision: 35243
2008-07-29 09:00:17 +00:00
Carsten Haitzler 4ed5796b2f cedirc patchies!
SVN revision: 35228
2008-07-26 13:04:29 +00:00
Carsten Haitzler 9c712115e4 unsigned long... better
SVN revision: 35227
2008-07-26 12:54:39 +00:00
Carsten Haitzler e379ef6e87 fix software 16 build!
SVN revision: 35216
2008-07-25 15:41:32 +00:00
Michael Lauer 2bbdd8f3d2 fix building ecore without X
SVN revision: 35215
2008-07-25 11:42:02 +00:00
Michael Jennings 038fd1f7be s/KEYOBARD/KEYBOARD/g
SVN revision: 35210
2008-07-25 02:21:03 +00:00
Carsten Haitzler cea0975be9 force unknown -> 0
SVN revision: 35208
2008-07-25 01:54:26 +00:00
Carsten Haitzler ca8b5a99d2 e vkbd hint wrappers!
SVN revision: 35207
2008-07-25 01:45:36 +00:00
doursse a1046bb11e Add Visual Studio solution and vc projects to compile Eet with Microsoft tools
For those who want to try it, please read README.txt first

Work from Dmitriy Mazovka. Thank you !


SVN revision: 35206
2008-07-24 18:26:08 +00:00
doursse 0bc826dd70 Add Visual Studio solution and vc projects to compile Evil with Microsoft (r) tools
For those who want to try it, please read README.txt first

Work of Dmitriy Mazovka. Thank you !


SVN revision: 35205
2008-07-24 18:18:55 +00:00
Cedric BAIL 9dddec7f09 Fix wrongly stored image when compressed size is bigger than uncompressed. Fix bug #523.
SVN revision: 35204
2008-07-24 13:25:18 +00:00
Carsten Haitzler 7c4a4bae8e actually just handle datatype properly.
SVN revision: 35195
2008-07-23 21:01:36 +00:00
Carsten Haitzler 4eacb3e2cd ignore unkown atom types
SVN revision: 35194
2008-07-23 20:58:47 +00:00
doursse ef61dbeb14 Big change in configure.in, ecore_x and ecore_evas. Everything compile nicely
after a make maintainer-clean, with xlib or xcb. e17 also has no problem.
Please report any problem. Thanks

 * put xlib and xcb specific code in their own directories inside ecore_x
 * fix xcb logic check in autotools and ecore_evas
 * update configure.in for detection of ecore_evas with xlib and xcb support,
   update ecore_evas accordingly. Note that e17 needs a little fix after that,
   it will come in a few minutes


SVN revision: 35188
2008-07-23 10:00:01 +00:00
Michael Jennings 9e2cace719 Wed Jul 23 00:10:13 2008 Michael Jennings (mej)
distcheck and spec fixes
----------------------------------------------------------------------


SVN revision: 35187
2008-07-23 07:11:56 +00:00
Miculcy Brian cf33734edf enable failback when empty localisation string are found
SVN revision: 35184
2008-07-22 13:30:25 +00:00
doursse 6a87729269 add some vim headers
SVN revision: 35183
2008-07-21 16:44:58 +00:00
doursse 9c58ab7087 * move blend functions declaration to their own header files
* add vim header


SVN revision: 35182
2008-07-21 16:10:48 +00:00
doursse 60391e746d * move draw functions declaration to their own file
* add missing headers


SVN revision: 35181
2008-07-21 15:52:09 +00:00
doursse 7d5e3d39e9 the inline file is evas_inline_array.x, not evas_array_inline.x
SVN revision: 35180
2008-07-21 12:03:28 +00:00
Cedric BAIL 53a094e414 Correctly use the string without escaped charactere.
SVN revision: 35179
2008-07-21 11:20:19 +00:00
doursse 3f28e61186 * move image declaration funtions to their own header file
* add vim header


SVN revision: 35173
2008-07-19 18:32:32 +00:00
doursse 83c733fbf7 * move line, polygon, rectangle API to their own files
* add vim header


SVN revision: 35172
2008-07-19 18:05:54 +00:00
doursse 193c21da9e remove tons of trailing spaces
SVN revision: 35171
2008-07-19 17:40:52 +00:00
doursse 261189e2e2 * move font and gradient declarations to their own files
* add vim headers
 * remove some trailing spaces


SVN revision: 35170
2008-07-19 17:13:42 +00:00
doursse 34e6f47ece nobody objected, so here is a sexy output for ecore's configure
SVN revision: 35167
2008-07-18 17:31:27 +00:00
doursse bc8c99083b missing stdlib.h
SVN revision: 35164
2008-07-18 15:37:52 +00:00
Carsten Haitzler 986b3ded31 fix build. build properly.
SVN revision: 35163
2008-07-18 14:17:05 +00:00
Cedric BAIL 3b2a46c239 This call is already done at the end of a frame rendering, so no need to do
it also every time we restack something.


SVN revision: 35162
2008-07-18 13:31:06 +00:00
Cedric BAIL 01d456b207 Update changelog.
SVN revision: 35158
2008-07-18 11:41:15 +00:00
Cedric BAIL 667c57f9fe Improve speed by comparing pointer instead of calling strcmp (thanks to the
dictionnary's property).


SVN revision: 35157
2008-07-18 11:39:38 +00:00
doursse 21a5e030f2 not needed anymore as they are in their source file, now
SVN revision: 35156
2008-07-18 11:11:04 +00:00
doursse d11bfc2323 remove trailing spaces
SVN revision: 35155
2008-07-18 11:04:06 +00:00
doursse 31f339cdc1 * copy inlined needed functions in evas_array.c, hence remove dependancy
of evas_common.h
 * use size_t when needed
 * add vim header


SVN revision: 35153
2008-07-18 09:38:03 +00:00
doursse 94a1de12d6 add windres detection by libtool
SVN revision: 35152
2008-07-18 09:22:09 +00:00
doursse 28d3ff0e8a missing file
SVN revision: 35151
2008-07-18 09:19:29 +00:00
doursse 2497aae125 cvsignore++
SVN revision: 35150
2008-07-18 07:33:01 +00:00
doursse 92a8967501 * request the size in the engine info
* add a ressource file that set the video management
   as non legacy. It forces device that are in vga to
   run in vga and not in qvga with gapi
 * use c++ calls to display error messages in evas_wince_ddraw.cpp.
   It removes a problem during linking with some versions of cegcc
 * minor fixing / formatting


SVN revision: 35148
2008-07-17 23:08:29 +00:00
Peter Wehrfritz 2ab5747a80 prevent degenerated hash values with 64bit pointer
SVN revision: 35146
2008-07-17 22:58:28 +00:00
doursse ac88597078 make cache functions link properly when using c++ compiler
SVN revision: 35144
2008-07-17 20:42:22 +00:00
Peter Wehrfritz f5bd66341f fix compile warnings
SVN revision: 35143
2008-07-17 20:28:59 +00:00
Cedric BAIL 912fe5584e Update ChangeLog.
SVN revision: 35142
2008-07-17 16:42:34 +00:00
Cedric BAIL 00388c7fbd Improve speed of eet_data freelist by using a hash table instead of just a pointer list.
SVN revision: 35141
2008-07-17 16:39:28 +00:00
Cedric BAIL 77bb260256 Improve decode speed by using precomputed hash.
SVN revision: 35140
2008-07-17 15:33:40 +00:00
doursse 47e866557d add cast for c++ compilers. Patch from Dmitriy Mazovka
SVN revision: 35138
2008-07-17 07:45:42 +00:00
doursse a7dcdaeb55 * use ECORE_EVAS_CHECK_MODULE for Windows modules
(other modules will follow later)
 * update Windows ecore evas module accordingly
 * factorize win32 code before cedric changes :p
 * add warning for vc++ (patch from Dmitriy Mazovka)


SVN revision: 35137
2008-07-17 06:06:34 +00:00
doursse 0b77c43fb8 add ECORE_EVAS_CHECK_MODULE m4 macro to check availability of an ecore evas module
SVN revision: 35136
2008-07-17 05:40:08 +00:00
doursse 913d17fcff cvsignore update
SVN revision: 35135
2008-07-17 05:08:44 +00:00
doursse e576961d89 add vi formatting stuff
SVN revision: 35131
2008-07-16 20:47:22 +00:00
doursse 77a014170b formatting
SVN revision: 35130
2008-07-16 20:46:47 +00:00
Sebastian Dransfeld 018b1cae14 FDO Trash.
SVN revision: 35129
2008-07-16 19:45:12 +00:00
Carsten Haitzler d279771011 add some more calls needed for better key faking
SVN revision: 35126
2008-07-16 17:05:31 +00:00
Davide Andreoli cc645d82fe * create gradient using "use_rel = 1"
* remove some debug
 * fix some returns


SVN revision: 35116
2008-07-15 01:03:24 +00:00
doursse 3cf226d070 update the doc a bit. Typos
SVN revision: 35107
2008-07-14 16:51:02 +00:00
doursse d569f393d6 put guards around config.h, remove trailing spaces
SVN revision: 35104
2008-07-14 10:06:34 +00:00
doursse 70040d4b80 remove trailing spaces
SVN revision: 35102
2008-07-13 20:20:48 +00:00
doursse 52fbecb588 * src/lib/Evil.h:
declare pid_t, ssize_t and mode_t for vc++ before flock
structure (vc++)
* src/lib/dlfcn/dlfcn.h:
include limits.h for vc++
* src/lib/evil.c: (symlink), (readlink):
use UNICODE instead of checking the OS. Use PATH_MAX instead
of MB_CUR_MAX when needed


SVN revision: 35098
2008-07-13 17:34:53 +00:00
Davide Andreoli 04249c53e6 * withspaces and similar
SVN revision: 35097
2008-07-13 14:29:18 +00:00
Davide Andreoli 092f491d09 * remove spectra_id functions in favor of standard 'get/set-by-name' functions
SVN revision: 35096
2008-07-13 14:18:17 +00:00
Davide Andreoli 464c92eece * fix compiler warnings
SVN revision: 35095
2008-07-13 13:55:43 +00:00
Davide Andreoli a8a954e525 * Added spectra API
* Added gradient API
 * Added fill API
 * Some small doxy fix


SVN revision: 35075
2008-07-12 12:48:35 +00:00
Davide Andreoli 0dbaf98253 * Add a link to the edje_edit API
SVN revision: 35074
2008-07-12 12:11:38 +00:00
doursse 0fd75a462a move pipe function declarations to their own file
SVN revision: 35064
2008-07-11 08:21:25 +00:00
doursse 493eb069a3 * remove trailing spaces in evas_pipe.c
* move scale function declarations to their own files


SVN revision: 35063
2008-07-11 06:36:30 +00:00
doursse 739be5c6b7 move evas_convert_main.h to evas_common.h
SVN revision: 35062
2008-07-11 05:50:56 +00:00
doursse 2679ced73b move evas_object_list declaration from evas_common.h to Evas_Data.h
SVN revision: 35061
2008-07-11 05:42:44 +00:00
doursse 312b0dfc6c add header files to the distribution
SVN revision: 35059
2008-07-10 22:58:04 +00:00
doursse fb9313c024 * move convert function declarations to their own header file
* add vim header in the files I modified
 * fix minor warnings

i think i don't break compilation on that commit :)


SVN revision: 35058
2008-07-10 22:53:33 +00:00
Carsten Haitzler 5b74833dfb broke evas! change other evas_common_array calls to be evas_array! :)
SVN revision: 35056
2008-07-10 21:14:44 +00:00
doursse b5011a094e evas_common_array_hash_free --> evas_array_hash_free
SVN revision: 35054
2008-07-10 18:12:45 +00:00
doursse 0760cc6776 evas_common_array_hash_free --> evas_array_hash_free
SVN revision: 35053
2008-07-10 18:08:18 +00:00
doursse 9b35bc26f3 * move evas_mempool from main.c to it's own file in data/ as it's only
used by evas_list
 * add a header files for evas_cache, evas_path and evas_module
 * remove trailing spaces in evas_list.c


SVN revision: 35052
2008-07-10 16:38:54 +00:00
doursse 11a6fd276c fix comment
SVN revision: 35043
2008-07-09 16:56:33 +00:00
doursse 993697fec7 * move _Evas_Object_List and _Evas_Hash structures to Evas_Data.h
* move Evas_Array_Hash and Evas_Object_List declarations to Evas_Data.h
 * move evas_array_hash.c from engines/common/ to data/
 * remove Evas_Array_Double_Hash declaration (not used)


SVN revision: 35042
2008-07-09 16:50:33 +00:00
Carsten Haitzler 8517245233 and fix mwm hint
SVN revision: 35041
2008-07-09 15:28:10 +00:00
Carsten Haitzler 237956fa62 moe all atom fetching to 1 round trip instead of 200 of them... and mrge into
1 bit of code to do it.


SVN revision: 35039
2008-07-09 15:18:55 +00:00
Sebastian Dransfeld 361ddf6397 Seems that I forgot to upload the header changes when changing
ftp upload.


SVN revision: 35027
2008-07-08 04:08:52 +00:00
Carsten Haitzler 3242217c16 cedric rect + arrays patch for reducing allocs
SVN revision: 35024
2008-07-07 21:29:29 +00:00
doursse 72803ae3e7 update software xcb engine to use the latest cache system
SVN revision: 35019
2008-07-07 19:22:20 +00:00
Sebastian Dransfeld 2daf954148 Fix single quouting, patch from ���������� ����������
SVN revision: 35013
2008-07-06 14:06:31 +00:00
Sebastian Dransfeld 84553cfb4a formatting
SVN revision: 35012
2008-07-06 10:05:47 +00:00
Sebastian Dransfeld ec19c6f700 formatting
SVN revision: 35011
2008-07-06 09:52:21 +00:00
Sebastian Dransfeld 10bac60aa1 remove trailing whitespace
SVN revision: 35010
2008-07-06 09:39:08 +00:00
Sebastian Dransfeld a5b61e7746 Add vim header
SVN revision: 35009
2008-07-06 09:32:08 +00:00
Sebastian Dransfeld ac83d5a90b formatting
SVN revision: 35008
2008-07-06 09:31:29 +00:00
Nicolas Aguirre 0d3907acf3 Corrects retrieving metadata for gstreamer module
http://bugs.enlightenment.org/show_bug.cgi?id=504


SVN revision: 35001
2008-07-04 17:56:24 +00:00
doursse 287f9c9edf * src/lib/Evil.h:
uid_t and gid_t exist on cegcc


SVN revision: 34998
2008-07-03 09:08:59 +00:00
Davide Andreoli c2f8f05b7b fix typo in doxy
SVN revision: 34996
2008-07-02 20:13:31 +00:00
Cedric BAIL f9f12aec91 Fix INLINED_STRING allocation, this was causing the bug with edje_decc.
SVN revision: 34980
2008-07-02 12:10:12 +00:00
doursse 2bda662d65 add Evas_Data.h to the headers to be installed
SVN revision: 34975
2008-07-02 04:46:20 +00:00
doursse a9e090a81b * move Evas_Hash_El from evas_common.h to evas_hash.c as
it is not used outside evas_hash.c
 * move data types api from Evas.h to Evas_Data.h


SVN revision: 34974
2008-07-02 04:44:38 +00:00
Carsten Haitzler 6f480338d4 cover up segv where somehow the alpha flag is set in the 16bit engine but the
alpha pixel pointer is NULL. couldn't see where that happens, but it's now
protected against it.


SVN revision: 34968
2008-07-02 00:57:26 +00:00
Carsten Haitzler fa688b14b1 actually make activate work! oops. wrong event mask
SVN revision: 34962
2008-07-01 07:12:27 +00:00
Carsten Haitzler 542e51691b ecore_evas activate call.. uses netwm one... eek. need to add xcb.
SVN revision: 34949
2008-06-30 08:39:36 +00:00
Carsten Haitzler 2423c1e22c disable clearing of startup_id
SVN revision: 34947
2008-06-30 01:16:38 +00:00
doursse 0b2c6cdd5c add a method that returns the HWND window of an Ecore_Win32_Window
SVN revision: 34946
2008-06-29 14:12:16 +00:00
doursse 448faf03a5 speed up glew engine compilation
SVN revision: 34945
2008-06-29 14:09:26 +00:00
doursse 6aba69be2f * configure.ac:
* src/lib/Evil.h:
* src/lib/Makefile.am:
* src/lib/evil.c:
* src/lib/pwd/Makefile.am:
* src/lib/pwd/pwd.h:
add langinfo and getpwuid support
* src/lib/mman/sys/mman.h:
* src/lib/dlfcn/dlfcn.h:
fix comment


SVN revision: 34942
2008-06-29 12:09:48 +00:00
Gustavo Sverzut Barbieri d6b97fd852 Destroy pthread_attr when we do not need it anymore.
pthread manual says it is safe to destroy them after they are used
with pthread_create: "If the attributes specified by attr are modified
later, the thread���s attributes shall not be affected."


SVN revision: 34937
2008-06-28 15:29:57 +00:00
Gustavo Sverzut Barbieri 0c351c3edd Fix deletion of ecore_evas_directfb and ecore_directfb_window.
SVN revision: 34936
2008-06-28 14:12:20 +00:00
Peter Wehrfritz 254d60b8a4 add documentation stubs for the textblock
SVN revision: 34935
2008-06-28 10:55:58 +00:00
doursse 074765d3aa open files in binary mode, to fix problems on Windows. Fix a constness
SVN revision: 34931
2008-06-28 09:11:48 +00:00
Eric Schuele d7a634d3da Fix the real warning this time. (undo my previous change as well)
SVN revision: 34929
2008-06-28 03:51:20 +00:00
Gustavo Sverzut Barbieri ed239be74a Check if file was really open before continue.
If we tried to create the new rw file, we must check if it was created
fine before continue, lots of errors are possible there, but mine was
creating the file inside an nonexistent directory.


SVN revision: 34928
2008-06-27 22:05:49 +00:00
Eric Schuele 387d29e262 - libgen.h is required on FreeBSD for basename(), and will provide
POSIX basename() for those of you using glibc.
 - Silence some compiler warnings.


SVN revision: 34926
2008-06-27 16:00:55 +00:00
Cedric BAIL d16456e061 Fix the bug with EET_T_UNKNOW/EET_G_UNKNOWN that did break the CVS.
Add a test to detect this bug and caught another one, not yet solved
with dump/undump of EET_T_UNKNOW/EET_G_UNKNOWN.


SVN revision: 34925
2008-06-27 15:26:53 +00:00
Gustavo Sverzut Barbieri 0db98a4d3f We need to force signed chars when we need the signal.
The type "char" is not defined to have a sign or not, for performance
issue some platforms (ie: ARM) define it as unsigned. If we need to
rely on the sign, must say so.


SVN revision: 34924
2008-06-27 03:14:57 +00:00
Cedric BAIL 86e4286496 This patch is a starting point for cleaning up eet_data.c.
It also add EET_G_VAR_ARRAY and EET_G_ARRAY thanks to
turran's (jorgeluis.zapata@gmail.com) last year patch.
Of course we have test code for it and eet_data.c code
is covered around 90.1%. We need to test with garbage
data for increasing it more.

WARNING: API of eet_data_descriptor_element_add is not
clean and we will need to break it, if we want a clean
API. So this is the plan for version 2.0.0.


SVN revision: 34919
2008-06-26 15:47:25 +00:00
doursse 2b1156ef72 useless, now
SVN revision: 34917
2008-06-26 10:23:29 +00:00
doursse 3d175f57e9 add glew engine support in ecore_evas. fix Windows backend compilation
SVN revision: 34916
2008-06-26 09:56:08 +00:00
doursse 2ab4d7ad99 remove completely backends in ecore_win32
SVN revision: 34915
2008-06-26 09:54:35 +00:00
doursse ceaf9fe151 fix Windows backend detection
SVN revision: 34914
2008-06-26 09:53:25 +00:00
doursse cf5d5718e2 put initialisation of glew in the engine, update the engine so that it uses the cache system
SVN revision: 34912
2008-06-26 08:29:25 +00:00
doursse 6b048a4eb5 reorganize header files and fix minor warnings
SVN revision: 34910
2008-06-26 05:11:16 +00:00
doursse a2c9599b9f fix the initialisation of the evas engine informations for directdraw and direct3d
SVN revision: 34909
2008-06-26 04:34:06 +00:00
doursse 50d48a1859 Associate an Ecore_Win32_Window to its HWND window, hence drop of the window list management. That should fix a bug when 2 windows are used in the same program. Add ecore_win32_screen_depth_get() to know the depth of the screen. Remove the management of the backend for direct3d and directdraw as they are done by the engines, now. More (ddraw 16 bits and gl) will follow later
SVN revision: 34908
2008-06-26 04:30:29 +00:00
doursse 3d95a7bf7e do not use dladdr on MinGW platform
SVN revision: 34905
2008-06-25 06:47:11 +00:00
doursse 23488e9a60 put directdraw initialisation in the engine. use the evas cache
SVN revision: 34903
2008-06-25 06:40:10 +00:00
Davide Andreoli 288b801e42 as per irc add the function:
EAPI int ecore_file_dir_is_empty(const char*dir)
Should we need to upgrade the ecore version? so apps that need this function can check for the right version?
Thanks
Dave


SVN revision: 34889
2008-06-22 15:10:00 +00:00
Eric Schuele c543df064c On occasion we see ee->prop.title == NULL. This will safeguard.
SVN revision: 34881
2008-06-21 02:44:38 +00:00
Sebastian Dransfeld 3d551cfeb8 Add ftp upload function (from Massimiliano Calamelli).
SVN revision: 34878
2008-06-20 07:48:33 +00:00
codewarrior 8e2e1a40a3 Set title again after we destroy the X window when setting alpha on and off.
SVN revision: 34876
2008-06-19 21:03:17 +00:00
Sebastian Dransfeld 2a28ea17b4 Remove unused variables.
SVN revision: 34868
2008-06-19 12:49:11 +00:00
Sebastian Dransfeld 4a54010498 Remove unused variable.
SVN revision: 34867
2008-06-19 12:47:04 +00:00
Sebastian Dransfeld 95693f1a1c Add return values.
SVN revision: 34866
2008-06-19 12:46:04 +00:00
Sebastian Dransfeld b55c00e17f Fix compiler warnings.
SVN revision: 34865
2008-06-19 12:39:58 +00:00
Sebastian Dransfeld af829abf19 ignore++
SVN revision: 34864
2008-06-19 12:30:57 +00:00
Sebastian Dransfeld f05fe5a8da ignore
SVN revision: 34863
2008-06-19 12:29:22 +00:00
Carsten Haitzler d8288d5531 bad *alloc! bad sizeof usage. bad! :)
SVN revision: 34856
2008-06-19 04:09:33 +00:00
Carsten Haitzler c346a633c7 fix grab key to limit window event reporting properly.
SVN revision: 34851
2008-06-18 11:36:21 +00:00
Cedric BAIL c5ecd8819e Remove unused file.
SVN revision: 34844
2008-06-17 13:31:13 +00:00
Cedric BAIL 2ebe01d957 Correct the removal of an object.
SVN revision: 34842
2008-06-17 11:24:48 +00:00
Cedric BAIL 3796312acf Cleanly handle evas_object_release.
SVN revision: 34841
2008-06-17 09:04:12 +00:00
Sebastian Dransfeld 9fa6620817 Don't complain when we don't include netdb.h
SVN revision: 34825
2008-06-14 10:18:00 +00:00
Davide Andreoli d0d0eee429 Initial work for writing edc source code
SVN revision: 34820
2008-06-14 01:13:16 +00:00
Sebastian Dransfeld 6da1cd605d No need to get target twice.
SVN revision: 34818
2008-06-13 21:42:13 +00:00
Carsten Haitzler d4e8f592bb fix arrya state engin issue... redraws vanishing. fixed!
SVN revision: 34808
2008-06-12 13:22:26 +00:00
doursse 8bd0e92e81 * src/lib/Evil.h:
add defines for vc++. Thanks to Dmitriy Mazovka


SVN revision: 34801
2008-06-11 21:34:09 +00:00
doursse f372541271 minor header inclusion fixes for vc++
SVN revision: 34800
2008-06-11 20:36:35 +00:00
doursse 29dddeec44 print debug after initialization. Thanks to Dmitriy Mazovka
SVN revision: 34797
2008-06-10 22:12:12 +00:00
Cedric BAIL 4c9f900c60 Check the correct colorspace.
SVN revision: 34796
2008-06-10 14:21:06 +00:00
Cedric BAIL 0de14ee3ef Use display list for OpenGL polygons implementation. This improve speed on
my computer in expedite test bench from 400 to 650.


SVN revision: 34795
2008-06-10 12:18:54 +00:00
Carsten Haitzler e2aa481463 sorry mate - we dont have the debian stuff in there because debian packagers
themselves have asked for us not to ship any debian stuff in the dist tarballs.


SVN revision: 34793
2008-06-10 10:10:19 +00:00
Cedric BAIL 7711f12d8e Use directly Image_Entry when possible.
SVN revision: 34792
2008-06-10 09:22:27 +00:00
Cedric BAIL 346b2c922d Fix width correctly depending on colorspace.
SVN revision: 34791
2008-06-10 09:20:41 +00:00
Horms 9707532fe0 Add automake1.7 | automaken, libtool, pkg-config as debian build dependancies
Currently debian/rules requires these dependancies to else
the following errors occur:

When automake is missing:

./autogen.sh
[...]
Running aclocal...
./autogen.sh: line 8: aclocal: command not found
make: *** [clean] Error 1

./autogen.sh
[...]
configure.in:20: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:23: error: possibly undefined macro: AC_PROG_LIBTOOL
make: *** [clean] Error 1

When pkg-config is missing:

./autogen.sh
[...]
configure: creating libtool
./configure: line 14491: PKG_PROG_PKG_CONFIG: command not found
./configure: line 14499: syntax error near unexpected token `EVIL,'
./configure: line 14499: `		PKG_CHECK_MODULES(EVIL, evil)'
make: *** [clean] Error 2


SVN revision: 34790
2008-06-10 08:30:54 +00:00
Horms 5036b5f801 Add m4/doxygen.m4 and debian/* to distribution
These files are needed by configure and debian packaging respectively


SVN revision: 34789
2008-06-10 07:59:37 +00:00
Horms 2c8e1d84f4 Have configure create debian/changelog
Not doing so seems to be an omission.


SVN revision: 34788
2008-06-10 07:58:01 +00:00
doursse ef5ef75eab * configure.ac:
* src/lib/dlfcn/dlfcn.h:
* src/lib/mman/sys/mman.h:
define EFL_EVIL_MMAN_BUILD and EFL_EVIL_DLFCN_BUILD so
that functions in Evil.h are not declared as import
* src/lib/evil.c: (setenv), (unsetenv), (realpath),
(evil_sockets_init), (evil_sockets_shutdown), (evil_pipe),
(evil_tmpdir_get), (evil_homedir_get):
rename pipe() to evil_pipe().
set tmpdir to "Temp" and homedir to "My Documents" on WinCE
* src/lib/Evil.h:
define pipe() as evil_pipe(). This allow to use our pipe()
implementation to be usedwith cegcc, as it is broken on that
platform.
move the defines at the end of the file


SVN revision: 34787
2008-06-10 07:16:53 +00:00
doursse 98a11ae8cf * src/lib/Evil.h:
add strdup define
* src/lib/evil.c: (evil_tmpdir_get), (evil_homedir_get):
include stdlib.h to define MB_CUR_MAX
On Windows CE, tmpdir and homedir are defined as "\windows"
* src/lib/mman/mman.c: (mmap), (munmap):
compile the big fat hack of mmap only on Windows CE


SVN revision: 34784
2008-06-09 18:35:49 +00:00
doursse d2c2490440 add guards around config.h
SVN revision: 34783
2008-06-09 18:16:24 +00:00
Carsten Haitzler 911cf92c04 printf--
SVN revision: 34780
2008-06-09 12:17:59 +00:00
Carsten Haitzler 28bb3a6a08 ok - see comments with idle-enter.
SVN revision: 34779
2008-06-09 12:15:34 +00:00
Cedric BAIL 47bf4e1999 cvsignore++
SVN revision: 34778
2008-06-09 08:59:09 +00:00
Gustavo Sverzut Barbieri 83b37319b9 Initialize ef->writes_pending.
Valgrind just noticed that "writes_pending" was not being initialized,
probably because some old code used calloc() (based on the comment
at the allocation step).


SVN revision: 34777
2008-06-09 03:19:25 +00:00
Carsten Haitzler f153d22daf leak--
SVN revision: 34776
2008-06-09 03:07:35 +00:00
doursse 0fbdc23c40 * src/lib/Evil.h:
* src/lib/evil.c: (evil_last_error_get):
add evil_last_error_get() function to get
useful error string creation.
* src/lib/dlfcn/dlfcn.c: (get_last_error), (dlopen), (dlsym),
(dladdr):
use UNICODE check instead of compiler checks when needed.
use evil_last_error_get()
* src/lib/mman/mman.c: (mmap), (munmap):
file mapping does not work on Windows CE < 5.0.
if it is the case, just read the file and return
the data.
use evil_last_error_get()
* src/lib/mman/Makefile.am:
* src/lib/Makefile.am:
add libevil dependancy


SVN revision: 34775
2008-06-08 21:39:49 +00:00
Peter Wehrfritz c51a00a7d3 add constness; formatting
SVN revision: 34772
2008-06-08 12:38:56 +00:00
doursse c5623c01b3 reorganize header files inclusion. Fix some problems when compiling on Windows
SVN revision: 34768
2008-06-07 10:06:14 +00:00
doursse e02cf13308 ecore-evas is needed only for the binaries
SVN revision: 34764
2008-06-07 08:03:52 +00:00
doursse 2830a8186a * src/lib/Evil.h:
include windows.h instead of windef.h
undefine PATH_MATH before defining it
* src/lib/dlfcn/dlfcn.c:
remove useless header file


SVN revision: 34763
2008-06-07 06:38:54 +00:00
doursse 0cdcab6a5c forget to remove 2 calls
SVN revision: 34762
2008-06-06 18:52:19 +00:00
doursse 82fee3d58c evilize edje. Link against ecore_file only when needed. PATH_MAX and not MAX_PATH. Minor other fixes.
SVN revision: 34761
2008-06-06 18:31:49 +00:00
doursse 7dc315e9dc * src/lib/Evil.h:
add PATH_MAX macro
* src/lib/dlfcn/dlfcn.c: (get_last_error):
free correctly strings


SVN revision: 34760
2008-06-06 17:44:59 +00:00
doursse 6456e1f6b7 add ecore_evas for wince
SVN revision: 34759
2008-06-06 13:57:03 +00:00
doursse fb34ce418d add debug messages, formatting, fix initialisation of mouse_in and mouse_out events
SVN revision: 34758
2008-06-06 12:20:47 +00:00
doursse 4e78b97de8 Fix engine wrt the latest changes in evas. Add error messages
SVN revision: 34757
2008-06-06 12:14:01 +00:00
Cedric BAIL 6a1b1c5ef9 Forgot to update the current allocated space.
SVN revision: 34744
2008-06-05 08:12:25 +00:00
doursse 66bc74847c * add method to set backend
* formatting


SVN revision: 34742
2008-06-05 07:37:10 +00:00
doursse 30fc2a9064 * add _size_get() and _geometry_get() methods
* fix use of resume() and suspend() functions when dealing with GAPI


SVN revision: 34741
2008-06-05 07:23:41 +00:00
doursse 5b73f44fd1 * add a function that returns the Windows window of an Ecore_WinCE_Window.
Needed for a use of ecore_wince without ecore_evas

 * That stupid OS does not send a specific message when you show a window.
   Force the SHOWWINDOW message when showing / hiding. It works with
   CEgcc, but I don't know if it will work with vc++ for WinCE


SVN revision: 34740
2008-06-05 05:27:29 +00:00
Cedric BAIL e95f38aed8 Remove now useless code to force evas_render cache invalidation.
SVN revision: 34738
2008-06-04 16:44:05 +00:00
Cedric BAIL eaedf88d4d Fix osbcuring case with evas_render cache.
SVN revision: 34737
2008-06-04 16:42:39 +00:00
Cedric BAIL 1a1f807026 Their should be no direct modification of Evas_Object changed flag.
SVN revision: 34736
2008-06-04 16:41:16 +00:00
Cedric BAIL 55bc10d2a0 Add evas_array_remove.
SVN revision: 34735
2008-06-04 16:39:43 +00:00
Cedric BAIL 2b8c136ad9 Fix a little bug with alpha flags not being correctly set.
SVN revision: 34734
2008-06-04 08:20:39 +00:00
Gustavo Sverzut Barbieri b802f4c94a Add evas_object_event_callback_del_full()
This will check both function and data before removing the callback,
this is useful when you have lots of children monitoring parent, when
one child want to remove its monitoring function, others will remain.

Name is quite difficult to choose, I opted for "_full", but could be
"_with_data" or similar.


SVN revision: 34731
2008-06-03 20:33:40 +00:00
doursse 6267ff56b3 add stylus support
SVN revision: 34730
2008-06-03 17:09:44 +00:00
Cedric BAIL 9feac9ef8b Fix common 16bpp engine use of alpha.
SVN revision: 34729
2008-06-03 14:45:39 +00:00
Cedric BAIL d102e3db82 * Make RGBA_IMAGE_HAS_ALPHA and RGBA_IMAGE_ALPHA_SPARSE part of
Image_Entry flag structure. This fix a bug with 16 bpp software engine.

        * Change image loader module API to take any Image_Entry. Same goes
        for evas_common_image_premul and evas_common_image_set_alpha_sparse.

        * Use new eet API: eet_data_image_read_to_surface.


SVN revision: 34728
2008-06-03 09:09:39 +00:00
doursse 6ec89fc019 [wince] fix stupid behavior of SetWindowLong during the creation of the the window
SVN revision: 34727
2008-06-03 05:13:17 +00:00
Cedric BAIL 40d8302800 Update ChangeLog.
SVN revision: 34726
2008-06-02 16:02:41 +00:00
Cedric BAIL 2b37d10029 Add eet_data_image_read_to_surface and eet_data_image_decode_to_surface.
This functions provide a way to support tiles with eet. They also give the
possibility to directly decompress eet image inside an engine surface.


SVN revision: 34725
2008-06-02 16:01:18 +00:00
doursse 03109fff6c add cvsignore
SVN revision: 34724
2008-06-02 06:40:26 +00:00
doursse c1ea673e9a * src/lib/Evil.h:
* src/lib/evil.c: (setenv), (unsetenv):
setenv and unsetenv are already defined with cegcc


SVN revision: 34723
2008-06-02 04:53:41 +00:00
doursse 3b513e346e add cvsignore
SVN revision: 34722
2008-06-02 04:42:51 +00:00
doursse d8e6039ece Fix open, add getcwd, lstat, setenv, unsetenv and evil_homedir_get and fix typo in doc
SVN revision: 34718
2008-06-01 17:09:14 +00:00
doursse 4b4c616e37 * src/lib/dlfcn/dlfcn.c:
memory leak with cegcc
* src/lib/dlfcn/dlfcn.h:
include limits.h for MinGW users
* src/lib/mman/sys/mman.h:
add MAP_FAILED error value


SVN revision: 34717
2008-06-01 04:27:08 +00:00
doursse a9da65ca32 oups, no ecore-evas-wince yet
SVN revision: 34716
2008-06-01 03:47:53 +00:00
Carsten Haitzler c510afbd8e end_opt not needed there.
SVN revision: 34715
2008-06-01 00:40:58 +00:00
doursse e190b8a0f0 fix headers order for vc++ compiler. Tanks to Dmitriy Mazovka
SVN revision: 34713
2008-05-31 06:24:46 +00:00
doursse 653692fa28 fix autotools stuff for Windows
SVN revision: 34712
2008-05-31 06:15:41 +00:00
doursse 72599d0faa fix variable names
SVN revision: 34711
2008-05-31 05:35:07 +00:00
doursse 53f0ada816 minor fixes and cormatting
SVN revision: 34710
2008-05-31 05:06:38 +00:00
doursse d787b6dec9 add Ecore Windows CE module
SVN revision: 34709
2008-05-31 05:05:01 +00:00
doursse 89ae5535c4 edd Ecore Windows CE module
SVN revision: 34708
2008-05-31 04:59:18 +00:00
Carsten Haitzler 7752c8a3e5 and fix the gradient bug - yes. it is a GRADIENT BUG. you emms() when u are
totally done and may hand control back to a non rendering codepath - or
before u do any fp ops u are unsure of the cpu state beforehand. see the big
fat comment.

i was right. it was a missing emms.


SVN revision: 34707
2008-05-31 04:16:39 +00:00
Viktor Kojouharov d410dcd75b ecore_x:
* in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window
  * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events

e:
  * make sure e_manager_current_get returns the correct manager for the current screen
  * fix various modules to use the correct window, when dealing with events


SVN revision: 34705
2008-05-30 22:30:57 +00:00
doursse 2c4d0d72ad remove trailing spaces
SVN revision: 34704
2008-05-30 19:35:14 +00:00
Carsten Haitzler 850cae173c doing some work on a test script object and actually making it work.
SVN revision: 34703
2008-05-30 15:29:39 +00:00
Carsten Haitzler 1c7b215135 printf--
SVN revision: 34702
2008-05-30 14:27:56 +00:00
Cedric BAIL 0c85857e57 Fix a typo.
SVN revision: 34701
2008-05-30 13:55:51 +00:00
Cedric BAIL 0ca6c0a0bb Add a private data member to cache image structure.
SVN revision: 34700
2008-05-30 13:33:40 +00:00
Carsten Haitzler 15cd1238db start some serious work on script_only edje objects - for efficiency sake i'm
having an almost parallel codepath for script_only objects - they dont get to
use the older edje api calls for part defined objects. they will have a new
set of calls specifically for them. it's partly done - very little available
now, but will expand. lots of fixme's.


SVN revision: 34699
2008-05-30 11:20:49 +00:00
Peter Wehrfritz 14042818cc move ecore_plugin_available_get() to ecore_plugin.c
SVN revision: 34697
2008-05-30 10:18:04 +00:00
doursse 0fe68f24fc * move the declaration of variables at the begnning of the blocks
* minor formatting


SVN revision: 34695
2008-05-30 08:00:25 +00:00
doursse 7f47953b78 missing EAPI in front of evas_common_gradient_geometer_get()
other gradient related functions (lines 1138 - 1143) seem to
be used only internally. Maybe we should move them elsewhere.


SVN revision: 34694
2008-05-30 05:56:53 +00:00
doursse 37eed61ee8 put unistd.h after sys/types.h. Seems to be needed for vc++. Thanks to Dmitriy Mazovka
SVN revision: 34691
2008-05-29 05:48:16 +00:00
doursse ff73a369c4 reorganise a bit the output of configure for the engines: display
the buffer one at first (always compiled), then Xlib ones, XCB ones,
Windows ones, followed by others less used (SDL, FB,  Qtopia). I
let the 16 bits ones at the end in the same order (Xlib, Windows, SDL).


SVN revision: 34690
2008-05-29 05:43:12 +00:00
Carsten Haitzler 43821d36e4 * add efreet garbage data check
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now


SVN revision: 34689
2008-05-29 02:00:04 +00:00
Gustavo Sverzut Barbieri b0f295b1dd Match initial changes to DirectFB/evas.
SVN revision: 34688
2008-05-28 19:31:51 +00:00
Gustavo Sverzut Barbieri 41e5ba66b6 Mark as dirty, fixes emotion usage.
SVN revision: 34687
2008-05-28 19:27:41 +00:00
Gustavo Sverzut Barbieri 40a63c7965 Fix typo!
SVN revision: 34686
2008-05-28 18:00:04 +00:00
Cedric BAIL c56d5ba638 Add FTP upload support for Ecore_Con from Massimiliano Calamelli.
SVN revision: 34683
2008-05-28 09:02:39 +00:00
Cedric BAIL f89bed55e3 Disabling support of old eet file format was broken.
SVN revision: 34681
2008-05-27 13:50:40 +00:00
Carsten Haitzler 4e318745a8 and handle if the cl;ock is set backwards!
SVN revision: 34680
2008-05-27 08:03:46 +00:00
Carsten Haitzler e3519ff383 fix tzset call.
SVN revision: 34679
2008-05-27 08:00:17 +00:00
Cedric BAIL eaa23bebce Replace evas_list used by evas_render by a cache of evas_array.
README: This should not break any EFL applications, but please check and report any breakage to me.


SVN revision: 34677
2008-05-26 13:24:24 +00:00
Cedric BAIL c766fe91db Add array type to evas.
SVN revision: 34676
2008-05-26 13:17:12 +00:00
Cedric BAIL 777410eac2 Make the most used functions inline functions.
SVN revision: 34675
2008-05-26 13:08:54 +00:00
Carsten Haitzler 5a59fcdaac remove your socks before doing the hanky panky!
SVN revision: 34674
2008-05-26 08:18:56 +00:00
doursse f04b9cc862 make some ecore modules compile with cegcc
SVN revision: 34673
2008-05-26 07:07:50 +00:00
doursse 479741fef0 remove ecore_pipe declarations and some trailing spaces
SVN revision: 34672
2008-05-26 05:31:20 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
doursse 550d447320 use the c++ api
SVN revision: 34670
2008-05-26 04:10:22 +00:00
doursse 9e83f3f72a remove space
SVN revision: 34669
2008-05-25 18:22:00 +00:00
doursse b9ac050dd2 add DirectDraw backend. Seems faster on pda's that have it
SVN revision: 34668
2008-05-25 17:39:48 +00:00
doursse 5ce3b6752b fix compilation with a c++ compiler, add EAPI in front of all cache function declarations
SVN revision: 34659
2008-05-24 18:26:51 +00:00
doursse 51e193610d remove debug printf
SVN revision: 34652
2008-05-23 18:57:40 +00:00
doursse 0f071fe71d * put key management outside the engine. It's not its place in it
* make Ipaq H38xx and H39xx work with the framebuffer


SVN revision: 34650
2008-05-23 18:26:41 +00:00
doursse a1e64a5e9c fix framebuffer address on Ipaq H38xx and H39xx. GAPI is really really broken on these devices
SVN revision: 34642
2008-05-22 11:00:01 +00:00
doursse 4d7eac659d fix keys on Ipaq H38xx and H39xx
SVN revision: 34641
2008-05-22 10:40:40 +00:00
Cedric BAIL 0e253aaca6 Their is no more allocation with evas_object_list. Remove useless test.
SVN revision: 34633
2008-05-21 12:23:47 +00:00
Gustavo Sverzut Barbieri a4ed92a1a5 Remove bugs with bitfield usage, make boolean usage clear.
This patch fixes the problem with bitfield of signed types (ie: char),
where the bit would be used for the signal, so 1 is considered -0 and
thus 0.

Move all the single bit fields to Evas_Bool, making it clear and also
avoiding these problems since Evas_Bool is unsigned char.


SVN revision: 34631
2008-05-20 20:56:39 +00:00
Cedric BAIL 3537f1033a Forgotten declaration.
SVN revision: 34628
2008-05-20 12:37:51 +00:00
doursse 9afa392297 * src/lib/dlfcn/dlfcn.h:
dli_fname ncorrectly declared. Thanks to Dmitriy Mazovka.


SVN revision: 34626
2008-05-20 06:26:59 +00:00
Cedric BAIL 575a80cdc8 Oops double commit.
SVN revision: 34621
2008-05-19 16:47:37 +00:00
Cedric BAIL 84435200a8 Update ChangeLog.
SVN revision: 34620
2008-05-19 16:28:30 +00:00
Cedric BAIL e3a9048600 Remove some unused variable.
SVN revision: 34619
2008-05-19 16:01:50 +00:00
Cedric BAIL 4b23e38e3e Remove use of sprintf by propagating the buffer size information.
SVN revision: 34618
2008-05-19 15:27:04 +00:00
Cedric BAIL 09e1b5d7da Remove all use of strcpy as we already know the length.
SVN revision: 34617
2008-05-19 15:25:46 +00:00
Cedric BAIL 6226ef6b93 Old eet file format are now marked as deprecated. The plan is to let the
support enable by default for some time, then make desactivate it and finaly
we will remove it completely at some point.


SVN revision: 34616
2008-05-19 15:23:41 +00:00
Carsten Haitzler 0d624dcb94 lars get button mask call for edje embryo added
SVN revision: 34611
2008-05-19 04:38:40 +00:00
Carsten Haitzler 188e5b5bf0 use the cancel on a mouse out with grab
SVN revision: 34608
2008-05-19 04:15:34 +00:00
Carsten Haitzler 906040dab0 add a cancel to all mouse butotn presses
SVN revision: 34607
2008-05-19 04:15:22 +00:00
Carsten Haitzler cd0fd38a9c add file
SVN revision: 34606
2008-05-19 03:37:37 +00:00
Carsten Haitzler 0d42705593 adapt to newer valgrind goop
SVN revision: 34605
2008-05-19 03:29:54 +00:00
Carsten Haitzler 5887bde860 colorspace stuff in cvs.
SVN revision: 34604
2008-05-19 03:13:16 +00:00
Carsten Haitzler e92406d330 patch from rafael to hook in funcs to embryo
SVN revision: 34603
2008-05-19 02:50:38 +00:00
Carsten Haitzler 6982d7fb37 pass make distcheck and a snapshot asparagus release - been a while
SVN revision: 34600
2008-05-19 00:07:12 +00:00
doursse 37607b5e8e config.h is already included in evas_common.h
SVN revision: 34599
2008-05-18 22:28:10 +00:00
Carsten Haitzler 42d1df4a86 obey the env var for dev warnings too
SVN revision: 34593
2008-05-17 03:19:38 +00:00
doursse 3d7ca0e112 minor fix of the doc about tests and coverage
SVN revision: 34592
2008-05-16 15:32:32 +00:00
Cedric BAIL 0f5070cf40 Introducing unit test in EFL using cvs check library for the test
suite (http://check.sourceforge.net/) and lcov from cvs also for the
coverage accounting (http://ltp.sourceforge.net/coverage/lcov.php).
   This first set provide an overall coverage rate for src/lib 2111
of 2607 lines (81.0%) for eet. And it helped in finding and fixing
the bugs of the last three days.


SVN revision: 34591
2008-05-16 15:07:03 +00:00
Cedric BAIL d7cf02c1b5 Add some test around efn->offset and set it properly in all case.
SVN revision: 34590
2008-05-16 14:03:11 +00:00
Cedric BAIL ecda494197 Fix EET_FILE_MODE_READ_WRITE when file doesn't exist.
SVN revision: 34588
2008-05-16 10:00:54 +00:00
Cedric BAIL 0755b54e76 The purpose of descriptor3 was to introduce a way to malloc/free less string. So do it.
SVN revision: 34587
2008-05-16 09:59:16 +00:00
doursse fb826a2200 remove trailing spaces
SVN revision: 34586
2008-05-16 04:55:31 +00:00
doursse 451451d3e9 remove debug message
SVN revision: 34582
2008-05-15 17:46:13 +00:00
doursse caea856117 * reorganize the way the gstreamer pipeline is built. Fix some usages
of emotion_object_file_set()
 * move the "frame_decode" evas event to _emotion_frame_new() a,d
   replace it in _emotion_video_pos_update() by "position_update"
 * fix a mem leak in the gstreamer backend and in the smart object


SVN revision: 34581
2008-05-15 16:52:04 +00:00
Cedric BAIL e5d9afb26f Remove the wrong and dead code for basic type inside list/hash and put assert instead.
SVN revision: 34580
2008-05-15 14:16:46 +00:00
Cedric BAIL f99bb3f047 Fix a bug with list or hash of basic type. They are now silently converted
to an implicit structure with the basic type inside.


SVN revision: 34579
2008-05-15 14:14:35 +00:00
Cedric BAIL 8040f27451 Fix a typo preventing the parsing of unsigned int.
SVN revision: 34578
2008-05-15 14:03:09 +00:00
doursse ac834a2726 Don't set sd->video to NULL. sd->video is initialized only when
emotion_object_init() is called. Hence, setting sd->video to NULL
there implied that the code:

emotion_object_init(o, module);
emotion_object_file_set(o, file1);
emotion_object_file_set(o, NULL);
emotion_object_file_set(o, file2);

seg fault.

(such code is useful when you want to reset the same stream
(file1 = file2). The other solution would be to destroy everything
and recreating the pipeline, which is not nice)


SVN revision: 34571
2008-05-14 21:39:33 +00:00
Cedric BAIL 86ffe2e502 Fix inlined string dump/undump.
SVN revision: 34570
2008-05-14 20:54:15 +00:00
Cedric BAIL 4cf13d10eb Converting back an hash from a dumped text was broken.
SVN revision: 34569
2008-05-14 20:53:07 +00:00
Cedric BAIL b85c0672c4 Update the stride when needed.
SVN revision: 34566
2008-05-14 16:38:36 +00:00
Peter Wehrfritz bb1f257f5f build again
SVN revision: 34565
2008-05-14 11:26:29 +00:00
Carsten Haitzler 2c60edf612 fix %% in snprintf
SVN revision: 34564
2008-05-14 06:10:58 +00:00
doursse db311f0b05 wrong inclusion of Evas.h
SVN revision: 34561
2008-05-13 20:58:15 +00:00
doursse e65023bf1d Contrary to what gstremear's doc says, gst_deinit() does not clean what
gst_init() allocates. Hence, 2 calls of the couple gst_init() / gst_deinit()
fail miserabily. Gstreamer's dev says that the exported function gst_deinit()
should not be called, so let's remove it...


SVN revision: 34560
2008-05-13 20:50:34 +00:00
Gustavo Sverzut Barbieri 782e77d9ae Remove DirectFB, will add a new one based on SDL code.
Remove DirectFB, will create a new one based on SDL.


SVN revision: 34559
2008-05-13 19:32:00 +00:00
Carsten Haitzler ad70ab93f4 handle tz updates with localtime - limit calls to more than 1 second apart.
SVN revision: 34553
2008-05-13 05:14:19 +00:00
doursse c014ed5267 put xine and gstreamer modules in their own subdir
SVN revision: 34539
2008-05-11 18:52:29 +00:00
doursse d72b07f4aa add wrapper around GetCurrentProcessId()
SVN revision: 34536
2008-05-11 09:32:52 +00:00
doursse 638afceae2 * src/lib/dlfcn/dlfcn.c: (dladdr):
replace all the '\' by '/' in the filename found by dladdr


SVN revision: 34518
2008-05-09 23:16:42 +00:00
doursse d7e2cb5163 Ipaq H38** and H39** are considered as landscape device because of their uglyness
SVN revision: 34517
2008-05-09 23:12:00 +00:00
Christopher Michael 355b22f3a7 Add missing prototype for _evas_cache_image_entry_delete because it was
being used before the function was defined.


SVN revision: 34516
2008-05-09 19:04:49 +00:00
Cedric BAIL d31b0db3ca Fix a bug when a file change when it's still in use. Thanks to Adriano Rezende for helping tracking the bug.
SVN revision: 34513
2008-05-09 16:18:18 +00:00
Dan Sinclair cecac6f9d6 - add comments
- fix formatting


SVN revision: 34512
2008-05-08 14:22:21 +00:00
kaethorn b1125496a2 Fix Debian package.
SVN revision: 34510
2008-05-08 10:23:57 +00:00
Carsten Haitzler 6c439dbd46 stringshare buckets -> 1024 + debugging for testing.
SVN revision: 34509
2008-05-08 08:34:55 +00:00
Carsten Haitzler 69a1a1a2e0 slackdood seems to report creating new apps is broken. this may be it.
SVN revision: 34508
2008-05-08 07:11:48 +00:00
doursse 340d0ed554 remove a possible seg fault when DestroyWindow() is called
SVN revision: 34507
2008-05-08 06:46:26 +00:00
ningerso da305e5201 Rename another ecore_hash function.
SVN revision: 34506
2008-05-08 04:04:58 +00:00
ningerso db5c62df5d Rename functions to newer naming standard.
SVN revision: 34505
2008-05-08 04:01:01 +00:00
Carsten Haitzler 4743905c0b big endian fix from the big easy! :)
SVN revision: 34500
2008-05-07 14:02:21 +00:00
Cedric BAIL b08651afd0 Reduce number of call to malloc (by putting the string at the end of the Ecore_String struct).
SVN revision: 34498
2008-05-07 13:11:34 +00:00
Dan Sinclair 3322ce3b12 - deal with blank lines outside the invalid file checks
- this fixes the warning about a missing = sign
- you can have a blank value set on a key
  - this fixes the warnings about invalid key=value pairs
- formatting changes


SVN revision: 34496
2008-05-07 04:14:45 +00:00
Dan Sinclair 3624e4e923 - if we can't parse the INI file we can't set ini->data so return NULL
instead of an invalid ini file


SVN revision: 34493
2008-05-07 03:04:58 +00:00
Dan Sinclair bc35dd6189 - fix the package paths used in the test files. this makes 19/19 tests pass.
SVN revision: 34492
2008-05-07 03:04:12 +00:00
Dan Sinclair 4cbf818700 - efreet_icon_theme_list_get doesn't return themes without a name, fix test
case


SVN revision: 34491
2008-05-07 02:48:06 +00:00
Dan Sinclair 74b5878da7 - fix warnings
SVN revision: 34490
2008-05-07 02:16:50 +00:00
Dan Sinclair e646720b97 - add ignore
SVN revision: 34489
2008-05-07 02:03:11 +00:00
Cedric BAIL 14a01955ef Switch efreet_ini_parse to use mmap instead of fopen. Small speed improvements and little code cleanup.
FIXME: If people wonder we are loosing 50% of efreet time inside ecore_hash_* and ecore_string_*.


SVN revision: 34482
2008-05-06 15:56:40 +00:00
Cedric BAIL 5f41def624 Only call the allocation surface when required and correctly handle no_free.
SVN revision: 34480
2008-05-06 11:20:29 +00:00
Cedric BAIL abf7191322 Add some message when testing configure parameter.
SVN revision: 34478
2008-05-06 09:33:06 +00:00
Carsten Haitzler 465030f25b check argc count before argv ptr.
SVN revision: 34476
2008-05-06 09:18:56 +00:00
kaethorn 39689b953b fix Debian packaging.
SVN revision: 34475
2008-05-06 08:37:29 +00:00
kaethorn 91e34485b3 fix Debian packaging.
SVN revision: 34474
2008-05-06 07:25:15 +00:00
kaethorn a7d00c7674 Debian package dependency from libeet0 -> libeet1.
SVN revision: 34469
2008-05-06 02:10:50 +00:00
kaethorn 2e07967101 Change Debian package name from libeet0 to libeet1.
SVN revision: 34468
2008-05-06 02:08:18 +00:00
kaethorn 3811012c07 Forgot to add Debian efreet patch.
SVN revision: 34465
2008-05-05 23:01:13 +00:00
Carsten Haitzler 866666fe33 lutin patch to make pthread strictable
SVN revision: 34462
2008-05-05 09:21:15 +00:00
Carsten Haitzler 9e6e6a86e2 efreet segv maker removed. bad unescaping causing segvs! fixxored.
SVN revision: 34445
2008-05-03 09:25:43 +00:00
Carsten Haitzler 0688234e2f notes - cedric... i think i may have found a problem here...
SVN revision: 34443
2008-05-03 08:31:26 +00:00
Carsten Haitzler 21bfa5b0d6 gak! al the siginfo handlign was wrong. u'd get bogus siginfo data from
whatever child exited last - not the one u wanted, not to mention all other
signals. now there's a queue at least. 256 long. moight be a bit too long.


SVN revision: 34442
2008-05-03 08:15:16 +00:00
Carsten Haitzler 42facfffe6 1. dont free/realoc if no_free is set.
2. free then malloc otherwise realloc might ALSO have to memcpy if it cant
resize the segment whihc means overhead we dont need/want.


SVN revision: 34441
2008-05-03 06:38:45 +00:00
Carsten Haitzler 14e2187305 get rid of 0 byte alloc
SVN revision: 34440
2008-05-03 05:33:26 +00:00
Cedric BAIL 6132d451c9 Check the correct stuff.
SVN revision: 34439
2008-05-02 15:33:50 +00:00
Cedric BAIL 6a9ef0e67f Remove an unused static function.
SVN revision: 34438
2008-05-02 15:33:09 +00:00
Cedric BAIL ff71d8b0a8 PKG_CHECK_MODULES already display a message, so no need to add one more.
SVN revision: 34437
2008-05-02 13:21:27 +00:00
kaethorn 6f7cc247f0 update Debian packaging.
SVN revision: 34425
2008-05-01 13:47:48 +00:00
Gustavo Sverzut Barbieri f89e8850c2 Fix users of evas_object_layer_set() outside the "short" range.
This also introduces EVAS_LAYER_MIN and EVAS_LAYER_MAX for ease of use.


SVN revision: 34421
2008-05-01 06:39:27 +00:00
Gustavo Sverzut Barbieri 27437c83cf Make layer number a short and Save 8 bytes.
By having a layer as a short (16 bits) we can pack it together with
the bitfields, saving 4 bytes per sub-struct, 8 bytes in total, also
bringing the struct down from 4 to 3 cachelines on my laptop.

Rationale: layers are mostly used to differentiate groups of objects
and they stacking, usually we have few layers and we use very large or
very small numbers to make a layer be at the top or at the bottom, but
usually we don't need so many layers.

Caution: code that use values like 999999 will break, so fix your
code! I'll provide another patch to fix all the CVS using these large
values.


SVN revision: 34420
2008-05-01 06:18:21 +00:00
Gustavo Sverzut Barbieri 7a82a3e43d Save 20 bytes moving smart data to its specific object struct.
This saves 20 bytes, bringing Evas_Object to 200 bytes, by moving data
specific to smart objects to their own struct (Evas_Object_Smart).

There is still one remaining member that could be removed:
smart.smart, this is used mainly to identify if one object is a smart
object or not. One possibility would be to add a bitfield to state
that, but another possibility is to check Evas_Object::object_data
and see if it's a smart or not.


SVN revision: 34419
2008-05-01 05:48:03 +00:00
Gustavo Sverzut Barbieri 4bc8043a10 Save 8 bytes from Evas_Object by packing interpolation.color_space.
Interpolation color_space (now ASHV or ARGB) was being used inside a
struct with 4 byte alignment. Remove it from the struct and make it a
bitfield so can be packed with the other fields. This saves 2
integers, so 8 bytes.


SVN revision: 34418
2008-05-01 04:14:08 +00:00
Gustavo Sverzut Barbieri 625e124f05 Reorganize Evas_Object to save 20 bytes.
This is a repack of bitfield members, was tested on GNU/Linux + GCC 4.1.2
and works fine. Needs further testing on other compilers.


SVN revision: 34417
2008-05-01 03:52:20 +00:00
Gustavo Sverzut Barbieri 80f8e23d77 Use more specific types in Evas_Object.
SVN revision: 34416
2008-05-01 03:42:21 +00:00
Gustavo Sverzut Barbieri 14cf29eede Use Evas_Coord_Rectangle in evas_object_image.c
SVN revision: 34415
2008-05-01 00:09:39 +00:00
Gustavo Sverzut Barbieri 29549249c4 Cosmetic: add name to structs: Evas_Coord_Rectangle.
Non-intrusive change to name structs of Evas_Coord x, y, w, h.

TODO: intrusive changes to use this struct, will need to fix ".c"


SVN revision: 34414
2008-04-30 23:58:43 +00:00
Gustavo Sverzut Barbieri dbf35460a6 Cosmetic: Visual alignment of member name.
SVN revision: 34413
2008-04-30 23:44:03 +00:00