Commit Graph

1451 Commits

Author SHA1 Message Date
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