Commit Graph

1487 Commits

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