Commit Graph

5481 Commits

Author SHA1 Message Date
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
Gustavo Sverzut Barbieri b46fc2a2f4 Save memory related to size hints.
Size hints are useful, but wasting 36 bytes for it on every object is a bit
too much: clippers and lots of other objects will have no need for it.

Now it's a pointer to a struct that will be allocated just when some value
is set, wasting 4/8 bytes more for the pointer when it is used, but saving
32/28 bytes when it is not.

This will also help to have alignment properties in future, that can come
as hints, without too much impact on memory consumption.


SVN revision: 34412
2008-04-30 22:51:08 +00:00
Gustavo Sverzut Barbieri 54c06677b4 Export missing size_hints methods.
SVN revision: 34411
2008-04-30 22:13:50 +00:00
Cedric BAIL 2a123c0d6a Add support for evas asynchronous events.
SVN revision: 34410
2008-04-30 12:21:31 +00:00
Carsten Haitzler 5b10356d45 endif++!
SVN revision: 34407
2008-04-30 07:24:10 +00:00
doursse 39f63d6690 wrong commit
SVN revision: 34404
2008-04-29 22:38:27 +00:00
doursse 5c222ddccf use dladdr on windows, thanks to evil
SVN revision: 34403
2008-04-29 22:33:30 +00:00
kaethorn 2143ae177a Merge with Debian files from PkgE.
SVN revision: 34397
2008-04-28 17:04:15 +00:00
kaethorn e1bc19d6af Merge with Debian files from PkgE.
SVN revision: 34395
2008-04-28 15:37:19 +00:00
kaethorn ace1e213d7 Merge with Debian files from PkgE.
SVN revision: 34393
2008-04-28 15:09:40 +00:00
doursse 89fde28967 * src/lib/Evil.h:
* src/lib/evil.c: (evil_getcwd):
add getgwd-like function
* src/lib/dlfcn/dlfcn.c: (dladdr):
* src/lib/dlfcn/dlfcn.h:
add dladdr-like function. Formatting
Remove unused define
* src/lib/mman/sys/mman.h:
remove unused define


SVN revision: 34392
2008-04-28 14:34:55 +00:00
doursse 5a76370a57 ignore libtool 2.2.* m4 files
SVN revision: 34388
2008-04-28 09:23:43 +00:00
Carsten Haitzler 59e5e0eedc +E
SVN revision: 34387
2008-04-28 04:35:13 +00:00
Carsten Haitzler 0bdbd29c9d readme needed fixing.
SVN revision: 34386
2008-04-28 04:25:50 +00:00
Carsten Haitzler 05ef8cb2d5 news has the release in it now.
SVN revision: 34385
2008-04-28 04:24:34 +00:00
Carsten Haitzler 5fccc31519 fix bug in eet decode of list and hashes of simple types. a bug waiting to
happen for sure.


SVN revision: 34384
2008-04-28 03:04:26 +00:00
doursse 9d4f099a78 oups, ChangeLog not saved...
SVN revision: 34375
2008-04-26 16:29:21 +00:00
doursse 6b726880d0 reviewed by: <delete if not using a buddy>
* src/lib/Evil.h:
* src/lib/Makefile.am:
* src/lib/dlfcn/Makefile.am:
* src/lib/dlfcn/dlfcn.c: (get_last_error), (dlopen), (dlsym):
* src/lib/evil.c: (evil_char_to_wchar), (evil_wchar_to_char):
* src/lib/mman/Makefile.am:
* src/lib/mman/mman.c:


SVN revision: 34374
2008-04-26 16:27:46 +00:00
doursse a6a3a2a9db the address returned by draw_begin can be NULL
SVN revision: 34373
2008-04-26 12:32:29 +00:00
Cedric BAIL 8cd76f1a35 Correctly handle dependency for Ecore_SDL.
SVN revision: 34367
2008-04-25 14:50:07 +00:00
Gustavo Sverzut Barbieri 247e2556a5 Evas_Bool should be unsigned.
This will help the use of Evas_Bool to define bitfield structs like in:

struct s {
        Evas_Bool a:1;
        Evas_Bool b:1;
        Evas_Bool c:1;
        Evas_Bool d:1;
        Evas_Bool e:1;
        Evas_Bool f:1;
        Evas_Bool g:1;
        Evas_Bool h:1;
        Evas_Bool i:1;
};

It must be unsigned or it would use the signal bit, having "a == 0" to
be true anyway, as it would be just +0 and -0.


SVN revision: 34362
2008-04-24 15:31:57 +00:00
Caio Marcelo de Oliveira Filho 97c0e0b5d3 ecore_imf: if ECORE_IMF_MODULE is set to "none", don't use any IMF module
Patch by andrunko.


SVN revision: 34361
2008-04-24 15:28:53 +00:00
Cedric BAIL 3938160157 Fix directfb engine with new Evas cache API.
NOTE: This engine should be rewritten and use the new engine cache api.


SVN revision: 34360
2008-04-24 14:37:14 +00:00
doursse 39289b21d5 forget to modify some calls. Now fb and gapi should work
SVN revision: 34359
2008-04-24 06:18:09 +00:00
doursse 208d20a30f * Add Windows CE engine (1st step)
The engine is not entirely working right now. Recent devices which
  supports the raw frame buffer should work though. But having it in
  cvs will help me as I'm coding it most of the time "blindly" (no
  device to test it)

 * minor formatting in the top evel Makefile.am too


SVN revision: 34354
2008-04-23 19:17:59 +00:00
doursse 56eacad43d Autotools cleaning (not complete)
* formatting
 * put WIN32_CFLAGS in AM_CFLAGS and not AM_CPPFLAGS, as it is where it belongs
 * rename create_shared_lib to lt_no_undefined
 * pass -Wl,--enable-auto-import to libtool when compiling with cegcc
 * add files to EXTRA_DIST only when they are not in _SOURCES or _include_HEADERS (they
   are added anyway)


SVN revision: 34353
2008-04-23 06:55:10 +00:00
doursse 21f0fdb18f * configure.ac:
* src/bin/Makefile.am:
* src/lib/Makefile.am:
* src/lib/dlfcn/Makefile.am:
* src/lib/mman/Makefile.am:
use -Wl,--enable-auto-import with cegcc
fix warning with newest autoconf
* src/lib/dlfcn/dlfcn.c: (string_to_wchar):
include wchar.h and fix warnings
* src/lib/mman/mman.c:
use relative path to include sys/mman.h


SVN revision: 34348
2008-04-22 22:53:54 +00:00
doursse 3a2fc5eb58 add release comment in ChangeLog
SVN revision: 34338
2008-04-21 05:21:13 +00:00
Carsten Haitzler ba5ca67519 1.0.0
SVN revision: 34321
2008-04-20 06:40:28 +00:00
doursse 62fcb69586 * use @datadir@/@PACKAGE@ and not @PACKAGE_DATA_DIR@ in embryo.pc.in
* use --enable-auto-import with CeGCC
 * put WIN32_CFLAGS in CFLAGS and not CPPFLAGS
 * remove warning when configuring with newest (2.62) autoconf
 * clean MAINTAINERCLEANFILES and EXTRA_DIST
 * formatting (should be very close to how eet is formatted, now)


SVN revision: 34320
2008-04-20 06:14:43 +00:00
doursse 373afe17f4 actually, autom4te.cache is automatically removed
SVN revision: 34319
2008-04-20 06:03:03 +00:00
doursse e8ce230a28 add requested macro, hence more things to clean. add autogen.sh to dist
SVN revision: 34316
2008-04-19 21:40:32 +00:00
doursse 44004d8357 missing space
SVN revision: 34315
2008-04-19 21:25:50 +00:00
doursse dc5660047c put WIN32_CFLAGS in CFLAGS, not CPPFLAGS. Formatting
SVN revision: 34312
2008-04-19 21:18:12 +00:00
doursse 6152e13f48 winsock_libs renamed to WIN32_LIBS
SVN revision: 34308
2008-04-19 12:43:21 +00:00
doursse 3454813a9f * rename lt_auto_import to lt_enable_auto_import
* remove warning with newest autoconf's (check of __attribute__)
 * fix maintainer-clean rule (expecially with libtool 2.2.*)
 * formatting of the top level Makefile.am


SVN revision: 34307
2008-04-19 05:02:30 +00:00
Cedric BAIL 47c7f1aa08 Fix a bug caused by duplicated entry in the activ and dirty cache list.
SVN revision: 34302
2008-04-17 15:30:03 +00:00
Peter Wehrfritz 390111df9b docs
SVN revision: 34301
2008-04-17 14:27:24 +00:00
Sebastian Dransfeld 2d5c5486ee formatting
SVN revision: 34299
2008-04-17 14:09:48 +00:00