Commit Graph

1900 Commits

Author SHA1 Message Date
Peter Wehrfritz 97dc553840 add #defines for ecore_dlist_first() and ecore_dlist_last()
SVN revision: 31641
2007-09-06 22:06:32 +00:00
Peter Wehrfritz 10a798bc88 don't leak
SVN revision: 31620
2007-09-05 09:46:56 +00:00
Peter Wehrfritz b2ec7dd266 *API BREAK*
rename ecore_plugin_call() to ecore_plugin_symbol_get()
add a version argument to ecore_plugin_load(); it makes it possible to have different versions for the interface. NULL gives you the old behaivor


SVN revision: 31616
2007-09-04 18:23:47 +00:00
Peter Wehrfritz 1078f34211 - implement ecore_plugin_available_get()
- fix ecore_path_group_new()


SVN revision: 31602
2007-09-02 17:54:16 +00:00
Peter Wehrfritz d770cd618e NULL is a valid value, it's actually the default
SVN revision: 31600
2007-09-02 17:44:38 +00:00
Peter Wehrfritz fbf7aaa1fb add constness
SVN revision: 31596
2007-09-02 12:21:00 +00:00
doursse b50328b469 fix ecore_evas_engine_type_supported_get and ecore_time_get on windows
SVN revision: 31552
2007-08-27 10:20:12 +00:00
Carsten Haitzler 585139c7d7 fix build.
SVN revision: 31518
2007-08-26 12:57:11 +00:00
doursse 50432552c8 add windows support to ecore. ecore_evas is ported too (directdraw and direct3d. No opengl yet). It needs to be tested a lot, though. Remove some trailing spaces here and there. Replace WIN32 with _WIN32
SVN revision: 31513
2007-08-26 11:17:21 +00:00
tilman 1897c10296 include Ecore_Str.h so we get EAPI declarations. this the reason why IMO EAPI should be inserted in the code, too, instead of just the headers.
SVN revision: 31462
2007-08-22 17:44:04 +00:00
chaos 8b213aa687 And another one
SVN revision: 31412
2007-08-19 23:44:34 +00:00
Peter Wehrfritz fffdd89a4a the time is over, remove the obsolete function name aliases
SVN revision: 31403
2007-08-19 17:20:06 +00:00
chaos 32152d6ee1 2 x multi-byte IPC fixes
SVN revision: 31399
2007-08-19 13:39:01 +00:00
Carsten Haitzler 526f902e06 open has become nasty! --- che! :)
SVN revision: 31383
2007-08-18 14:26:49 +00:00
Carsten Haitzler 38962990d0 lok's xdnd work.
SVN revision: 31377
2007-08-18 10:35:47 +00:00
ningerso 29a2309415 Fix build on systems that don't use .so as the shared library extension.
SVN revision: 31354
2007-08-17 00:24:57 +00:00
Peter Wehrfritz 021597ec25 more docs
SVN revision: 31237
2007-08-10 16:01:59 +00:00
Peter Wehrfritz 32a28bf832 add some docs
SVN revision: 31236
2007-08-10 14:15:14 +00:00
Gustavo Sverzut Barbieri 4a4a0b0f4c Software 16 X11 now does rotation.
SVN revision: 31215
2007-08-07 19:09:53 +00:00
Davide Andreoli 8ea12a434f Ecore_File documented with doxy tags
SVN revision: 31198
2007-08-06 20:00:28 +00:00
Peter Wehrfritz 567e4b2aea put Nathan's mail into the doxy
SVN revision: 31117
2007-08-02 18:08:04 +00:00
Peter Wehrfritz cd20fbc9d9 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Peter Wehrfritz 65a19ed366 doxy
SVN revision: 30967
2007-07-25 09:04:28 +00:00
Viktor Kojouharov 35495cc97f the monitor was deleted twice
SVN revision: 30942
2007-07-23 16:25:38 +00:00
doursse 8966c010af compile ecore_config program only if ecore_config is available
SVN revision: 30872
2007-07-17 11:08:28 +00:00
Carsten Haitzler 64171b5ca6 cedric's SDL egnine patch - finally.
SVN revision: 30844
2007-07-16 07:23:11 +00:00
ningerso b44bdf2f92 Avoid changing the interval on a NULL timer.
SVN revision: 30783
2007-07-12 21:45:55 +00:00
rephorm 2960827592 move ecore_dbus to proto and flag it as deprecated
SVN revision: 30742
2007-07-11 05:46:52 +00:00
doursse 0199c38044 make ecore module compilable on Windows(tm)
SVN revision: 30605
2007-07-05 09:51:09 +00:00
doursse 25f684183c create the shared lib for ecore on windows
SVN revision: 30604
2007-07-05 09:33:11 +00:00
doursse 3883a45f07 create the shared lib for ecore_job and ecore_txt on windows
SVN revision: 30603
2007-07-05 09:29:27 +00:00
Dan Sinclair 84c6b57869 - if the file doesn't exist or the monitor add fails then we will delete the
item from the list, but if the item isn't in the list the resultant list ends
  up being NULL and we lose everything being monitored so far. So, add the item
  to the list earlier so we can remove it safely if needed.


SVN revision: 30584
2007-07-03 19:37:18 +00:00
Dan Sinclair 0aba1dbca4 - the event name is only valid if the event length is greater then 0
SVN revision: 30582
2007-07-03 18:18:12 +00:00
kiwi a001af9e23 fix some warnings, mostly missing "void" when a function has no parameters
SVN revision: 30474
2007-06-27 10:57:54 +00:00
Gustavo Sverzut Barbieri 59d7929e73 Ecore_Evas now supports software_16_x11 engine.
SVN revision: 30424
2007-06-21 22:49:36 +00:00
Sebastian Dransfeld 68f78f8e7f I assume that the Evas should be flushed and not the Ecore_Evas.
SVN revision: 30374
2007-06-17 09:23:51 +00:00
Carsten Haitzler aa68331c2a add idle flush support - 0.5 secs of no rendering gets the engine to flush
all floating data.


SVN revision: 30358
2007-06-17 03:41:43 +00:00
Carsten Haitzler db6835417d we really don't need this event filter. remove.
SVN revision: 30339
2007-06-16 03:29:43 +00:00
Carsten Haitzler 2a5d49866c clean up ecore_con dns query- on shut down nuke all pending queries
SVN revision: 30292
2007-06-10 03:41:05 +00:00
Eric Schuele 5a88f37fe1 oops.
SVN revision: 30260
2007-06-05 22:12:10 +00:00
Eric Schuele 91ced99888 FreeBSD has large file support out of the box
SVN revision: 30259
2007-06-05 21:52:15 +00:00
Peter Wehrfritz f3ae942b0a add a way to set a free callback for the keys in ecore_tree
SVN revision: 30228
2007-06-04 15:28:29 +00:00
Carsten Haitzler 849e428e7f documentation from brett... tiler can compiler again.
SVN revision: 30221
2007-06-04 09:48:28 +00:00
Sebastian Dransfeld 237cb22cf5 Fix hash reduce function. Passed wrong value to rehash.
SVN revision: 30214
2007-06-03 12:22:05 +00:00
Sebastian Dransfeld 6f042d4963 Temporary revert changes, made hash malfunction.
SVN revision: 30211
2007-06-03 11:37:32 +00:00
Sebastian Dransfeld 869c74666b Also check for PRIME_MAX when increasing hash size.
SVN revision: 30210
2007-06-03 08:22:48 +00:00
Sebastian Dransfeld 63a4d1b72a It's not hash->size which is to be compared to PRIME_{MIN,MAX}, but the
result from the ecore_prime_table lookup.


SVN revision: 30209
2007-06-03 08:10:33 +00:00
Carsten Haitzler d825b13440 delete all ev handlers
SVN revision: 30208
2007-06-03 07:07:27 +00:00
Carsten Haitzler f31429ba3d use features.h
SVN revision: 30204
2007-06-03 03:48:18 +00:00
Carsten Haitzler 0edf0118d4 dont actually need to #define this - features.h does ti for us
SVN revision: 30203
2007-06-03 03:46:35 +00:00
Carsten Haitzler 7c8c33371d make ecore_file able to handle large files.
SVN revision: 30194
2007-06-02 16:33:43 +00:00
Peter Wehrfritz 03f0a0ad75 use const void* for the keys in ecore_tree
SVN revision: 30058
2007-05-23 15:20:55 +00:00
Peter Wehrfritz 5db0ab1039 add doxy
SVN revision: 30049
2007-05-21 09:54:20 +00:00
tilman c9ddb45e1f don't check for errors in the xcb_create_colormap call
SVN revision: 29974
2007-05-13 08:40:28 +00:00
tilman 1b5c08f276 fixed alpha_set for xrender-xcb
SVN revision: 29968
2007-05-12 14:15:34 +00:00
tilman 5dfbd6c396 refactored _alpha_set a bit
SVN revision: 29967
2007-05-12 14:13:19 +00:00
tilman d516be0740 refactored event handling code somewhat
SVN revision: 29966
2007-05-12 13:37:16 +00:00
tilman ff3449dd48 remove debugging helpers
SVN revision: 29965
2007-05-12 13:28:04 +00:00
tilman 1e6ce6f2fc pass the right window to xcb_create_colormap
SVN revision: 29964
2007-05-12 13:18:34 +00:00
tilman 82f3a8d08c check for pict formats with depth == 32src/lib/ecore_x/ecore_xcb_window.c
SVN revision: 29963
2007-05-12 12:34:00 +00:00
tilman d9a2904f19 don't look up our screen twice
SVN revision: 29960
2007-05-12 11:28:09 +00:00
tilman f036a36c22 grab the cookies before we try to evaluate them
SVN revision: 29953
2007-05-11 18:53:35 +00:00
tilman f6558699c2 check for xcb engines in _alpha_set.src/lib/ecore_evas/ecore_evas_x.c
SVN revision: 29952
2007-05-11 18:13:01 +00:00
tilman 84c04021f8 those indices look a bit fragile to me ...
SVN revision: 29951
2007-05-11 17:53:50 +00:00
tilman 3af57389ca fixed atom retrieval. atom names are NOT NUL-terminated.
SVN revision: 29950
2007-05-11 17:31:49 +00:00
tilman d5c7189898 keep the atom init cookie list in a local variables, rather than in global variables. memory usage--
SVN revision: 29910
2007-05-07 18:21:53 +00:00
tilman 79e2242f6b global string tables suck ass. this is better.
SVN revision: 29906
2007-05-07 17:57:46 +00:00
Carsten Haitzler db70aa52ac return 0 if file cp only partially succeeded
SVN revision: 29684
2007-04-22 23:07:48 +00:00
rephorm 3259061f6e if we can't convert to the requested target, fail so that requesting app can re-request a different type
fix broken logic  (!foo == -1) is always false


SVN revision: 29616
2007-04-21 02:57:51 +00:00
Carsten Haitzler e2742227ad printf--
SVN revision: 29548
2007-04-16 01:35:55 +00:00
Sebastian Dransfeld cd3cf292f4 Use const on read-only pointer.
SVN revision: 29544
2007-04-15 17:21:00 +00:00
Carsten Haitzler 98acf4c416 remove debug printf
SVN revision: 29504
2007-04-14 06:51:43 +00:00
Carsten Haitzler c09e4641cd noooo. fixie fixie.
SVN revision: 29503
2007-04-14 04:20:23 +00:00
doursse 61543a8933 Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
   configuration. To enable it, add --enable-ecore-x-xcb. See the
   messages that configure displays when it finishes.
 * The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
   should be improved
 * Any program that uses ecore_evas does not need to be modified.
   Any program that uses ecore_x may need some changes. That is,
   adding some functions (_prefetch and _fetch ones). No other
   change is needed. See the documention of any _get functions, as
   these are the ones that need those functions.
 * There are some missing parts, especially everything that involves
   the keyboard, as porting Xlib functions related to strings (utf8
   stuff, XKeysymToString, etc...) is an horror. So keyboard events
   are not working yet.
 * I tried to write as much documentation as I could. But there is
   certainly some missing doc here and there.

there are certainly other things that I have forgotten.

Improvements of that backend:
 * the creation of an ecore_evas is faster. Especially when done over
   an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
   over an ssh)
 * A Window Manager should be more responsive. But it's not tomorrow
   that e17 will use it :)

Have fun !


SVN revision: 29500
2007-04-13 17:15:19 +00:00
Kim Woelders d7864b4d6b Add missing declaration (ECORE_X_ATOM_NET_STARTUP_ID).
SVN revision: 29447
2007-04-08 20:52:54 +00:00
tilman 0d323a27ff ugh, translate some documentation from frenglish to english.
SVN revision: 29435
2007-04-07 13:19:18 +00:00
doursse 295895de82 Fix spelling
SVN revision: 29432
2007-04-07 07:35:31 +00:00
Sebastian Dransfeld d8291ba50a delete_idle_enterer is gone.
SVN revision: 29424
2007-04-06 12:28:16 +00:00
moom 3d5ecf5cc5 Make Ecore_Evas_FB compile again
SVN revision: 29372
2007-04-05 12:11:23 +00:00
Sebastian Dransfeld 44c6d3add9 Don't use an idler to delete the evas. This wont work during ecore main
loop shutdown.


SVN revision: 29365
2007-04-05 06:53:41 +00:00
Sebastian Dransfeld 1c2b692618 Fix typo.
SVN revision: 29364
2007-04-05 06:44:42 +00:00
Carsten Haitzler c6f6863b57 so ravenlock gets his screensaver stuff in
SVN revision: 29343
2007-04-04 11:43:29 +00:00
Sebastian Dransfeld bddb9be5cf Fix for systems which do not have inotify support in glibc.
SVN revision: 29340
2007-04-04 11:10:44 +00:00
Carsten Haitzler 5f7e0227c4 allow NULL events.
SVN revision: 29269
2007-03-31 01:58:31 +00:00
Carsten Haitzler 216d8d315b fix inotify stuff.. bad bad bad.
SVN revision: 29237
2007-03-30 12:24:19 +00:00
Sebastian Dransfeld af731bf780 Remove unneeded include.
SVN revision: 29201
2007-03-27 18:59:23 +00:00
Sebastian Dransfeld c29155ecb0 TODO
SVN revision: 29200
2007-03-27 18:15:16 +00:00
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
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
Kim Woelders ed6538707d Add some static's.
SVN revision: 26967
2006-11-05 13:08:37 +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
Carsten Haitzler 3aef7f0132 too zealous - ecore_config needs to come back
SVN revision: 26840
2006-10-28 11:41:53 +00:00
Carsten Haitzler a0d2a33d04 remove test/example stuff
SVN revision: 26835
2006-10-28 09:55:50 +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 a74ccd1b0c patches (see devel list) :)
SVN revision: 26725
2006-10-21 02:32:14 +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 c9f04f3f07 pass make distcheck.
SVN revision: 26452
2006-10-09 15:40:58 +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
rephorm 92755a5af9 missed this
SVN revision: 26219
2006-09-29 13:11:49 +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
David Walter Seikel 9201a62908 Let it compile again.
SVN revision: 26214
2006-09-29 09:28:36 +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 198b5ee4f6 add quick test of object/method API
SVN revision: 26172
2006-09-27 00:02:30 +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
sebastid 3c480bdc56 Don't use internal functions!
SVN revision: 25514
2006-09-06 07:05:42 +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
Carsten Haitzler d556190d88 bad free. bad!
SVN revision: 24919
2006-08-20 02:48:24 +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