Peter Wehrfritz
64a72b8400
add ecore_list_mergesort() and ecore_list_heapsort()
...
SVN revision: 28139
2007-01-28 02:46:13 +00:00
doursse
49ff134118
check if the mem is allocated
...
SVN revision: 28127
2007-01-27 04:05:58 +00:00
doursse
f83fd02952
use CHECK_PARAM_POINTER_RETURN
...
SVN revision: 28126
2007-01-27 03:51:05 +00:00
doursse
edfbe7f65d
formatting. Add of ecore_str_has_prefix/suffix functions
...
SVN revision: 28118
2007-01-25 23:43:46 +00:00
Sebastian Dransfeld
1ebb1074c2
Don't need to check for old, as we already established that this list
...
isn't empty.
SVN revision: 28092
2007-01-21 13:54:24 +00:00
Sebastian Dransfeld
fe6c018abe
Already did this test ~10 lines up.
...
SVN revision: 28091
2007-01-21 13:53:06 +00:00
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