Commit Graph

2243 Commits

Author SHA1 Message Date
Carsten Haitzler dc09494b26 hmm why wasnt this committed?
SVN revision: 40535
2009-05-07 13:27:59 +00:00
Vincent Torri 4065fdd4f5 API BREAK
fix consistentness of ecore_x API. Rename some _del functions to _free ones.

See ticket #302


SVN revision: 40532
2009-05-07 08:35:00 +00:00
Andreas Volz f73ad689da added xlib implementation for ecore_x_default_screen_get
SVN revision: 40511
2009-05-05 18:50:29 +00:00
Massimiliano Calamelli 9dd0697b54 Place the ECORE_XSS #endif in the right place, otherwise ecore fails to buils if there is no screensaver extension
SVN revision: 40503
2009-05-03 21:26:08 +00:00
Gustavo Sverzut Barbieri a5428a4ca3 no idea why this flag is required, but doing like others do...
SVN revision: 40493
2009-05-02 23:41:09 +00:00
Gustavo Sverzut Barbieri 79631a6f0f xrandr1.3 support: first steps (events).
starting to implement xrandr 1.3 support, now we support all events
and their fields.

This commit also fix way that extensions register their ids and
base. The way it was, ids was being added to the last event id, that
was wrong! Fortunately, those that were wrong had just one event and
always added "0", making no harm.



SVN revision: 40492
2009-05-02 23:34:29 +00:00
Gustavo Sverzut Barbieri 96511aeea4 proper cleanup of ecoren_con_server after ecore_events.
ecore_events are asynchronous and can be dispatched after the server
is deleted (ecore_con_server_del()). In this case, server will flag
"delete_me" and avoid doing double-free. When the event is dispatched
and the server is deleted, we still need to free resources and so we
need to call _ecore_con_server_free(). But we cannot do that by means
of ecore_con_server_del() since it will check "delete_me" flag and
will return.

This patch calls _ecore_con_server_free() directly when events are
dispatched and server is deleted. It fixes problems with
forecasts/weather modules exhausting file descriptors, a long standing
issue that bring problems with pam/desklock authentication.

Thanks to manio to point out #305 and testing.


SVN revision: 40490
2009-05-02 20:12:41 +00:00
Gustavo Sverzut Barbieri 4fd5d0c794 free getaddrinfo() results and avoid leaks in ecore_con.
This was affecting ecore_con users, specially modules that keep
polling the network, like forecasts or weather.

patch by manio, see bug #305.


SVN revision: 40488
2009-05-02 19:02:09 +00:00
Vincent Torri 90993a4272 fix the borderless_set function by removing the frame around the window
SVN revision: 40462
2009-04-29 17:50:44 +00:00
Mike Frysinger 5016400f63 fix printf format warnings (int vs size_t) and curl usage warning (curl_easy_getinfo tromps on a pointer to a long, not an int)
SVN revision: 40430
2009-04-28 05:26:22 +00:00
Mike Frysinger b980d9477e fix typo in long_has_neither_32_nor_64_bits prototype
SVN revision: 40429
2009-04-28 05:14:11 +00:00
Jaime Thomas 22ec9fd53b Add a function to retrieve the timer interval.
SVN revision: 40404
2009-04-26 17:16:33 +00:00
Vincent Torri c01d945c99 missing use of ecore_x_drawable_rectangle_fill()
SVN revision: 40360
2009-04-25 07:53:28 +00:00
Vincent Torri 2fd6df87f8 use ecore_x_drawable_rectangle_fill().
SVN revision: 40359
2009-04-25 07:16:59 +00:00
Vincent Torri 90061cb121 add to the API the function ecore_x_drawable_rectangle_fill() that
fills a rectangle on the specified drawable. It will be used in ecore_evas
to factorize the code.


SVN revision: 40358
2009-04-25 07:16:26 +00:00
Vincent Torri e9bacbe619 * formatting in ecore_evas_win32.c
* fix fullscreen_set() and borderless_set() functions in ecore_win32
 * change SetWindowLong() to SetWindowLongPtr() as it is deprecated
 * better error management when dealing with SetWindowLongPtr()
 * remove useless SendMessage() calls
 * other minor fixes


SVN revision: 40354
2009-04-24 19:37:09 +00:00
Vincent Torri 00098e2458 fix cast
SVN revision: 40337
2009-04-23 18:43:12 +00:00
Lars Munch 47840ee7a0 From: Lars Munch <lars@segv.dk>
thx, but you committed rev 1 of the patch. I send out an updated patch
since the function naming did not follow "e" style. Attached patch
renames the functions accordingly. Please apply.



SVN revision: 40322
2009-04-23 07:08:50 +00:00
Vincent Torri d24bc9ea4b better fix for -no-undefined
SVN revision: 40316
2009-04-23 03:56:31 +00:00
Vincent Torri 38fe5f2884 add GDI evas engine support
SVN revision: 40311
2009-04-23 03:24:16 +00:00
Carsten Haitzler 7f1bde6cf4 From: lars@segv.dk (Lars Munch)
Hi

This patch adds two new functions, ecore_pipe_close_read and
ecore_pipe_close_write, to ecore_pipe. The purpose it to enable
ecore_pipe to be used together with fork (see example below).

The patch also handles if the read or write end of the pipe closes.



SVN revision: 40305
2009-04-23 01:38:55 +00:00
booleanlabel 3068e9bd4f From: booleanlabel@gmail.com
cygwin fixes.



SVN revision: 40302
2009-04-23 01:09:26 +00:00
Massimiliano Calamelli 80d145c896 NetBSD requires <sys/resource.h>
SVN revision: 40299
2009-04-22 23:48:49 +00:00
Jaime Thomas 1d112a3ba1 Typo.
SVN revision: 40298
2009-04-22 22:09:40 +00:00
Vincent Torri 4aea12e286 free the events sent by the X server
SVN revision: 40271
2009-04-21 17:42:25 +00:00
Carsten Haitzler 99db224656 cleanup on shutdown better!
SVN revision: 40241
2009-04-19 20:40:01 +00:00
Lars Munch bb74cf5f48 ecore-evas-fb: This patch fixes a bug in ecore_evas_fb.c introduced by the big eina
list conversion. The bug resulted in no input devices where added when
using framebuffer. This patch also cleans up some related NULL
checks that are not needed any more.

Signed-off-by: Lars Munch <lars@segv.dk>


SVN revision: 40224
2009-04-19 15:47:32 +00:00
Vincent Torri 8801b817ea typo
SVN revision: 40217
2009-04-19 08:39:09 +00:00
Vincent Torri b7f578680c fix ecore_input use
SVN revision: 40216
2009-04-19 08:37:50 +00:00
Vincent Torri ead9bbaf36 fix default values of z and direction
SVN revision: 40215
2009-04-19 08:37:08 +00:00
Vincent Torri aef319dc5f more fixes
SVN revision: 40211
2009-04-19 07:16:11 +00:00
Vincent Torri bfb89c4857 missing guards--
SVN revision: 40209
2009-04-19 06:46:02 +00:00
Vincent Torri aaa733d25b * fix warnings
* add missing guards
 * add missing QueryVersion check for the screensaver extension


SVN revision: 40207
2009-04-19 06:36:47 +00:00
Christopher Michael a807d836e6 Remove annoying printf messages when downloading something via ecore.
SVN revision: 40175
2009-04-18 17:16:03 +00:00
Vincent Torri f0612cc992 Typo reported by Cedric Ollivier, thanks !
SVN revision: 40163
2009-04-18 12:08:56 +00:00
Gustavo Sverzut Barbieri 0f8b812d0c fix bad sed by someone else.
SVN revision: 40139
2009-04-17 16:02:07 +00:00
Carsten Haitzler ce5a59b7e5 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Carsten Haitzler 5a740af16d fix ecore-evas-fb fullscreen!
SVN revision: 40125
2009-04-17 01:53:37 +00:00
Vincent Torri 5738461f90 specify the supported windows version
SVN revision: 40119
2009-04-16 21:28:30 +00:00
Gustavo Sverzut Barbieri babc8d254f export way to handle raw xlib/xcb events.
Patch by Kenneth Christiansen, xcb by me and untested.



SVN revision: 40113
2009-04-16 17:29:00 +00:00
Gustavo Sverzut Barbieri aaf395c68f warning--
SVN revision: 40112
2009-04-16 17:17:36 +00:00
Vincent Torri 591fd731f1 fix compilation on Windows
SVN revision: 40111
2009-04-16 17:12:40 +00:00
Gustavo Sverzut Barbieri 852c598be4 Be able to change select() function used by main loop.
Patch by Kenneth Christiansen, used to integrate with GLib and other
main loops.



SVN revision: 40110
2009-04-16 15:44:26 +00:00
Vincent Torri 8292408792 missing ecore_input changes
SVN revision: 40096
2009-04-15 20:03:08 +00:00
Vincent Torri 398c77ed17 fix seg fault. Patch by Nicolas Aguirre
SVN revision: 40081
2009-04-15 11:41:35 +00:00
Vincent Torri 377e89ae28 init and shutdown ecore_event_evas
SVN revision: 40078
2009-04-15 09:41:26 +00:00
Vincent Torri f8646c4d9c use ecore_input for the windows xp code
SVN revision: 40054
2009-04-14 20:04:16 +00:00
Vincent Torri 4e20818f7c remove useless structures
SVN revision: 40052
2009-04-14 19:20:06 +00:00
Rafael Antognolli 6129f4d71b New ecore_getopt callback to parse geometry size (WxH).
SVN revision: 40025
2009-04-13 20:29:57 +00:00
Gustavo Sverzut Barbieri 5a69e7cfe5 useful function to join strings using separator.
SVN revision: 40010
2009-04-13 00:05:43 +00:00
Vincent Torri 764a5550fa fix compilation on linux after having fixed compilation on windows...
sorry


SVN revision: 39992
2009-04-11 17:20:29 +00:00
Vincent Torri 3ae0534f12 useless global variables
SVN revision: 39986
2009-04-11 14:03:42 +00:00
Vincent Torri 166c8b63df the header files are a mess in ecore and, unfortunately, the order matters, especially on Windows
SVN revision: 39985
2009-04-11 13:56:18 +00:00
Vincent Torri 99b44984bd fix compilation on Windows
SVN revision: 39984
2009-04-11 13:46:09 +00:00
Vincent Torri 5efbc4e310 remove useless ecore_evas_x_**_subwindow_get() functions
SVN revision: 39979
2009-04-11 12:17:14 +00:00
Vincent Torri c2a3c26379 * unused parameters --
* llvm report --


SVN revision: 39977
2009-04-11 10:31:42 +00:00
Gustavo Sverzut Barbieri 0af63168e5 debug--, sorry.
SVN revision: 39968
2009-04-11 07:12:13 +00:00
Gustavo Sverzut Barbieri 51bc45acb4 remove nasty warning.
SVN revision: 39967
2009-04-11 07:11:16 +00:00
Gustavo Sverzut Barbieri eab4fea030 move batch directory creation to ecore_file.
as suggested by raster, this could be abstracted into ecore-file and
other applications could use it as well.



SVN revision: 39965
2009-04-11 07:10:12 +00:00
Gustavo Sverzut Barbieri 33183982b0 minor optimizations to ecore_file_mkpath()
* check if path is already valid, not doing further work if that's the case;
 * less stats;
 * check error of ecore_file_mkdir();
 * better usage of 'ss' string.



SVN revision: 39964
2009-04-11 06:33:00 +00:00
Gustavo Sverzut Barbieri 4467ac1c39 batch directory creation, part 1.
SVN revision: 39961
2009-04-11 06:13:02 +00:00
Gustavo Sverzut Barbieri c08930433c remove unused file
SVN revision: 39960
2009-04-11 06:02:10 +00:00
Carsten Haitzler aa740325f6 andre dieb: patch to fix ebadf handling.
SVN revision: 39932
2009-04-10 12:48:25 +00:00
Vincent Torri f7d7e4e74a API BREAK
for consistentness, ecore_***_window_del is renamed
ecore_***_window_free


SVN revision: 39918
2009-04-10 08:46:41 +00:00
Vincent Torri 2045310c43 * (should) fix the compilation on Mac OS X (ecore_input)
* better check of Cocoa.h

Patch by Andrew Wiliams and myself.

As I had to modify the patch so that it compiles on linux, could
the Mac OS X users check if the compilation is fine ?

Next steps:
 * change the name 'quartz' to 'cocoa'
 * add in ecore_cocoa all the needed functions to be used in ecore_evas
   (windows management, cursors, events, etc...) so that ecore_evas_cocoa.c
   does not contain objective c code anymore



SVN revision: 39915
2009-04-10 06:31:58 +00:00
Gustavo Sverzut Barbieri 56516f66e2 remove more debug code left by cedric.
SVN revision: 39913
2009-04-09 21:31:29 +00:00
Stafford Mitchell Horne 3eb42f9fc2 Actually use the correct build flag
SVN revision: 39729
2009-03-26 16:08:45 +00:00
Stafford Mitchell Horne 749e8b1e74 Fix build issues
* Fix warning with mouse move callback
 * If Xrender is disabled, dont build Xrender_Xlib support (caused build failure)


SVN revision: 39713
2009-03-25 15:20:07 +00:00
Viktor Kojouharov 180d492816 add more to the composite api
SVN revision: 39700
2009-03-24 21:31:05 +00:00
Viktor Kojouharov a23cf08162 name window pixmap function in composite
SVN revision: 39674
2009-03-24 10:41:36 +00:00
Vincent Torri e402cd49eb use the new merged xrender engine
SVN revision: 39667
2009-03-24 07:53:31 +00:00
Vincent Torri 3e94ac52b6 * API BREAK: ecore_gc_new can create now a graphic context
with all the values that the X protocol allows. See
   documentation for more info about its use
 * use it in ecore_evas


SVN revision: 39654
2009-03-23 13:28:59 +00:00
Carsten Haitzler d38a2a9488 new timer add func - avoids more gettimeofday calls.
SVN revision: 39638
2009-03-23 02:13:50 +00:00
Gustavo Sverzut Barbieri 354b23a12e Make ecore_x_selection a bit more generic, at least on event reporting.
SVN revision: 39633
2009-03-22 18:19:17 +00:00
Vincent Torri 36bbb31389 Fix compilation on OpenBSD (ticket #252). Patch by eumel
SVN revision: 39625
2009-03-22 13:30:52 +00:00
Vincent Torri 98fb9f9826 remove trailing spaces
SVN revision: 39624
2009-03-22 13:27:24 +00:00
Vincent Torri 6c0dbf9f50 remove trailing spaces
SVN revision: 39620
2009-03-22 11:31:54 +00:00
Vincent Torri a4e10df2c8 include config.h so that __UNUSED__ is defined
SVN revision: 39619
2009-03-22 11:31:11 +00:00
Vincent Torri 91c7e2c0d2 fix test
SVN revision: 39618
2009-03-22 09:56:43 +00:00
Vincent Torri 462198ea40 * add guards around config.h
* formatting


SVN revision: 39617
2009-03-22 07:22:06 +00:00
Vincent Torri e1986575b3 fix EAPI value on Windows
SVN revision: 39616
2009-03-22 07:19:07 +00:00
Vincent Torri d5f0588c67 as the XCB and Xlib software engines have merged, the
"software_xcb" render method does not exist anymore.


SVN revision: 39612
2009-03-21 20:32:02 +00:00
Vincent Torri b3c2562b52 fix some key values for the keyboard events
SVN revision: 39611
2009-03-21 20:08:51 +00:00
Carsten Haitzler 4ee9e854d5 fix build problem.. how did this get in - 2 funcs of the same name, one
static.. one not?



SVN revision: 39604
2009-03-21 00:39:02 +00:00
Cedric BAIL e344bb0f7f * Ecore_Input: Fix build order.
SVN revision: 39584
2009-03-19 16:41:35 +00:00
Cedric BAIL 6f5a990e36 * Ecore_Input: Remove all stuff linked with ecore_evas.
SVN revision: 39581
2009-03-19 13:58:15 +00:00
Cedric BAIL 2bf2c79957 * Ecore_Input: Make it generic.
SVN revision: 39577
2009-03-19 13:06:16 +00:00
Viktor Kojouharov ca0470e59f make this build again
SVN revision: 39576
2009-03-19 12:36:19 +00:00
Vincent Torri 8eb538126c remove trailing spaces
SVN revision: 39574
2009-03-19 07:59:59 +00:00
Vincent Torri ff17c26102 * add ecore_wince include directory (though i don't think that it
will be necessary once ecore_input will be abstracted)
 * allow the built of ecore_input DLL on Windows OS (XP and CE)
 * remove useless dependency, as libecore_.la is in the _LIBADD
   variable)
 * files in EXTRA_DIST are already installed, no need for them
   to be in EXTRA_DIST

patch by Lars Munch


SVN revision: 39573
2009-03-19 07:49:12 +00:00
Vincent Torri 7248a5bacd too many ecore_input in SUBDIRS
SVN revision: 39571
2009-03-19 07:29:28 +00:00
Gustavo Sverzut Barbieri a8838b698e constness++ and warnings--
SVN revision: 39563
2009-03-18 23:51:35 +00:00
Vincent Torri 1ed8721fa2 typo--
SVN revision: 39556
2009-03-18 17:23:11 +00:00
Cedric BAIL 9f3aac0837 * ecore_evas: Fix typo preventing live preview to work and add
sub_ecore_evas to SDL backend.



SVN revision: 39555
2009-03-18 17:12:52 +00:00
Vincent Torri 08bbf2f99f remove useless libs flags (the link is done with the corresponding .la files)
SVN revision: 39553
2009-03-18 17:01:23 +00:00
Sebastian Dransfeld 2849d938ff include Ecore.h for ecore_main_fd_handler_active_set
SVN revision: 39544
2009-03-18 08:38:43 +00:00
Sebastian Dransfeld f388ddcd53 ECORE_X_MODIFIER_* are now internal to ecore_x.
SVN revision: 39543
2009-03-18 08:29:59 +00:00
Cedric BAIL a11beb0a96 * ecore_xcb: Fix key grab too.
SVN revision: 39518
2009-03-17 13:34:40 +00:00
Cedric BAIL bff5617109 * ecore_x: Unbreak E17 use of ALT modifier. Bindings should work again.
SVN revision: 39517
2009-03-17 13:23:04 +00:00
Cedric BAIL c21896a948 * ecore_x_atoms: Refix spotted by Peter.
SVN revision: 39507
2009-03-16 17:33:30 +00:00
Cedric BAIL 8f9b260382 * ecore_evas_x: Remove now useless function.
SVN revision: 39506
2009-03-16 16:40:00 +00:00
Cedric BAIL 57e8d73fba Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Cedric BAIL f05eb71b29 * ecore_con_url: Add some constness.
SVN revision: 39504
2009-03-16 13:46:16 +00:00
Carsten Haitzler ad895c3afd and match new tslib flags
SVN revision: 39484
2009-03-15 02:48:32 +00:00
Vincent Torri 8153df719c typo
SVN revision: 39482
2009-03-14 20:42:48 +00:00
Vincent Torri d9d7c7d23b * update configure.ac so that default options are chosen according to the host
* fix requirements
 * fix configuration on mac os x (problem with automake 1.9) and
   add missing values/macro for quartz support
 * small typo in ecore_evas_win32 api
 * use m4 api in m4 files



SVN revision: 39471
2009-03-13 16:35:16 +00:00
Carsten Haitzler 6e471e8dfb handle mapping notify properly - patch from Olof Sjobergh
SVN revision: 39468
2009-03-13 15:55:34 +00:00
Carsten Haitzler fea71a8859 patch from Lars Munch for abs input device support in ecore_fb
SVN revision: 39461
2009-03-13 09:47:43 +00:00
Carsten Haitzler a63715c0c4 patch from julian - fix typos in docs.
SVN revision: 39460
2009-03-13 09:38:46 +00:00
Vincent Torri 0dd51fa0cf fix compilation on Windows XP (EAPI is not correctly set)
SVN revision: 39444
2009-03-10 22:44:36 +00:00
Vincent Torri 0b5c7881a1 * fix possible se fault (spotted by Lars Munch)
* add some info when keys are pressed


SVN revision: 39393
2009-03-06 16:13:18 +00:00
Peter Wehrfritz 882e9214f1 remove superfluid list
SVN revision: 39380
2009-03-05 20:07:45 +00:00
Cedric BAIL 140a357fe6 * ecore: Remove debug code.
SVN revision: 39364
2009-03-04 12:40:50 +00:00
Cedric BAIL 775ecc6a05 * Move Ecore_Fd_Handler to Eina_Inlist.
SVN revision: 39360
2009-03-04 10:50:14 +00:00
Cedric BAIL 35ca381d4a * ecore_con_url: Fix little typo and unbreak Ecore_Con_Url.
SVN revision: 39359
2009-03-04 10:49:23 +00:00
Carsten Haitzler 9911c70dff ECORE_EVAS_FPS_DEBUG now printfs useful data.
SVN revision: 39273
2009-02-28 07:54:47 +00:00
Cedric BAIL 488d1beafd * ecore_con_info: Fix typo preventing dns resolution,
fix error handling and use eina in one more place.


SVN revision: 39265
2009-02-27 14:53:57 +00:00
Gustavo Sverzut Barbieri 4a5c489216 Fix problem reported by clang.
By: Luis Felipe Strano Moraes



SVN revision: 39256
2009-02-26 22:02:00 +00:00
Vincent Torri 7311be0ec4 fix some llvm reports
SVN revision: 39241
2009-02-26 07:46:57 +00:00
Carsten Haitzler 82bc9fb21d other typo
SVN revision: 39240
2009-02-26 07:33:55 +00:00
Carsten Haitzler 1d7083de96 fix typo
SVN revision: 39239
2009-02-26 07:27:08 +00:00
Vincent Torri 5ea28a9f21 add more keyboard support on Windows CE
SVN revision: 39238
2009-02-26 07:24:50 +00:00
Vincent Torri 648fa70e12 fix warning with mingw32ce (getenv not declared)
fix compilation with mingw32ce (EAPI not correctly defined)


SVN revision: 39237
2009-02-26 07:08:12 +00:00
Cedric BAIL 97d692ff18 * ecore/src/lib/ecore_ipc/ecore_ipc_private.h,
* ecore/src/lib/ecore_ipc/ecore_ipc.c: Remove Ecore_List2 from ecore_ipc.



SVN revision: 39207
2009-02-25 15:14:48 +00:00
Cedric BAIL f527e4ddee * ecore/src/lib/ecore_con/ecore_con.c: Fix some typo and include.
SVN revision: 39206
2009-02-25 15:03:59 +00:00
Cedric BAIL 2f05c62298 * ecore/src/lib/ecore_ipc/ecore_ipc_private.h: Oops, removed too much.
SVN revision: 39205
2009-02-25 14:58:16 +00:00
Cedric BAIL 6978e98dc6 * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Gustavo Sverzut Barbieri b8cf731e79 Fix ecore-evas-directfb feed of keyboard events.
This makes eve/webkit-efl work with directfb.



SVN revision: 39184
2009-02-24 22:43:57 +00:00
Vincent Torri 79b536dce8 initialize next_time to -1.0 by default.
this fix a problem on Windows: the ecore main loop
hanged because of GetMessage() if next_time had a
random value.

patch by Lars Munch



SVN revision: 39178
2009-02-24 17:26:26 +00:00
Vincent Torri 5fbc653df6 do not return in fullscreen_set() and use info log instead of error
SVN revision: 39155
2009-02-23 08:03:01 +00:00
Vincent Torri df41327f29 use evil_time_get() instead of gettimeofday() when using Evil.
It's more precise and involves fewer computations


SVN revision: 39149
2009-02-22 19:21:36 +00:00
Jonathan Atton 2c65d61731 from vtorri:
too much return in ecore_win32_window.c
fix seg fault in ecore_evas_win32.c



SVN revision: 39144
2009-02-22 14:54:45 +00:00
Vincent Torri 95d32ad4ce add log
SVN revision: 39130
2009-02-21 22:51:06 +00:00
Vincent Torri 7bb002f757 add log
formatting


SVN revision: 39129
2009-02-21 22:50:45 +00:00
Vincent Torri 2e8e1f9673 add log
SVN revision: 39124
2009-02-21 16:01:24 +00:00
Vincent Torri 776aefddb4 add log
SVN revision: 39123
2009-02-21 15:59:51 +00:00
Carsten Haitzler ba7439878b add string.h
SVN revision: 39107
2009-02-19 22:25:07 +00:00
Carsten Haitzler a56a138a2c eek. loop time is wrong when using idlers heavily... leads to jerkybobos. fix!
SVN revision: 39087
2009-02-19 06:02:35 +00:00
Vincent Torri e17e1e8bb9 use Evil's gettimeofday() function instead of the fake one
in mingw. Fix animations on Windows XP and CE.


SVN revision: 39013
2009-02-13 23:09:15 +00:00
Vincent Torri 757c5e757e include windows.h. fix compilation when cross-compiling on linux
patch from Lars Munch


SVN revision: 38990
2009-02-10 07:53:16 +00:00
Carsten Haitzler 29cad587b5 filter excess motion events
SVN revision: 38978
2009-02-09 11:16:56 +00:00
Kim Woelders 584ff43a5c Add _NET_WM_ACTION_ABOVE/BELOW.
SVN revision: 38962
2009-02-07 12:16:13 +00:00
Cedric BAIL 3f767e7cf8 * ecore/src/lib/ecore_evas/ecore_evas_quartz.c,
* ecore/src/lib/ecore_evas/ecore_evas_fb.c,
	* ecore/src/lib/ecore_evas/ecore_evas_x.c,
	* ecore/src/lib/ecore_evas/ecore_evas_directfb.c,
	* ecore/src/lib/ecore_evas/ecore_evas_sdl.c: Prevent use of deleted object.



SVN revision: 38949
2009-02-05 10:45:52 +00:00
Carsten Haitzler 863f9c13f4 as ecore_x makes direct calls to xlib or xcb and xrender - link to them
directly.



SVN revision: 38933
2009-02-04 00:27:48 +00:00
Carsten Haitzler 5411f11877 allow ecore_x to use auto-repeat detection - if its in xlib.
SVN revision: 38932
2009-02-04 00:05:42 +00:00
Eric Schuele 0c8c30bddc FreeBSD requires these includes.
SVN revision: 38889
2009-02-01 15:02:36 +00:00
Vincent Torri 29b0f87503 uniformize the inclusion of config.h
SVN revision: 38865
2009-01-31 18:56:17 +00:00
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Vincent Torri 10c6c96c44 fix the render method of the opengl glew engine
Thanks to Roberto Huelga


SVN revision: 38817
2009-01-27 21:58:15 +00:00
Gustavo Sverzut Barbieri e22296968f fix null dereference reported by clang, patch by Luis Felipe.
SVN revision: 38685
2009-01-21 19:05:11 +00:00
Chidambar Zinnoury 8355545bfe No need to set as non-blocking as this is already done when initializing tslib.
Strange things happen when it is set.


SVN revision: 38682
2009-01-21 16:00:30 +00:00
Vincent Torri f0fc27f8de the versioning of shared lib is different on windows than on linux
(name-version.dll wrt name.so.version)


SVN revision: 38654
2009-01-19 21:08:39 +00:00
Vincent Torri 538fbbd1bc set the window to fullscreen if requested when creating the ecore_evas (win ce)
SVN revision: 38653
2009-01-19 20:30:56 +00:00
Vincent Torri be55cc524a * ecore_wince: force taskbar to be shown when ecore_wince shuts
down (in case the application is fullscreen when exiting)
   Reported by Lars Munch


SVN revision: 38649
2009-01-19 18:54:24 +00:00
Vincent Torri 621e507655 * add Evil cflags and libs in ecore_job and ecore_imf Makefile.am's
in case Evil is not installed in /usr/local
 * define fullscreen default values for the win ce engines in ecore_evas:
   - gdi engine is windowed
   - the other engines are fullscreen


SVN revision: 38647
2009-01-19 18:14:10 +00:00
Vincent Torri f26751a57c * add _move, _resize and _move_resize to ecore_wince and ecore_evas_wince
* small fix for ecore_win32


SVN revision: 38609
2009-01-16 19:03:57 +00:00
Daniel Kolesa 6c874722ee Added support for "make doc" in evas and ecore.
Thanks to Lutin :)


SVN revision: 38545
2009-01-11 10:20:22 +00:00
Vincent Torri 6a337b0c4e * ecore/ecore_pipe.c:
fix doc

 * ecore_file/Makefile.am:
     add Windows cflags

 * ecore_file/ecore_file_private.h:
     move Evil.h so that EAPI is correctly defined

 * ecore_wince:
     make window_new windowed by default. other backend that gdi might have problems.
     add title_set and fullscreen_set functions.
     do not use aygshell features anymore for fullscreen (it's not free and not always available)
     include missing config.h

 * ecore_evas:
     move Evas.h and Ecore_Getopt.h so that EAPI is correctly defined
     add title_set and fullscreen_set functions.



SVN revision: 38540
2009-01-10 17:57:25 +00:00
Gustavo Sverzut Barbieri b0525ae2fe Fixed (hopefully) ecore_directfb engine.
I don't have the libs here to test them now, not even compile. Please
let me know of any problems.



SVN revision: 38536
2009-01-10 14:48:29 +00:00
Gustavo Sverzut Barbieri 38240fb825 fix errors reported by gcc.
we must always use the return of eina_list_{append,prepend...}



SVN revision: 38481
2009-01-06 16:30:33 +00:00
Christopher Michael 8d70bbf08b Fix nasty formatting and remove extra whitespace.
SVN revision: 38446
2009-01-04 05:03:12 +00:00
Christopher Michael 6c9a1eb720 Fix Sachiel typo...spank, spank ;)
Fix some formatting issues...more to come.



SVN revision: 38445
2009-01-04 04:43:54 +00:00
Iván Briano b00f77795f Ugly. But apparently Solaris does not have the Xutf8* functions
SVN revision: 38443
2009-01-03 21:53:42 +00:00
Cedric BAIL 61199e56ee Fix sdl engine.
SVN revision: 38277
2008-12-22 11:16:26 +00:00
Ulisses Furquim c2651a9f31 Fix segfault when double freeing a string.
This fix makes it work again. However, ecore plugin should really be rewritten
or we should start considering eina_module instead.


SVN revision: 38275
2008-12-22 02:30:17 +00:00
Gustavo Sverzut Barbieri c36a5f23c3 and we must always pre_free, otherwise we end being called after canvas free.
SVN revision: 38272
2008-12-21 22:33:35 +00:00
Gustavo Sverzut Barbieri 0ec59ba102 must dissociate even if we will not delete the canvas.
otherwise subsequent associate requests will crash on us by using stale pointer.



SVN revision: 38271
2008-12-21 22:29:50 +00:00
Gustavo Sverzut Barbieri 02ced33a33 Oops! ecore must not depend on ecore-evas!
move helper function inside ecore-evas.



SVN revision: 38250
2008-12-20 15:19:48 +00:00
Vincent Torri e66e9cc905 * ecore_win32_window.c:
fix fullscreen

 * ecore_evas_win32.c:
   add fullscreen (d3d and ddraw) and shape (d3d) support
   minor formatting

 * configure.ac:
   enable direct3d support



SVN revision: 38248
2008-12-20 14:37:04 +00:00
Gustavo Sverzut Barbieri 1fc336c2ee ecore_getopt: common callbacks go in.
ecore_evas_list_engines and geometry_parse, they're used in almost all
applications using ecore_getopt, let's avoid replicating code.



SVN revision: 38247
2008-12-20 14:29:45 +00:00
Jonathan Atton e58ac7064c missing parenthesis
from caro.



SVN revision: 38235
2008-12-19 21:28:32 +00:00
Jonathan Atton 11c671429e include the headers in the correct order so that EAPI is correctly defined on Windows
from caro


SVN revision: 38234
2008-12-19 20:54:13 +00:00
Carsten Haitzler a38ab7590d doc++
SVN revision: 38229
2008-12-19 14:44:47 +00:00
Carsten Haitzler d3f645a37a add del flag to associate
SVN revision: 38225
2008-12-19 14:30:03 +00:00
Carsten Haitzler 8da641854b dont resize/move fullscreen canvases
SVN revision: 38224
2008-12-19 13:11:21 +00:00
Carsten Haitzler 6fc7c79741 use new engine merge.
SVN revision: 38175
2008-12-17 08:16:21 +00:00
Jaime Thomas a0ec6162f7 Plugin fixes, ewl_test workes now.
SVN revision: 38164
2008-12-16 00:40:22 +00:00
Sebastian Dransfeld 54b5d7d631 Fix compiler warnings.
SVN revision: 38156
2008-12-15 20:52:51 +00:00
Sebastian Dransfeld 582e0768fe Remove ecore-desktop
SVN revision: 38151
2008-12-15 18:39:01 +00:00
Sebastian Dransfeld 48202c24bc Misc cleanup.
- Don't use EAPI for internal functions.
- Add prototypes to header.
- Some compiler warnings.

SVN revision: 38150
2008-12-15 17:59:19 +00:00
Iván Briano c76c180b22 Goodbye forgotten debug. We won't miss you.
SVN revision: 38147
2008-12-14 19:26:41 +00:00
Gustavo Sverzut Barbieri f29338d413 Bugfix: do not search/delete in non-existent hashes.
SVN revision: 38119
2008-12-12 22:34:20 +00:00
Cedric BAIL 642d8686de Remove ecore_hash and eina_hash use from ecore.
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Sebastian Dransfeld dd4a299895 Remove const qualifier.
Dynamically allocated buffers which we will free shouldn't be const.

SVN revision: 38069
2008-12-09 20:08:36 +00:00
Chidambar Zinnoury c4525334f3 Leak --: ecore_file_dir_get always returns a new buffer.
SVN revision: 38068
2008-12-09 18:28:45 +00:00
Gustavo Sverzut Barbieri c8d86791e6 Include stdio.h so ecore_getopt_help() is fine.
We need FILE* for ecore_getopt_help().



SVN revision: 38067
2008-12-09 18:15:28 +00:00
Cedric BAIL e51aa4745a Valgrind complain when doing IC Destroy after XCloseDisplay, doing it before
sounds better to valgrind.


SVN revision: 38021
2008-12-08 14:29:44 +00:00
Iván Briano d4d14f54ed Very basic Input Method support. For now, it only uses X default to support things like composed characters with deadkeys kb layouts.
SVN revision: 38008
2008-12-08 00:28:37 +00:00
Nicholas Hughart 0b63514546 Some tweaks/fixups for abstract sockets.
SVN revision: 37931
2008-12-05 04:48:12 +00:00
Vincent Torri 1a897239c7 Patch by Dmitriy Mazovka:
add drag'n drop support in ecore_win32 (reworked) (missing files)


SVN revision: 37890
2008-12-01 22:43:04 +00:00
Carsten Haitzler 9cf7c7c3a3 hmm revert this for now - i think it broke efm... i think...
SVN revision: 37879
2008-12-01 11:41:32 +00:00
Carsten Haitzler b8b89cb17e flush should use select with a timeout and try write every 10th of a sec
SVN revision: 37877
2008-12-01 10:13:16 +00:00
Vincent Torri b1f46fb7e8 remove trailing spaces
SVN revision: 37851
2008-11-29 11:23:17 +00:00
Vincent Torri 4862bc46f1 * Patch by Dmitriy Mazovka
- add shape support in ecore_win32
  - add drag'n drop support in ecore_win32 (reworked)
 * remove strange character (ecore_evas_win32.c)
 * include Eina.h before defining EAPI (Ecore_Data.h)
 * add -lole32 as lib for DnD, minor thing (configure.ac)

next steps will be the new direct3d engine, and full support
of DnD, shapes and fullscreen for the directdraw engine and
in ecore_evas.


SVN revision: 37831
2008-11-27 19:30:39 +00:00
Gustavo Sverzut Barbieri 62d0d7eca0 Easy to use and powerful getopt implementation.
Create a parser description and give it the parameters, that's it. You
can store values (automatically converting types!), count occurrences,
make it true or false, create a list, choose from a list of items or
even specify your own callback to process arguments!

It was inspired by Python's optparse: http://www.python.org/doc/2.5.2/lib/module-optparse.html


SVN revision: 37781
2008-11-24 00:49:04 +00:00
Vincent Torri d661628349 add evil init / shutdown. Necessary for gettimeofday on Windows CE
SVN revision: 37741
2008-11-22 07:55:02 +00:00
Vincent Torri 5da71a34cd typo
SVN revision: 37725
2008-11-21 08:18:09 +00:00
Vincent Torri e9798f4d5e add Windows CE gdi backend
SVN revision: 37713
2008-11-19 09:24:26 +00:00
Vincent Torri e3dd190240 remove the problem of the main loop taking 100% of the cpu
consumption on Windows


SVN revision: 37699
2008-11-18 06:56:31 +00:00
Gustavo Sverzut Barbieri 14243bc1b3 runtime configurable timer precision
One can now configure the maximum acceptable delay to be introduced by
Ecore so possibly more timers will be dispatched together, reducing
wakeups and saving more power.



SVN revision: 37607
2008-11-13 20:42:01 +00:00
Gustavo Sverzut Barbieri d5216f9ea7 it's 'UNsigned' char, not signed!
SVN revision: 37606
2008-11-13 20:39:56 +00:00
Vincent Torri f3456d4368 fix compilation on windows, minor formatting, use unix end of line
SVN revision: 37597
2008-11-12 07:54:25 +00:00
Massimiliano Calamelli 3292fa9100 Fix doxy
SVN revision: 37526
2008-11-06 15:59:28 +00:00
Peter Wehrfritz f0129584b5 take the right patch for ecore_pipe. I moved nbytes back to unsigned int, from int. Was there a reason why you changed it to a signed integer? Negative values doesn't make sense for a size value. Anyway, if you really prefer int, I can change it, later.
One possible problem that come to mind, is that some one could del a pipe inside of the handler. That segfaults at the moment. So this should be fixed some time.


SVN revision: 37438
2008-11-03 13:57:53 +00:00
Carsten Haitzler c8731aeaa6 add patch to add a pipe handler for glueing threads to the core main loop via
pipes - makes it save for a thread to send a message to the main loop and not
need lots of thread locks etc.



SVN revision: 37429
2008-11-03 05:42:27 +00:00
Carsten Haitzler 3de2227ec4 stderr-- (just noisy!)
SVN revision: 37426
2008-11-03 00:04:43 +00:00
Carsten Haitzler f025b8cd62 move setup of loop time to init.
SVN revision: 37424
2008-11-02 22:32:18 +00:00
Vincent Torri 9b19b7dec4 autotools fixes
* remove useless _DEPENDENCIES variables
 * remove useless files in EXTRA_DIST
 * use -no-undefied directly
 * add some flags when the host is windows ce

make distcheck succeeds on my computer

next step will be to fix the horrible mess in Ecore.h and ecore_private.h


SVN revision: 37406
2008-11-02 09:01:35 +00:00
Vincent Torri 36a04eb80a const++
SVN revision: 37405
2008-11-02 08:40:27 +00:00
Vincent Torri f90666e89b const++
SVN revision: 37404
2008-11-02 08:32:52 +00:00
Carsten Haitzler 41ac47244f remove more useless ecore_time_get's
SVN revision: 37392
2008-11-02 02:19:18 +00:00
Carsten Haitzler b2edd2d7d6 new ecore_loop_time_get() call. also priority setting for spawning sub-procs
SVN revision: 37389
2008-11-02 01:29:08 +00:00
Vincent Torri 478e8c1e4c fix ecore_evas on Windows CE
SVN revision: 37380
2008-11-01 19:01:58 +00:00
Cedric BAIL 6d2ca9c036 Add support for GNU TLS in ecore_con.
SVN revision: 37329
2008-10-30 15:26:11 +00:00
Gustavo Sverzut Barbieri 59c00da15a add some const.
SVN revision: 37318
2008-10-29 20:12:45 +00:00
Gustavo Sverzut Barbieri fe94f35f38 Return associated object.
SVN revision: 37316
2008-10-29 19:50:24 +00:00
Gustavo Sverzut Barbieri 9f45e76c20 Export driver as engine_name.
Also make sure it matches the names used by engines_get().



SVN revision: 37314
2008-10-29 19:31:05 +00:00
Gustavo Sverzut Barbieri 37b9f3af65 use unsigned for 1-bit members.
SVN revision: 37313
2008-10-29 19:07:10 +00:00
Peter Wehrfritz eea7912a84 no need for eina here
SVN revision: 37285
2008-10-28 22:26:59 +00:00
Sebastian Dransfeld c42322aebf Remove unused variable.
SVN revision: 37217
2008-10-27 09:49:49 +00:00
Sebastian Dransfeld 381dc201ad Fix sign warning.
SVN revision: 37216
2008-10-27 09:49:37 +00:00
Sebastian Dransfeld 97b46f898b Fix sign warning.
SVN revision: 37215
2008-10-27 09:49:25 +00:00
Sebastian Dransfeld 6c3723225a parse functions should return the point where they left of.
SVN revision: 37168
2008-10-26 20:05:59 +00:00
Sebastian Dransfeld 92383c7ce4 Don't declare static functions if they are not used.
SVN revision: 37165
2008-10-26 19:56:38 +00:00
Sebastian Dransfeld c343d0dfb9 Don't declare static functions if they are not used.
SVN revision: 37164
2008-10-26 19:54:42 +00:00
Sebastian Dransfeld 71e3ad924c This function returns void
SVN revision: 37163
2008-10-26 19:45:59 +00:00
Sebastian Dransfeld b2ea1570fe Make internal inline functions static inline
SVN revision: 37161
2008-10-26 17:24:52 +00:00
Sebastian Dransfeld f0783945d9 * Declare function ecore_con_info_udp_listen in private header
* Remove unused variables
* Add paranthesis to remove ambiguity

SVN revision: 37157
2008-10-26 16:32:45 +00:00
Sebastian Dransfeld a527a94e79 remove inline from ecore_print_warning, exported functions
shouldn't be inline.

SVN revision: 37156
2008-10-26 16:32:34 +00:00
Sebastian Dransfeld 70d1e5d58d Add Eina.h for eina_init
SVN revision: 37155
2008-10-26 16:32:21 +00:00
Sebastian Dransfeld 842d3dcf79 Make ecore_print_warning externally accesible for ecore_evas
SVN revision: 37040
2008-10-24 05:49:29 +00:00
Michael Lauer dc655bce76 Apply patch from thomasg <thomas@gstaedtner.net>:
"The attached patch fixes the ecore_path_group_available by removing the
senseless check on shared object suffix.
It also renames the function to ecore_path_group_available_get, to match the
ecore API."


SVN revision: 37031
2008-10-23 20:12:49 +00:00
Gustavo Sverzut Barbieri 0621fd52cc add helper ecore_evas_object_associate.
We usually want to create an Ecore_Evas and attach an object to it, be
it the background, your smart object that will manage the scene (ie:
edje) and this is replicated everywhere. Not anymore!

ecore_evas_new() and ecore_evas_object_associate() will behave much
like regular toolkits "window-new()" and "window-main-child-add()",
actually it was based on elm_win.c and hopefully we can remove that,
or most of that code and replace with this helper.

I'll add an Evas smart object to handle stacks of objects, that is, it
will be a clipped smart object that on resize it will resize every
child to the same size. This means we can associate this stack object
and add a background and then your stuff on top of it.



SVN revision: 37010
2008-10-23 01:00:16 +00:00
Cedric BAIL f3252b5b6e Fix a little typo.
SVN revision: 36989
2008-10-22 15:46:20 +00:00
Carsten Haitzler f7283eb333 remove some debugging
SVN revision: 36960
2008-10-22 09:25:38 +00:00
Cedric BAIL 0780128787 Remove Evas_List from Ecore.
SVN revision: 36941
2008-10-21 15:54:55 +00:00
Cedric BAIL 02bf306fdd Remove macro provided by Eina.
SVN revision: 36863
2008-10-20 16:34:59 +00:00
Cedric BAIL 5015cf3a8d Patch from Shulga Nikita.
SVN revision: 36846
2008-10-20 11:18:58 +00:00
Chidambar Zinnoury e917baaacd Add eina init and shutdown to ecore init and shutdown.
Please, let me log in using Entrance! :D


SVN revision: 36726
2008-10-16 20:33:05 +00:00
Cedric BAIL 1774413b17 Remove ecore_strings and switch to eina_stringshare.
SVN revision: 36675
2008-10-15 14:45:53 +00:00
Miculcy Brian 0660f3a086 fix warnings, thanks thomasg
SVN revision: 36643
2008-10-13 23:27:58 +00:00
Cedric BAIL 3d49d88a32 Make ecore depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36622
2008-10-13 15:59:19 +00:00
Cedric BAIL 9ff9555cc7 Make IPv6 work.
Patch from Arnaud de Turckheim.


SVN revision: 36612
2008-10-13 11:24:52 +00:00
Carsten Haitzler daf72b327b ok- disabel error handlign for file_init.. foudn a case where iot fails...
wow! must check.



SVN revision: 36586
2008-10-11 14:25:58 +00:00
Cedric BAIL 632615fd1f Fix entrance and perhaps exquisite too.
SVN revision: 36545
2008-10-09 12:30:19 +00:00
Cedric BAIL 3a2ab6069d When the list is NULL, it's empty.
SVN revision: 36542
2008-10-09 10:21:16 +00:00
Carsten Haitzler cad561706f go back to svnrev 36473 for ecore_con - these ipv6 changes broke exquisite on boot - so unix sockets have been compromised somehow in the changes. cannot debug because system is stuck in boot and wont continue. narrowed down break to this change
SVN revision: 36540
2008-10-09 00:46:29 +00:00
Cedric BAIL 0ad506a441 Fix some warning.
SVN revision: 36532
2008-10-08 16:36:14 +00:00
Cedric BAIL 5f3c76b84a Correctly use addrinfo.
SVN revision: 36526
2008-10-08 13:31:09 +00:00
Cedric BAIL f3ace08723 More cleanup and export a replacement for ecore_con_dns_lookup.
SVN revision: 36497
2008-10-07 12:41:36 +00:00