Commit Graph

91 Commits

Author SHA1 Message Date
Vincent Torri e169f9e5b7 Ecore: Add virtual keys support for Shift, Ctrl, Alt on Win32 and WinCE
Patch by Shinwoo Kim


SVN revision: 65049
2011-11-11 07:32:08 +00:00
Jihoon Kim 558fac4e08 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [PATCH] Fix the bug that user cannot input key

At this moment, space is processed in case of WM_KEYDOWN and WM_CHAR.

Therefore, 'space' key is processed twice, it makes bug.

In previous my patch, I changed keyname and string wrong.

I send the revised patch again.

(also applied to wince)

this is am improvement.. but its not all "right" yet. :(



SVN revision: 64597
2011-11-01 02:30:07 +00:00
Vincent Torri 3e655d5e56 link xim module against ecore_x. This patch fixes compilation on mac os x
SVN revision: 61625
2011-07-24 00:23:34 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Vincent Torri 0b57481661 fix doc
SVN revision: 60054
2011-06-07 22:12:58 +00:00
Vincent Torri 21fd8a2ba4 Ecore : ecore_win32 : remove useless casts. Spotted by Ulrich Eckhardt
SVN revision: 60051
2011-06-07 21:59:08 +00:00
Lucas De Marchi 2f4bba5d15 ecore: fix misspellings
Misspellings found by codespell


SVN revision: 59821
2011-05-30 16:17:07 +00:00
Vincent Torri 702c047238 use correct data
SVN revision: 58870
2011-04-24 16:31:05 +00:00
Vincent Torri 4a372e06e4 formatting and warnings--
SVN revision: 57188
2011-02-20 10:26:05 +00:00
Vincent Torri 4bf163a1e4 * fix a bug in the key up event ('space' key was not handled)
* Greatly improve the resize. Plain, without flickering, etc...



SVN revision: 57182
2011-02-20 08:37:43 +00:00
Vincent Torri da5549086a add space key support on Windows
SVN revision: 56196
2011-01-16 18:48:08 +00:00
Vincent Torri 22d572c56a fix potential problem with Windows 64 bits API.
SVN revision: 55528
2010-12-12 23:09:24 +00:00
Vincent Torri 202d5b65f4 use '#pragma message' instead of '#warning' when vc++ is used
SVN revision: 55527
2010-12-12 22:49:01 +00:00
Vincent Torri 62ed318282 [ecore_win32] Better move and resize of windows. Needs a lot of love though
SVN revision: 55470
2010-12-10 21:15:05 +00:00
Vincent Torri ba3c69df53 fix mouse event on Win XP, should be fixed on Win CE
SVN revision: 54938
2010-11-24 17:04:03 +00:00
Vincent Torri 48d416b359 Killer feature: Windows app can have icons, now.
The doc explains everything.

SVN revision: 54283
2010-11-07 20:29:08 +00:00
Vincent Torri c3530cb768 fix doc
SVN revision: 54252
2010-11-06 23:04:33 +00:00
Eduardo de Barros Lima 454f896043 Ecore: Decide whether library will be built or not in upper level
As requested by vtorri. :D



SVN revision: 53967
2010-10-28 16:37:41 +00:00
Vincent Torri c5976de2ee typo
SVN revision: 53298
2010-10-12 07:55:45 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Vincent Torri 9f453d51e9 document abstract types
SVN revision: 52674
2010-09-24 06:35:30 +00:00
Vincent Torri 826af2e024 deprecated function
SVN revision: 52670
2010-09-24 05:53:25 +00:00
Vincent Torri b565d00399 add warning messages for ecore_cocoa, ecore_win32 and ecore_wince
SVN revision: 52669
2010-09-24 05:30:51 +00:00
Vincent Torri e7392af747 * Eina.h needed for Eina_Bool.
* typo in comments.
 * use a border of 1 for a table.

SVN revision: 52656
2010-09-23 22:18:15 +00:00
Vincent Torri 89fa0d7741 document completely the Ecore_Win32 and Ecore_WinCE
SVN revision: 52648
2010-09-23 18:47:40 +00:00
Vincent Torri 565962c176 now that log colors work on Windows, let eina_log choose
the default colors

SVN revision: 52545
2010-09-21 16:38:33 +00:00
Vincent Torri 93f58106a6 ecore_win32 does not depend on Evas.
SVN revision: 52264
2010-09-14 21:25:31 +00:00
Vincent Torri 47b00392a7 useless define (already defined in command line)
SVN revision: 52247
2010-09-14 16:47:01 +00:00
Vincent Torri 2e625ed90e fix copy/paste
SVN revision: 51667
2010-08-26 22:39:42 +00:00
Lucas De Marchi 255b2cb870 Apply double_condition_check.cocci
The offending projects were:

 E16/e/src/backgrounds.c                 |   10 ++++------
 PROTO/eon/src/lib/layout/eon_stack.c    |    4 +---
 ecore/src/lib/ecore_win32/ecore_win32.c |    3 +--
 ecore/src/lib/ecore_wince/ecore_wince.c |    3 +--
 edje/src/lib/edje_edit.c                |    3 +--
 evas/src/lib/cache/evas_cache_image.c   |    2 +-
 exalt/src/lib/libexalt_private.c        |    2 +-


This patch assumes code in these places were insane and the fix is to remove
one condition check. Most likely this is not true, but there's no automatic fix
for that.

Looking at the patch, it seems that some places should use "x" and "y" vars but
used just one of them and therefore they were caught by coccinelle.




SVN revision: 51666
2010-08-26 20:45:09 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael bb651d8eb8 Move Ecore.h (and associated headers) to own dir.
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Carsten Haitzler 17263ea263 add ecore versioning
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Vincent Torri 898768c963 various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
2010-04-05 08:26:48 +00:00
Gustavo Sverzut Barbieri 336e1aac6c Revert EINA_(TRUE|FALSE) as requested by vincent.
windows have TRUE/FALSE and he wants it to be like that, if required
he will replace the efl-specific places later.



SVN revision: 46586
2010-02-27 16:45:20 +00:00
Gustavo Sverzut Barbieri e54bd066ec Convert everything to EINA_(TRUE|FALSE)
make it consistent.

By: Lucas de Marchi.



SVN revision: 46539
2010-02-27 00:01:10 +00:00
Sebastian Dransfeld 8007e73077 Patch from Mathieu Taillefumier
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.

SVN revision: 44933
2010-01-07 00:30:05 +00:00
Cedric BAIL d8e1895350 * ecore: Use eina_log.
Patch from Mathieu Taillefumier.


SVN revision: 44637
2009-12-21 17:32:19 +00:00
Vincent Torri 9a0797198d too much INFO changed in INF...
SVN revision: 43139
2009-10-18 04:24:57 +00:00
Vincent Torri a5ccd2516a wrong log domain name
SVN revision: 43138
2009-10-18 04:24:02 +00:00
Vincent Torri d6c7cc65d9 * simplify a bit and fix init/shutdown functions
* rename logging macros


SVN revision: 42992
2009-10-10 03:45:06 +00:00
Vincent Torri e069ea2fa1 Fix timestamps unit. Allow cinetic animation in elementary lists
SVN revision: 42774
2009-09-28 17:36:43 +00:00
Vincent Torri 3a0ee809e3 remove \n in logging messages
SVN revision: 42738
2009-09-27 03:56:12 +00:00
Vincent Torri df88395e4f * fix logging for Windows XP and CE port
by adding namespace to logging macros
 * formatting and warning cleanup



SVN revision: 42341
2009-09-08 05:39:09 +00:00
Vincent Torri e6891b228c formatting
SVN revision: 42275
2009-09-05 08:52:41 +00:00
Vincent Torri 1dd8436cd4 add Mathieu Taillefumier's patch for eina logging,
with small modifications and fixing

ecore_evas_win32 does not build, though. I think that
if we add log support in evas, all the macro must have
different names, because of all the _private.h headers
that are included in all source files (that's the problem
with win32). I'll fix ecore_evas_win32 build later. Or
someone can do it if he wants :-)


SVN revision: 42274
2009-09-05 08:39:34 +00:00
Vincent Torri 77a9dab5eb fix warnings
SVN revision: 42016
2009-08-26 15:36:01 +00:00
Vincent Torri ebf35949a6 * fix potential bugs
* fix warnings
 * make the code a bit more readable


SVN revision: 42015
2009-08-26 15:34:49 +00:00
Vincent Torri a8490456b6 explicitely update the window
SVN revision: 40905
2009-06-05 17:14:56 +00:00