Commit Graph

3771 Commits

Author SHA1 Message Date
Carsten Haitzler 6ca2a14020 use already loaded var :)
SVN revision: 24937
2006-08-20 14:51:10 +00:00
Carsten Haitzler 4173993b23 app restart has fixed buffer - doesnt need malloc for a restart now (safer)
SVN revision: 24929
2006-08-20 08:16:34 +00:00
David Walter Seikel a58d7287ab *Icon theme support functions.
*Minor API change that no one was using anyway.


SVN revision: 24921
2006-08-20 03:45:53 +00:00
Carsten Haitzler d556190d88 bad free. bad!
SVN revision: 24919
2006-08-20 02:48:24 +00:00
moom 5014c11f2e * Add edje_object_part_object_get() to get the 'Evas_Object *'
corresponding to a given part.


SVN revision: 24912
2006-08-19 18:22:01 +00:00
Carsten Haitzler f631394f18 gl engine build
SVN revision: 24905
2006-08-19 11:59:55 +00:00
Carsten Haitzler f407013a5f include evas private header
SVN revision: 24904
2006-08-19 11:58:07 +00:00
David Walter Seikel 5e8c381334 New function for creating a hash of existing icon themes. To be used
for caching purposes, and an icon theme selector dialog.


SVN revision: 24898
2006-08-19 06:26:00 +00:00
Carsten Haitzler bd5bd84852 printf-- - safety valve++
SVN revision: 24893
2006-08-19 01:49:33 +00:00
Carsten Haitzler c6164acc18 jpeg loader can use load opts to try pre-scale on load now... :) ie epeg
features directly in evas.


SVN revision: 24892
2006-08-19 01:48:13 +00:00
Carsten Haitzler d5a131c924 fix caching to account for load options
SVN revision: 24890
2006-08-19 00:22:02 +00:00
David Walter Seikel d47c0e9012 Some debuggin', valgrindin', and constifyin`.
SVN revision: 24884
2006-08-18 21:52:33 +00:00
Carsten Haitzler 7899758192 guess svgz faster too
SVN revision: 24871
2006-08-18 14:54:24 +00:00
Carsten Haitzler b5f6d45b06 and actually use the load size
SVN revision: 24869
2006-08-18 14:47:45 +00:00
Carsten Haitzler 0889c589f2 added the ability to set load scaledown, dpi or load size - the svg loader
uses these to know what to render and how (or has defaults if these are not
set)


SVN revision: 24868
2006-08-18 14:45:26 +00:00
Carsten Haitzler efdd0bf4fa memset to 0 for initial memory
SVN revision: 24857
2006-08-17 23:52:41 +00:00
Carsten Haitzler 19a3b33edb change cwd to the dir with the svg - if the svg has relative paths to bitmap
files included in the svg


SVN revision: 24856
2006-08-17 23:43:17 +00:00
Stafford Mitchell Horne 8287eadf7f Disabiling ecore-fb and ecore-evas-fb by default. Everyone can still
enable it by using --enable-ecore-fb or --enable-ecore-evas-fb with the
autogen.sh or configure scripts.


SVN revision: 24855
2006-08-17 23:41:47 +00:00
Carsten Haitzler 6d24413b6c evas svg loader .spec file additions
SVN revision: 24852
2006-08-17 23:08:09 +00:00
David Walter Seikel f92d643c5f Fix some of the memory leaks. There are more leaks, but it's just me
being conservative and strduping when it's- probably not needed.  I'll
double check them all and sort them out later today.


SVN revision: 24849
2006-08-17 20:24:36 +00:00
David Walter Seikel 35d34dee92 The comment does say "Allocate struct for eet file and have it zero'd
out" but using calloc is inefficient since most members of the struct
are written to straight away.  Valgrind complains that the data member
can sometimes be used without being initialised.  Seems to happen when
we can't open it and eet_close tests the value of the data member.

Those that know this code better than me should check this. Probably a
good idea to initialise ALL members at this point.


SVN revision: 24848
2006-08-17 20:22:23 +00:00
Jorge Luis Zapata Muga ed7d138bbc + Add a check for linux/input.h, this isnt acutally the best way,
because we have to check the code inside, not only the file, maybe a
  test app will be usefull but i dont know much of autotools.
+ make ecore_evas_fb dependant to ecore_fb
+ on ecore_fb_private.h add a hack in case the linux headers are broken
  (2.6.15 - 2.6.17), thanks blak. for other kernels i still need more
  info to acutally fix the issues.


SVN revision: 24845
2006-08-17 19:38:30 +00:00
Dan Sinclair f4d36eeddd - make some things const for ecore_desktop_icon_find
SVN revision: 24844
2006-08-17 19:11:00 +00:00
kaethorn ad94058e44 add SVG loader to debian packages.
SVN revision: 24842
2006-08-17 17:50:35 +00:00
sebastid 6101f10142 PATH_MAX is the standard
SVN revision: 24839
2006-08-17 17:09:23 +00:00
sebastid 2b48ecaa61 Add autofoo stuff for svg
SVN revision: 24835
2006-08-17 16:43:30 +00:00
Carsten Haitzler 63cc2539b2 fix subdir!
SVN revision: 24831
2006-08-17 15:39:24 +00:00
Carsten Haitzler 08e2c38474 jose's svg loader - in. needs the ability to set dpi etc. etc. - loader api
work and evas api work there.


SVN revision: 24830
2006-08-17 14:11:59 +00:00
sebastid d0532a359a Make headers and macros private
SVN revision: 24817
2006-08-16 18:57:58 +00:00
ningerso 04090c04d9 Make global variables extern in the header and declare and initialize in main
file. This fixes build on OS X caused by symbol conflicts from multiple
definitions of those variables.


SVN revision: 24815
2006-08-16 18:18:01 +00:00
Kim Woelders a5db61c51e Add missing const modifiers. Remove unnecessary casts.
SVN revision: 24812
2006-08-16 17:40:08 +00:00
David Walter Seikel 5a3fa351cd Decided to let the coder search for edje's before calling this. Also added .svgz for compressed SVGs.
SVN revision: 24792
2006-08-16 08:50:39 +00:00
Carsten Haitzler 5aa07e60c6 eet return ferror right
SVN revision: 24729
2006-08-15 06:45:51 +00:00
David Walter Seikel 3a1d70fb06 Bring it a bit more up to scratch, and a better match for what is
required in e_apps.c.

API breakage.


SVN revision: 24710
2006-08-14 21:42:53 +00:00
Dan Sinclair 03c0e9c47c - strdup paths so that we know we can write into it.
SVN revision: 24709
2006-08-14 21:25:53 +00:00
sebastid c189c73f86 FIXME++
SVN revision: 24707
2006-08-14 21:14:40 +00:00
Dan Sinclair c6257329c7 - add missing header
SVN revision: 24704
2006-08-14 20:24:20 +00:00
Carsten Haitzler 48b81d3bfa remove printf
SVN revision: 24687
2006-08-14 13:56:18 +00:00
Carsten Haitzler 8b1f602f38 being an anally retentive bastard.. i checked if e worked in 8bpp under vnc.
GASP! it didn't. evas's color allocator was screwed. fixed! :)


SVN revision: 24686
2006-08-14 13:50:07 +00:00
David Walter Seikel 7735577d0c Don't want a four second delay added to E startup, so optimise speed an
order of magnitude or more by not asking GNOME and KDE for search paths,
but geussing them instead.  We can afford dozens more guesses before
things start to slow down, but there are plans to correct the guesses
during idle time.  Guesses are good enouegh for now.


SVN revision: 24680
2006-08-14 10:22:51 +00:00
David Walter Seikel ad2fe01a65 Some basic docs and a minor API change.
SVN revision: 24674
2006-08-14 06:49:49 +00:00
David Walter Seikel 3f48ccac60 Changed the externally visible names to be more like the rest of ecore.
I don't think anybody is using it yet, but I'm compiling everything now
to make sure.


SVN revision: 24672
2006-08-14 05:44:04 +00:00
David Walter Seikel c50838cae9 Formatted according to the indent commands that I think KainX sent me a
while ago -

-i3 -bl -bad -nbap -sob -ncdb -di20 -nbc -lp -nce -npcs -sc -ncs -l80

Looks downright evil to me, is the above correct?


SVN revision: 24670
2006-08-14 04:41:44 +00:00
Carsten Haitzler fb4772a769 fix escape handling in quotes! :)
SVN revision: 24641
2006-08-13 10:37:04 +00:00
chaos 86ba91031a * Make ecore_desktop handle trash files (same fdo format)
SVN revision: 24637
2006-08-13 08:36:15 +00:00
Carsten Haitzler 7f41aeb177 fix some warnings!
SVN revision: 24599
2006-08-12 14:46:15 +00:00
sebastid 57a4117e2d Remove unused variable.
SVN revision: 24598
2006-08-12 14:40:59 +00:00
sebastid f07a4a166d Add missing '_'.
SVN revision: 24597
2006-08-12 14:38:03 +00:00
kaethorn aa3decda36 add package of gl module, completely optional.
SVN revision: 24585
2006-08-12 11:08:47 +00:00
kaethorn 45c4375bc9 add xpm loader to debian packages. clean up the control file.
SVN revision: 24584
2006-08-12 11:05:26 +00:00
Kim Woelders c01cb59689 Let the WM decide how fullscreening is done.
SVN revision: 24582
2006-08-12 10:16:53 +00:00
cobra 3c79e1cd35 Add RPM rules for XPM loader.
Kevin Brosius <cobra@compuserve.com>


SVN revision: 24581
2006-08-12 09:48:28 +00:00
Carsten Haitzler 21896dc50d jose's xpm loader.
SVN revision: 24579
2006-08-12 09:16:30 +00:00
cobra fe2ccf5c8a Make it RPM...
Kevin Brosius <cobra@compuserve.com>


SVN revision: 24577
2006-08-12 00:11:14 +00:00
David Walter Seikel ae95df23ab Freedesktop.org desktop, icon, and menu support as per the discussion in
the mailing list.  It's not ready yet.  It needs documentation, EFL
conformant naming, and a good whipping into shape by indent.  The ecore
integration needs a reveiw, see if I got that right.

Consider this a preview, it's mostly there, just needs some tweking.


SVN revision: 24560
2006-08-11 13:45:39 +00:00
Kim Woelders f864ccd8e6 Fix warning/potential trouble.
SVN revision: 24543
2006-08-11 02:26:16 +00:00
sebastid 2c14125fbf space
SVN revision: 24539
2006-08-10 17:21:40 +00:00
sebastid c754c00bbc Disable grab test on mouse out too.
SVN revision: 24504
2006-08-09 11:23:32 +00:00
Mike Frysinger fdf8e2f0c2 eat spurious whitespace
SVN revision: 24502
2006-08-09 08:24:45 +00:00
titan c9365ad7da Fix the order of a typedef to satisfy g++
SVN revision: 24495
2006-08-09 07:06:55 +00:00
Carsten Haitzler 49e9c9589e fix some aspect cacls
SVN revision: 24480
2006-08-08 20:25:24 +00:00
sebastid ad4e90eafd If the list node is known, use evas_list_remove_list
SVN revision: 24467
2006-08-08 09:53:51 +00:00
rephorm a9ff065c01 i assume this was meant as an optimization. however, it wasn't correct for some cases (e.g. rgb = 187, 169, 123)
SVN revision: 24465
2006-08-08 06:01:37 +00:00
sebastid b2c767b5ab ignore++
SVN revision: 24454
2006-08-08 00:54:56 +00:00
Carsten Haitzler 1a80e60baf add lib deps back in - seemingly i found a modern gcc/ld that doesnt seem to
handle shared lib deps... weird.


SVN revision: 24445
2006-08-07 20:26:33 +00:00
Carsten Haitzler 53f8ce92e7 fix x build/link in some weird circumstnaces
SVN revision: 24438
2006-08-07 07:03:12 +00:00
sebastid 6163e51220 Fix warnings
SVN revision: 24415
2006-08-06 01:45:45 +00:00
sebastid 5dc6a1479f filename is const
SVN revision: 24414
2006-08-06 01:35:56 +00:00
sebastid e3be454d46 Can someone who knows this code fix this?
SVN revision: 24413
2006-08-06 01:27:22 +00:00
sebastid 0410bbcf4a Fix formatting
SVN revision: 24403
2006-08-05 03:07:29 +00:00
rephorm 6f000216b2 don't check spectra if we don't have any... (fix segv)
SVN revision: 24392
2006-08-04 18:40:31 +00:00
ningerso 470d2eda32 Fix evas_list_promote_list to allow promoting to arbitrary points in the list.
SVN revision: 24388
2006-08-04 10:47:06 +00:00
ningerso d85048c93f Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.


SVN revision: 24387
2006-08-04 10:00:50 +00:00
rephorm 19ca0b0721 ... more whistling
SVN revision: 24386
2006-08-04 09:00:35 +00:00
rephorm bcd6f83784 add some validation to spectra
SVN revision: 24385
2006-08-04 08:55:05 +00:00
rephorm 7def98b41e nothing to see here... *whistling*
SVN revision: 24384
2006-08-04 08:40:03 +00:00
quan74 824b166457 Makefile fix - add ecore_fb_keytable.hto EXTRA_DIST
SVN revision: 24383
2006-08-04 07:59:18 +00:00
rephorm 1ddfc6a183 oops. thanks jose :)
SVN revision: 24377
2006-08-03 09:47:17 +00:00
Jorge Luis Zapata Muga 4bcb051ded Ecore_Fb
========
+ Initial support for absolute axis (touchscreen, touchpad).


SVN revision: 24376
2006-08-03 05:58:14 +00:00
moom ac0055db7e * Add evas_object_smart_parent_get() to get the smart parent of an Evas_Object
* Add evas_object_smart_members_get() to get a list of the member objects of a smart object


SVN revision: 24374
2006-08-03 02:14:53 +00:00
Jorge Luis Zapata Muga 255a87c0e8 Ecore_Evas_Fb
=============
+ Now we send events to evas from all input devices


SVN revision: 24370
2006-08-02 21:41:11 +00:00
rephorm 8cda88c2e6 Add initial support for edje gradients. See data/src/gradient.edc for an example.
SVN revision: 24361
2006-08-02 10:52:44 +00:00
Carsten Haitzler 9f6824c2ab remove modifier masks if they clash
SVN revision: 24360
2006-08-02 07:55:01 +00:00
Jorge Luis Zapata Muga b297b42db6 Ecore_Fb changes:
================
+ remove of old ps2, touchscreen and keyboard input handlers
+ old code is kept on sperated files for backup in case someone needs
  it, but wont compile
+ addition of new linux input (evdev) handlers. (touchscreen is handled
  as an absolute axis device, no need for old code). It supports
  multiple input devices, you can have several mice for example.
+ new vt code, now it support allocating a new tty if root, or use
  current tty if normal user, correct vt switching on both cases
+ some more cleanups
Ecore_Evas_Fb changes:
=====================
+ use the new ecore_fb


SVN revision: 24326
2006-07-31 04:13:51 +00:00
Carsten Haitzler 996645a4d6 add abort so u can trap etk badness
SVN revision: 24316
2006-07-30 14:30:24 +00:00
codewarrior ce41b8e859 initialize to 0, set prop.sticky properly
SVN revision: 24296
2006-07-29 14:50:18 +00:00
Carsten Haitzler 5f5f1984e0 leak--
ecore_exe leaked doosmdat clock dead data.
ecore_evas loaked netwm state data


SVN revision: 24293
2006-07-29 10:05:13 +00:00
Carsten Haitzler e120f13fb4 leak--
SVN revision: 24292
2006-07-29 09:54:20 +00:00
Carsten Haitzler 51ccc72b4f and that was just SILLEH! - fix. fast fix.
SVN revision: 24247
2006-07-27 19:33:04 +00:00
Carsten Haitzler 6590dd220f add 2 list calls that well - i need for efficiency :)
SVN revision: 24245
2006-07-27 19:27:34 +00:00
codewarrior ac8df12757 - more work on window state changes.
- add ecore_evas_callback_[un]sticky_set


SVN revision: 24240
2006-07-27 16:14:33 +00:00
sebastid b89bd50d09 ignore hal bin
SVN revision: 24239
2006-07-27 15:38:47 +00:00
sebastid e1219aaf40 - Check if the return type of the error message is string
- Add test with error


SVN revision: 24238
2006-07-27 15:34:16 +00:00
sebastid 48e23af633 Add error callback
SVN revision: 24237
2006-07-27 15:28:44 +00:00
sebastid 0df8ad55dd Use callbacks for method return, not events
SVN revision: 24236
2006-07-27 15:06:13 +00:00
sebastid 2e58ad9aad Store methods until we have the reply.
Alloc the correct amount of mem.


SVN revision: 24235
2006-07-27 14:06:04 +00:00
sebastid 83e8ea7c56 Add one event type for each type of message
SVN revision: 24233
2006-07-27 13:29:44 +00:00
codewarrior e1723fa800 - if something other than ecore_evas changes some of the states of the x_window, we need to listen to the changes and update our local flags (like sticky for example). If we dont, things like ecore_evas_sticky_get will always return an outdated sticky property. I have implemented it for the sticky bit for now, but this needs to be done for all the others as well.
- question: do we want to implement ecore_evas_callback_sticky_set or something similar that will tell the programmer when the sticky bit has changed? I think it would be a good idea to do it here as opposed to doing it inside Etk for example.


SVN revision: 24223
2006-07-27 02:42:41 +00:00
sebastid e77f976716 More DBus work. Should soon be able to interact with haldaemon.
SVN revision: 24207
2006-07-26 20:43:28 +00:00
sebastid e70669f3d1 Update the event structure for DBus.
SVN revision: 24201
2006-07-26 12:08:06 +00:00