Commit Graph

1513 Commits

Author SHA1 Message Date
Sebastian Dransfeld 0f6383ee5b Readd watch if a file is recreated.
SVN revision: 29197
2007-03-27 05:36:29 +00:00
Sebastian Dransfeld e82715591a Use correct inotify include.
SVN revision: 29189
2007-03-26 21:47:41 +00:00
Sebastian Dransfeld d79c286b70 file is not NULL and empty if a file is monitored
SVN revision: 29186
2007-03-26 19:30:51 +00:00
Sebastian Dransfeld 07cedee486 Add a function to find a value in a hash.
SVN revision: 29129
2007-03-25 16:44:11 +00:00
Sebastian Dransfeld 928faa73f5 Check for NULL argument.
SVN revision: 29110
2007-03-25 12:05:48 +00:00
tilman 4705ff7f0b removed ecore_x_reply. we don't need to link to ecore_job anymore, either.
SVN revision: 28843
2007-03-21 03:03:33 +00:00
Christopher Michael 75f052383e Part 1 of ravenlocks mouse acceleration patch that provides the ecore_x
functions for setting mouse accel.


SVN revision: 28821
2007-03-20 00:54:49 +00:00
Michael Jennings feabcdfe64 Thu Mar 15 12:20:27 2007 Michael Jennings (mej)
Re-apply the previously reverted patch and add (I think) the correct
fix for ecore-config.  I haven't tested this extensively, but edje
builds okay with it, so hopefully it's right.
----------------------------------------------------------------------


SVN revision: 28755
2007-03-15 22:21:28 +00:00
Michael Jennings 3edb26cf60 Wed Mar 14 21:57:38 2007 Michael Jennings (mej)
Reverting changes; kindly test patches BEFORE applying them.
----------------------------------------------------------------------


SVN revision: 28732
2007-03-15 07:57:43 +00:00
doursse d9fa45fe5f use the correct Windows macro when compiling with microsoft compiler, and not mingw/cygwin
SVN revision: 28727
2007-03-15 01:01:10 +00:00
doursse 4fb1500d27 accidently removed screensaver test
SVN revision: 28726
2007-03-15 00:32:30 +00:00
doursse 9185ef8961 use AC_CHECK_X_EXTENSION macro to check X extension
SVN revision: 28725
2007-03-15 00:26:39 +00:00
doursse bbbec0d61e add ecore_x_drawable.c
SVN revision: 28723
2007-03-15 00:23:56 +00:00
Sebastian Dransfeld 36e603707f Check if screensaver extension is available.
SVN revision: 28720
2007-03-14 12:11:21 +00:00
Sebastian Dransfeld ff2d251911 Only wrap Screensaver extensions.
SVN revision: 28719
2007-03-14 12:06:49 +00:00
Sebastian Dransfeld 70be3f56aa For all who writes X wrappers. If a user decides to not link against a
library, the functions will not resolve at link time. So we need to wrap
them in cpp #ifdef's.


SVN revision: 28709
2007-03-14 01:40:16 +00:00
Christopher Michael a90e76863a With Seb's recent #ifdef's the if (!dpms_available) checks are not needed now.
SVN revision: 28700
2007-03-13 16:49:48 +00:00
Sebastian Dransfeld 8e3275490b Declare function.
SVN revision: 28698
2007-03-13 16:29:02 +00:00
Sebastian Dransfeld eeecc60efc Remove no longer used variable.
SVN revision: 28694
2007-03-13 16:11:48 +00:00
Sebastian Dransfeld aae6f6e920 Support for system which do not have DPMS at all.
SVN revision: 28693
2007-03-13 16:05:57 +00:00
Christopher Michael 6b4ae8ce60 Call correct DPMSGetVersion function.
SVN revision: 28691
2007-03-13 11:14:44 +00:00
Christopher Michael c537ed8e3c Fix up ecore_x_dpms...formatting, removed the static int's for dpms version
as they are not used anywhere other than the init function. Added traps for
dpms_available before calling any dpms functions.


SVN revision: 28687
2007-03-13 09:30:17 +00:00
Peter Wehrfritz 54d6fba5d5 speed up ecore_str_split(); thanks to mej
SVN revision: 28685
2007-03-13 06:46:14 +00:00
Carsten Haitzler 66954e5331 fix realpath
SVN revision: 28678
2007-03-13 02:28:18 +00:00
Peter Wehrfritz 0be48d6eae add ecore_str_split(), thanks to rookmoot
SVN revision: 28677
2007-03-13 01:17:33 +00:00
doursse de95d8bd42 Move cursor and drawable functions to their own file. DPMS: Add doc, init function, ecore_x_dpms_timeouts_get and rename ecore_x_dpms_capable. As my xorg does not have the dpms extension, someone else has to add its test in configure.in (like other extensions)
SVN revision: 28627
2007-03-09 01:11:09 +00:00
doursse 9fa235b6f1 destroy loaded_plugins if it is empty, then set it to NULL
SVN revision: 28617
2007-03-08 00:20:06 +00:00
doursse 33076577dd destroy group_list if it is empty, then set it to NULL
SVN revision: 28616
2007-03-08 00:17:22 +00:00
ningerso 247d9397af Remove stale pointer in group list.
SVN revision: 28615
2007-03-07 23:57:03 +00:00
Peter Wehrfritz d879ceda5c - add ecore_strbuf_replace() and ecore_strbuf_replace_all()
- some formating and minor things


SVN revision: 28573
2007-03-05 21:41:39 +00:00
Carsten Haitzler 8420b86942 ecore evas rotation patches
SVN revision: 28529
2007-03-02 17:02:49 +00:00
Peter Wehrfritz 370a06b3c9 sort the list in the same way ls actually does: using strcoll,
you want to add the line setlocale(LC_COLLATE, ""); or setlocale(LC_ALL, "");
to your application if you not already have


SVN revision: 28511
2007-03-01 16:17:04 +00:00
Peter Wehrfritz eca6777297 oops, ecore should compile now again, Ecore_Data.h includes know <stddef.h> for
size_t. If you don't like, let it me know and we'll use unsigned int instead


SVN revision: 28418
2007-02-21 06:08:22 +00:00
Peter Wehrfritz 376e84e228 add ecore_strbuf_insert() and ecore_strbuf_length_get()
SVN revision: 28415
2007-02-21 04:31:50 +00:00
David Walter Seikel 47dac6602d Patch by Thomas Stark to remove blank parameters from exe arguments.
SVN revision: 28401
2007-02-20 10:12:45 +00:00
rephorm e0ceaf7b11 finish adding ecore_strlcat...
SVN revision: 28381
2007-02-17 06:25:53 +00:00
rephorm b8df6783e3 add ecore_strlcat for symmetry
add ecore_strbuf, an auto-expanding string buffer for building long strings whose length isn't easily determinable beforehand. for now just supports append.


SVN revision: 28379
2007-02-16 23:49:55 +00:00
Carsten Haitzler d6dff9cb77 add flush calls.
SVN revision: 28376
2007-02-16 18:12:38 +00:00
Christopher Michael 6b044dfb13 Applied Ravenlock's screensaver patches.
SVN revision: 28345
2007-02-13 16:24:37 +00:00
Christopher Michael c6652505b7 Added Ravenlock's DPMS code for ecore_x.
SVN revision: 28335
2007-02-13 02:29:01 +00:00
Peter Wehrfritz 864ffd4973 add ecore_dlist_sort() and ecore_dlist_mergesort()
SVN revision: 28330
2007-02-12 22:47:46 +00:00
Carsten Haitzler 6e452edfd4 patches applied as per emails :)
SVN revision: 28302
2007-02-10 17:23:09 +00:00
Sebastian Dransfeld 0c13e147a5 Make dbus endian aware.
SVN revision: 28278
2007-02-07 00:23:54 +00:00
Carsten Haitzler e848677587 make mv copy if it is a regular file not on same fs.
SVN revision: 28245
2007-02-04 13:14:16 +00:00
Christopher Michael 671489c8a2 Comment out unused strcmp block. It used todo a printf, which was commented
out, so really no reason to run the strcmp in the first place if we do
nothing with the result.


SVN revision: 28228
2007-02-03 20:44:35 +00:00
doursse ba652a103b add some const
SVN revision: 28222
2007-02-03 17:59:05 +00:00
Sebastian Dransfeld e6fe28ea56 formatting.
SVN revision: 28191
2007-02-02 00:41:33 +00:00
Peter Wehrfritz a398189939 - add ecore_list_sort() a wrapper for ecore_list_mergesort and ecore_list_heapsort
- change the API for the sort functions to return an int on success
- change ECORE_SHEAP_MIN/MAX to ECORE_SORT_MIN/MAX (*API break*)
- use ecore_list_sort() in ecore_file_ls()


SVN revision: 28188
2007-02-01 19:22:35 +00:00
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