Commit Graph

5198 Commits

Author SHA1 Message Date
Sebastian Dransfeld 13eaa9daf3 Check for evas-software-x11 engine.
SVN revision: 32385
2007-11-05 20:42:08 +00:00
Sebastian Dransfeld 1d02ffac0f Rename GL to X11_GL, as there might come other GL engines.
Use PKG_CHECK_EXISTS to check for evas engines.
Only check for ecore_evas_x engines if we build ecore_x.


SVN revision: 32383
2007-11-05 20:23:39 +00:00
Sebastian Dransfeld 59e5248600 Check for pkgconfig file when deciding to build directfb engine.
SVN revision: 32382
2007-11-05 20:08:12 +00:00
Sebastian Dransfeld 0c716d210d If we want to build ecore_fb, built ecore_evas_fb by default.
Fix ecore-evas requires
AC_HELP_STRING


SVN revision: 32381
2007-11-05 20:03:28 +00:00
Sebastian Dransfeld 82fff80730 Add requirements to ecore-evas
SVN revision: 32380
2007-11-05 19:58:07 +00:00
Sebastian Dransfeld 6e172fbf6e Mainly move things around, and don't attempt to build evas engines
without the control engine.


SVN revision: 32379
2007-11-05 19:54:24 +00:00
Sebastian Dransfeld f642f1e45b Remove unnecessary whitespace
SVN revision: 32378
2007-11-05 19:22:28 +00:00
Sebastian Dransfeld 203098164f Better grouping of ecore_libs, have all the nasty evas stuff at the end.
Remove bogus iconv tests.


SVN revision: 32377
2007-11-05 19:21:16 +00:00
Sebastian Dransfeld acb549a3e7 Group common things to check at the top
Formatting.
Comments.


SVN revision: 32376
2007-11-05 19:12:59 +00:00
Sebastian Dransfeld db9f80387c remove fam support, will never be fixed and inotify is the shit.
SVN revision: 32375
2007-11-05 18:57:11 +00:00
Sebastian Dransfeld cb090a2c1d comments
SVN revision: 32374
2007-11-05 18:31:05 +00:00
Sebastian Dransfeld d47932e058 Add some comments.
Fix indentation.


SVN revision: 32372
2007-11-05 16:51:04 +00:00
Sebastian Dransfeld dc76175474 Don't need to check for perl.
Don't add compiler flags, the user should do this.


SVN revision: 32371
2007-11-05 16:23:26 +00:00
Sebastian Dransfeld bb691aab87 Create macros for converters.
AC_CHECK_HEADER -> AC_CHECK_HEADERS when there are several headers to check
Use PKG_CHECK_EXISTS macro.
Add AC_HELP_STRING to AC_ARG_ENABLE, and fix some default enable/disable.


SVN revision: 32370
2007-11-05 07:55:17 +00:00
Sebastian Dransfeld 02d5a68dd1 ed isn't enabled by default.
SVN revision: 32369
2007-11-05 06:15:53 +00:00
Carsten Haitzler 6897ae8f9e ecore_dfb optional again.
SVN revision: 32368
2007-11-05 01:21:46 +00:00
Sebastian Dransfeld 2449e5ec7b Use correct value for png libs and cflags
SVN revision: 32363
2007-11-04 20:16:07 +00:00
Sebastian Dransfeld fa55e52a51 Let the value for AC_ARG_ENABLE reflect the default status (enable/disable).
SVN revision: 32362
2007-11-04 20:01:33 +00:00
Sebastian Dransfeld 4361d43691 Don't add requirements for ecore_evas until we also check the Evas header.
Check whether the base module can be built before we want to build the
ecore_evas enging.


SVN revision: 32361
2007-11-04 19:58:41 +00:00
Sebastian Dransfeld ff0cdf5454 Show result when we don't want to build a module
SVN revision: 32360
2007-11-04 19:34:06 +00:00
Sebastian Dransfeld 57e43db8b8 Use pkgconfig, not -config file
SVN revision: 32359
2007-11-04 19:15:29 +00:00
Sebastian Dransfeld d4073fc07a Clean up configure.in file
SVN revision: 32358
2007-11-04 19:09:19 +00:00
Sebastian Dransfeld 09926c9094 Return 0 on error.
SVN revision: 32353
2007-11-04 13:13:02 +00:00
Sebastian Dransfeld 62cf45caab Don't clean up this job, ecore_job will clean it up itself.
SVN revision: 32351
2007-11-04 12:41:15 +00:00
Carsten Haitzler eece802ba4 export those funcs! used by e.
SVN revision: 32350
2007-11-04 12:29:36 +00:00
Sebastian Dransfeld 3070ebe721 define EAPI
SVN revision: 32347
2007-11-04 11:19:55 +00:00
doursse c4a6c0dea6 autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran and c++ compilers
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove some hardcoded gcc compiler flags


SVN revision: 32346
2007-11-04 10:28:23 +00:00
Sebastian Dransfeld 50240194f5 Don't hide this function.
SVN revision: 32345
2007-11-04 10:16:02 +00:00
doursse 4111b41055 add mail to AC_INIT
SVN revision: 32343
2007-11-04 09:55:39 +00:00
doursse f936cbea25 * add mail in AC_INIT
* remove Makefile.in when cleaning
 * INCLUDES -> AM_CPPFLAGS
 * minor cleaning


SVN revision: 32342
2007-11-04 09:53:29 +00:00
doursse 59d2a4a627 autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran and c++ compilers
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32340
2007-11-04 09:44:15 +00:00
Sebastian Dransfeld d15dcd181c EAPI
SVN revision: 32339
2007-11-04 09:32:35 +00:00
doursse be1229247a autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32338
2007-11-04 09:29:20 +00:00
doursse e21fb0f122 autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32337
2007-11-04 09:21:50 +00:00
doursse cc6001a0a0 autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran and c++ compilers
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS


SVN revision: 32336
2007-11-04 09:10:50 +00:00
Sebastian Dransfeld b3ee7373a7 ignore
SVN revision: 32329
2007-11-03 15:47:07 +00:00
Sebastian Dransfeld 42c5e3d2e9 Support spectr{a,um}
SVN revision: 32327
2007-11-03 12:17:29 +00:00
doursse 48df189aa7 now you can play several files without segfault
SVN revision: 32299
2007-11-02 11:58:59 +00:00
doursse 16dadb4847 fix potential segfault
SVN revision: 32297
2007-11-02 11:55:27 +00:00
doursse 53fe579d6d indentation
SVN revision: 32291
2007-11-02 07:38:18 +00:00
doursse 6f818858e4 Update ChangeLog
SVN revision: 32270
2007-10-31 20:16:37 +00:00
doursse 4649e92bb8 * Use ecore_plugin instead of dlfcn
* the modules names are now "xine" and "gstreamer" (it's useless to add
   the extension, as ecore_plugin do not need it). I'll fix eclair,
   etk_extra and ewl.
 * look for the modules in path that is pointed by the env variable
    EMOTION_MODULES_DIR first.
 * fix a leak in the gstreamer module
 * remove some trailing spaces


SVN revision: 32261
2007-10-31 19:34:39 +00:00
doursse 5f684ac512 typo + removing white spaces
SVN revision: 32226
2007-10-31 07:13:57 +00:00
Gustavo Sverzut Barbieri 46cf9a5921 Be lighter on 'inline'
SVN revision: 32219
2007-10-30 21:06:08 +00:00
Gustavo Sverzut Barbieri a807f3805b Missing rename.
SVN revision: 32213
2007-10-30 13:48:44 +00:00
Gustavo Sverzut Barbieri cf13e7ffc3 Fix access of unaligned memory.
SVN revision: 32211
2007-10-29 22:16:41 +00:00
Gustavo Sverzut Barbieri 56bd752741 Damn typo...
SVN revision: 32209
2007-10-29 21:03:08 +00:00
doursse 069305f380 fix cursor names
SVN revision: 32208
2007-10-29 20:05:39 +00:00
doursse 8cdab64618 fix linking on Windows, minor formatting and remove useless windows.h include
SVN revision: 32207
2007-10-29 20:02:08 +00:00
doursse 2e41be8733 * Add 16bpp DirectDraw engine check
* use PKG_CHECK_EXISTS to check the evas engine.
   It's lighter than PKG_CHECK_MODULES


SVN revision: 32203
2007-10-29 09:07:55 +00:00
doursse b8c8b38ccd evas-sdl.pc -> evas-software-sdl.pc
SVN revision: 32189
2007-10-28 14:11:56 +00:00
Carsten Haitzler aabd72ddbd oops - wrong order.
SVN revision: 32187
2007-10-28 10:35:13 +00:00
Carsten Haitzler 8bf6f2f344 fix odd sized videos
SVN revision: 32186
2007-10-28 10:19:09 +00:00
Carsten Haitzler 90b9f41ec5 fix unknown buffer content chekc problems
SVN revision: 32185
2007-10-28 10:08:32 +00:00
Carsten Haitzler cd2e7767fd resolved bug from leonardo.cunha@openbossa.org
SVN revision: 32180
2007-10-28 04:01:56 +00:00
Carsten Haitzler 42ee3df2f6 handle exists too - and it gets written!
SVN revision: 32179
2007-10-28 03:59:23 +00:00
Gustavo Sverzut Barbieri f553a7fab5 Minor cleanup on software_16, evas_soft16_rectangle.c
SVN revision: 32175
2007-10-27 21:06:58 +00:00
Peter Wehrfritz 6513f67cad typo
SVN revision: 32173
2007-10-27 16:22:10 +00:00
doursse 11a9e3d87b add ecore_fps_debug feature on Windows. Btw, if someone knows how to use it, I would be glad to know
SVN revision: 32171
2007-10-27 10:58:00 +00:00
doursse ee8e817b1c simplify the code of ecore_time_get() on Windows
SVN revision: 32170
2007-10-27 10:24:52 +00:00
Gustavo Sverzut Barbieri 55f6c5f046 Add software_16 cache.
SVN revision: 32169
2007-10-26 18:53:39 +00:00
Carsten Haitzler 5482c36015 check if *mod is null
SVN revision: 32167
2007-10-26 10:49:16 +00:00
Gustavo Sverzut Barbieri 3209b5f4e8 Fix image alpha_set() and fix compiler warning, minor fixes.
SVN revision: 32165
2007-10-25 22:09:49 +00:00
Gustavo Sverzut Barbieri 8ee9f51f5b Revert last patch (Simplify image alpha usage.), it was producing nasty artifacts.
SVN revision: 32164
2007-10-25 20:18:02 +00:00
Gustavo Sverzut Barbieri 00cd7a6404 Simplify image alpha usage.
Values are now in 0-32 (inclusive), so we must check for 32 as the
opaque value. Now it's more consistent.


SVN revision: 32163
2007-10-25 18:56:23 +00:00
Gustavo Sverzut Barbieri e12c298619 Line, Polygon and minor fixes for software_16.
Line is a complete rewrite based on my university works. It's much
cleaner than the engine/common and works better (the later is
producing weird results, I still have to debug why), but I don't
provide anti-aliased drawings.

Polygon is almost the same code, with minor changes to draw the spans
as soon as possible and then no malloc/free is required for each of
them.

Minor fixes to remove unused variables, gotos...


SVN revision: 32161
2007-10-25 16:17:19 +00:00
Brett Nash 06e02b3f6b Vincent Torri pointed out that char bitfields are undefined in C89... and he
is correct.


SVN revision: 32160
2007-10-25 05:55:07 +00:00
Brett Nash 3a4c71f293 Don't use unportable 1-bit bitfields.
SVN revision: 32159
2007-10-25 05:26:03 +00:00
Brett Nash 619f9965c8 C89isms: ecore_job_init() and ecore_job_shutdown() now declared with void
paramater.


SVN revision: 32158
2007-10-25 05:17:57 +00:00
Brett Nash 8e86740929 Fix two bugs:
- Get pixels from the image object not the smart object
	- Fix typo in if statement


SVN revision: 32157
2007-10-25 04:52:39 +00:00
Christopher Michael ddf87ed6ec More typo/spelling fixes for the README.
SVN revision: 32154
2007-10-24 18:21:37 +00:00
Christopher Michael 9237a4588a Fix typo.
SVN revision: 32153
2007-10-24 18:16:13 +00:00
Gustavo Sverzut Barbieri b542743d9e Fix calculation of font size when text.fit_y is set.
Before it was using a linear search with initial step proportional to
difference bettwen desired and current height, but the way it was
implemented it was giving incorrect values, for example: a text in
an animation that enlarges height was getting size_{n} < size_{n-1},
where it should be always the oposite (the sequence was like: 31, 32,
33, 34, 31, 33, 34, 35, ...).
   One way to avoid that was to recalculate "dif" based on new "th",
but it quickly drop to 1.

The current implementation now uses a binary search to find the first
size that matches the desired height and then a linear search to
search the largest font doing that (differents sizes may result in the
same height). This linear search is often an extra lookup and can be
avoided if we want just something that fits (instead of the largest).


SVN revision: 32146
2007-10-22 22:31:13 +00:00
Kim Woelders eb2aa4a3d0 Add some const's.
SVN revision: 32132
2007-10-21 15:16:14 +00:00
Gustavo Sverzut Barbieri 3500a5c059 Fix calculation of maximum values for swallow parts.
Due my last change, the code was broken by edjes without a group
min/max, this happens because edje_object_size_max_get() returns
100000 for these objects, and this was being used as object maximum
size.

Current fix is a hack: just check for this value, now known as
EDJE_INF_MAX_*, but the real solution would be to return 0 (or -1) and
check for it in other parts of the code, but it's harder to get right.


SVN revision: 32123
2007-10-19 19:31:42 +00:00
Gustavo Sverzut Barbieri 8f12e90da0 Set pass_events to 0 if "mouse_events: 1".
I'm not sure this is the right thing to do, but since we're setting it
to 1 when "mouse_events: 0", it fix some problems.

Maye we shouldn't set this flag at all and let users have these
options set on clippers?


SVN revision: 32120
2007-10-19 16:07:43 +00:00
doursse 0503f91921 provide evas-opengl-glew.pc to the open source community
SVN revision: 32107
2007-10-17 16:24:15 +00:00
doursse a7c193bac3 Add EVAS_MODULES_DIR in the list of paths to search
for the modules. The order and locations are:

1. ~/.evas/modules/
2. $(EVAS_MODULE_DIR)/evas/modules/
3. dladdr/evas/modules/
4. PREFIX/evas/modules/


SVN revision: 32098
2007-10-17 09:29:18 +00:00
Carsten Haitzler 412d44f90f bizarre - text sources were broken - but never appeared in e - somehow they
worked. fixed.


SVN revision: 32078
2007-10-14 23:54:27 +00:00
Gustavo Sverzut Barbieri 8108d0e8d6 XSync to avoid flicker
SVN revision: 32040
2007-10-11 14:43:05 +00:00
Gustavo Sverzut Barbieri dfcde9bcaa Major rework of blit operations to use pre-multiplied colors.
I wrote the first version thinking on regular, non-pre multiplied
colors, but raster pointed out that all color data is pre-multiplied
inside Evas. I was blaming 16bpp for low quality graphics, but it
turned out that was an error with my usage.

If you experienced grayish colors when using transparency, or white
turning into black while fading out, then these should be fixed now.

Now everything looks better, brighter! :-)  Expedite shows no
performance regressions, but I'd like to see more tests on
that. Please report any issue.


SVN revision: 32037
2007-10-10 19:22:26 +00:00
doursse 616b9623ae Do not use deprecated syntax anymore. Check versions of autoconf
and automake to be sure that the new syntax is valid.

Please report any problem wrt that change


SVN revision: 32032
2007-10-09 20:54:50 +00:00
Gustavo Sverzut Barbieri 075afa424d Fix help string.
By: Aloisio Almeida <aloisio.almeida/openbossa.org>


SVN revision: 32031
2007-10-09 18:36:41 +00:00
Gustavo Sverzut Barbieri 403afe21fc Fix edje calculation of max width for swallowed parts.
If you have a SWALLOW part taking the whole window and then swallow an
object with max set using edje_extern_object_max_size_set() it will
not take effect due the comparison of ep->swallow_params.max.w < -1
(desc->max.w is -1 in this case).


SVN revision: 32029
2007-10-09 15:30:26 +00:00
doursse 4a3ce0ebe0 Formatting
SVN revision: 32024
2007-10-09 06:53:45 +00:00
doursse 2898660d8a 16 bits software directdraw engine. Mainly for win ce users, I guess
SVN revision: 32020
2007-10-08 19:08:42 +00:00
Sebastian Dransfeld 1bb9022482 Don't reset 'use_curl' flag.
SVN revision: 32007
2007-10-07 16:46:58 +00:00
Carsten Haitzler f5c14b41ee actually - 0 by default.
SVN revision: 32002
2007-10-07 11:17:09 +00:00
Carsten Haitzler afdefa4305 4mb imge cache by default - stupid to have it unlimited.
SVN revision: 32001
2007-10-07 11:10:19 +00:00
doursse d6dd187899 configure improvements:
* add libtool versioning from the package version (from raster's
   management of package version)
 * replace AM_PROG_LIBTOOL(deprecated) by AC_PROG_LIBTOOL
 * remove AM_ENABLE_SHARED as shared lib is built by default
 * add AC_LIBTOOL_WIN32_DLL for libraries ported to Windows (tm)
 * remove the libtool checks of c++ and fortran compilers
 * remove PACKAGE_*_DIR from configure.in and define them in
   Makefile.am as bindir and al. are expanded in them.

please report any problem that these changes can add


SVN revision: 31999
2007-10-07 08:02:53 +00:00
tilman 75bd5e8902 Ecore now checks whether the composite extension is available before trying to open an ARGB window.
SVN revision: 31986
2007-10-06 08:37:34 +00:00
andrunko 4b4d4ca3b9 Updated documentation.
Fixed documentation of Evas_Object_Image.
Added some more documentation.
Fixed typo on evas_list_remove_list documentation.


SVN revision: 31982
2007-10-05 19:37:21 +00:00
Gustavo Sverzut Barbieri ecd108ba49 Revert SDL changes, I was already commited.
SVN revision: 31980
2007-10-05 14:35:39 +00:00
Carsten Haitzler 35cd952691 fix valgrind complaint (bad! its a string but its not 0 byte terminated!!!
its just a data lump!).

compact the lists of child windows down based on results of scan of children.

printf--


SVN revision: 31979
2007-10-05 12:39:06 +00:00
Carsten Haitzler 7fb1a30d72 printf--
SVN revision: 31978
2007-10-05 12:24:32 +00:00
Carsten Haitzler 34afff4284 add a shadowed window tree that allows you to fetch all the window tree in 1
hit (well a series of round trips) then keep it stored to find what window a
co-ordinate is in to avoid later round-trips.


SVN revision: 31976
2007-10-05 12:11:45 +00:00
tilman 869d6c468b export evas_common_convert_yuv_420p_601_rgba
SVN revision: 31975
2007-10-05 09:44:41 +00:00
Carsten Haitzler f4df206b35 cedric's sdl patch.
SVN revision: 31973
2007-10-05 05:47:58 +00:00
Carsten Haitzler cf49928045 cedric's ecore_job_init/shtudown patches.
SVN revision: 31972
2007-10-05 05:12:38 +00:00
Carsten Haitzler bb28443e9a printf--
SVN revision: 31971
2007-10-05 04:54:45 +00:00
Carsten Haitzler c7ec01eac8 fix edje to get the current default object size as initial size data.
SVN revision: 31970
2007-10-05 04:53:17 +00:00
Carsten Haitzler a5d3f7ddc0 1. default object size to 0x0
2. remove some float numbers (were cast anyway)
3. make smart object mmove/resize only called if the obj changes


SVN revision: 31968
2007-10-05 04:52:10 +00:00
Gustavo Sverzut Barbieri 8c9fc0fc42 Separate code and provide "double" version.
SVN revision: 31948
2007-10-03 14:28:07 +00:00
Carsten Haitzler 6a9f664bea avoid damage now has an enum (compatible with the old way at ABI though), so
you can either handle it via exposes, or native system methods (bg pixmaps)


SVN revision: 31944
2007-10-03 06:31:05 +00:00
Carsten Haitzler e6aa181b56 add a DEL callback - called at the very start of object deleteion.
SVN revision: 31942
2007-10-03 04:09:36 +00:00
Gustavo Sverzut Barbieri 64f3e597e0 Float loading speedup.
SVN revision: 31940
2007-10-03 00:08:41 +00:00
andrunko 24eea4e7a7 Fixed bug on maemo.
somehow char is always treated as unsigned char, causing if (sign < 0)
to always return false.


SVN revision: 31939
2007-10-02 22:53:00 +00:00
Carsten Haitzler 9432a9ef47 formatting
SVN revision: 31929
2007-10-02 03:41:19 +00:00
Carsten Haitzler 2ea744bc1b working on optimising software-x11 with the one-buffer persistence idea that
software-16 uses. it works and in some cases gets massive speedups (70%+) but
in a few its slowdowns (30% down) in expedite tests - why, i don't know. it
should be the same or better in all tests. disabled for now - also not
complete. < 32bpp wont' work and not sure rotation works and masks don't work
either.


SVN revision: 31928
2007-10-02 03:40:14 +00:00
Christopher Michael 7aa0a51a2f Doxy typo fix.
SVN revision: 31897
2007-09-30 19:32:48 +00:00
doursse b6ca8e692a for Windows, use dll as extension of shared lib
SVN revision: 31896
2007-09-30 18:16:42 +00:00
andrunko befadf24e3 Fixed configure on maemo.
SVN revision: 31891
2007-09-30 15:31:13 +00:00
doursse a8ebdc324c * port ecore_plugin to windows
* add comments after some #endif
 * speed up the compilation on windows
 * remove some trailing spaces in ecore_path.c


SVN revision: 31890
2007-09-30 15:24:51 +00:00
andrunko 2c2ca77d5f Make sure image colorspace is properly set.
SVN revision: 31889
2007-09-30 15:04:51 +00:00
Sebastian Dransfeld 193bdf421f Now that users of efreet_desktop must free their references, this is no
longer needed.


SVN revision: 31865
2007-09-29 13:24:31 +00:00
doursse c16dd5ae7d declare properly alloca when AC_FUNC_ALLOCA is used (see autoconf doc)
SVN revision: 31864
2007-09-29 09:21:43 +00:00
doursse a16876ac10 remove unused variables
SVN revision: 31863
2007-09-29 09:13:22 +00:00
Carsten Haitzler b51a8f26ad enable and disable draw ok onlyu on visibility changes.
SVN revision: 31860
2007-09-29 01:52:13 +00:00
doursse 18c11a3355 set to NULL the directdraw objects once they are relased
SVN revision: 31858
2007-09-28 23:44:14 +00:00
doursse e8452e7b4e revert, my bad
SVN revision: 31838
2007-09-28 15:27:44 +00:00
doursse ce6f933d50 return -1 if group is not valid
SVN revision: 31837
2007-09-28 15:25:50 +00:00
Gustavo Sverzut Barbieri 64f0ccb945 Oops, re->surface, not re->surface->pixels.
SVN revision: 31834
2007-09-28 12:50:52 +00:00
Carsten Haitzler 7a7607d656 ok fixed visibility event. now it works as planned.
SVN revision: 31832
2007-09-27 15:43:08 +00:00
Carsten Haitzler e8a3ed6312 trying to optimise expose draws - i think i fixed a double-draw bug.
SVN revision: 31831
2007-09-27 15:31:00 +00:00
Gustavo Sverzut Barbieri 89472b5bfc Fix edje_cc/edje_decc linkage in --as-needed mode
Requested by Pavlov Konstantin.


SVN revision: 31826
2007-09-26 18:22:34 +00:00
Sebastian Dransfeld 3a84f04c4f formatting.
SVN revision: 31825
2007-09-26 17:18:52 +00:00
Sebastian Dransfeld 394664a09a curl is used both by ecore_file and ecore_con
SVN revision: 31824
2007-09-26 17:14:27 +00:00
Sebastian Dransfeld fcad0da826 formatting
SVN revision: 31823
2007-09-26 16:34:14 +00:00
Gustavo Sverzut Barbieri 9acabdd1c5 Ecore_Con fixes and improvements.
Bugs:
 - data buffer we are receiving must be copied, or we could receive
   garbage in the event handler.
 - complete event show up before we receive the last data event.

Improvements:
 - Use ECORE_MAGIC.
 - Status code is no longer curl internal status, but ftp or http return
   code (More usefull than CURLE_OK).
 - Add a time condition on requested url (see HTTP code 304).
 - Add progress events also (should work but not really tested).
 - Add data_set/data_get.

Closes bug #217.

Patch by Cedric BAIL.


SVN revision: 31822
2007-09-26 16:01:04 +00:00
Gustavo Sverzut Barbieri ac9e3d7412 Do not set color of cursor object.
We should not set the color of cursor objects, it damages things like
rectangles and polygons.


SVN revision: 31820
2007-09-26 15:41:50 +00:00
Gustavo Sverzut Barbieri e04b782d50 Change Ecore_Evas to work with Evas_Object as cursor.
WARNING: this breaks the API, if you rely on ecore_evas_cursor_get(), you
need to get the "Evas_Object *" instead of the filename.

Now the code is smaller and we can handle any object, including Edje.

Patch by Cedric BAIL.


SVN revision: 31818
2007-09-26 14:40:02 +00:00
Gustavo Sverzut Barbieri 7468078e12 SDL improvements.
Patch by Cedric BAIL (with minor changes).


SVN revision: 31815
2007-09-26 14:00:14 +00:00
Carsten Haitzler fe14d210b5 abort--
SVN revision: 31811
2007-09-26 00:16:31 +00:00
Carsten Haitzler d88b5cfe37 fix conversion to handle -0x0p+0 (negatives) properly - or at least matching
the output.


SVN revision: 31810
2007-09-25 23:41:03 +00:00
doursse e769f25d10 * Add conversion functions to replace the use of snprintf with %a
* remove useless defines
 * minor cleanups

fixes bugs #181 and #182


SVN revision: 31805
2007-09-25 18:26:49 +00:00
Gustavo Sverzut Barbieri cba48d38b5 Reorder emission of EVAS_CALLBACK_FREE event.
Now EVAS_CALLBACK_FREE is emitted after smart object's "del"
implementation, this way bindings/wrappers can observe this event in
order to release its wrappers and be sure that they'll not be used
anymore.

Please check your existing code to see if you don't rely on the old
behavior.


SVN revision: 31800
2007-09-25 13:33:12 +00:00
Carsten Haitzler eafbf9bd38 removbe by list item not data item - faster.
SVN revision: 31799
2007-09-25 13:26:23 +00:00
doursse b8199cb7bc Win32 port:
* add _window_get() functions
 * add minimal fullscreen support (not completely finished yet, but should work)
 * remove CR character in ecore_evas_win32.c


SVN revision: 31790
2007-09-23 11:57:34 +00:00
doursse 99a0034778 * add cursor support
* add mouse wheel, window create, window configure and window resize events
 * fix fullscreen function
 * fix button release even
 * add _geometry_get function
 * minor cleanups


SVN revision: 31789
2007-09-23 11:08:52 +00:00
doursse 251f9a2f62 Windows port: mkdir is obsolete with vc++, use _mkdir instead. Define macros for realpath and mkdir
SVN revision: 31771
2007-09-21 17:06:24 +00:00
Gustavo Sverzut Barbieri b2bc472a17 Fix build inside scratchbox
SVN revision: 31768
2007-09-20 15:52:11 +00:00
Carsten Haitzler e043668721 add comment.
SVN revision: 31752
2007-09-17 23:13:59 +00:00
Gustavo Sverzut Barbieri c7c3586c9e Damn, wrong copy&paste fix.
SVN revision: 31750
2007-09-17 21:11:43 +00:00
Carsten Haitzler b329369cf0 fix up edje to calc using the same font as the textclass.
SVN revision: 31748
2007-09-17 11:33:16 +00:00
Carsten Haitzler 7a889364ad retain text styles fron theme if they are specificed
SVN revision: 31744
2007-09-17 05:07:35 +00:00
Sebastian Dransfeld a50768e616 ignore
SVN revision: 31726
2007-09-15 23:52:37 +00:00
Sebastian Dransfeld ee2d0762f4 Check for data size. Should be done throught the whole function!
SVN revision: 31723
2007-09-15 09:51:19 +00:00
Sebastian Dransfeld 5b85440817 Don't segfault on empty file.
SVN revision: 31721
2007-09-15 08:46:34 +00:00
Sebastian Dransfeld bc1add673e Fix compiler warnings.
SVN revision: 31719
2007-09-14 23:38:17 +00:00
Sebastian Dransfeld fdd316902d Temporarily fix SEGV when deleting .desktop files from disk.
SVN revision: 31717
2007-09-14 23:15:41 +00:00
Sebastian Dransfeld 9506bc06df Revert erronous changes.
SVN revision: 31716
2007-09-14 22:22:29 +00:00
Carsten Haitzler 819e078f4d fix infinite loop!
SVN revision: 31710
2007-09-13 23:16:11 +00:00
Gustavo Sverzut Barbieri 6d63d0ea99 Use correct type size for conversion between integer and pointer.
By: Brett Nash (dereference-ints-all-bad.patch)


SVN revision: 31700
2007-09-13 14:35:01 +00:00
Gustavo Sverzut Barbieri d9392dfa6e Cosmetic: use correct size for comparison of pointers.
By: Brett Nash (mode-mem.patch)


SVN revision: 31699
2007-09-13 14:31:50 +00:00
Gustavo Sverzut Barbieri 03cca32caa Fix bug of type truncation on 64bits platform.
Returning a pointer (possible 64bits) where an integer (possible
32bits) is expected may truncate the type, returning just one part
that may be full "0", leading to incorrect behavior. This fix checks
against NULL and resulting value is either 0 or 1.

By: Brett Nash (kill-a-1-in-4-billion-crash.patch)


SVN revision: 31698
2007-09-13 14:28:32 +00:00
Gustavo Sverzut Barbieri 0c404433e7 Fix typo that leads to incorrect behavior.
By: Brett Nash (iindex-to-many-is.patch)


SVN revision: 31697
2007-09-13 14:24:15 +00:00
Gustavo Sverzut Barbieri b09e8f2f45 Cosmetic: use correct size for comparison of pointers.
Due the comparions, the code worked fine, but use the correct type
size so it's cleaner.

By: Brett Nash (compare-whole-pointer.patch)


SVN revision: 31696
2007-09-13 14:19:30 +00:00
Gustavo Sverzut Barbieri bd66a665b6 Use C89 prototype.
By: Brett Nash (c89-is-18-years-old-lets-use-it.patch)


SVN revision: 31695
2007-09-13 14:14:37 +00:00
Gustavo Sverzut Barbieri e2e7567a78 Do not free NULL graphic context.
By: Brett Nash (freegc-crash.patch)


SVN revision: 31692
2007-09-13 13:43:38 +00:00
Gustavo Sverzut Barbieri f068851044 Fix deletion of Edje with child "GROUP".
SVN revision: 31690
2007-09-12 17:42:21 +00:00
Gustavo Sverzut Barbieri 5193a28bba Fix segfault with part_recalc when no image_dir was specified.
This avoid crashes with buggy edje files: if you forget to specify
type: RECT and don't provide any "images.image" in edje, it crashes.


SVN revision: 31689
2007-09-12 15:12:07 +00:00
Carsten Haitzler 875a5cc6f9 patches from lutin
SVN revision: 31688
2007-09-11 12:27:03 +00:00
Carsten Haitzler 998bf2b2ef consistency - use old style datatypes.
SVN revision: 31670
2007-09-10 15:26:42 +00:00
doursse cc2b1dd65c fix linking when curl is used on Windows
SVN revision: 31664
2007-09-09 11:43:31 +00:00
doursse 21339321e9 add a readlink equivalent for Windows
SVN revision: 31663
2007-09-09 11:05:02 +00:00
doursse a22ebcafac port ecore_file to Windows
SVN revision: 31662
2007-09-09 10:26:37 +00:00
Carsten Haitzler e45ff14147 that was a misdirected optimisation. remove.
SVN revision: 31660
2007-09-09 02:00:45 +00:00
Carsten Haitzler f23046c780 ok- tying to remove redundant nul/0 items seems to have broken something -
put them back.


SVN revision: 31659
2007-09-09 01:46:47 +00:00
doursse 266887d1e5 implement a symlink function for Windows
SVN revision: 31658
2007-09-08 18:36:22 +00:00
doursse 974152be16 remove trailingspaces
SVN revision: 31657
2007-09-08 18:31:56 +00:00
doursse c63454baea remove trailingspaces
SVN revision: 31656
2007-09-08 18:25:43 +00:00
doursse 5f24fc14bf remove trailingspaces, include correctly alloca.h
SVN revision: 31655
2007-09-08 18:21:57 +00:00
Carsten Haitzler 67ab2130ac fix qout and backslash escaping
SVN revision: 31654
2007-09-08 15:32:33 +00:00
doursse 59f024a008 resize the directdraw surface when the evas is resized. move directdraw code to its own file
SVN revision: 31653
2007-09-08 10:42:30 +00:00
Carsten Haitzler d6510b0c39 and remove an extra l
SVN revision: 31652
2007-09-08 09:38:53 +00:00
Carsten Haitzler 0655006f42 and now we have a small tool that can extract, import, list, decode, encode
etc. data from eet files. just run eet for usage.


SVN revision: 31651
2007-09-08 09:35:41 +00:00
doursse bb89d5a5ab disable ecore_desktop by default
SVN revision: 31650
2007-09-08 08:21:08 +00:00
Carsten Haitzler 8cb216641c ok- all you whiners. eet data encodings are reversable now without edd info.
there are api calls ot dump any eet encoded data lump into text and re-encode
into binary blob. no tools currently - that can be done later, but all the
api calls in eet that you need are there, as well as data in the blob.


SVN revision: 31649
2007-09-08 07:44:03 +00:00
Carsten Haitzler 4b3c2c81af well that was wrong! fix!
SVN revision: 31647
2007-09-08 04:51:16 +00:00
Peter Wehrfritz 97dc553840 add #defines for ecore_dlist_first() and ecore_dlist_last()
SVN revision: 31641
2007-09-06 22:06:32 +00:00
doursse 6a7494bba7 remove trailing spaces
SVN revision: 31638
2007-09-06 16:15:10 +00:00
doursse 5209a42671 in efreet_ini_parse:
* move the opening of the file after the creation of the hash table and
  return it on failure
* return NULL when the hash table can not be created
* add the binary flag when opening a file for compatibility with Windows

in efreet_new, return NULL when efreet_ini_parse returns NULL (mem alloc
failure)


SVN revision: 31637
2007-09-06 16:05:35 +00:00
Nicholas Hughart 0ca23c712f Newline
SVN revision: 31630
2007-09-05 22:27:01 +00:00
Nicholas Hughart f6ce8ff6ad Add missing lib link for efreet_mime
SVN revision: 31628
2007-09-05 22:24:13 +00:00
Peter Wehrfritz 10a798bc88 don't leak
SVN revision: 31620
2007-09-05 09:46:56 +00:00
Peter Wehrfritz b2ec7dd266 *API BREAK*
rename ecore_plugin_call() to ecore_plugin_symbol_get()
add a version argument to ecore_plugin_load(); it makes it possible to have different versions for the interface. NULL gives you the old behaivor


SVN revision: 31616
2007-09-04 18:23:47 +00:00
Peter Wehrfritz 1078f34211 - implement ecore_plugin_available_get()
- fix ecore_path_group_new()


SVN revision: 31602
2007-09-02 17:54:16 +00:00
Peter Wehrfritz d770cd618e NULL is a valid value, it's actually the default
SVN revision: 31600
2007-09-02 17:44:38 +00:00
Peter Wehrfritz fbf7aaa1fb add constness
SVN revision: 31596
2007-09-02 12:21:00 +00:00
doursse 6c1843903c * src/modules/emotion_gstreamer.c: (em_file_open):
* src/modules/emotion_gstreamer_pipeline.c: (cb_handoff),
(emotion_pipeline_dvd_build), (emotion_pipeline_uri_build),
(emotion_pipeline_file_build), (_emotion_streams_sinks_get),
(_emotion_video_sink_fill), (_emotion_audio_sink_fill):
* src/modules/emotion_gstreamer_pipeline.h:
add the support of URI playback. Minor fixes.
Fix bug #114


SVN revision: 31592
2007-09-01 17:51:40 +00:00
doursse 97645159f8 Ecore_X and Ecore_Fb are not used
SVN revision: 31554
2007-08-27 11:52:04 +00:00
doursse 31618541b7 _O_BINARY exists only on windows
SVN revision: 31553
2007-08-27 11:28:30 +00:00
doursse b50328b469 fix ecore_evas_engine_type_supported_get and ecore_time_get on windows
SVN revision: 31552
2007-08-27 10:20:12 +00:00
doursse 8a6ac30215 fix edje_cc on windows, remove some trailing spaces
SVN revision: 31549
2007-08-27 09:32:17 +00:00
Carsten Haitzler 278279e269 asparagus!
SVN revision: 31524
2007-08-26 14:33:41 +00:00
doursse acdefc2be4 revert that change
SVN revision: 31519
2007-08-26 12:59:24 +00:00
Carsten Haitzler 585139c7d7 fix build.
SVN revision: 31518
2007-08-26 12:57:11 +00:00
doursse 2e7692e45e make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces
SVN revision: 31517
2007-08-26 12:54:51 +00:00
doursse 50432552c8 add windows support to ecore. ecore_evas is ported too (directdraw and direct3d. No opengl yet). It needs to be tested a lot, though. Remove some trailing spaces here and there. Replace WIN32 with _WIN32
SVN revision: 31513
2007-08-26 11:17:21 +00:00
tilman 1bd182b2f1 When we're drawing text objects, don't apply the horizontal bearing ourselves.
The font drawing code already takes care of that.

This fixes alignment problems most visible with monospaced fonts.


SVN revision: 31511
2007-08-26 11:06:34 +00:00
tilman 761eed190f Replace another deprecated macro.
SVN revision: 31510
2007-08-26 08:21:57 +00:00
Carsten Haitzler 2a04c23a33 futzing around with tilan's mono font issue - some commented otu debugging -
use the all caps enum for bitmap fonts now...


SVN revision: 31496
2007-08-25 11:54:17 +00:00
Carsten Haitzler c1d4685780 png loading changes to fix greyscale loads apparently on 1.2.19 libpng...
SVN revision: 31488
2007-08-25 02:36:18 +00:00
Carsten Haitzler 8ad14fe1ba extra rgb.txt src
SVN revision: 31486
2007-08-25 02:07:16 +00:00
tilman 1897c10296 include Ecore_Str.h so we get EAPI declarations. this the reason why IMO EAPI should be inserted in the code, too, instead of just the headers.
SVN revision: 31462
2007-08-22 17:44:04 +00:00
tilman 8af29b6691 unfuck configure.in
SVN revision: 31461
2007-08-22 17:24:44 +00:00
moom c9264664d9 * Add interceptors for color_set(), clip_set() and clip_unset()
SVN revision: 31460
2007-08-22 16:45:37 +00:00
doursse ffb74463b2 remove c99 structure initialization
SVN revision: 31458
2007-08-22 15:06:04 +00:00
Sebastian Dransfeld 89746ec075 typo
SVN revision: 31450
2007-08-22 05:10:20 +00:00
Andreas Volz cace333876 two small typo
SVN revision: 31447
2007-08-21 17:56:51 +00:00
Gustavo Sverzut Barbieri f08a81ea6f Unix is case sensitive.
SVN revision: 31428
2007-08-20 15:48:16 +00:00
chaos 8b213aa687 And another one
SVN revision: 31412
2007-08-19 23:44:34 +00:00
Peter Wehrfritz 9ed7b18db2 ecore_list_remove_last -> ecore_list_last_remove
SVN revision: 31410
2007-08-19 19:36:53 +00:00
Peter Wehrfritz fffdd89a4a the time is over, remove the obsolete function name aliases
SVN revision: 31403
2007-08-19 17:20:06 +00:00
moom 365936048f * Do not unref twice the same message
SVN revision: 31400
2007-08-19 14:11:38 +00:00
chaos 32152d6ee1 2 x multi-byte IPC fixes
SVN revision: 31399
2007-08-19 13:39:01 +00:00
Carsten Haitzler 3738c77586 cast yet pointers. bad!
SVN revision: 31398
2007-08-19 13:15:45 +00:00
doursse 472401f3ce ignore that, cvs
SVN revision: 31397
2007-08-19 07:53:34 +00:00
doursse df099a54e3 use standard syntax when initializing structures instead of specific gcc one
SVN revision: 31396
2007-08-19 06:21:23 +00:00
Carsten Haitzler 526f902e06 open has become nasty! --- che! :)
SVN revision: 31383
2007-08-18 14:26:49 +00:00
Carsten Haitzler 38962990d0 lok's xdnd work.
SVN revision: 31377
2007-08-18 10:35:47 +00:00
doursse 7549957f3e update todo
SVN revision: 31361
2007-08-17 09:53:13 +00:00
doursse 8474937ef3 Direct3D engine. I'm not an expert of that api, so there should room for lots of improvements
SVN revision: 31359
2007-08-17 09:16:26 +00:00
ningerso 29a2309415 Fix build on systems that don't use .so as the shared library extension.
SVN revision: 31354
2007-08-17 00:24:57 +00:00
Andreas Volz 75df6e4625 please call me stupid! Sorry!
SVN revision: 31339
2007-08-15 22:03:17 +00:00
Andreas Volz 9d0bf6f6e2 sorry don't know why I added these files. Was a big mistake!
SVN revision: 31338
2007-08-15 21:57:17 +00:00
Andreas Volz e871b96d3d removing some files - sorry added by mistake
SVN revision: 31337
2007-08-15 21:55:55 +00:00
Andreas Volz f973a3cef5 - added some API docs
- added an initial doxygen documentation


SVN revision: 31336
2007-08-15 21:18:21 +00:00
Sebastian Dransfeld 8e3509c4e0 Add recently used icon cache.
SVN revision: 31316
2007-08-15 05:33:04 +00:00
Gustavo Sverzut Barbieri 094edb610d software-16-x11 available with pkg-config
SVN revision: 31310
2007-08-14 20:21:06 +00:00
doursse acb11e7c5a remove 2 consecutive semicolons here and there, ans some trailing spaces
SVN revision: 31308
2007-08-14 12:49:10 +00:00
doursse fd9e6e06bf WIN32 is not always defined on Windows platform, while _WIN32 is. Remove trailing spaces and replace c++ comments by C ones
SVN revision: 31302
2007-08-13 12:13:03 +00:00
Sebastian Dransfeld f619a05536 Fix const warnings.
SVN revision: 31293
2007-08-13 05:36:03 +00:00
Sebastian Dransfeld b9c551c57d formatting
SVN revision: 31292
2007-08-13 05:33:26 +00:00
Sebastian Dransfeld 8ef049c3da As cache_key uses evas_stringshare, it should be const.
Don't free stringshare'd strings.
Formatting.


SVN revision: 31291
2007-08-13 05:30:17 +00:00
Sebastian Dransfeld 07c37865cf Remove wrong comma in printf statement.
SVN revision: 31290
2007-08-13 05:17:44 +00:00
Sebastian Dransfeld b3e01bb957 Formatting
SVN revision: 31271
2007-08-12 19:28:02 +00:00
Sebastian Dransfeld 4d346e4bd8 Remove unnecessary code.
SVN revision: 31270
2007-08-12 19:20:16 +00:00
Sebastian Dransfeld 399d1a5c1b Formatting.
SVN revision: 31269
2007-08-12 19:18:16 +00:00
Carsten Haitzler 2f35dd7ab3 only check ext.. if there is one!
SVN revision: 31265
2007-08-12 11:14:56 +00:00
Carsten Haitzler 6b0688752a and for the picky - there's less copies for tolowoer. i also saw some BAD BAD
leaks. bad! alloc pointer but not freeing them! also fixed up #include of
alloca.h if needed.


SVN revision: 31260
2007-08-12 10:00:02 +00:00
Carsten Haitzler 07032e8edf handle USER images properly
SVN revision: 31253
2007-08-12 02:48:13 +00:00
lok 075e58a88e Missing drag_step/page proto.
SVN revision: 31246
2007-08-11 13:20:33 +00:00
Carsten Haitzler 492e5f9644 externsion checks should be case-insensitve.
SVN revision: 31245
2007-08-11 13:20:16 +00:00
Carsten Haitzler f23f99bf84 and actively remove images when they are KNOWN to have been removed from disk
or the cached copies have 0 refs and are too old (thus wasting cache space).


SVN revision: 31243
2007-08-11 12:22:43 +00:00
Carsten Haitzler c28878389d and use timestamp (mtime) for cache
SVN revision: 31242
2007-08-11 12:14:17 +00:00
Peter Wehrfritz 021597ec25 more docs
SVN revision: 31237
2007-08-10 16:01:59 +00:00
Peter Wehrfritz 32a28bf832 add some docs
SVN revision: 31236
2007-08-10 14:15:14 +00:00
Carsten Haitzler ee6e3e6a9a \use direct hash - doesnt strdup the string key. also stringshare the img key
- just in case.


SVN revision: 31232
2007-08-09 14:44:36 +00:00
Carsten Haitzler 14024931d1 fix cache accounting
SVN revision: 31230
2007-08-09 12:21:21 +00:00