Commit Graph

1847 Commits

Author SHA1 Message Date
Cedric BAIL 1fc6d866c2 Only set the struct one time (remove useless memset) and sync idler with animator.
SVN revision: 35966
2008-09-12 13:19:26 +00:00
Cedric BAIL 41d40ee473 Put SDL engine priority lower as it should find a way to build a window when
every one else fail.



SVN revision: 35955
2008-09-11 14:48:34 +00:00
Cedric BAIL 3a15a282fc Add auto discovery for ecore_evas_sdl_16
SVN revision: 35954
2008-09-11 14:47:09 +00:00
Cedric BAIL d748ced8e1 Add ecore_evas_sdl16_new.
SVN revision: 35950
2008-09-11 13:26:40 +00:00
Gustavo Sverzut Barbieri 7292d49894 Add generic call to create Ecore_Evas from engine names.
One can get engine names with ecore_evas_engines_get() and present
them to its users (from --help, for example) and then give that name
to ecore_evas_new(), that accepts the name, geometry and extra options
as a string.

As I don't have all the engines here, I might have missed something
from those, tested here:

 - software_x11
 - xrender_x11
 - opengl_x11
 - directfb
 - buffer



SVN revision: 35919
2008-09-10 05:13:29 +00:00
Peter Wehrfritz 3deae56fa1 fix primary selection, probably also clipboard selection
SVN revision: 35856
2008-09-06 21:55:01 +00:00
Sebastian Dransfeld 2d2c1176df formatting
SVN revision: 35791
2008-09-02 05:38:46 +00:00
Nicholas Hughart 4851309c8b Another update to ecore_file_mv to make it work even better. Now even writes to external devices will be atomic if possible. If it's still not possible, the old fallback method of just copying will be done.
SVN revision: 35787
2008-09-02 02:44:47 +00:00
Nicholas Hughart f8cee23def Remove this check. Any software that depended on this check should check before calling this function instead.
SVN revision: 35781
2008-09-01 20:13:00 +00:00
Sebastian Dransfeld 44b8d52797 Why was this twice?
SVN revision: 35717
2008-08-28 15:36:22 +00:00
Jaime Thomas 67ce8bcabc Missing header
SVN revision: 35639
2008-08-24 05:20:40 +00:00
Peter Wehrfritz dcd3a0139c we need the typedef of size_t
SVN revision: 35635
2008-08-23 22:50:01 +00:00
Sebastian Dransfeld 43365e056b source action patches from Fedor Gusev
SVN revision: 35519
2008-08-17 18:12:23 +00:00
Sebastian Dransfeld 4e147fe66f Add missing header
SVN revision: 35494
2008-08-14 21:05:07 +00:00
Sebastian Dransfeld 97eed7e2dc ignore
SVN revision: 35481
2008-08-14 17:57:32 +00:00
Carsten Haitzler a8125498b8 actually activating... use "2" (for pager) as this should normally activate
as opposed to just ask for attention


SVN revision: 35423
2008-08-10 02:01:17 +00:00
Peter Wehrfritz b57eac0726 fix warnings
SVN revision: 35262
2008-07-30 22:59:23 +00:00
Carsten Haitzler 98623a9077 add new ecore_Exe control calls (interrupt and quit) and dont ertror dialog
on all exits of apps (sigint/quit/.term can be ignored i think).


SVN revision: 35246
2008-07-29 22:07:19 +00:00
doursse 3f80f51a24 add ecore_x_window_shadow* api, use latest xcb_icccm api, remove trailing spaces, formatting
SVN revision: 35243
2008-07-29 09:00:17 +00:00
Carsten Haitzler e379ef6e87 fix software 16 build!
SVN revision: 35216
2008-07-25 15:41:32 +00:00
Michael Lauer 2bbdd8f3d2 fix building ecore without X
SVN revision: 35215
2008-07-25 11:42:02 +00:00
Michael Jennings 038fd1f7be s/KEYOBARD/KEYBOARD/g
SVN revision: 35210
2008-07-25 02:21:03 +00:00
Carsten Haitzler cea0975be9 force unknown -> 0
SVN revision: 35208
2008-07-25 01:54:26 +00:00
Carsten Haitzler ca8b5a99d2 e vkbd hint wrappers!
SVN revision: 35207
2008-07-25 01:45:36 +00:00
Carsten Haitzler 7c4a4bae8e actually just handle datatype properly.
SVN revision: 35195
2008-07-23 21:01:36 +00:00
Carsten Haitzler 4eacb3e2cd ignore unkown atom types
SVN revision: 35194
2008-07-23 20:58:47 +00:00
doursse ef61dbeb14 Big change in configure.in, ecore_x and ecore_evas. Everything compile nicely
after a make maintainer-clean, with xlib or xcb. e17 also has no problem.
Please report any problem. Thanks

 * put xlib and xcb specific code in their own directories inside ecore_x
 * fix xcb logic check in autotools and ecore_evas
 * update configure.in for detection of ecore_evas with xlib and xcb support,
   update ecore_evas accordingly. Note that e17 needs a little fix after that,
   it will come in a few minutes


SVN revision: 35188
2008-07-23 10:00:01 +00:00
Peter Wehrfritz 2ab5747a80 prevent degenerated hash values with 64bit pointer
SVN revision: 35146
2008-07-17 22:58:28 +00:00
doursse a7dcdaeb55 * use ECORE_EVAS_CHECK_MODULE for Windows modules
(other modules will follow later)
 * update Windows ecore evas module accordingly
 * factorize win32 code before cedric changes :p
 * add warning for vc++ (patch from Dmitriy Mazovka)


SVN revision: 35137
2008-07-17 06:06:34 +00:00
doursse 913d17fcff cvsignore update
SVN revision: 35135
2008-07-17 05:08:44 +00:00
Carsten Haitzler d279771011 add some more calls needed for better key faking
SVN revision: 35126
2008-07-16 17:05:31 +00:00
doursse d569f393d6 put guards around config.h, remove trailing spaces
SVN revision: 35104
2008-07-14 10:06:34 +00:00
doursse 70040d4b80 remove trailing spaces
SVN revision: 35102
2008-07-13 20:20:48 +00:00
Carsten Haitzler 8517245233 and fix mwm hint
SVN revision: 35041
2008-07-09 15:28:10 +00:00
Carsten Haitzler 237956fa62 moe all atom fetching to 1 round trip instead of 200 of them... and mrge into
1 bit of code to do it.


SVN revision: 35039
2008-07-09 15:18:55 +00:00
Sebastian Dransfeld 361ddf6397 Seems that I forgot to upload the header changes when changing
ftp upload.


SVN revision: 35027
2008-07-08 04:08:52 +00:00
Carsten Haitzler fa688b14b1 actually make activate work! oops. wrong event mask
SVN revision: 34962
2008-07-01 07:12:27 +00:00
Carsten Haitzler 542e51691b ecore_evas activate call.. uses netwm one... eek. need to add xcb.
SVN revision: 34949
2008-06-30 08:39:36 +00:00
Carsten Haitzler 2423c1e22c disable clearing of startup_id
SVN revision: 34947
2008-06-30 01:16:38 +00:00
doursse 0b2c6cdd5c add a method that returns the HWND window of an Ecore_Win32_Window
SVN revision: 34946
2008-06-29 14:12:16 +00:00
Gustavo Sverzut Barbieri 0c351c3edd Fix deletion of ecore_evas_directfb and ecore_directfb_window.
SVN revision: 34936
2008-06-28 14:12:20 +00:00
Eric Schuele d7a634d3da Fix the real warning this time. (undo my previous change as well)
SVN revision: 34929
2008-06-28 03:51:20 +00:00
Eric Schuele 387d29e262 - libgen.h is required on FreeBSD for basename(), and will provide
POSIX basename() for those of you using glibc.
 - Silence some compiler warnings.


SVN revision: 34926
2008-06-27 16:00:55 +00:00
doursse 2b1156ef72 useless, now
SVN revision: 34917
2008-06-26 10:23:29 +00:00
doursse 3d175f57e9 add glew engine support in ecore_evas. fix Windows backend compilation
SVN revision: 34916
2008-06-26 09:56:08 +00:00
doursse 2ab4d7ad99 remove completely backends in ecore_win32
SVN revision: 34915
2008-06-26 09:54:35 +00:00
doursse 6b048a4eb5 reorganize header files and fix minor warnings
SVN revision: 34910
2008-06-26 05:11:16 +00:00
doursse a2c9599b9f fix the initialisation of the evas engine informations for directdraw and direct3d
SVN revision: 34909
2008-06-26 04:34:06 +00:00
doursse 50d48a1859 Associate an Ecore_Win32_Window to its HWND window, hence drop of the window list management. That should fix a bug when 2 windows are used in the same program. Add ecore_win32_screen_depth_get() to know the depth of the screen. Remove the management of the backend for direct3d and directdraw as they are done by the engines, now. More (ddraw 16 bits and gl) will follow later
SVN revision: 34908
2008-06-26 04:30:29 +00:00
Davide Andreoli 288b801e42 as per irc add the function:
EAPI int ecore_file_dir_is_empty(const char*dir)
Should we need to upgrade the ecore version? so apps that need this function can check for the right version?
Thanks
Dave


SVN revision: 34889
2008-06-22 15:10:00 +00:00
Eric Schuele c543df064c On occasion we see ee->prop.title == NULL. This will safeguard.
SVN revision: 34881
2008-06-21 02:44:38 +00:00
Sebastian Dransfeld 3d551cfeb8 Add ftp upload function (from Massimiliano Calamelli).
SVN revision: 34878
2008-06-20 07:48:33 +00:00
codewarrior 8e2e1a40a3 Set title again after we destroy the X window when setting alpha on and off.
SVN revision: 34876
2008-06-19 21:03:17 +00:00
Sebastian Dransfeld f05fe5a8da ignore
SVN revision: 34863
2008-06-19 12:29:22 +00:00
Carsten Haitzler c346a633c7 fix grab key to limit window event reporting properly.
SVN revision: 34851
2008-06-18 11:36:21 +00:00
Sebastian Dransfeld 9fa6620817 Don't complain when we don't include netdb.h
SVN revision: 34825
2008-06-14 10:18:00 +00:00
Sebastian Dransfeld 6da1cd605d No need to get target twice.
SVN revision: 34818
2008-06-13 21:42:13 +00:00
doursse f372541271 minor header inclusion fixes for vc++
SVN revision: 34800
2008-06-11 20:36:35 +00:00
doursse 29dddeec44 print debug after initialization. Thanks to Dmitriy Mazovka
SVN revision: 34797
2008-06-10 22:12:12 +00:00
doursse d2c2490440 add guards around config.h
SVN revision: 34783
2008-06-09 18:16:24 +00:00
Carsten Haitzler 911cf92c04 printf--
SVN revision: 34780
2008-06-09 12:17:59 +00:00
Carsten Haitzler 28bb3a6a08 ok - see comments with idle-enter.
SVN revision: 34779
2008-06-09 12:15:34 +00:00
Peter Wehrfritz c51a00a7d3 add constness; formatting
SVN revision: 34772
2008-06-08 12:38:56 +00:00
doursse 6456e1f6b7 add ecore_evas for wince
SVN revision: 34759
2008-06-06 13:57:03 +00:00
doursse fb34ce418d add debug messages, formatting, fix initialisation of mouse_in and mouse_out events
SVN revision: 34758
2008-06-06 12:20:47 +00:00
doursse 66bc74847c * add method to set backend
* formatting


SVN revision: 34742
2008-06-05 07:37:10 +00:00
doursse 30fc2a9064 * add _size_get() and _geometry_get() methods
* fix use of resume() and suspend() functions when dealing with GAPI


SVN revision: 34741
2008-06-05 07:23:41 +00:00
doursse 5b73f44fd1 * add a function that returns the Windows window of an Ecore_WinCE_Window.
Needed for a use of ecore_wince without ecore_evas

 * That stupid OS does not send a specific message when you show a window.
   Force the SHOWWINDOW message when showing / hiding. It works with
   CEgcc, but I don't know if it will work with vc++ for WinCE


SVN revision: 34740
2008-06-05 05:27:29 +00:00
doursse 6267ff56b3 add stylus support
SVN revision: 34730
2008-06-03 17:09:44 +00:00
doursse 6ec89fc019 [wince] fix stupid behavior of SetWindowLong during the creation of the the window
SVN revision: 34727
2008-06-03 05:13:17 +00:00
doursse 53f0ada816 minor fixes and cormatting
SVN revision: 34710
2008-05-31 05:06:38 +00:00
doursse d787b6dec9 add Ecore Windows CE module
SVN revision: 34709
2008-05-31 05:05:01 +00:00
Viktor Kojouharov d410dcd75b ecore_x:
* in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window
  * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events

e:
  * make sure e_manager_current_get returns the correct manager for the current screen
  * fix various modules to use the correct window, when dealing with events


SVN revision: 34705
2008-05-30 22:30:57 +00:00
Peter Wehrfritz 14042818cc move ecore_plugin_available_get() to ecore_plugin.c
SVN revision: 34697
2008-05-30 10:18:04 +00:00
Carsten Haitzler 43821d36e4 * add efreet garbage data check
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now


SVN revision: 34689
2008-05-29 02:00:04 +00:00
Gustavo Sverzut Barbieri b0f295b1dd Match initial changes to DirectFB/evas.
SVN revision: 34688
2008-05-28 19:31:51 +00:00
Cedric BAIL c56d5ba638 Add FTP upload support for Ecore_Con from Massimiliano Calamelli.
SVN revision: 34683
2008-05-28 09:02:39 +00:00
doursse f04b9cc862 make some ecore modules compile with cegcc
SVN revision: 34673
2008-05-26 07:07:50 +00:00
doursse 479741fef0 remove ecore_pipe declarations and some trailing spaces
SVN revision: 34672
2008-05-26 05:31:20 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
doursse 550d447320 use the c++ api
SVN revision: 34670
2008-05-26 04:10:22 +00:00
Cedric BAIL 3537f1033a Forgotten declaration.
SVN revision: 34628
2008-05-20 12:37:51 +00:00
Carsten Haitzler 188e5b5bf0 use the cancel on a mouse out with grab
SVN revision: 34608
2008-05-19 04:15:34 +00:00
Carsten Haitzler 42d1df4a86 obey the env var for dev warnings too
SVN revision: 34593
2008-05-17 03:19:38 +00:00
ningerso da305e5201 Rename another ecore_hash function.
SVN revision: 34506
2008-05-08 04:04:58 +00:00
ningerso db5c62df5d Rename functions to newer naming standard.
SVN revision: 34505
2008-05-08 04:01:01 +00:00
Carsten Haitzler 4743905c0b big endian fix from the big easy! :)
SVN revision: 34500
2008-05-07 14:02:21 +00:00
Cedric BAIL b08651afd0 Reduce number of call to malloc (by putting the string at the end of the Ecore_String struct).
SVN revision: 34498
2008-05-07 13:11:34 +00:00
Carsten Haitzler 21bfa5b0d6 gak! al the siginfo handlign was wrong. u'd get bogus siginfo data from
whatever child exited last - not the one u wanted, not to mention all other
signals. now there's a queue at least. 256 long. moight be a bit too long.


SVN revision: 34442
2008-05-03 08:15:16 +00:00
Cedric BAIL 6132d451c9 Check the correct stuff.
SVN revision: 34439
2008-05-02 15:33:50 +00:00
Cedric BAIL 6a9ef0e67f Remove an unused static function.
SVN revision: 34438
2008-05-02 15:33:09 +00:00
Caio Marcelo de Oliveira Filho 97c0e0b5d3 ecore_imf: if ECORE_IMF_MODULE is set to "none", don't use any IMF module
Patch by andrunko.


SVN revision: 34361
2008-04-24 15:28:53 +00:00
Eric Schuele c48d02e391 Check for null pointer before passing to realpath()
SVN revision: 34285
2008-04-17 02:04:02 +00:00
Cedric BAIL ae88b42feb Use SDL definition instead of their numeric value.
SVN revision: 34282
2008-04-16 14:37:14 +00:00
Cedric BAIL 04d82e3825 Fix typo.
SVN revision: 34281
2008-04-16 08:36:08 +00:00
Carsten Haitzler 57ecfa2b1f This patch add the possibility to delay a timer and to know the
pending time before the next wake up.

They should not affect any current code using the timer.

--
Cedric BAIL


SVN revision: 34250
2008-04-11 23:39:55 +00:00
Carsten Haitzler 0a0f8904f2 add xtest faking key support.
SVN revision: 34128
2008-03-28 14:38:35 +00:00
Carsten Haitzler 1bc9f155bb and only delete job list if its not null.
SVN revision: 34063
2008-03-20 17:56:41 +00:00
Dan Sinclair 74873d6559 - set the job list to NULL. If this isn't done and we re-init the library (as efreet does during unit testing) the list won't get re-created and crap memory will get freed on the next shutdown
SVN revision: 34058
2008-03-20 02:10:55 +00:00
Peter Wehrfritz 7f9e3f4cfd remove dangerous casts
SVN revision: 34039
2008-03-16 23:05:50 +00:00
Peter Wehrfritz 1bb6fe82e7 compile again with curl
SVN revision: 34012
2008-03-13 09:26:24 +00:00
Sebastian Dransfeld 0c387e3c74 Remove unused variable
SVN revision: 34010
2008-03-13 06:36:50 +00:00
Sebastian Dransfeld a4ad7cb0eb Fix compiler warnings.
SVN revision: 34009
2008-03-13 06:35:57 +00:00
Peter Wehrfritz 164190d377 compile on FreeBSD again
SVN revision: 33984
2008-03-11 19:51:32 +00:00
Carsten Haitzler ab9940c2eb try again - missed the wrapping #ifdef
SVN revision: 33983
2008-03-11 10:24:10 +00:00
Carsten Haitzler 7a53260b55 build again if no curl there.
SVN revision: 33980
2008-03-11 03:38:22 +00:00
Carsten Haitzler 3dedc3559e allow to have sub-rpocessed controlled by parent if parent dies/segvs/kill
-9'd , ecore_exe'd children die too.


SVN revision: 33974
2008-03-10 06:44:32 +00:00
Carsten Haitzler 2f4173e229 cedrics ecore_cn_url stuff for file downloads
SVN revision: 33970
2008-03-09 16:43:32 +00:00
Carsten Haitzler 4a3d696dcf cedric's timer freeze code.
SVN revision: 33967
2008-03-09 15:56:17 +00:00
Carsten Haitzler 87a6db7703 add in a types get - as u can have a list of them.
SVN revision: 33951
2008-03-07 11:02:22 +00:00
Carsten Haitzler 69f298c228 netwm type stupports an array of types. we dont handle it. bad. for now take
only the most important one (first) and note this issue.


SVN revision: 33944
2008-03-06 10:19:21 +00:00
Carsten Haitzler b9c073d25f allow programs using ecore_con_url to work and have symbols defined - even if
api doesnt do anything useful as curl is disabled.


SVN revision: 33929
2008-03-05 05:15:37 +00:00
Carsten Haitzler e89ea49c8b if port < 0 then drop port number
SVN revision: 33898
2008-03-02 08:39:21 +00:00
Carsten Haitzler 0cd91f89df valgrind complaint - valid one. fix.
SVN revision: 33891
2008-03-02 02:01:11 +00:00
Carsten Haitzler 9d31648720 revert pselect - breaks e init and entrance
SVN revision: 33829
2008-02-24 08:42:39 +00:00
Carsten Haitzler c31c2c50c3 use pselect - from lars. testing now in a wider audience.
SVN revision: 33827
2008-02-24 04:56:28 +00:00
doursse fc81ca730c remove trailing spaces
SVN revision: 33800
2008-02-20 18:22:42 +00:00
doursse 08bbba9e24 use the new api for the screensaver
SVN revision: 33799
2008-02-20 18:20:51 +00:00
Sebastian Dransfeld 0354cd15e9 And remove debugging.
SVN revision: 33771
2008-02-18 06:41:52 +00:00
Sebastian Dransfeld 4ec81c3451 List data should not be in the nodes when using ecore_list
SVN revision: 33770
2008-02-18 06:27:26 +00:00
Sebastian Dransfeld d6b1e0b5a6 formatting
SVN revision: 33769
2008-02-18 06:26:20 +00:00
Sebastian Dransfeld 1ff7daa0bb revert_to can't be PointerRoot, should probably be RevertToPointerRoot
SVN revision: 33737
2008-02-12 20:34:41 +00:00
Peter Wehrfritz 69c774cbe6 add doxy stubs, so that the function names at least appear in the api references
Thanks to mcalamelli


SVN revision: 33731
2008-02-11 23:24:11 +00:00
Mike Frysinger 561eb3c20c move ecore_exe_{init,shutdown} win32 stubs to header
SVN revision: 33640
2008-01-28 11:20:57 +00:00
Peter Wehrfritz 3f672adf1b remove stupid semicolons
SVN revision: 33626
2008-01-26 14:41:34 +00:00
Mike Frysinger d62afbab1d fix debug-typo left over in previous commit
SVN revision: 33621
2008-01-26 10:12:20 +00:00
Mike Frysinger 4c62111e44 relegate _WIN32 ifdef mess to ecore_private.h
SVN revision: 33620
2008-01-26 10:11:48 +00:00
Mike Frysinger 184812f289 replace a lot of win32 ifdef hacks with autoconf checks
SVN revision: 33616
2008-01-26 05:40:53 +00:00
Peter Wehrfritz 2c87820492 add ECORE_CALLBACK_RENEW and ECORE_CALLBACK_CANCEL
SVN revision: 33612
2008-01-25 18:28:16 +00:00
Peter Wehrfritz 6a586399c2 typo and formating
SVN revision: 33611
2008-01-25 18:22:51 +00:00
Peter Wehrfritz 86d36b4563 add ecore_str_has_extension()
SVN revision: 33610
2008-01-25 18:10:46 +00:00
Carsten Haitzler f64e9a47e8 typo--
SVN revision: 33597
2008-01-25 02:16:24 +00:00
Carsten Haitzler c09dd5620f put cal back in - move struct details up.
SVN revision: 33592
2008-01-25 01:22:08 +00:00
Carsten Haitzler ebdbf7c6ec tslib supprot back from tobias.
SVN revision: 33577
2008-01-24 02:23:14 +00:00
Carsten Haitzler 28a9a00d43 fix sdl link to only link to sdl if enabled
SVN revision: 33567
2008-01-23 23:46:56 +00:00
Andres Blanc 75a826a8d5 I had to replace TAB characters by spaces in ecore_file_monitor_add() or it would be ignored by doxygen
SVN revision: 33536
2008-01-19 22:50:46 +00:00
Carsten Haitzler 955a961c57 patch from massimilano for following redirections
SVN revision: 33478
2008-01-14 01:58:43 +00:00
Sebastian Dransfeld 4113d5befa Remove unused variable.
SVN revision: 33461
2008-01-12 08:39:15 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Peter Wehrfritz 2909ac19e4 add ecore_list_merge() and ecore_dlist_merge()
SVN revision: 33401
2008-01-08 21:49:57 +00:00
Sebastian Dransfeld 8cb8f0e249 Add support for TLS
SVN revision: 33400
2008-01-08 21:28:51 +00:00
Sebastian Dransfeld d67f5ab32f Support SSLv3
SVN revision: 33398
2008-01-08 21:06:43 +00:00
Peter Wehrfritz 5b39bc5e2c remove old api macros
SVN revision: 33365
2008-01-06 15:21:00 +00:00
Eric Schuele acb7b70c19 Change name for consistency
SVN revision: 33271
2007-12-28 22:58:48 +00:00
Eric Schuele bedfcfc24c If ecore detects and is build with xrandr support, yet any given display does not actually support it... we need a test.
SVN revision: 33260
2007-12-27 06:34:38 +00:00
Stafford Mitchell Horne b1088e8a16 Fix some typos found when working on XIM.
Add filter for XIM context priming


SVN revision: 33159
2007-12-16 01:41:15 +00:00
doursse adaa510398 create shared lib on windows
SVN revision: 33113
2007-12-12 22:10:58 +00:00
andrunko 041d00dc6f Deleting Ecore_IMF event handlers on _e_entry_smart_del.
SVN revision: 33112
2007-12-12 19:00:48 +00:00
andrunko 46ed68191b Fixed undefined symbol when BUILD_ECORE_EVAS_X11 is not set.
SVN revision: 32919
2007-11-30 17:12:27 +00:00
Christopher Michael 7f91eb8ad2 Some formatting fixes while I'm in here reading :)
SVN revision: 32917
2007-11-30 08:21:37 +00:00
Christopher Michael ac03429c22 Reword Ecore_Con doxy a little to be a bit nicer.
SVN revision: 32916
2007-11-30 08:10:37 +00:00
Sebastian Dransfeld dd57bdc7a0 formatting
SVN revision: 32821
2007-11-22 11:57:01 +00:00
Sebastian Dransfeld 8ee02e0e2a Fix warnings.
SVN revision: 32820
2007-11-22 11:55:35 +00:00
Sebastian Dransfeld ed930e98a2 Need ecore for Ecore_Data.h
SVN revision: 32819
2007-11-22 11:49:20 +00:00
andrunko 2204cc1927 Added Ecore_IMF_Evas.
Removed Evas dependency from Ecore_IMF, that was requested by Ewl developers
in order to be able to integrate Ecore_IMF on it.

Added Ecore_IMF_Evas, a library with helper functions to use Ecore_IMF together
with Evas.

Now everybody should be happy.


SVN revision: 32812
2007-11-21 22:20:16 +00:00
doursse 4a6cc12b9c remove printf's. Sorry for the big commit, it was not intended to be done now, but it would have been in cvs anyway
SVN revision: 32810
2007-11-21 12:28:00 +00:00
doursse f5cc49bd44 forgot to add glew support in configure.in
SVN revision: 32809
2007-11-21 12:16:16 +00:00
andrunko 4c27e0cd6b Changed ecore_imf_context_client_window_set to receive an Evas pointer.
This would allow applications to create input method plugins with more
fancy stuff (like transparency, ...).
See http://staff.get-e.org/?p=users/andrunko/ilike-imf-ecore.git;a=summary.


SVN revision: 32804
2007-11-21 01:33:50 +00:00
Sebastian Dransfeld 2a77a4ec07 Correct ecore list looping
SVN revision: 32787
2007-11-20 05:44:24 +00:00
Carsten Haitzler e935c1a0d7 more input devices checks.
SVN revision: 32782
2007-11-19 23:16:29 +00:00
andrunko 502b766d66 Added Ecore_IMF module.
Added Ecore_IMF module. This module enables different input methods to be
used with Ecore. Input methods modules can be created using the Ecore_IMF
interface.
Added ecore_evas_window_get method to allow input methods to request
the window related to a given Ecore_Evas when available.


SVN revision: 32775
2007-11-19 18:27:11 +00:00
Sebastian Dransfeld 23d39ab154 fix copy/paste error
SVN revision: 32771
2007-11-19 08:42:33 +00:00
Sebastian Dransfeld 9766a725eb Check whether we have input devices (Thanks Lars Munch).
SVN revision: 32770
2007-11-19 08:41:00 +00:00
Dan Sinclair 2a9de292d8 - Make sure we set the current pointer. If we don't and call _index_goto()
we'll get a segv


SVN revision: 32769
2007-11-19 04:15:26 +00:00
doursse d90ac09bd5 opengl code
SVN revision: 32737
2007-11-16 19:32:25 +00:00
doursse d0a2686432 add glew opengl and directdraw 16 bits backends, fix cursors, remove duplicated mouse button up event, add states and types, like X, fix window_del and add an window_override_new-like function
SVN revision: 32736
2007-11-16 19:31:32 +00:00
Gustavo Sverzut Barbieri f58535fcf4 Add void.
SVN revision: 32708
2007-11-15 15:44:30 +00:00
Carsten Haitzler c9c3ca7f1d improve xdnd performance by thousdands of times. it was HORRID. note the
comments in the code.


SVN revision: 32694
2007-11-15 04:48:36 +00:00
Gustavo Sverzut Barbieri 78840e0091 Cleanup ecore_path_group_new() and update ecore_path_group_available() API.
SVN revision: 32577
2007-11-11 17:08:20 +00:00
Gustavo Sverzut Barbieri 6983cf7503 Cleanup ecore_x_window_background_color_set().
SVN revision: 32553
2007-11-10 23:15:03 +00:00
Sebastian Dransfeld 0c55f79188 fix memleak (Thanks vinicius).
SVN revision: 32464
2007-11-07 21:15:11 +00:00
Peter Wehrfritz a64803dea8 *API CHANGE*
- Use Ecore_Path_Group instead of the group id
- remove the name


SVN revision: 32410
2007-11-06 16:58:12 +00:00
Sebastian Dransfeld b8c6905eb0 ECORE_X doesn't have anything to do with ecore_evas_x.
TODO: Split the idea of ECORE_EVAS_X11 and the basic software engine.


SVN revision: 32403
2007-11-06 07:21:08 +00:00
Sebastian Dransfeld c9a0f84f4c No need to cast int to double when we return an int.
SVN revision: 32397
2007-11-06 06:12:43 +00:00
Gustavo Sverzut Barbieri d2781df7a0 Missing double->int
SVN revision: 32391
2007-11-05 21:18:35 +00:00
Gustavo Sverzut Barbieri 8faf97e494 Fix ecore_x_screensaver insanity
SVN revision: 32386
2007-11-05 20:47:29 +00:00
Sebastian Dransfeld 1d02ffac0f Rename GL to X11_GL, as there might come other GL engines.
Use PKG_CHECK_EXISTS to check for evas engines.
Only check for ecore_evas_x engines if we build ecore_x.


SVN revision: 32383
2007-11-05 20:23:39 +00:00
Sebastian Dransfeld db9f80387c remove fam support, will never be fixed and inotify is the shit.
SVN revision: 32375
2007-11-05 18:57:11 +00:00
Sebastian Dransfeld cb090a2c1d comments
SVN revision: 32374
2007-11-05 18:31:05 +00:00
Sebastian Dransfeld 57e43db8b8 Use pkgconfig, not -config file
SVN revision: 32359
2007-11-04 19:15:29 +00:00
Sebastian Dransfeld 09926c9094 Return 0 on error.
SVN revision: 32353
2007-11-04 13:13:02 +00:00
doursse be1229247a autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS


SVN revision: 32338
2007-11-04 09:29:20 +00:00
doursse 16dadb4847 fix potential segfault
SVN revision: 32297
2007-11-02 11:55:27 +00:00
doursse 069305f380 fix cursor names
SVN revision: 32208
2007-10-29 20:05:39 +00:00
doursse 8cdab64618 fix linking on Windows, minor formatting and remove useless windows.h include
SVN revision: 32207
2007-10-29 20:02:08 +00:00
Peter Wehrfritz 6513f67cad typo
SVN revision: 32173
2007-10-27 16:22:10 +00:00
doursse 11a9e3d87b add ecore_fps_debug feature on Windows. Btw, if someone knows how to use it, I would be glad to know
SVN revision: 32171
2007-10-27 10:58:00 +00:00
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
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
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 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
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