Commit Graph

1272 Commits

Author SHA1 Message Date
rephorm 5ad73d3440 copy the name into the buffer so that svr->path gets set correctly later
SVN revision: 26132
2006-09-25 05:21:14 +00:00
rephorm a857aa5926 oops. didn't mean to change this
SVN revision: 26128
2006-09-25 01:53:47 +00:00
David Walter Seikel 2e0cf8f14c Oops, missed this.
SVN revision: 26123
2006-09-24 22:27:04 +00:00
David Walter Seikel b6f5b60b5f This was also a good patch.
SVN revision: 26122
2006-09-24 22:08:10 +00:00
David Walter Seikel 72b893b2b6 This one passes muster as well.
SVN revision: 26120
2006-09-24 21:38:00 +00:00
David Walter Seikel 571156e767 This one is sane, I'll put it back in.
SVN revision: 26119
2006-09-24 21:30:23 +00:00
David Walter Seikel 1f7e1dfa3a I'm reverting these so that menu generation doesn't crash anymore.
SVN revision: 26118
2006-09-24 21:21:24 +00:00
David Walter Seikel 59f86f0a78 Another const warning.
SVN revision: 26116
2006-09-24 21:17:09 +00:00
David Walter Seikel 5898e380e9 I'm not the first to say this, and I want be the last. const is more
trouble than it's worth.  It gets in the way more than it helps.


SVN revision: 26112
2006-09-24 20:03:31 +00:00
David Walter Seikel e43d359810 Add a sanity check, if there is no group of interest found, then this is
not a .desktop that anybody would be interested in.


SVN revision: 26111
2006-09-24 19:55:06 +00:00
David Walter Seikel 1027e2004c Document that \n is the other white space.
SVN revision: 26110
2006-09-24 19:27:20 +00:00
David Walter Seikel 4069dd3a90 *Not all white space is treated the same here, so using isspace is not
correct.  In this case, use of isspace causes bugs where only the
initial word of names is used, exe parameters are stripped, etc.

*The exe params should be strdup'ed just like all the others.  This one
is my fault.


SVN revision: 26108
2006-09-24 16:37:43 +00:00
sebastid 2173bc5e08 Only delete these paths on shutdown.
SVN revision: 26104
2006-09-24 14:29:15 +00:00
sebastid 39badb5ed7 What to do?
SVN revision: 26095
2006-09-24 12:55:44 +00:00
sebastid c55e86c353 Free paths.
SVN revision: 26093
2006-09-24 12:51:22 +00:00
sebastid 0931fa44b3 FIXME++
SVN revision: 26092
2006-09-24 12:27:15 +00:00
sebastid 4bf62d9b21 Fix mem leaks.
Is Ecore_Desktop_Tree buffers needed?


SVN revision: 26091
2006-09-24 12:26:09 +00:00
sebastid 908e69de2e Plug memleak.
SVN revision: 26090
2006-09-24 12:21:44 +00:00
sebastid a1865b0d30 *** empty log message ***
SVN revision: 26089
2006-09-24 11:17:03 +00:00
sebastid 036f824be9 Fix mem leaks.
SVN revision: 26088
2006-09-24 09:28:21 +00:00
sebastid 5608f9adcf Remove double declarations.
No need to typedef to void.


SVN revision: 26086
2006-09-24 08:16:02 +00:00
sebastid d0be3efc40 This event is from ecore_con
SVN revision: 26085
2006-09-24 08:06:57 +00:00
rephorm feeca8301b cleaner handling of optional features
SVN revision: 26084
2006-09-24 07:53:47 +00:00
rephorm 64386aa44c don't include ifdefs in the main header
SVN revision: 26083
2006-09-24 07:35:50 +00:00
rephorm ce507ae550 missed a few files
SVN revision: 26082
2006-09-24 07:28:07 +00:00
rephorm 16f3aae0c9 Add abstract socket namespace support to ecore_con.
Lots of work on ecore_dbus
Hilights:
  - get the socket address for system/session/startup busses from the environment
  - can request/release a bus name
  - receive method calls (we need to add a way to register callbacks for specific methods)
  - send signals and method replies (untested)

*** API BREAKAGE ***
ecore_dbus_message_new_method_call() - the 'destination' param has moved to after the 'method' param to keep things consistent with newly supported message types and the param ordering in the spec.


SVN revision: 26081
2006-09-24 07:24:52 +00:00
Dan Sinclair 9e48ad8026 - fix warning
SVN revision: 26075
2006-09-23 20:45:06 +00:00
sebastid 82ac63e805 initialize memory.
SVN revision: 26065
2006-09-23 11:23:43 +00:00
sebastid 1894a222d4 Free temporary directory.
_ecore_desktop_icon_theme_destroy free's base struct, so must be at end.


SVN revision: 26064
2006-09-23 11:21:29 +00:00
sebastid 498311d175 init result
SVN revision: 26063
2006-09-23 11:16:48 +00:00
sebastid 6ce6b42f71 free result on error.
set group to NULL, since it references data.


SVN revision: 26062
2006-09-23 11:12:39 +00:00
sebastid 609839c524 set data to NULL after deleting hash.
SVN revision: 26060
2006-09-23 11:08:06 +00:00
sebastid b37acd48bf No const modifier on memory which should be freed.
SVN revision: 26059
2006-09-23 10:53:50 +00:00
sebastid e018d6ae72 Only fetch data if data is empty.
SVN revision: 26058
2006-09-23 10:47:15 +00:00
sebastid f8ecb984da free closest.
SVN revision: 26057
2006-09-23 10:34:23 +00:00
sebastid 2a42c7e2f5 Check for null before parsing begins.
SVN revision: 26055
2006-09-23 10:01:17 +00:00
sebastid c544fca4d5 printf--
SVN revision: 26054
2006-09-23 09:59:42 +00:00
sebastid cc3583b288 Fix split path.
SVN revision: 26053
2006-09-23 09:59:19 +00:00
sebastid 7cf207e441 value is already checked.
SVN revision: 26052
2006-09-23 09:37:59 +00:00
sebastid 843ad312d1 Bail early on error.
Fix nested if.


SVN revision: 26051
2006-09-23 09:36:59 +00:00
sebastid c8850bfec4 No need to create the list here, it is never used and will leak.
SVN revision: 26050
2006-09-23 09:33:34 +00:00
sebastid 9702e0ba8e Add vim header.
Bail early on error.
Strip all trailing slashes.


SVN revision: 26049
2006-09-23 09:32:27 +00:00
sebastid 0401c102c1 Bail early on error.
SVN revision: 26048
2006-09-23 09:07:35 +00:00
sebastid 4b77666dbc variable is only used in this function.
SVN revision: 26047
2006-09-23 08:49:31 +00:00
sebastid 9cb768108e Bail early on error.
Jump out of search when found.


SVN revision: 26046
2006-09-23 08:48:49 +00:00
sebastid 833f9c2a9c No need to use strlen twice.
SVN revision: 26042
2006-09-23 08:33:53 +00:00
sebastid 7540fa30ce Bail early on error.
SVN revision: 26041
2006-09-23 08:29:46 +00:00
sebastid 4459beb979 Formatting.
SVN revision: 26040
2006-09-23 08:25:25 +00:00
sebastid f5c6733e23 Bail early on error
SVN revision: 26039
2006-09-23 08:23:29 +00:00
sebastid 57d8e4317c Use isspace() to check for whitespace.
Add missing return statement.


SVN revision: 26038
2006-09-23 08:06:52 +00:00
sebastid be24979e13 Return immediatly on error.
SVN revision: 26037
2006-09-23 08:05:23 +00:00
David Walter Seikel f1b46bd67e Part of a review of icon searching, to be completed on sunday.
SVN revision: 26025
2006-09-22 14:56:41 +00:00
David Walter Seikel e282477a21 Instrumentation so that we can test performance while of caching.
SVN revision: 26022
2006-09-22 10:11:32 +00:00
David Walter Seikel 55c9565b6d A few fixes for icon themes, including -
Icon theme inherits can have a list of parents, I don't recall seeing
that in the spec, but some of mine have that.


SVN revision: 26020
2006-09-22 07:51:32 +00:00
David Walter Seikel 60b375073a *Use a hash cache of icon themes to speed things up.
*Formatting.


SVN revision: 26018
2006-09-22 06:14:25 +00:00
David Walter Seikel e21eff359b Formatting.
SVN revision: 26017
2006-09-22 06:08:42 +00:00
David Walter Seikel f9a0087270 *Keep track of directories inside of themes.
*Formatting.


SVN revision: 26016
2006-09-22 06:07:01 +00:00
David Walter Seikel fb74f26347 Frre up ram. Re organised a little to make freeing ram easier.
SVN revision: 26012
2006-09-22 03:38:11 +00:00
Carsten Haitzler 05cd95e44d sometimes... HOME is not set... believe it or not! :)
SVN revision: 25999
2006-09-21 12:59:44 +00:00
David Walter Seikel 343a6d9ab2 Free up all those nasty hashes.
SVN revision: 25970
2006-09-19 02:11:32 +00:00
Christopher Michael 63e239601b Fix glibc invalid next size on free.
SVN revision: 25914
2006-09-17 13:34:11 +00:00
David Walter Seikel b7902d975b Everybody has converted their .eaps to .edjs using my script, haven't they?
SVN revision: 25897
2006-09-16 20:01:59 +00:00
David Walter Seikel 7a0519ac2a Ignore empty values, don't write them either.
SVN revision: 25888
2006-09-16 15:14:18 +00:00
David Walter Seikel ff2c213e35 If the caller wants fallback options, then it can implement it's own fallback options.
SVN revision: 25829
2006-09-14 12:44:35 +00:00
Kim Woelders d66cfdf684 Requested by tilman.
SVN revision: 25818
2006-09-13 17:45:12 +00:00
David Walter Seikel e0230375c8 Add the rest of the info from .eaps.
SVN revision: 25815
2006-09-13 13:51:39 +00:00
David Walter Seikel f0ceec2fd3 Don't free this here, it gets freed at shutdown with the cache.
SVN revision: 25807
2006-09-13 03:57:09 +00:00
David Walter Seikel cf2d8ff0a4 Expand FDO command arguments and allow other argument parsing again.
SVN revision: 25754
2006-09-11 21:40:17 +00:00
Carsten Haitzler 3633644e9c typo-- - it was in a #ifdef DEBUG... thank god :)
SVN revision: 25690
2006-09-10 12:16:05 +00:00
Carsten Haitzler 514addb183 ok - the leak reports were disturbing me. fixed.
SVN revision: 25689
2006-09-10 11:11:54 +00:00
Carsten Haitzler 48d4b58ff9 1. fn's with no params shoudl be (void) - fixed 1 file.
2. might want to destroy temporary lists instead of leaking them.


SVN revision: 25688
2006-09-10 10:40:09 +00:00
Carsten Haitzler 1dd49d32b7 xrender too
SVN revision: 25669
2006-09-10 00:24:57 +00:00
balony 54c1f3e1ee Adding a function to abort all downloads.
SVN revision: 25634
2006-09-08 16:52:29 +00:00
David Walter Seikel 7b44542ef9 Allow diddling with the paths.
SVN revision: 25580
2006-09-07 13:16:21 +00:00
Carsten Haitzler 87924604ed patches from the world - fixes and todo's
SVN revision: 25578
2006-09-07 10:33:57 +00:00
David Walter Seikel f2e571e88e Separate the exe from its parameters.
SVN revision: 25574
2006-09-07 08:51:47 +00:00
handyande 0c6a8ed5dc Fix rgb defaults and a little indenting
SVN revision: 25572
2006-09-07 08:40:28 +00:00
sebastid 1b42f03040 Disable debug function.
SVN revision: 25518
2006-09-06 07:10:25 +00:00
sebastid 3aa4e62438 Add const modifier for compare and hash functions.
SVN revision: 25515
2006-09-06 07:06:55 +00:00
David Walter Seikel 1d44790ef5 FIXME++
SVN revision: 25511
2006-09-06 05:22:32 +00:00
David Walter Seikel b14f90d3b1 Some times you still need to refer to the standard paths from outside.
SVN revision: 25498
2006-09-05 17:54:20 +00:00
David Walter Seikel f31676a93f FIXME++
SVN revision: 25497
2006-09-05 17:14:49 +00:00
David Walter Seikel aaba3eb4c1 *Refactor away all the icky internal ecore_desktop_menu details.
*No need to export global paths anymore.


SVN revision: 25495
2006-09-05 16:33:31 +00:00
David Walter Seikel 0a195857b6 The menu tuning continues. Should find many more apps now on some
systems.  On the down side, some FDO menus are really badly built, and
will take way too long to parse.  Some duplicates will be found too, but
it's likely that those that already suffered duplicates may not have
them any more.  The path of the FDO menu is twisted, and many go mad
along the way.


SVN revision: 25487
2006-09-05 10:09:11 +00:00
David Walter Seikel 31f9a16b15 Implement a bit more of the .desktop spec to hide unwanted apps.
SVN revision: 25447
2006-09-04 15:20:27 +00:00
David Walter Seikel 60a847ab41 Check the timestamps on .desktop files to see if the cache is still valid.
The entire applicition caching system will be rewritten soon, so
consider this a temporary fix.


SVN revision: 25437
2006-09-04 10:57:42 +00:00
David Walter Seikel 9bd616534c Don't calculate icon class if there already is one.
SVN revision: 25420
2006-09-03 17:22:46 +00:00
David Walter Seikel 720ca3d757 FIXME++
SVN revision: 25402
2006-09-03 11:38:56 +00:00
Carsten Haitzler 6fee3f2405 trampling over p variable in a tmp sub-block - use diff var
SVN revision: 25400
2006-09-03 10:47:26 +00:00
David Walter Seikel e9e279a545 Allow relative icon paths in .desktops.
SVN revision: 25384
2006-09-03 07:31:35 +00:00
David Walter Seikel f621ebc3c7 Put .edj back in the icon search.
SVN revision: 25326
2006-09-02 05:06:39 +00:00
David Walter Seikel 5d290eb04a More icon tweaking. I have started to simplify and rationalise this as
it was starting to get silly.  Searching the icon class in the wm theme
first, then searching fdo icon themes sometimes ends up with a less
specific icon.  Menus make life tricky, as things are deferred there,
but not enough to avoid delays.  Lots more tweaking to come, but this
commit should result in more icons on menus.


SVN revision: 25324
2006-09-02 04:20:10 +00:00
David Walter Seikel c551124f8a Reap what I sow.
SVN revision: 25297
2006-09-01 15:03:19 +00:00
David Walter Seikel 89beaf7d21 Find a few more icons.
SVN revision: 25270
2006-09-01 06:59:21 +00:00
David Walter Seikel 2a32274aec The results of a small session with valgrind.
SVN revision: 25268
2006-09-01 06:24:11 +00:00
David Walter Seikel ff31c0e12c .desktop saving.
SVN revision: 25244
2006-08-31 12:10:09 +00:00
Carsten Haitzler a274d114ee fix recursive rm - does what rm -rf does now
SVN revision: 25239
2006-08-31 08:53:38 +00:00
Carsten Haitzler ae60acfeb4 do not follow the white rabbit... err - i mean symlink! respect the symlinks
dude! on recursive rm... respect!


SVN revision: 25238
2006-08-31 05:12:54 +00:00
David Walter Seikel 0dcb0f6d7c * Document policy on adding directories to the paths.
* Add a directory.


SVN revision: 25218
2006-08-30 18:51:04 +00:00
David Walter Seikel 2efa9e8838 Fix rasters seggie.
SVN revision: 25213
2006-08-30 14:49:38 +00:00
David Walter Seikel 75a08bae1b Add support for e_fm.
SVN revision: 25207
2006-08-30 12:21:51 +00:00
moom b69651ceaa * [Ecore_X_Selection] Remove ecore_x_selection_*_request_data_get()
functions from Ecore_X.h since they've never been implemented. Is this
right?


SVN revision: 25192
2006-08-29 22:37:07 +00:00
David Walter Seikel edd646fb43 Oops, debug leakage.
SVN revision: 25191
2006-08-29 19:11:32 +00:00
David Walter Seikel 3629cddd18 Add another default search path coz ManowarrioR insists.
SVN revision: 25190
2006-08-29 19:06:03 +00:00
David Walter Seikel de2726f369 * Added xsessions path search list.
* leak--


SVN revision: 25188
2006-08-29 17:26:20 +00:00
moom 992bf08f32 * [Ecore_X] "mouse up" events have now double/triple click flags, and
those flags are feeded to the Evas


SVN revision: 25105
2006-08-25 17:27:08 +00:00
sebastid 3efc967de0 Only strip trailing slashes.
SVN revision: 25022
2006-08-21 18:25:16 +00:00
sebastid 8978a10cb6 free home
SVN revision: 25020
2006-08-21 17:57:08 +00:00
sebastid e480b9d84c Strip is done in ecore_desktop_home_get().
home is never used.


SVN revision: 25019
2006-08-21 17:55:39 +00:00
sebastid 7b44f2f768 Use strncpy to get HOME copy.
Strip all trailing slashes.


SVN revision: 25018
2006-08-21 17:54:22 +00:00
sebastid 477f950c8c The func might not exist
SVN revision: 25016
2006-08-21 17:21:32 +00:00
sebastid d7a14aed43 If the node is found, the key is not used. So free it.
SVN revision: 25015
2006-08-21 17:20:37 +00:00
David Walter Seikel fce2cb192b More defense, FDO specs are not real standards, so they tend to get
loosely followed.


SVN revision: 24938
2006-08-20 16:40:45 +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
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
David Walter Seikel d47c0e9012 Some debuggin', valgrindin', and constifyin`.
SVN revision: 24884
2006-08-18 21:52:33 +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
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
sebastid 6101f10142 PATH_MAX is the standard
SVN revision: 24839
2006-08-17 17:09:23 +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
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
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
chaos 86ba91031a * Make ecore_desktop handle trash files (same fdo format)
SVN revision: 24637
2006-08-13 08:36:15 +00:00
sebastid f07a4a166d Add missing '_'.
SVN revision: 24597
2006-08-12 14:38:03 +00:00
Kim Woelders c01cb59689 Let the WM decide how fullscreening is done.
SVN revision: 24582
2006-08-12 10:16:53 +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 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
sebastid b2c767b5ab ignore++
SVN revision: 24454
2006-08-08 00:54:56 +00:00
Carsten Haitzler 53f8ce92e7 fix x build/link in some weird circumstnaces
SVN revision: 24438
2006-08-07 07:03:12 +00:00
quan74 824b166457 Makefile fix - add ecore_fb_keytable.hto EXTRA_DIST
SVN revision: 24383
2006-08-04 07:59:18 +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
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
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
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