Commit Graph

2102 Commits

Author SHA1 Message Date
doursse ee8e817b1c simplify the code of ecore_time_get() on Windows
SVN revision: 32170
2007-10-27 10:24:52 +00:00
Brett Nash 06e02b3f6b Vincent Torri pointed out that char bitfields are undefined in C89... and he
is correct.


SVN revision: 32160
2007-10-25 05:55:07 +00:00
Brett Nash 3a4c71f293 Don't use unportable 1-bit bitfields.
SVN revision: 32159
2007-10-25 05:26:03 +00:00
Brett Nash 619f9965c8 C89isms: ecore_job_init() and ecore_job_shutdown() now declared with void
paramater.


SVN revision: 32158
2007-10-25 05:17:57 +00:00
Kim Woelders eb2aa4a3d0 Add some const's.
SVN revision: 32132
2007-10-21 15:16:14 +00:00
Gustavo Sverzut Barbieri 075afa424d Fix help string.
By: Aloisio Almeida <aloisio.almeida/openbossa.org>


SVN revision: 32031
2007-10-09 18:36:41 +00:00
Sebastian Dransfeld 1bb9022482 Don't reset 'use_curl' flag.
SVN revision: 32007
2007-10-07 16:46:58 +00:00
tilman 75bd5e8902 Ecore now checks whether the composite extension is available before trying to open an ARGB window.
SVN revision: 31986
2007-10-06 08:37:34 +00:00
Carsten Haitzler 35cd952691 fix valgrind complaint (bad! its a string but its not 0 byte terminated!!!
its just a data lump!).

compact the lists of child windows down based on results of scan of children.

printf--


SVN revision: 31979
2007-10-05 12:39:06 +00:00
Carsten Haitzler 7fb1a30d72 printf--
SVN revision: 31978
2007-10-05 12:24:32 +00:00
Carsten Haitzler 34afff4284 add a shadowed window tree that allows you to fetch all the window tree in 1
hit (well a series of round trips) then keep it stored to find what window a
co-ordinate is in to avoid later round-trips.


SVN revision: 31976
2007-10-05 12:11:45 +00:00
Carsten Haitzler cf49928045 cedric's ecore_job_init/shtudown patches.
SVN revision: 31972
2007-10-05 05:12:38 +00:00
Carsten Haitzler 6a9f664bea avoid damage now has an enum (compatible with the old way at ABI though), so
you can either handle it via exposes, or native system methods (bg pixmaps)


SVN revision: 31944
2007-10-03 06:31:05 +00:00
doursse b6ca8e692a for Windows, use dll as extension of shared lib
SVN revision: 31896
2007-09-30 18:16:42 +00:00
andrunko befadf24e3 Fixed configure on maemo.
SVN revision: 31891
2007-09-30 15:31:13 +00:00
doursse a8ebdc324c * port ecore_plugin to windows
* add comments after some #endif
 * speed up the compilation on windows
 * remove some trailing spaces in ecore_path.c


SVN revision: 31890
2007-09-30 15:24:51 +00:00
Carsten Haitzler b51a8f26ad enable and disable draw ok onlyu on visibility changes.
SVN revision: 31860
2007-09-29 01:52:13 +00:00
doursse 18c11a3355 set to NULL the directdraw objects once they are relased
SVN revision: 31858
2007-09-28 23:44:14 +00:00
doursse e8452e7b4e revert, my bad
SVN revision: 31838
2007-09-28 15:27:44 +00:00
doursse ce6f933d50 return -1 if group is not valid
SVN revision: 31837
2007-09-28 15:25:50 +00:00
Carsten Haitzler 7a7607d656 ok fixed visibility event. now it works as planned.
SVN revision: 31832
2007-09-27 15:43:08 +00:00
Carsten Haitzler e8a3ed6312 trying to optimise expose draws - i think i fixed a double-draw bug.
SVN revision: 31831
2007-09-27 15:31:00 +00:00
Sebastian Dransfeld 3a84f04c4f formatting.
SVN revision: 31825
2007-09-26 17:18:52 +00:00
Sebastian Dransfeld 394664a09a curl is used both by ecore_file and ecore_con
SVN revision: 31824
2007-09-26 17:14:27 +00:00
Sebastian Dransfeld fcad0da826 formatting
SVN revision: 31823
2007-09-26 16:34:14 +00:00
Gustavo Sverzut Barbieri 9acabdd1c5 Ecore_Con fixes and improvements.
Bugs:
 - data buffer we are receiving must be copied, or we could receive
   garbage in the event handler.
 - complete event show up before we receive the last data event.

Improvements:
 - Use ECORE_MAGIC.
 - Status code is no longer curl internal status, but ftp or http return
   code (More usefull than CURLE_OK).
 - Add a time condition on requested url (see HTTP code 304).
 - Add progress events also (should work but not really tested).
 - Add data_set/data_get.

Closes bug #217.

Patch by Cedric BAIL.


SVN revision: 31822
2007-09-26 16:01:04 +00:00
Gustavo Sverzut Barbieri ac9e3d7412 Do not set color of cursor object.
We should not set the color of cursor objects, it damages things like
rectangles and polygons.


SVN revision: 31820
2007-09-26 15:41:50 +00:00
Gustavo Sverzut Barbieri e04b782d50 Change Ecore_Evas to work with Evas_Object as cursor.
WARNING: this breaks the API, if you rely on ecore_evas_cursor_get(), you
need to get the "Evas_Object *" instead of the filename.

Now the code is smaller and we can handle any object, including Edje.

Patch by Cedric BAIL.


SVN revision: 31818
2007-09-26 14:40:02 +00:00
Gustavo Sverzut Barbieri 7468078e12 SDL improvements.
Patch by Cedric BAIL (with minor changes).


SVN revision: 31815
2007-09-26 14:00:14 +00:00
doursse b8199cb7bc Win32 port:
* add _window_get() functions
 * add minimal fullscreen support (not completely finished yet, but should work)
 * remove CR character in ecore_evas_win32.c


SVN revision: 31790
2007-09-23 11:57:34 +00:00
doursse 99a0034778 * add cursor support
* add mouse wheel, window create, window configure and window resize events
 * fix fullscreen function
 * fix button release even
 * add _geometry_get function
 * minor cleanups


SVN revision: 31789
2007-09-23 11:08:52 +00:00
doursse 251f9a2f62 Windows port: mkdir is obsolete with vc++, use _mkdir instead. Define macros for realpath and mkdir
SVN revision: 31771
2007-09-21 17:06:24 +00:00
Gustavo Sverzut Barbieri b2bc472a17 Fix build inside scratchbox
SVN revision: 31768
2007-09-20 15:52:11 +00:00
Carsten Haitzler e043668721 add comment.
SVN revision: 31752
2007-09-17 23:13:59 +00:00
Sebastian Dransfeld a50768e616 ignore
SVN revision: 31726
2007-09-15 23:52:37 +00:00
Carsten Haitzler 875a5cc6f9 patches from lutin
SVN revision: 31688
2007-09-11 12:27:03 +00:00
doursse cc2b1dd65c fix linking when curl is used on Windows
SVN revision: 31664
2007-09-09 11:43:31 +00:00
doursse 21339321e9 add a readlink equivalent for Windows
SVN revision: 31663
2007-09-09 11:05:02 +00:00
doursse a22ebcafac port ecore_file to Windows
SVN revision: 31662
2007-09-09 10:26:37 +00:00
doursse bb89d5a5ab disable ecore_desktop by default
SVN revision: 31650
2007-09-08 08:21:08 +00:00
Carsten Haitzler 4b3c2c81af well that was wrong! fix!
SVN revision: 31647
2007-09-08 04:51:16 +00:00
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 278279e269 asparagus!
SVN revision: 31524
2007-08-26 14:33:41 +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
tilman 8af29b6691 unfuck configure.in
SVN revision: 31461
2007-08-22 17:24:44 +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
Christopher Michael 73cd1d5643 Patch from caro to fix ecore_config dependency checks during configure.in.
Ecore_Config depends on ecore_ipc, but that was never previously checked for.


SVN revision: 31045
2007-07-28 19:54:40 +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
kaethorn 69ad9e0aaa remove deprecated ecore_dbus from debian package.
SVN revision: 30792
2007-07-13 12:27:33 +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
Carsten Haitzler 78408fe60a 1. fix a lot of things so they pass make distcheck - so many things have
broken. guys - need to be more careful!
2. asparagus
3. some extra docs/comments for evas


SVN revision: 30696
2007-07-10 00:13:26 +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
kaethorn bef5c4fdd6 remove ecore-config from debian install files.
clean up rules.


SVN revision: 30558
2007-07-03 11:24:28 +00:00
Andreas Volz f1b651886f removed ecore-config because of pkg-config
SVN revision: 30524
2007-07-01 17:28:11 +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
Carsten Haitzler a6ad878e08 ASPARAGUS!
SVN revision: 30379
2007-06-17 15:25:52 +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 56b2705044 unbreak the ecore-x build. that 2nd test doesn't belong there.
SVN revision: 29913
2007-05-07 19:25:46 +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 ee0000f75f distribute ecore-x.pc for xcb, too
SVN revision: 29908
2007-05-07 18:12:15 +00:00
tilman 79e2242f6b global string tables suck ass. this is better.
SVN revision: 29906
2007-05-07 17:57:46 +00:00
tilman 8a41f300f6 don't enable BUILD_ECORE_X and BUILD_ECORE_X_XCB at the same time. this unbreaks the ecore-x-xcb build
SVN revision: 29903
2007-05-07 15:39:22 +00:00
tilman d0b615d4bb fixed dependencies for ecore-x
SVN revision: 29886
2007-05-06 15:49:00 +00:00
Carsten Haitzler 002d09cc7d asparagus - pass distcheck.
SVN revision: 29865
2007-05-05 15:14:17 +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 5cbcf11272 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: 29501
2007-04-13 17:24:28 +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
Sebastian Dransfeld 9a55bdf25f Make it possible to disable abstract sockets.
SVN revision: 29350
2007-04-04 12:28:16 +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 37865c6d90 Make inotify work without inotify in glibc.
SVN revision: 29342
2007-04-04 11:37:10 +00:00
Sebastian Dransfeld c13ec0ad48 Check for MOVE_SELF, it was the last new thing added.
SVN revision: 29341
2007-04-04 11:23:41 +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
Sebastian Dransfeld 479f628f89 Check for sys/inotify.h first. This will become standard and wont be found
if the test is the other way around.


SVN revision: 29325
2007-04-03 19:20:04 +00:00
doursse 6d871d6351 rename AC_CHECK_X_EXTENSION into ECORE_CHECK_X_EXTENSION
SVN revision: 29285
2007-03-31 14:55:16 +00:00
doursse 49410caa35 AC_DEFINE removed by error
SVN revision: 29284
2007-03-31 14:35:51 +00:00
doursse dadd53df2c use an m4 macro to check all the modules (except evaso_evas engine modules)
SVN revision: 29282
2007-03-31 11:11:02 +00:00
Carsten Haitzler 5f7e0227c4 allow NULL events.
SVN revision: 29269
2007-03-31 01:58:31 +00:00
tilman 12215d740c ugh, don't define HAVE_POLL just if is set. we check for it later.
SVN revision: 29241
2007-03-30 19:47:46 +00:00
tilman 9ed48cc2eb removed the pthread stuff - it's not used anymore
SVN revision: 29240
2007-03-30 19:38:17 +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
doursse a337ae94f1 -lecore_dfb -> -lecore_directfb
SVN revision: 29096
2007-03-25 09:30:59 +00:00
Sebastian Dransfeld d2b7cd5296 Remove unused file.
SVN revision: 29091
2007-03-25 08:46:57 +00:00
tilman 62c98ea3da call PKG_PROG_PKG_CONFIG
SVN revision: 28998
2007-03-24 10:41:31 +00:00
tilman e41d0054bd removed pkg.m4, wtf?
SVN revision: 28989
2007-03-24 09:21:04 +00:00
tilman a61eb329cc fix ecore_desktop check etc
SVN revision: 28987
2007-03-24 08:38:33 +00:00
tilman 10ce990a4f more clean ups
SVN revision: 28976
2007-03-23 23:04:32 +00:00
tilman e24eeed435 slightly rework ecore_x
SVN revision: 28975
2007-03-23 22:53:21 +00:00
tilman b3c1a74772 slightly rework ecore_txt checks wrt configure output
SVN revision: 28974
2007-03-23 22:44:49 +00:00
tilman 984d3931bb erm, i don't think there's anything such as 'Ecore_Buffer' :P
SVN revision: 28973
2007-03-23 22:29:23 +00:00
tilman ef4acf8d30 removed some unneeded dummy assignments. spotted by vincent.
SVN revision: 28970
2007-03-23 22:07:18 +00:00
tilman fd8d972c13 clean up AM_CONDITIONALs
SVN revision: 28966
2007-03-23 20:25:18 +00:00
tilman c491798541 don't append to a variable inside a conditional statement
SVN revision: 28964
2007-03-23 19:14:01 +00:00
kaethorn 16510219ac reflect pkg-config changes.
SVN revision: 28929
2007-03-22 18:39:22 +00:00
Sebastian Dransfeld dbe28a92ec No longer needed.
SVN revision: 28910
2007-03-22 16:01:20 +00:00
tilman 64c924042a make use of Libs.private for some stuff
SVN revision: 28906
2007-03-22 15:33:08 +00:00
tilman 31babf84bc removed ecore.m4
SVN revision: 28879
2007-03-22 02:29:11 +00:00
tilman 2fb1a2093c oops, removed some trailing whitespace
SVN revision: 28869
2007-03-21 18:42:37 +00:00
tilman 40ca2f85d8 split ecore.pc into multiple pc files, one for each sub module.
SVN revision: 28853
2007-03-21 15:30:23 +00:00
tilman f0e280839d ecore-x doesn't depend on ecore-job
SVN revision: 28852
2007-03-21 15:06:43 +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
doursse 25e9e492f3 some needed changes
SVN revision: 28769
2007-03-16 06:20:27 +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 41047320af Wed Mar 14 22:06:13 2007 Michael Jennings (mej)
I hate when I do that.
----------------------------------------------------------------------


SVN revision: 28733
2007-03-15 08:06:15 +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 8050988bd5 add m4 macro to check X extension
SVN revision: 28724
2007-03-15 00:25:53 +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 d57a49d4ef Fix minor typo..should be ECORE_XDPMS, thanks ravenlock :)
SVN revision: 28690
2007-03-13 09:45:00 +00:00
Christopher Michael 9096f91b3d Added checks for dpms available in X so we know to build ecore_x_dpms or
not. Added a fallback check that looks in the Xext if not found in Xdpms.


SVN revision: 28688
2007-03-13 09:31:22 +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
tilman 0b2ec0d179 these days it's everyone's hobby to put lots of funky stuff in ecore, that has nothing core-ish about it. so here's an --libs-core arg that makes ecore-config only echo the core libs of ecore. also formatted the argument list a bit nicer, so that it fits in a 80x24 terminal.
SVN revision: 28646
2007-03-10 22:25:58 +00:00
tilman 8df6a0235f make sure have_ecore_desktop and want_ecore_desktop are initialized. otherwise you'll get an empty result for ecore_desktop if you don't build ecore_file.
SVN revision: 28645
2007-03-10 22:12:01 +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
Christopher Michael 977462196e Re-enable setting x_ variables to nothing at start of X checks. Not sure if
this was an accidental change or not, but it breaks things like pbuilder for
building pacakges.


SVN revision: 28563
2007-03-05 04:38:54 +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
Michael Jennings 8c8cb4adbc Sun Feb 25 14:07:14 2007 Michael Jennings (mej)
Sigh.
----------------------------------------------------------------------


SVN revision: 28482
2007-02-26 01:07:16 +00:00
Michael Jennings 1c7f235ba0 Sun Feb 25 14:05:05 2007 Michael Jennings (mej)
Require ecore-bin.
----------------------------------------------------------------------


SVN revision: 28481
2007-02-26 01:05:07 +00:00
Michael Jennings 37b16004a6 Thu Feb 22 14:16:00 2007 Michael Jennings (mej)
ecore needs curl now.
----------------------------------------------------------------------


SVN revision: 28445
2007-02-23 01:16:02 +00:00
Michael Jennings 20dbfeeb9c Tue Feb 20 23:56:15 2007 Michael Jennings (mej)
Add buildreq for conditional DirectFB support.
----------------------------------------------------------------------


SVN revision: 28420
2007-02-21 10:56:17 +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
kaethorn 0401faccc7 Missed this one. Thanks to Wang Xu.
SVN revision: 28137
2007-01-27 18:59:15 +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
kaethorn 8e64b6834e Use wildcards for dynamic header and static library inclusion.
SVN revision: 27906
2007-01-11 21:56:44 +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