Commit Graph

1907 Commits

Author SHA1 Message Date
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 ace1e213d7 Merge with Debian files from PkgE.
SVN revision: 34393
2008-04-28 15:09:40 +00:00
doursse a6a3a2a9db the address returned by draw_begin can be NULL
SVN revision: 34373
2008-04-26 12:32:29 +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
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
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
Carsten Haitzler 184bfa989d fix image dirties with yuv and software rendering
SVN revision: 34272
2008-04-15 15:20:53 +00:00
Cedric BAIL 1a9cfba889 Removing trailing white spaces.
SVN revision: 34269
2008-04-14 09:31:31 +00:00
Carsten Haitzler 661971e309 remove old pc.in
SVN revision: 34262
2008-04-13 12:39:14 +00:00
Carsten Haitzler 38689004fb missed this. add.
SVN revision: 34255
2008-04-12 05:33:13 +00:00
Carsten Haitzler 35b8f22752 add missing files.
SVN revision: 34254
2008-04-12 02:11:07 +00:00
Carsten Haitzler ae1977a214 cedric's cache changes patch
SVN revision: 34253
2008-04-12 00:32:30 +00:00
Carsten Haitzler c290fa032d add fb.
SVN revision: 34252
2008-04-12 00:14:20 +00:00
Carsten Haitzler 88a9479175 update pkgconfig checks for fb engine. - lars.
SVN revision: 34251
2008-04-11 23:41:44 +00:00
Carsten Haitzler 27f1963fcb gustavo's size hint patch.
SVN revision: 34248
2008-04-11 23:12:20 +00:00
Carsten Haitzler 87f4bedb81 if xrender is on a 16bpp target - do some "faster" paths - i hope.
SVN revision: 34216
2008-04-07 23:07:23 +00:00
Peter Wehrfritz 57362186b6 typo, thanks to stalwart1
SVN revision: 34192
2008-04-05 18:00:37 +00:00
Carsten Haitzler a11b5c4769 deps lists/ debugging too...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Carsten Haitzler 73b6cc9ff8 add a hold event to feed.
SVN revision: 34160
2008-03-31 21:38:38 +00:00
doursse 3ba03eab45 remove the explicit use of the DirectDraw interface by using the c++ API
SVN revision: 34153
2008-03-30 16:06:21 +00:00
doursse ebd938e4b1 remove the explicit use of the DirectDraw interface by using the c++ API
SVN revision: 34147
2008-03-30 09:16:53 +00:00
Gustavo Sverzut Barbieri 7fe7199a0c Minor reorganization of Evas_Object fields.
Move pointer_mode (size 4) before bitfields, leave 'delete_me' as it's
a byte, this still have 2 bits left from unsigned short and another
byte around delete_me to make it grom from 244 bytes.


SVN revision: 34068
2008-03-21 07:13:46 +00:00
Carsten Haitzler f2aeab1bd6 fix some escaping :)
SVN revision: 34066
2008-03-20 21:15:16 +00:00
doursse 219831980f * Remove Windows code in evas_module.c and use evilness instead
* Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc


SVN revision: 34024
2008-03-14 16:49:49 +00:00
doursse 9f50836a12 update of the software xcb engine:
* use the pixman library for the region code (it is required, now). That
   libray can be found in the cairo ftp.
 * use the new xcb_image api that is in git repository. There is still a
   seg fault occuring because of xcb_image. I'll commit the fix in git
   next week.

The performance are not good at all. With expedite, 360 fps compared to
the 470 fps with xlib. I don't know why yet.


SVN revision: 33965
2008-03-09 13:21:16 +00:00
Carsten Haitzler c1fb45dcea poosible segv - but never gets run so it never happens
SVN revision: 33964
2008-03-09 09:35:12 +00:00
Gustavo Sverzut Barbieri 79a5be8ec3 Fix missing null terminator in textblock.
Although I used 3 lines comments to state it was not required, it is
required because none of the values accounted includes the '\0'.


SVN revision: 33940
2008-03-06 01:06:58 +00:00
Gustavo Sverzut Barbieri 23c566bb07 Cleanup textblock's strbuf implementation.
This should provide correct code in a simpler way by sharing some of
the common code among functions.

Tested with E17 basics, require some applications with extensive usage
of textblock manipulation to do validate results.


SVN revision: 33939
2008-03-06 00:41:47 +00:00
Gustavo Sverzut Barbieri 4bd8fdaeeb Fix evas_object_textblock's strbuf implementation.
Code was not tracking the real size of the allocated memory and was
increasing the string size by one, so the '\0' was being accounted and
the string was being truncated visually.

Patch will remember the exact allocated size and just increment the
string size by the added string, not including it's null-byte
terminator.

This is based on Cedric's BAIL patch set 'evas_object_textblock more
character fix', but doing the minimum to fix the problem.

PS: this code will be rewritten to share some implementation in next commit.


SVN revision: 33937
2008-03-05 21:30:22 +00:00
Peter Wehrfritz 5acbfcb6e3 add portable pixmaps image loader
SVN revision: 33880
2008-03-01 15:27:20 +00:00
Carsten Haitzler e076a78519 cedric's eet and edje patches to use eet dictionaries for strings.
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Carsten Haitzler 23aef39670 ooh - a case where callbacks may be cleared but we call one - list entry not
nulled out. fix.


SVN revision: 33848
2008-02-26 09:16:17 +00:00
Gustavo Sverzut Barbieri a3ac3697ec Try to get DirectFB working.
This is an initial cleanup, basically I removed all the DirectFB
accelerated calls and moved it to software common. I do plan to
gradually bring these back later, probably blit, rectangle and line
will come first.


SVN revision: 33835
2008-02-25 06:13:53 +00:00
Horms 5ac42d953d Add build-dependancy on pkg-config
As aclocal may be called via autogen.sh during the Debian build process
add an explicit build dependancy on pkg-config which includes
/usr/share/aclocal/pkg.m4 which provides the PKG_CHECK_MODULES macro.


SVN revision: 33781
2008-02-18 07:44:11 +00:00
Horms b6106eeed1 evas: include autogen.sh in distribution tar ball
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.


SVN revision: 33774
2008-02-18 07:20:50 +00:00
Horms 2323e5d1ab evas: Update libgl build dependancy
libgl-dev is now a virtual package provided by libgl1-mesa-swx11-dev and
libgl1-mesa-dev, so one of these packages needs to be the build dependancy
instead of libgl-dev.

libgl1-mesa-dev seems to be the most logical choice as it can
be installed with minimal disruption on a vanilla install.


SVN revision: 33773
2008-02-18 07:15:48 +00:00
Gustavo Sverzut Barbieri 4d5430d438 Add room for '\0' in textblock calculations.
In evas_object_textblock, the length forgot the '\0', this create a
buffer overrun.

Author: Cedric BAIL


SVN revision: 33747
2008-02-15 14:45:31 +00:00
Gustavo Sverzut Barbieri 9b983b96b1 Patch by Cedric to really shutdown font system.
every thing is not really cleaned on shutdown (It make it crash, if
you shutdown completely the font system and then restart it again).

Author: Cedric BAIL


SVN revision: 33746
2008-02-15 14:43:51 +00:00
doursse d84ab190e6 disable the creation and installation of the static lib of
the modules by passing the disable-static tag to libtool


SVN revision: 33739
2008-02-13 07:55:24 +00:00
Gustavo Sverzut Barbieri 5d571051b9 Add const to Evas api: objects and remaining bits.
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Gustavo Sverzut Barbieri 2756696bbe Add const to Evas aoi (part 3), still lacks objects.
SVN revision: 33715
2008-02-08 21:42:01 +00:00
Gustavo Sverzut Barbieri bbc9773a26 Add const to Evas api (part 2), still lacks objects.
SVN revision: 33713
2008-02-08 20:57:30 +00:00
Gustavo Sverzut Barbieri 1def3acd63 Missing const to callback parameter.
SVN revision: 33712
2008-02-08 20:54:18 +00:00
Gustavo Sverzut Barbieri 5233796eb5 Add const to Evas api, still lacks objects.
SVN revision: 33711
2008-02-08 20:44:09 +00:00
Gustavo Sverzut Barbieri 2f346db9a9 Partial fix to evas_hash_foreach() const change.
This fixes the prototype, however it still issues a warning about a
real bug: calling evas_hash_modify() during evas_hash_foreach()


SVN revision: 33710
2008-02-08 20:42:10 +00:00
Gustavo Sverzut Barbieri 903a4d6e4d Add const to Evas_Smart_Class pointer.
The previous commit just removed the warning, but it was not the ideal
solution. The class is really a constant, nobody should change it
after it's assigned.


SVN revision: 33709
2008-02-08 20:03:48 +00:00
Gustavo Sverzut Barbieri 7cb7216314 Add const: evas_hash.c
As agreed on IRC, evas_hash_foreach() now takes const, to make clear
that hash shouldn't be changed. If one wants to change he must do a
cast and return 0.  However this will require users to be updated in
applications.


SVN revision: 33708
2008-02-08 19:55:03 +00:00
Gustavo Sverzut Barbieri 72b005350a Add missing cast.
SVN revision: 33707
2008-02-08 19:51:02 +00:00
Gustavo Sverzut Barbieri 1d5d592e14 Add const: evas_list.c
SVN revision: 33706
2008-02-08 19:16:13 +00:00
Gustavo Sverzut Barbieri de12b6d89a Avoid lots of casts.
SVN revision: 33704
2008-02-08 18:42:42 +00:00
Carsten Haitzler 67844ebc4c 1. fix abort in tiff loader
2. slidesel theme garbage trailing. nuke
3. icon obj can have pre-scale set not. default is as before.
4. printf-- in slidesel


SVN revision: 33677
2008-02-05 12:00:19 +00:00
Christopher Michael 865f8ada56 Comment out unused variable. Seems the functions that were supposed to use
it are commented out, but the variable was left. Fixed.


SVN revision: 33659
2008-02-01 01:50:56 +00:00
Christopher Michael f665bd40d6 Comment out unused function...was giving a "defined but not used" warning
during compile. Left function intact, just commented out, in case it was
meant for use later.


SVN revision: 33658
2008-02-01 01:45:46 +00:00
Mike Frysinger ada82df743 __USE_GNU is an internal define not meant for people to use and _BSD_SOURCE is implied by _GNU_SOURCE
SVN revision: 33619
2008-01-26 06:01:00 +00:00
Mike Frysinger 9cda799943 set proper ACLOCAL_AMFLAGS
SVN revision: 33605
2008-01-25 04:40:28 +00:00
Carsten Haitzler 92e084f9ca asparagus! also pass distcheck and have common autofoo init that is
consistent for package, version etc.


SVN revision: 33602
2008-01-25 03:35:49 +00:00
Carsten Haitzler 40843fe689 probably long overdue - if stringshare add/del get a null string - safely
return null or just return


SVN revision: 33576
2008-01-24 00:57:20 +00:00
Carsten Haitzler f8a8489e92 and have the event surfivie between object calls - that was an oops!
SVN revision: 33563
2008-01-23 09:00:59 +00:00
Carsten Haitzler a20bf8dc09 and... set event flags to 0 damnit!
SVN revision: 33561
2008-01-23 08:27:13 +00:00
Carsten Haitzler cba063d93b i've added event flags. this allows objects on top to add flags tyo events
(like put an event on hold) while it still passes through. object under it
need to be awar of evewnts being on hold as you may want hypbrid behaviors.


SVN revision: 33560
2008-01-23 04:19:26 +00:00
Carsten Haitzler d413c7c6b7 hrrm. 0x0 textures - libGL in new nvidia drivers is most unhappy with! fix.
SVN revision: 33548
2008-01-22 05:31:25 +00:00
Carsten Haitzler 23416631c1 only 0 on init if image has alpha
SVN revision: 33537
2008-01-20 04:15:31 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Gustavo Sverzut Barbieri e6db6ad10b Fix bug with out-of-screen paiting in software_16
Things like expedite's "Image Qualit Scale" that blited with x,y
negative were giving incorrect clip rectangle.


SVN revision: 33326
2008-01-02 20:58:29 +00:00
moom 8a05a8d250 * [GL-engine] Do software YUV-conversion if GLSL is not supported. I
can't test it on a GLSL card, so I hope it didn't break anything. If
something is broken, feel free to revert! (but it would probably just be
related to the way it detects GLSL support at l.78 of evas_gl_context.c)


SVN revision: 33242
2007-12-25 11:12:39 +00:00
Carsten Haitzler 1c950e9cc6 missing -lXrender
where did that go?


SVN revision: 33168
2007-12-17 10:07:48 +00:00
Carsten Haitzler 5e2bbbbfab simple x11 linking
SVN revision: 33160
2007-12-16 03:37:03 +00:00
Carsten Haitzler 0112fdc383 patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Brett Nash f30bb5ed4a Make layer get work correctly for smart members.
Currently works fine until you change the smart objects layer.


SVN revision: 33117
2007-12-12 23:52:18 +00:00
doursse b8674c0a38 don't autodetect Glew
SVN revision: 33028
2007-12-06 19:59:01 +00:00
Davide Andreoli c96d7042dd This fix the main page to be displayed. But it really need a content update.
SVN revision: 33027
2007-12-06 19:24:28 +00:00
Davide Andreoli 67d18019fb Update doxy style
SVN revision: 33026
2007-12-06 19:19:07 +00:00
doursse e1b4b3b9cf add --enable-strict option to configure:
* when it is used and when another --enable-foo is passed, if foo is
   not found, configure fails and displays an error message.
 * when it is not used, the old behavior (auto-detect) is not changed: if
   --enable-foo is passed and foo is not found, configure does not fail.


SVN revision: 33014
2007-12-06 09:36:06 +00:00
Sebastian Dransfeld 631f96bc0e formatting
SVN revision: 32946
2007-12-02 19:44:27 +00:00
Gustavo Sverzut Barbieri 3a64b46646 Fix possible memory leak with software_16.
If image data is not loaded at all, engine must free associated 32 bit
structure.


SVN revision: 32781
2007-11-19 22:27:02 +00:00
doursse 5aeba351c0 fix detection of the glew engine. Add some messages during configure
SVN revision: 32765
2007-11-18 22:10:50 +00:00
kaethorn 0c97103851 enable fb, disable directx.
SVN revision: 32677
2007-11-14 17:03:12 +00:00
Carsten Haitzler c10ccad763 static func - cedric patch
SVN revision: 32649
2007-11-13 05:58:50 +00:00
Carsten Haitzler c6df44802c As requested -
debian--, gendoc++


SVN revision: 32476
2007-11-07 22:56:05 +00:00
Michael Jennings d7997fe020 Tue Nov 6 21:42:00 2007 Michael Jennings (mej)
Spec and build fixes.
----------------------------------------------------------------------


SVN revision: 32416
2007-11-07 05:42:08 +00:00
ningerso 79acfe35f8 Fix awk portability by removing the space between the -F flag and its arg.
SVN revision: 32415
2007-11-07 05:31:17 +00:00
Sebastian Dransfeld 5294951917 Use $enableval directly.
AC_HELP_STRING


SVN revision: 32399
2007-11-06 06:44:54 +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
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 d4073fc07a Clean up configure.in file
SVN revision: 32358
2007-11-04 19:09:19 +00:00
doursse 4111b41055 add mail to AC_INIT
SVN revision: 32343
2007-11-04 09:55:39 +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
Sebastian Dransfeld b3ee7373a7 ignore
SVN revision: 32329
2007-11-03 15:47:07 +00:00
doursse 53fe579d6d indentation
SVN revision: 32291
2007-11-02 07:38:18 +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 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 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
Gustavo Sverzut Barbieri f553a7fab5 Minor cleanup on software_16, evas_soft16_rectangle.c
SVN revision: 32175
2007-10-27 21:06:58 +00:00
Gustavo Sverzut Barbieri 55f6c5f046 Add software_16 cache.
SVN revision: 32169
2007-10-26 18:53:39 +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
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
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
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 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
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
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
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 bb28443e9a printf--
SVN revision: 31971
2007-10-05 04:54:45 +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
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
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
andrunko 2c2ca77d5f Make sure image colorspace is properly set.
SVN revision: 31889
2007-09-30 15:04:51 +00:00
Gustavo Sverzut Barbieri 64f0ccb945 Oops, re->surface, not re->surface->pixels.
SVN revision: 31834
2007-09-28 12:50:52 +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
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
Gustavo Sverzut Barbieri c7c3586c9e Damn, wrong copy&paste fix.
SVN revision: 31750
2007-09-17 21:11:43 +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
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 278279e269 asparagus!
SVN revision: 31524
2007-08-26 14:33:41 +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
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
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
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
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
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 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 4d346e4bd8 Remove unnecessary code.
SVN revision: 31270
2007-08-12 19: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
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
Carsten Haitzler 287d8779fb fix the cache code - it was basically broken and wouldnt free things from
cache. it also didnt account cache USAGE (cache is ref == 0 count images
speculatively hanging around in case theyare needed).


SVN revision: 31227
2007-08-08 23:41:31 +00:00
Gustavo Sverzut Barbieri 4a4a0b0f4c Software 16 X11 now does rotation.
SVN revision: 31215
2007-08-07 19:09:53 +00:00
doursse e16d7525c9 simplify detection of gl engines
SVN revision: 31202
2007-08-07 10:18:51 +00:00
doursse 9c17b01d0b move Xlib includes from gl_common to gl_x11
SVN revision: 31201
2007-08-07 09:03:22 +00:00
doursse ed716c1888 move windows.h include from gl_common to gl_glew
SVN revision: 31200
2007-08-07 05:38:24 +00:00
doursse 2409b26057 fix the case where gl-common is not built if gl_x11 is built and gl_glew is not. gl_common should be check apart those 2 engines, imho
SVN revision: 31195
2007-08-06 15:36:59 +00:00
doursse 31c47b3461 Glew OpenGL engine added. Windows can have an opengl engine thgough the Glew library, now. See INSTALL note
SVN revision: 31180
2007-08-05 07:22:44 +00:00
Carsten Haitzler 4b435be1ed move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Carsten Haitzler 6437f4ed23 grad fixes from jose
SVN revision: 31159
2007-08-04 12:33:12 +00:00
Carsten Haitzler 1977933b18 actually - yes - in texture drop not del.
SVN revision: 31158
2007-08-04 09:54:35 +00:00
Carsten Haitzler ebc47059de gradients dont crash now. draw funny tho :-P
SVN revision: 31157
2007-08-04 07:20:17 +00:00
Carsten Haitzler 8433ddf94a wrong gradient call
SVN revision: 31156
2007-08-04 07:04:45 +00:00
Gustavo Sverzut Barbieri 06c6b24a3e Implement extra operations for image.
I tried to get those right, but I'd like someone else to review these.


SVN revision: 31150
2007-08-03 23:11:56 +00:00
Carsten Haitzler a6d0bff73f was screwing around hunting down bug in edje...
SVN revision: 31106
2007-08-01 14:35:30 +00:00
Gustavo Sverzut Barbieri eda1f13b33 Support for selectable pointer_mode.
Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.


SVN revision: 30950
2007-07-24 14:20:07 +00:00
Carsten Haitzler d6f9cc797e adrunko's precise event patch
SVN revision: 30939
2007-07-23 14:22:57 +00:00