Commit Graph

1487 Commits

Author SHA1 Message Date
Sebastian Dransfeld 543261162a No need to check this, a non-empty list must have a first pointer.
SVN revision: 28090
2007-01-21 12:48:03 +00:00
rephorm d4014861d6 allow shutting down ecore_file and re-initting
SVN revision: 28063
2007-01-19 14:02:34 +00:00
rephorm b8147d36bf fix ecore_file_get_dir() to return "/" for files in the root directory
SVN revision: 28042
2007-01-18 07:28:56 +00:00
Sebastian Dransfeld 060ca01331 Functions to join lists and hashes.
SVN revision: 28034
2007-01-17 13:41:08 +00:00
Carsten Haitzler 9177a1e729 1. make curl interactivity MUCH better.
2. make ecore_evas use the norender call to delete objects aggressively for
hiddent canvases.


SVN revision: 28015
2007-01-16 10:17:46 +00:00
ningerso 8f497e0648 Add basic stat output to hash for testing.
Expose hash output functions for ecore_string.
Move mask calculation outside inner loop for ecore_str_hash.


SVN revision: 28006
2007-01-16 01:27:01 +00:00
Sebastian Dransfeld 3497296e2f Remove this check, it can hide bugs. A non-empty list should always
have a last pointer.


SVN revision: 27949
2007-01-13 17:51:10 +00:00
Sebastian Dransfeld d3879bf88b When doing remove_last on a dlist, use the ->previous property well!
SVN revision: 27948
2007-01-13 17:49:15 +00:00
Sebastian Dransfeld c07d9dd245 Limit curl run to 0.2 seconds.
SVN revision: 27937
2007-01-13 01:49:42 +00:00
Dan Sinclair f83be72545 - if we're replacing the value in the hash make sure we free the old value
SVN revision: 27909
2007-01-11 23:42:21 +00:00
Dan Sinclair c826f19dce - change find to leave the list pointing to the found item instead of the
next item in the list


SVN revision: 27899
2007-01-10 21:56:11 +00:00
ningerso 43bd78a18f Fix doxygen comments for new header.
SVN revision: 27891
2007-01-10 11:33:33 +00:00
ningerso a308648698 Add ecore_strlcpy for an strlcpy copy available on all architectures.
SVN revision: 27890
2007-01-10 11:28:41 +00:00
Peter Wehrfritz 8f75a76a4f save some loops in _ecore_list_goto_index()
SVN revision: 27882
2007-01-09 21:21:29 +00:00
ningerso 91a0e23656 Add a function to get the count of nodes in a hash.
SVN revision: 27786
2007-01-04 07:45:40 +00:00
Carsten Haitzler e1f4f1c1cf custom screensaver patches
SVN revision: 27629
2006-12-29 02:56:33 +00:00
Carsten Haitzler 8824be106e what on earth was that code? looks entirely wrong - comment it out.
SVN revision: 27627
2006-12-29 02:06:46 +00:00
Kim Woelders 2d150b0eef Add const.
SVN revision: 27580
2006-12-28 10:19:34 +00:00
rephorm 20afc1f154 add some docs
SVN revision: 27579
2006-12-28 03:31:44 +00:00
rephorm affe150318 add ecore_list_find() to find a data node via a compare callback
SVN revision: 27578
2006-12-28 03:30:11 +00:00
Christopher Michael 70c452e8ee Revert that recent trap commit.
SVN revision: 27567
2006-12-26 05:10:48 +00:00
Christopher Michael 50c184fbf1 Added some safety traps to help avoid segfaults.
SVN revision: 27566
2006-12-26 05:06:11 +00:00
rephorm 53f435f62b point out some more leaks
SVN revision: 27542
2006-12-21 14:42:20 +00:00
rephorm b738c80305 formatting fix
SVN revision: 27541
2006-12-21 14:10:21 +00:00
rephorm 042292849b remove some unneeded casts, and unused code
add a fixme


SVN revision: 27536
2006-12-21 03:36:27 +00:00
rephorm dfaefc2560 don't leak when input is invalid (<New> w/o an <Old> e.g.)
add a fixme


SVN revision: 27527
2006-12-20 19:50:37 +00:00
Carsten Haitzler 68e3f7d437 explicitly enable alpha for buffer canvas image obj
SVN revision: 27520
2006-12-19 15:06:23 +00:00
Sebastian Dransfeld 368d44ce5d Revert change, premature.
SVN revision: 27515
2006-12-19 06:51:51 +00:00
Sebastian Dransfeld bf9059d260 Convert target to string, the user will probably do this anyway.
SVN revision: 27514
2006-12-19 06:40:30 +00:00
rephorm 7a3238bcbe more unneeded logic
SVN revision: 27460
2006-12-15 05:44:18 +00:00
rephorm 61136a5f30 the first clause implies the others
SVN revision: 27459
2006-12-15 05:33:24 +00:00
rephorm 73af9d0e82 send proper timestamp to along with selection notify
(fixes pasting into xterm)


SVN revision: 27428
2006-12-13 19:47:17 +00:00
ningerso 1129668231 Allow for handling the selection data conversion externally from ecore_x, but
provide the same auto-conversion when data is set for the selection.
This should work identically as before, except if the app relied on ecore to
send the notification when no data was present, please test your apps.


SVN revision: 27420
2006-12-11 23:05:48 +00:00
ningerso 5cb9a5e8a4 Remove warnings when building without X damage support.
SVN revision: 27416
2006-12-11 07:33:40 +00:00
ningerso 45931feb9e Cleanup warnings when building without support for the X fixes extension.
SVN revision: 27415
2006-12-11 06:33:42 +00:00
ningerso f71fcb3084 Revert a commit that should not have gone in. This was code to address what
appears to be an endianess bug in Apple's X server.


SVN revision: 27325
2006-12-02 06:40:24 +00:00
ningerso 9f0f36e903 Send a selection request event when it occurs and expand the event structure to
include useful information. This event handler needs more work to determine when
to convert the data automatically and when to defer to the application handler.


SVN revision: 27324
2006-12-02 06:37:51 +00:00
David Walter Seikel 97970e262f A good catch by devilhorns.
SVN revision: 27257
2006-11-27 21:33:01 +00:00
David Walter Seikel 13ba0a5f57 More documenting.
SVN revision: 27096
2006-11-13 22:08:10 +00:00
David Walter Seikel 168abd8f5f Disable the instrumentation output.
SVN revision: 27089
2006-11-13 14:35:37 +00:00
David Walter Seikel 9e1d31e6b5 Oops, left debugging turned on.
SVN revision: 27088
2006-11-13 14:27:29 +00:00
David Walter Seikel 19fae92d52 *No more KDE duplicates in menus.
*Start documenting the FDO menu process a bit better.


SVN revision: 27087
2006-11-13 14:20:43 +00:00
David Walter Seikel 0b383eb7bc Lets see if I can make ubuntu and fedora core both happy.
SVN revision: 27076
2006-11-12 16:09:06 +00:00
David Walter Seikel 54b93d6390 Be a bit more paranoid about this loop.
SVN revision: 27075
2006-11-12 14:53:57 +00:00
David Walter Seikel aa360c527d Oops. Too much debugging, too little sleep.
SVN revision: 27063
2006-11-12 02:51:49 +00:00
David Walter Seikel 7b069b1ce0 * Revert the ubuntu fix coz it breaks fedora core.
* Try a quick work around for that reported memory eating loop.

I'll fix these properly later today.


SVN revision: 27062
2006-11-12 02:48:34 +00:00
Carsten Haitzler c08e0a8af8 fix button up for buttons 8,9 etc.
SVN revision: 27059
2006-11-12 01:32:30 +00:00
Carsten Haitzler 97ad6ae63e unused var.
SVN revision: 27043
2006-11-11 04:34:51 +00:00
Carsten Haitzler 37f6b78efe dont loop over screens - pointless
SVN revision: 27042
2006-11-11 04:27:07 +00:00
Kim Woelders 6bc4fbac26 Add const. Fix warnings.
SVN revision: 27037
2006-11-10 19:58:18 +00:00
Kim Woelders 82a7290a4a Fix warnings.
SVN revision: 27036
2006-11-10 19:11:12 +00:00
Carsten Haitzler 18f1604ccc vincent spotted these. fixed :)
SVN revision: 27035
2006-11-10 15:01:25 +00:00
David Walter Seikel 4f7341166c *Implement MergeFile type=parent.
*Workaround for some strangeness I found in some menu files.

*Config path was broken, fixed now.


SVN revision: 27030
2006-11-09 13:35:21 +00:00
doursse bb44624d72 cosmetic: the MappingNotify event has id 34 whereas ClientMessage is 33
SVN revision: 27009
2006-11-08 06:33:55 +00:00
Kim Woelders b7622dd8c8 Add const, fix warnings.
SVN revision: 26977
2006-11-05 17:45:03 +00:00
Kim Woelders 7c4d58dbdf Add const, fix warnings.
SVN revision: 26976
2006-11-05 16:49:55 +00:00
Kim Woelders 91e6ee5f66 Add const, fix warnings.
SVN revision: 26975
2006-11-05 16:42:30 +00:00
Kim Woelders 563035d3db Fix warnings.
SVN revision: 26974
2006-11-05 16:34:30 +00:00
Kim Woelders fe390d060e Fix warnings.
SVN revision: 26973
2006-11-05 15:22:47 +00:00
Kim Woelders bb3f3b8d83 Selection data should be untyped. Add const. Fix warnings.
SVN revision: 26972
2006-11-05 15:14:49 +00:00
Kim Woelders 1159a35a17 Fix warnings.
SVN revision: 26971
2006-11-05 14:19:56 +00:00
Kim Woelders 5c8603665a No void pointer arithmetic.
SVN revision: 26970
2006-11-05 14:18:34 +00:00
David Walter Seikel 3d9e259e7b Allocate a bit more ram, that should shutup valgrind.
SVN revision: 26852
2006-10-29 08:56:15 +00:00
David Walter Seikel a23d884945 Expand the command line to handle multiple files, or multiple commands
with  a single file each.

Needs a serious pounding.  The spec is incomplete on this stuff, no
telling what strange ways apps will try to abuse it.


SVN revision: 26850
2006-10-29 07:09:41 +00:00
David Walter Seikel abcd2dbe90 Should no longer be static now that we strdup it just like all the other
ecore_file functions.


SVN revision: 26844
2006-10-29 01:08:28 +00:00
David Walter Seikel 4a32cf0905 Handle putting files into commands. Mostly there, still needs some
work.  In particular it will only include the last of multiple files per
command.  I'll continue this when I wake up.


SVN revision: 26843
2006-10-28 15:27:12 +00:00
David Walter Seikel be5de6cdb3 Copy filename escaping code from e_utils to make it more generally available.
Step 2 is to remove the original and have everything call this one instead.


SVN revision: 26828
2006-10-28 08:48:11 +00:00
Carsten Haitzler 03e6eca6da ecore + e manager leak fix
SVN revision: 26814
2006-10-28 01:28:01 +00:00
Carsten Haitzler 41c833f7ee more notes for fangie
SVN revision: 26811
2006-10-27 15:24:30 +00:00
Dan Sinclair c3dbd3904d - make this const
SVN revision: 26806
2006-10-27 03:52:28 +00:00
David Walter Seikel 7981a62c63 ecore_desktop_get_command can now return a list of commands if it needs to.
SVN revision: 26788
2006-10-25 10:25:15 +00:00
Carsten Haitzler 0c4a5165df notes for fangie
SVN revision: 26768
2006-10-24 14:20:03 +00:00
Carsten Haitzler cb7d37c7d7 leak--
SVN revision: 26766
2006-10-24 11:39:03 +00:00
Carsten Haitzler 0522fd2680 oooh - nasty bug. and unnoticed for so long. sometimes ecore animators wont'
get fulyl deleted - and ecore will just continually loop and consume cpu -
oddly enough no one noticed. i am amazed! fixed.


SVN revision: 26708
2006-10-20 12:27:29 +00:00
rephorm 000776d5fd plug leak.
mark driver as const so its more obvious not to strdup


SVN revision: 26699
2006-10-20 01:46:41 +00:00
David Walter Seikel dfc366dd8d Implement the FDE icon five second cache check rule.
SVN revision: 26660
2006-10-16 17:17:02 +00:00
David Walter Seikel c2b871fee0 Fix a crash reported by Hawkwind.
SVN revision: 26630
2006-10-15 23:08:53 +00:00
David Walter Seikel 8f2164d0e1 Hash the icon directories for speed.
SVN revision: 26622
2006-10-15 19:09:07 +00:00
Carsten Haitzler a25a94c23a leak--
SVN revision: 26613
2006-10-15 13:43:08 +00:00
Carsten Haitzler fd41ddf197 and really fix it now
SVN revision: 26610
2006-10-15 09:32:25 +00:00
Carsten Haitzler 6abe8fae09 fix recursive rm to delete broken symlinks
SVN revision: 26609
2006-10-15 09:18:26 +00:00
David Walter Seikel 19de139d6e Figure out where the directory icon info is and pass it along.
SVN revision: 26584
2006-10-14 04:14:28 +00:00
David Walter Seikel 9dd7b85e5b FIXME-- This got done a while ago.
SVN revision: 26579
2006-10-14 00:29:22 +00:00
David Walter Seikel d408b3f055 Some optimizations and tweaking.
SVN revision: 26576
2006-10-13 23:25:43 +00:00
David Walter Seikel 116abd7310 Bit rot in the debugging.
Thanks devilhorns and VeXocide.


SVN revision: 26554
2006-10-12 15:27:58 +00:00
David Walter Seikel 0f1e907fd7 raster wants mime types, raster gets mime types.
SVN revision: 26549
2006-10-12 13:47:10 +00:00
Carsten Haitzler e2a72da538 key down/up swap
SVN revision: 26435
2006-10-09 04:26:41 +00:00
David Walter Seikel ab5d404765 Its a hard icon if only the icon path is specified in the .desktop.
Thanks to jcwong for reporting the bug that lead to finding this.


SVN revision: 26342
2006-10-04 06:17:00 +00:00
rephorm 7896dff6ed typo. should be member, not method
SVN revision: 26311
2006-10-03 02:19:14 +00:00
Carsten Haitzler f458cf8448 that was silliness - convert then memcpy anyway.
SVN revision: 26297
2006-10-02 10:37:13 +00:00
David Walter Seikel 481c47b748 If icon_class ends up being blank, then free and null it.
Thanks to jeffdameth for pointing out the problem.


SVN revision: 26240
2006-09-30 16:45:26 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
David Walter Seikel 7749a80dfd We need to determine where the full path came from.
SVN revision: 26217
2006-09-29 12:25:39 +00:00
ningerso 965166056b Allow data formats other than the specified format when fetching properties.
Pass the actual data format along with property data.


SVN revision: 26206
2006-09-29 05:49:14 +00:00
ningerso d796ac9023 Remove warnings by ifdefing conditonal variables.
SVN revision: 26203
2006-09-29 04:27:39 +00:00
rephorm eae096cce5 add data pointer to method callbacks
clean up some warnings


SVN revision: 26202
2006-09-29 03:05:21 +00:00
rephorm f32284778e support arrays (via a more general marshal function)
add utility function to get length of a "complete type" in the signature
this assumes the signature is valid. we should probably add a validator (and enfore the recursion limits in the spec)


SVN revision: 26198
2006-09-29 02:04:06 +00:00
Peter Wehrfritz b1d7ba8071 fix segv, the new adress is not necessary the same as the old one
SVN revision: 26192
2006-09-28 20:44:33 +00:00
ningerso 006784cbcd Fallback to attempt 16 bit format accepts on selection notifies when the
8 bit format fails. This fixes receiving application/x-color from gimp but is
probably not an ideal solution.


SVN revision: 26190
2006-09-28 18:56:03 +00:00
rephorm 2ef90bf328 small cleanups
api change on _new_error()


SVN revision: 26184
2006-09-27 23:37:01 +00:00
rephorm 7aa493321b remove excess debugging cruft
SVN revision: 26180
2006-09-27 19:32:45 +00:00
rephorm d348065dea fix a small leak.
thanks sebastid


SVN revision: 26178
2006-09-27 14:29:42 +00:00
rephorm fe3c88c4e6 missed this :( sorry
SVN revision: 26177
2006-09-27 13:27:54 +00:00
rephorm 4e1d08d200 add simple object/method creation API
SVN revision: 26171
2006-09-27 00:00:59 +00:00
David Walter Seikel 1463d31ea0 Remave any of our special fields on save if they are empty.
SVN revision: 26166
2006-09-26 18:08:50 +00:00
David Walter Seikel 2e8f693c6f Turns out these where not sane after all.
SVN revision: 26158
2006-09-26 10:13:52 +00:00
David Walter Seikel 8459b8a67f We already have an xml parser, we don't need another one.
SVN revision: 26157
2006-09-26 05:16:13 +00:00
sebastid 035e68b394 Don't append empty elements.
SVN revision: 26153
2006-09-25 22:55:43 +00:00
sebastid 3232c1d19b xml parser
SVN revision: 26152
2006-09-25 22:39:08 +00:00
David Walter Seikel d95ff4d626 Don't print instrumentation data if there is nothing to print.
SVN revision: 26142
2006-09-25 13:33:37 +00:00
David Walter Seikel 51e8714de8 Bit'o'comentary.
SVN revision: 26140
2006-09-25 13:04:25 +00:00
David Walter Seikel 208068dfbf *Back to the icon review.
*Rearrange and shuffle the code a bit to get the icon stuff all
together.

*Make sure that all paths through the icon finding code get counted and
timed properly, because speeding things up is next after the icon review.


SVN revision: 26139
2006-09-25 12:50:23 +00:00
rephorm e04c193c57 make these static const
SVN revision: 26135
2006-09-25 05:39:50 +00:00
rephorm db0d1f4ce5 const on key also
namespace static functions for the hell of it
properly encode/decode address values
add function to print address as a string


SVN revision: 26134
2006-09-25 05:30:48 +00:00
rephorm bd4644aae9 add const
SVN revision: 26133
2006-09-25 05:24:47 +00:00
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