Re: [PATCH] version.h: Add version check macro

2013-10-02 Thread Marc Chalain
Hello, I agree with you Bill Otherwise it's impossible to update plugins when the API will change. Marc. 2013/9/30 Bill Spitzak spit...@gmail.com On 09/29/2013 02:56 PM, Kristian Høgsberg wrote: No, we don't guarantee plugin API compatiblity from 1.2 to 1.3. We may remove functions,

Re: [PATCH] version.h: Add version check macro

2013-09-24 Thread Marc Chalain
But the WESTON_VERSION_AT_LEAST macro is wrong. You can check only the minor and not the rest of the version. 2013/9/23 Kristian Høgsberg hoegsb...@gmail.com On Mon, Sep 23, 2013 at 10:39:08AM -0700, Kristian Høgsberg wrote: On Mon, Sep 23, 2013 at 07:26:03AM +0200, Pier Luigi Fiorini wrote:

Re: [PATCH] version.h: Add version check macro

2013-09-23 Thread Marc Chalain
sure this comment is wrong prefer +Can be used like #if (WESTON_VERSION_AT_LEAST(1, 2, 0)) And in this case you can not build the feature for weston 1.3.0 while you want to a version up of 1.3.0 I think you have to change completly your macro. Look at your WESTON_VERSION macro this one can

[PATCH 0/5] build: cross compile wayland

2013-09-23 Thread Marc Chalain
In cross compile, the host running the libraries, is different to the build machine running the compiler. In this case wayland-scanner is a part of the build tools and not a part of the host tools. Autotool and configure provide the --host, --target and --build options. When the values of --host

cross compile wayland

2013-09-23 Thread Marc Chalain
In cross compile, the host running the libraries, is different to the build machine running the compiler. In this case wayland-scanner is a part of the build tools and not a part of the host tools. Autotool and configure provide the --host, --target and --build options. When the values of --host

Re: [PATCH] client: Add a way to get a pointer to the display's default queue

2013-09-10 Thread Marc Chalain
Hello, I wonder if there isn't a problem when some client application uses this function from a child thread. If I remember, only the main thread must use the main queue. If you give an API to use it, developers will want to use it, and may not understand the usage. I read your patch about

Re: [PATCH 5/5] build: use EXEEXT_FOR_BUILD instead EXEEXT for wayland-scanner

2013-09-05 Thread Marc Chalain
Yes and no, The first one is useful if you stop the patch before the last one. But OK to suppress the first one. Regards, Marc. 2013/9/5 Stefan Schmidt s.schm...@samsung.com Hello. On 09/05/2013 11:15 AM, marc.chal...@gmail.com wrote: From: mchalain marc.chal...@gmail.com

Re: [PATCH] build: Add Android.mk script to build wayland libraries as external library of Android

2013-07-15 Thread Marc Chalain
. Inside the window, Android Plasma uses JellyBean framework (bionic, surfaceflinger, ...). SurfaceFlinger is a client of wayland. Regards, Marc Chalain. 2013/7/15 mchalain [marc.chal...@gmail.com] marc.chal...@gmail.com From: mchalain marc.chal...@gmail.com The Wayland directory has to be inside

Re: [PATCH] build: disabling the mtdev library support

2013-06-25 Thread Marc Chalain
2013/6/25 sardemff7+wayl...@sardemff7.net On 25/06/2013 17:28, mchalain [marc.chal...@gmail.com] wrote: From: mchalain marc.chal...@gmail.com AC_CHECK_LIB([jpeg], [jpeg_CreateDecompress], have_jpeglib=yes) if test x$have_jpeglib = xyes; then JPEG_LIBS=-ljpeg @@ -259,8 +269,8 @@

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann dh.herrm...@gmail.com Hi On Fri, Jun 21, 2013 at 10:49 AM, mchalain [marc.chal...@gmail.com] marc.chal...@gmail.com wrote: From: mchalain marc.chal...@gmail.com it initializes varinfo.yoffset. varinfo.yoffset has to point on the beginning of the video

Re: [PATCH 03/18] evdev: automatic configuration of mtdev library support

2013-06-21 Thread Marc Chalain
2013/6/21 sardemff7+wayl...@sardemff7.net On 21/06/2013 10:39, mchalain [marc.chal...@gmail.com] wrote: From: mchalain marc.chal...@gmail.com it allows the --disable-mtdev option at configuration. evdev.c creates empty macros for mtdev functions not availlables ---

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann dh.herrm...@gmail.com Hi On Fri, Jun 21, 2013 at 11:43 AM, Marc Chalain marc.chal...@gmail.com wrote: 2013/6/21 David Herrmann dh.herrm...@gmail.com Hi On Fri, Jun 21, 2013 at 10:49 AM, mchalain [marc.chal...@gmail.com] marc.chal...@gmail.com wrote

Re: [PATCH 03/18] evdev: automatic configuration of mtdev library support

2013-06-21 Thread Marc Chalain
2013/6/21 sardemff7+wayl...@sardemff7.net On 21/06/2013 11:52, Marc Chalain wrote: 2013/6/21 sardemff7+wayland@sardemff7.**netsardemff7%2bwayl...@sardemff7.net On 21/06/2013 10:39, mchalain [marc.chal...@gmail.com] wrote: From: mchalain marc.chal...@gmail.com it allows

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann dh.herrm...@gmail.com Hi On Fri, Jun 21, 2013 at 12:05 PM, Marc Chalain marc.chal...@gmail.com wrote: 2013/6/21 David Herrmann dh.herrm...@gmail.com Hi On Fri, Jun 21, 2013 at 11:43 AM, Marc Chalain marc.chal...@gmail.com wrote: 2013/6/21 David

Re: [PATCH 05/18] fbdev: initialize yoffset of varinfo

2013-06-21 Thread Marc Chalain
2013/6/21 David Herrmann dh.herrm...@gmail.com Hi Marc On Fri, Jun 21, 2013 at 2:17 PM, Marc Chalain marc.chal...@gmail.com wrote: 2013/6/21 David Herrmann dh.herrm...@gmail.com Hi On Fri, Jun 21, 2013 at 12:05 PM, Marc Chalain marc.chal...@gmail.com wrote: 2013/6/21

Re: weston and hardware keyboard

2013-06-19 Thread Marc Chalain
, 2013 at 4:15 AM, Marc Chalain marc.chal...@gmail.com wrote: Hello, linux/input.h gives numbers of key definitions. The keymap is only useful for PC keyboard when only the layout change from one country to an other. On device we have : on/off, softkey1, softkey2, 12 keys for the keypad

Re: weston and hardware keyboard

2013-06-18 Thread Marc Chalain
, Marc. 2013/6/18 Michael Hasselmann micha...@openismus.com On Mon, 2013-06-17 at 18:08 +0200, Marc Chalain wrote: Hello, My first observation is we need a PC keyboard support at the end ( often a virtual keyboard). There's an input method procotol that we intended to use for virtual

Re: [fbdev_backend] initialization of the first frame buffer

2013-06-11 Thread Marc Chalain
fbdev_output *output, int fd, varinfo.blue.length = 8; varinfo.blue.msb_right = 0; +varinfo.yoffset = 0; /* Set the device's screen information. */ if (ioctl(fd, FBIOPUT_VSCREENINFO, varinfo) 0) { return -1; -- 1.7.9.5 2013/6/10 Marc Chalain marc.chal...@gmail.com

Re: [PATCH]: mtdev could be disabled at configuration

2013-06-11 Thread Marc Chalain
Jun 2013 09:01:48 +0200 Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Mon, Jun 10, 2013 at 8:42 AM, Pekka Paalanen ppaala...@gmail.com wrote: On Fri, 7 Jun 2013 12:11:14 +0200 Marc Chalain marc.chal...@gmail.com wrote: mtdev is not necessary on some device

Re: [compositor] idle-time configuration inside weston.ini

2013-06-11 Thread Marc Chalain
); +weston_config_section_get_int(section, idle-time, + idle_time, idle_time); backend_init = load_module(backend, backend_init); if (!backend_init) -- 1.7.9.5 2013/6/10 Pekka Paalanen ppaala...@gmail.com On Fri, 7 Jun 2013 12:39:21 +0200 Marc Chalain marc.chal...@gmail.com wrote

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-11 Thread Marc Chalain
Pekka Paalanen ppaala...@gmail.com On Fri, 7 Jun 2013 17:13:59 +0200 Marc Chalain marc.chal...@gmail.com wrote: From e30486e0288e7be526fc358a5318b344522e407b Mon Sep 17 00:00:00 2001 From: mchalain marc.chal...@gmail.com Date: Fri, 7 Jun 2013 17:12:31 +0200 Subject: [PATCH

Re: [PATCH]: mtdev could be disabled at configuration

2013-06-11 Thread Marc Chalain
= mtdev_new_open(device-fd); if (!device-mtdev) -- 1.7.9.5 2013/6/11 Pekka Paalanen ppaala...@gmail.com On Tue, 11 Jun 2013 14:41:18 +0200 Marc Chalain marc.chal...@gmail.com wrote: Hello The detection of the library is automatically done during the configuration. The option

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-11 Thread Marc Chalain
Marc Chalain marc.chal...@gmail.com wrote: Hello, OK this patch now checks FB_VISUAL_DIRECTCOLOR twice but set the cmap inside the fbdev_query_screen_info function. I use malloc instead table declaration because it takes less memory and it's used only once, it's useless to be faster

Re: [compositor] idle-time configuration inside weston.ini

2013-06-11 Thread Marc Chalain
.fi .RE -.RS .PP +.TP 7 +.BI idle-time= value +sets time before to fall in idle as --idle-time argument (integer). .SH SHELL SECTION The -- 1.7.9.5 2013/6/11 Pekka Paalanen ppaala...@gmail.com On Tue, 11 Jun 2013 14:43:46 +0200 Marc Chalain marc.chal...@gmail.com wrote: You have

Re: [PATCH]: mtdev could be disabled at configuration

2013-06-10 Thread Marc Chalain
body... Marc. 2013/6/10 Pekka Paalanen ppaala...@gmail.com On Fri, 7 Jun 2013 12:11:14 +0200 Marc Chalain marc.chal...@gmail.com wrote: mtdev is not necessary on some device (desktop or set-top-box). For embedded solution the minimum of dependencies is required. configure accepts

Re: [fbdev_backend] initialization of the first frame buffer

2013-06-10 Thread Marc Chalain
days. Marc. PS: I have to support SurfaceFlinger (Android) as wayland client. It's the reason of my work. But I can stay a long time on my weston patches... 2013/6/10 Pekka Paalanen ppaala...@gmail.com On Fri, 7 Jun 2013 17:20:23 +0200 Marc Chalain marc.chal...@gmail.com wrote: From

new contribution

2013-06-07 Thread Marc Chalain
with weston.ini file as argument. I will send my patches on the mailling list as soon as possible (in few hours). Thank you Marc Chalain. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

[PATCH]: mtdev could be disabled at configuration

2013-06-07 Thread Marc Chalain
mtdev is not necessary on some device (desktop or set-top-box). For embedded solution the minimum of dependencies is required. configure accepts the --disable-mtdev option. weston-mtdev-disabled.patch Description: Binary data ___ wayland-devel mailing

[fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-07 Thread Marc Chalain
this patch allow to use direct color and set the colors map with default value. weston-fbdev-directcolor.patch Description: Binary data ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org

[fbdev_backend] initialization of the first frame buffer

2013-06-07 Thread Marc Chalain
Often the frame buffer device allows the double buffering, In this case the displayed buffer could not be initialized. This is done by yoffset of the varinfo. weston-fbdev-first-buffer-init.patch Description: Binary data ___ wayland-devel mailing list

[evdev] device not configured are unhandled instead back in error

2013-06-07 Thread Marc Chalain
A input device could not be not configurated. That should not be an error and just an unhandled device. On embedded configuration there is different input devices which are not used. weston-evdev-unconfigure-device-unhandled.patch Description: Binary data

[compositor] idle-time configuration inside weston.ini

2013-06-07 Thread Marc Chalain
this patch use the idle-time entry inside the core section of weston.ini to set the named value. weston-compositor-idle-time-configuration.patch Description: Binary data ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-07 Thread Marc Chalain
being not set in the test for it. You don't initialize cmap.red so the test for it gives an undefined result. Don't define macros in the middle of code with a literal that's only used once. On Fri, Jun 7, 2013 at 12:18 PM, Marc Chalain marc.chal...@gmail.comwrote: this patch allow to use

Re: [fbdev_backend]: support of DIRECTCOLOR Frame buffer

2013-06-07 Thread Marc Chalain
+0200 Marc Chalain marc.chal...@gmail.com wrote: You should execute the ioctl in fbdev_set_screen_info. fbdev_set_screen_info is used only when the fb device is reenabled. The colors map has to be initialized at the beginning in all cases. If we use this function we will call it in all

Re: [evdev] device not configured are unhandled instead back in error

2013-06-07 Thread Marc Chalain
I tried and at now, it seems to add a lot of complexity. I solution is to read the weston.ini file inside input.c... but is it regular ? 2013/6/7 Daniel Stone dan...@fooishbar.org Hi, On 7 June 2013 06:33, Marc Chalain marc.chal...@gmail.com wrote: A input device could

Re: [fbdev_backend] initialization of the first frame buffer

2013-06-07 Thread Marc Chalain
fbdev_output *output, int fd, varinfo.blue.length = 8; varinfo.blue.msb_right = 0; +varinfo.yoffset = 0; /* Set the device's screen information. */ if (ioctl(fd, FBIOPUT_VSCREENINFO, varinfo) 0) { return -1; -- 1.7.9.5 2013/6/7 Marc Chalain marc.chal...@gmail.com

Re: [evdev] device not configured are unhandled instead back in error

2013-06-07 Thread Marc Chalain
(some time it's just gpio management). Nothing looks like an pc keyboard. I will look for another solution next week. 2013/6/7 Daniel Stone dan...@fooishbar.org Hi, On 7 June 2013 11:16, Marc Chalain marc.chal...@gmail.com wrote: I tried and at now, it seems to add a lot of complexity. I