summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Juan Zhao [Wed, 30 Oct 2013 05:31:05 +0000 (13:31 +0800)]
ecore_x_2w: add pointer check
To fix this build issue:
phone-0.6.63.25/lib/dialer/ph-dialer-view.c:1150:2:
error: invalid use of void expression
And the code there is like this:
ecore_x_window_size_get(win, &win_width, NULL);
So the fix is, to check w and h to avoid when they're null.
And one more thing is to use (int *) to use the pointer correctly.
Juan Zhao [Wed, 30 Oct 2013 03:19:47 +0000 (11:19 +0800)]
ecore_x_2w: add pointer check
To fix this build issue:
phone-0.6.63.25/lib/dialer/ph-dialer-view.c:1150:2:
error: invalid use of void expression
And the code there is like this:
ecore_x_window_size_get(win, &win_width, NULL);
So the fix is, to check w and h to avoid when they're null.
Wang Fei [Mon, 28 Oct 2013 09:10:50 +0000 (05:10 -0400)]
replace each (e_core_x_to_be_modified) with its real api name
Juan Zhao [Fri, 25 Oct 2013 10:08:41 +0000 (18:08 +0800)]
rebase to tizen2.2's ecore_x.h
Juan Zhao [Thu, 17 Oct 2013 04:05:57 +0000 (12:05 +0800)]
fuction pointer usage fix
There is one case to use the fuction pointer directly.
For example in cbhm:
src/xhandler.c:set_selection_owner
selection_func = ecore_x_selection_secondary_set;
This patch only fix the usage about ecore_x_selection_secondary_set
and ecore_x_selection_clipboard_set.
And this also fixed one bug which should return INT.
Juan Zhao [Thu, 17 Oct 2013 02:48:17 +0000 (10:48 +0800)]
change the macro name
Using WIDTH and HEIGHT will triggle wrt-plugin-common's error:
=>src/modules/tizen/WidgetDB/WidgetDB.cpp:165:36: error: expected unqualified-id before numeric constant
And the code there uses WIDTH as a enum parameter. So change macro name to X2W specific.
In wrt-setting, there is the issue: TRUE and FALSE is declared:
webapp-common/listview.cpp:250:44: error: 'TRUE' was not declared in this scope
webapp-common/listview.cpp:267:44: error: 'FALSE' was not declared in this scope
This is because of some EFL package defines this macro. But in our efl, it was
not defined.
Before we are changing them in the package directly, to make one change and fit
all these kind of issues, let's try to fix it in x2w.
Juan Zhao [Wed, 16 Oct 2013 05:41:09 +0000 (13:41 +0800)]
add ecore_x_window APIs
1. add ecore_x_window_xxx APIs
the detailed log info will be added in the furture
2. fix some log like ("e_ecore_x...") bugs
Juan Zhao [Tue, 15 Oct 2013 09:33:20 +0000 (17:33 +0800)]
bug fix for undefine symbol e_core_x xxx
the TYPO about forgetting add "" in the notice
Juan Zhao [Tue, 15 Oct 2013 09:03:33 +0000 (17:03 +0800)]
add the api ecore_x_e_illume
There is some ecore_x_e_illume APIs which is not used all the way, but some pakcages like cbhm
used it:
[ 30s] clipdrawer.c:(.text+0x128b): undefined reference to `ecore_x_e_illume_zone_get'
So add this category.
Juan Zhao [Tue, 15 Oct 2013 02:57:57 +0000 (10:57 +0800)]
fix the image making issue
the error log is:
[PKG_INITDB][D] Install corexml : org.tizen.data-provider-slave.xml
/usr/bin/rpm-backend: symbol lookup error: /usr/bin/rpm-backend: undefined symbol: ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE
[PKG_INITDB][D] Smack pkgid : org.tizen.data-provider-slave
/usr/bin/rpm-backend: symbol lookup error: /usr/bin/rpm-backend: undefined symbol: ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE
[PKG_INITDB][D] Install corexml : ug-isfsetting-efl.xml
define ECORE_X_ATOM_XXX like extern values to zero.
Juan Zhao [Mon, 14 Oct 2013 05:31:41 +0000 (13:31 +0800)]
fix the build failure about ecore_x_atom_get
the build error is from webkit2-efl:
[ 1290s] /usr/lib/libappcore-efl.so.1: undefined reference to `ecore_x_atom_get'
and some other extern value is undefined symbol.
Juan Zhao [Thu, 10 Oct 2013 15:50:40 +0000 (23:50 +0800)]
add ecore dependency to ecore-x.pc
Juan Zhao [Thu, 10 Oct 2013 15:33:38 +0000 (23:33 +0800)]
try to add eina dependency to fix app-core error
app-core reports the build error;
/usr/include/Ecore_X.h:4:18: fatal error: Eina.h: No such file or directory
test modify ecore_x.pc to modify this issue
Juan Zhao [Thu, 10 Oct 2013 05:06:58 +0000 (13:06 +0800)]
Ecore_x: install header and symbol define
add ECORE_X_EVENT_WINDOW_DESTROY
add this symbol to avoid the build failure in app-svc:
[ 55s] CMakeFiles/appsvc.dir/src/appsvc.c.o: In function `appsvc_request_transient_app':
[ 55s] /home/abuild/rpmbuild/BUILD/app-svc-0.1.51/src/appsvc.c:1052: undefined reference to `ECORE_X_EVENT_WINDOW_DESTROY'
Juan Zhao [Thu, 10 Oct 2013 01:40:06 +0000 (09:40 +0800)]
provides libecore-x.so.1
Juan Zhao [Wed, 9 Oct 2013 03:52:02 +0000 (11:52 +0800)]
change ecore-x version
Juan Zhao [Wed, 9 Oct 2013 03:44:48 +0000 (11:44 +0800)]
don't link to x2w
Juan Zhao [Wed, 9 Oct 2013 02:51:34 +0000 (10:51 +0800)]
split x2w.h to several files
Add the header files and the pc files like Ecore_X.h will help to hide x2w in
the app level. Then the modifications to the application will be less and
could help the app developer to figure out the X to Wayland changes easier.
Juan Zhao [Mon, 23 Sep 2013 08:06:09 +0000 (16:06 +0800)]
add gcc version check
_pragma warning is not supported in all gcc versions, add 4.8 version check here
Juan Zhao [Fri, 13 Sep 2013 09:44:43 +0000 (17:44 +0800)]
change the deprecated func to siggetmask
The warning will be like this:
src/menu_screen.c: In function '_resume_cb':
src/menu_screen.c:361:2: warning: 'siggetmask' is deprecated (declared at /usr/include/signal.h:203)
utilx_hide_fake_effect(
^
add the function string and retrun value
1. move to use PRINT_LOCATIONS to add the X related function name info
2. some of the function needs to return some value to use, in this case
the do{} while(0) won't provide any value back, so we need to modify
the usage to ({xxx;}).
Juan Zhao [Thu, 12 Sep 2013 09:35:05 +0000 (17:35 +0800)]
init the x2w
x2w is one library to help to print out the X related API is used globally.
It could help the developer to figure out the X calls directly, both in the
running time and the compile time.
For example, in the compile time we will get message like this:
src/menu_screen.c:132:3: warning: 'ecore_x_func_is_used' is deprecated
ecore_x_window_prop_string_set(elm_win_xwindow_get(menu_screen_info.win...
^
And in the running time, we will get the message like this:
file: src/menu_screen.c, func: _dead_cb, line: 168
Juan Zhao [Wed, 11 Sep 2013 07:27:43 +0000 (15:27 +0800)]
init x2w