Re: Wayland design principles (Re: wayland and gambas)

2024-04-30 Thread Thiago Macieira
download flatpaks and similars. Wayland has to be designed with that in mind. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Cloud Engineering

Re: Wayland design principles (Re: wayland and gambas)

2024-04-29 Thread Thiago Macieira
rstand our dilemma here. I do not. I repeat that most of your concerns can be addressed, if you explain the use- case and the need, not the means by which you've solved that need in the past. Not all of them (maybe not even most of them) will be addressed, but you won't know until you tr

Re: Wayland design principles (Re: wayland and gambas)

2024-04-29 Thread Thiago Macieira
27;t inject events into other windows, so we lose the auto-type feature in KeyPassXC. You can't perform arbitrary screengrabs any more, but instead screensharing applications must ask the compositor to let the user choose which window(s) to share. -- Thiago Macieira - thiago (AT) macieir

Re: Wayland design principles (Re: wayland and gambas)

2024-04-29 Thread Thiago Macieira
, the system tray is not a Wayland issue. I recommend treating it as a regular bug and working with the implementation's and desktop's developers to fix it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Cloud Engineering

Re: Wayland design principles (Re: wayland and gambas)

2024-04-29 Thread Thiago Macieira
ttps://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/ -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Cloud Engineering

Re: [PATCH] scanner.c: prefer strchr() over for loop and toupper() in place

2024-01-09 Thread Thiago Macieira
urkish locale to see what happens. I suggest you ditch toupper() in the first place and just do the ASCII uppercasing manually. PS: I suggest either moving the ; to the next line or using brackets to make it evidently clear that you intended an empty while loop. -- Thiago Macieira - thiago (A

Re: Weston 12 compatibility with Yocto Kirkstone

2023-06-15 Thread Thiago Macieira
vice's configuration, just update the layers to the latest, and you've got an updated image for your device's new release. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering

Re: How to set a recursevly PATH under wayland

2023-05-13 Thread Thiago Macieira
Wayland desktop, it's ~/.config/plasma-workspace/env/. You can also add it to your shell login scripts, those are usually sourced too, but check with your compositor. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering

Re: Window positions under wayland

2022-08-04 Thread Thiago Macieira
whether the developer of the application in question thought it was a good idea and coded it that way -- per window of each application. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering

Re: Window positions under wayland

2022-08-04 Thread Thiago Macieira
nsions to support all the little things that one could do with absolute positioning becomes a burden, but we're not there and have yet to see a problem that can't be solved differently. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering

Re: Dynamically loading libwayland complications

2022-06-28 Thread Thiago Macieira
nerator that is calling something other than those functions. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering

Re: kwin_wayland: ../libepoxy/src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.

2022-05-25 Thread Thiago Macieira
On Wednesday, 25 May 2022 13:18:11 PDT Carlos wrote: >Model name: Cortex-A72 This is a 64-bit capable CPU, according to Wikipedia: https://en.wikipedia.org/wiki/ARM_Cortex-A72 Why are you running 32-bit? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.

Re: kwin_wayland: ../libepoxy/src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.

2022-05-23 Thread Thiago Macieira
hing more modern or limiting your use of this old, embedded device. I'd never even heard of armv7l until your email (I only knew of -A, -M and - R). -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering

Re: kwin_wayland: ../libepoxy/src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.

2022-05-23 Thread Thiago Macieira
bit arch, limiting DB mmap to 1 GByte Why are you running on 32-bit? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering

Re: Basic API usage

2020-09-09 Thread Thiago Macieira
C'mon, you know it isn't true. There's also plenty of unspecified behaviours, implementation-specific behaviour, and quite a few "ill-formed, no diagnostic required". -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.o

Re: Wayland Direct Framebuffer (FreeBSD)

2020-07-21 Thread Thiago Macieira
ution to use Wayland without Xorg so that I can use the RDP client as > well as to keep the total footprint as small as possible. So all you want is Weston plus your application. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cl

Re: Wayland Direct Framebuffer (FreeBSD)

2020-07-21 Thread Thiago Macieira
If you're running a single application, can you make that application use DirectFB or DRM directly? You don't need Wayland for a single, full-screen application using the display. Wayland is more useful when you need to share between two or more applications. -- Thiago Macieira - thiago

Re: [PATCH wayland 4/6] tests: Use volatile pointer for NULL dereference

2018-09-02 Thread Thiago Macieira
nd can be discarded because you're not allowed to provoke UB. If you need to write to a whose value is identical to NULL, write assembly. How about a raise(SIGSEGV) instead? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open

Re: How fwrd-compatible is using dlopen and core only?

2018-08-14 Thread Thiago Macieira
ions. If you use one of those in your application or library, then you will have to link to libwayland. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ wayland-devel

Re: Window positioning

2018-01-03 Thread Thiago Macieira
to do it. It isn't. Can you share why you want to position a window at a specific point in the screen? What's your use-case? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center

Re: [PATCH wayland] cursor: Use shm_open() instead of XDG_RUNTIME_DIR files

2017-10-18 Thread Thiago Macieira
doing shm_unlink() such that you could accidentally end up with > two different filedescriptors pointing at the same SHM object? There's another problem: this path is not unique to the calling user. That means you need to defend against another user in the system actively trying to get t

Re: Qt static

2017-05-31 Thread Thiago Macieira
not watch this mailing list. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [RFC weston v2] Add safe_strtoint() helper

2016-07-15 Thread Thiago Macieira
mbers > with a simple true/false error indicator and a uint32_t return by > reference. > > Signed-off-by: Bryce Harrington Looks better. Reviewed-by: Thiago Macieira -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Ope

Re: [RFC weston] Add strtoint() helper

2016-07-14 Thread Thiago Macieira
LLP64), the conditional is optimised out of existence by the compiler. The casts are really optional, but since this in a header, some people may want to try and use it with annoying compiler options like -Wconversion. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Softw

Re: [PATCH weston] Remove a wrong closing “extern "C"” in shared/xalloc.c

2016-07-13 Thread Thiago Macieira
#x27;t get to ask in time the reason why. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH weston] Remove a wrong closing “extern "C"” in shared/xalloc.c

2016-07-13 Thread Thiago Macieira
> -#ifdef __cplusplus > -} > -#endif Out of curiosity: why are you compiling C sources as C++? Is that the Arduino compiler? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technolo

Re: [PATCH weston 3/6] README: Document versioning scheme, forward compatibility

2016-07-07 Thread Thiago Macieira
On segunda-feira, 4 de julho de 2016 15:23:51 PDT Emil Velikov wrote: > +Similar approach is used by ATK, QT and KDE programs/libraries, Qt, with a lowercase t. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Cen

Re: [PATCH v2 libinput] Add configure.ac check for static_assert

2016-05-15 Thread Thiago Macieira
RROR("CLOCK_MONOTONIC is needed to compile libinput")], > [[#include ]]) > +AC_CHECK_DECL(static_assert, [], > + [AC_DEFINE(static_assert(...), [/* */], [noop static_assert() You could define it to #define static_assert(x) ((void)sizeof(char[2*!!(x) - 1]))

Re: How can an X11 tell it's running in XWayland?

2015-07-31 Thread Thiago Macieira
set? > > Y > ​eap, even simpler! It might have been unset to cause a parent application to start inside X instead of using Wayland. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF453

Re: [PATCH libinput 2/6] touchpad: use __builtin_ffs instead of a manual count

2015-01-05 Thread Thiago Macieira
On Monday 05 January 2015 12:00:24 Hans de Goede wrote: > > + return __builtin_ffs(tp->fake_touches >> 1); Why the builtin instead of ffs from ? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Cente

Re: launch QT app failed with wayland

2014-12-26 Thread Thiago Macieira
ssibility about this error? I can't. I don't even understand what ico-homescreen is, so I have no clue what you're talking about. I can only act on a backtrace. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Ce

Re: launch QT app failed with wayland

2014-12-25 Thread Thiago Macieira
mething wrong with wayland protocol. > Could anyone help me with this issue? Put a breakpoint in any of the two messages and give us a backtrace. Please be sure you're using a "wayland-egl" plugin compiled with debug symbols so we can get the line numbers from where the error

Re: libinput without udev

2014-12-07 Thread Thiago Macieira
asking why you want this? Is it because you have a different component that does the same job as udev? Or you're trying to make a very constrained device (RAM and Flash) and you need to make room? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect

Re: [PATCH wayland] wl_strtol and wl_strtoul utility functions are added

2014-10-15 Thread Thiago Macieira
input and output checks; test cases are also updated; will push the patch > for weston as well. You should use strtol_l and strtoul_l from and pass the C locale. Otherwise, those functions are subject to the locale's definition of a space character. -- Thiago Macieira - thiago (AT) mac

Re: [PATCH wayland] wl_strtol and wl_strtoul utility functions are added

2014-10-15 Thread Thiago Macieira
where Wayland developers stand on this, but I would rather > the client library function calls not clobber errno to zero. There's no other way to detect strto(u)l errors. It returns either 0, LONG_MIN, LONG_MAX or ULONG_MAX for errors, but those are also valid values. -- Thiago Macieira - t

Re: Wayland compilation problem

2014-08-17 Thread Thiago Macieira
On Sunday 17 August 2014 14:43:50 Hongze Zhao wrote: > However, I got an error saying "No package 'libinput' found" > Could anyone tell me why this is happening and how to resolve it? Did you compile and install libinput? -- Thiago Macieira - thiago (AT) macieira.

Re: HW key event grabbing on Tizen Wayland

2014-08-12 Thread Thiago Macieira
; Will it be available on Tizen in the future? > Thanks. For Wayland, there's no protocol yet for global shortcuts (that I know of). You need to modify the compositor to do it for you. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Int

Re: libinput polling

2014-07-15 Thread Thiago Macieira
> libinput_dispatch(input_context); > } > } > > If I remove 'poll' then I can retrieve input events without any trouble. > > Is what I am trying to do supported? If so, what could be the problem? Or, > if not, then is there a supported way to

Re: Global shortkeys and keyboard focus

2014-07-04 Thread Thiago Macieira
hortcut". The compositor should remember which applications requested what, so as to avoid conflicts or at least inform the user when that happens. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6

Re: Window placement

2014-06-29 Thread Thiago Macieira
nd can be as a good desktop environment as X. That's the goal. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD

Re: Window placement

2014-06-29 Thread Thiago Macieira
with any Window > Manager at the moment, they work on any desktop. So they should also work > with any compositor. The current design is that there won't be such a thing. All desktop fixtures will be tightly coupled with the desktop, which in turn means tight coupling with the c

Re: Window placement

2014-06-29 Thread Thiago Macieira
as I > know, they have always been implemented using standard normal windows. The idea is that those are tightly coupled with the compositor. There's no need to standardise if they only work with one compositor. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org S

Re: Window placement

2014-06-29 Thread Thiago Macieira
application about its global position. This should be solved for all kinds of popups, including menus. > It seems that xdg-shell is to bring answers to these kind of > desktop-specific problems, so is this planned to be added in this interface > ? > > Fabounet. -- Thiago

Re: xwayland

2014-06-29 Thread Thiago Macieira
How can you be sure that it connected to X, not to Wayland? Well, usually the window decorations will be a tell: if you see the XWayland window decoration, as opposed to whatever passes for decoration in that application's toolkit. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT

Re: [PATCH libinput] Add our own version of linux/input.h

2014-06-03 Thread Thiago Macieira
d the question: what happens if one such OS decides to add another constant for something that Linux doesn't have yet. Who decides the value? Should we have H. Peter Anvin resurrect the LANANA so we can have a central registry of codes? Should BSD kernel developers submit Linux kernel patches? S

Re: [PATCH libinput] Add our own version of linux/input.h

2014-06-03 Thread Thiago Macieira
r "headers in my project" because it starts the search from $PWD, whereas <> starts in the system dirs, if no -I flag is passed. If they are, things change. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Tech

Re: [PATCH libinput] Add our own version of linux/input.h

2014-06-03 Thread Thiago Macieira
Em ter 03 jun 2014, às 16:56:35, Peter Hutterer escreveu: > On Mon, Jun 02, 2014 at 10:01:20PM -0700, Thiago Macieira wrote: > > Em ter 03 jun 2014, às 08:08:15, Peter Hutterer escreveu: > > > Avoids having to #define any values we're trying to use. > > > > >

Re: [PATCH libinput] Add our own version of linux/input.h

2014-06-02 Thread Thiago Macieira
Em ter 03 jun 2014, às 08:08:15, Peter Hutterer escreveu: > Avoids having to #define any values we're trying to use. > > Header file is from Linux 3.15-rc8. > > Signed-off-by: Peter Hutterer Wouldn't this be time as well to start using a different include than ? --

Re: help: is there any way to use integer 64 type in protocol?

2014-04-20 Thread Thiago Macieira
ibwayland 2.0, with a binary compatibility break. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 ___

Re: Summary of the security discussions around Wayland and privileged clients

2014-02-20 Thread Thiago Macieira
e passed. The Wayland compositor can modify the file frequently and request that the client prove its worthiness by reading from the file. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fi

Re: Summary of the security discussions around Wayland and privileged clients

2014-02-20 Thread Thiago Macieira
le contains the traditional socket path and the other contains the file descriptor. The latter overrides the former. 4) store both settings in WAYLAND_SOCKET. D-Bus does that: DBUS_SESSION_BUS_ADDRESS can contain multiple addresses, to be attempted in order. -- Thiago Macieira - thiago (AT)

Re: Summary of the security discussions around Wayland and privileged clients

2014-02-20 Thread Thiago Macieira
Em qui 20 fev 2014, às 19:56:08, Martin Peres escreveu: > Le 20/02/2014 18:42, Thiago Macieira a écrit : > > Unless you meant that the WAYLAND_SOCKET variable can contain a file > > descriptor number. Is that the case? In that case, how should the > > privileged process cle

Re: Summary of the security discussions around Wayland and privileged clients

2014-02-20 Thread Thiago Macieira
r. Is that the case? In that case, how should the privileged process clear the environment to allow child processes to be launched? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprin

Re: [PATCH libinput] evdev: set CLOCK_MONOTONIC as the time source

2014-02-18 Thread Thiago Macieira
ot support it. Which is a use-case for libinput. However, I'm guessing that it's ok to let the ioctl fail. No need to check if it will fail, simply let it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technolog

Re: [PATCH libinput] evdev: set CLOCK_MONOTONIC as the time source

2014-02-18 Thread Thiago Macieira
Em qua 19 fev 2014, às 08:47:32, Peter Hutterer escreveu: > + libevdev_set_clock_id(device->evdev, CLOCK_MONOTONIC); What happens if the monotonic clock isn't supported? Shouldn't you check that sysconf(_SC_MONOTONIC_CLOCK) > 0 ? -- Thiago Macieira - thiago (AT) macieir

Re: [PATCH weston] sdk: make C++11 plugins build again

2013-12-09 Thread Thiago Macieira
}; #endif For failed assertions, it will produce: C89, C99, C++98: error: array size is negative C11, C++11: error: static_assert failed "fail" -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc

Re: [PATCH 00/16] xdg-shell protocol, implementation and port of toytoolkit.

2013-11-27 Thread Thiago Macieira
On quarta-feira, 27 de novembro de 2013 15:50:16, Rafael Antognolli wrote: > As discussed previously, this patch series adds the xdg-shell protocol, its > implementation on weston, and the client implementation on toytoolkit. Nice to see this coming. Thanks, Rafael and Jasper! --

Re: Thoughts about decoration information in the xdg_shell

2013-11-18 Thread Thiago Macieira
On segunda-feira, 18 de novembro de 2013 10:35:58, Bill Spitzak wrote: > I also want to put in a very strong vote against any kind of idea that a > client can "prefer SSD", as is being continuously suggested here with > comments like this: > > Thiago Macieira wrote:

Re: Thoughts about decoration information in the xdg_shell

2013-11-18 Thread Thiago Macieira
it's even simpler. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Description: This is a digitally signed message part. ___ wayland-devel mailing list wayland-devel@lis

Re: Thoughts about decoration information in the xdg_shell

2013-11-18 Thread Thiago Macieira
hat it is a problem. IMO, toolkits should provide a way for an application to deeply integrate with the environment that they're running in and have as best as possible look and feel and behaviour. Maybe that's a race we can't win. But I do think we should try. -- Thiago Macieir

Re: Thoughts about decoration information in the xdg_shell

2013-11-18 Thread Thiago Macieira
versa. I don't think so. You can implement tablet-to-desktop and vice-versa without changing roles. In fact, I recommend you go for all-client decoration. Just negotiate *which* decoration to display. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - I

Re: Thoughts about decoration information in the xdg_shell

2013-11-17 Thread Thiago Macieira
e problem: clients continue to decorate by themselves, but the clients somehow find the information describing what they should decorate with. That means you get the consistency *and* the performance of client-side decorations. I believe the forum for that discussion is the xdg mailing list. --

Re: Thoughts about decoration information in the xdg_shell

2013-11-17 Thread Thiago Macieira
Applications that do not negotiate must figure out the proper decoration on their own. It's not the compositor's job to enforce the style. If the application then looks out of place, it's the application's fault, not the compositor's. -- Thiago Macieira - thiago

Re: Thoughts about decoration information in the xdg_shell

2013-11-17 Thread Thiago Macieira
oes not request it, the compositor MUST NOT decorate the windows -- it must assume the client is doing it properly. I'm guessing that most toolkits will not request it and will not provide a way for applications to do it either. -- Thiago Macieira - thiago.macieira (AT) intel.com Sof

Re: [xkbcommon] Use an integer type for modifiers bit mask.

2013-10-04 Thread Thiago Macieira
indeed I had problems with that in the past. C++11 fixed > that [1]. But nevermind. We're not relying on the ABI. I said "The enum must be backed by an integer with at least as many bits as the enum possesses.". If you cast back from an int that contains one of the enum values o

Re: [xkbcommon] Use an integer type for modifiers bit mask.

2013-10-04 Thread Thiago Macieira
the time in C++. The enum must be backed by an integer with at least as many bits as the enum possesses. With the ABI that GCC uses, it's always at least 4 bytes. The only thing is that you need to cast it from integer back to the enum type. -- Thiago Macieira - thiago.macieira (AT) int

Re: Qt 5 on Wayland support for QtQuick 1.1?

2013-07-09 Thread Thiago Macieira
h the raster backend. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Description: This is a digitally signed message part. ___ wayland-devel mailing list w

Re: [PATCH weston sdk v2 1/8] weston.pc: Add dependencies for pixman-1 and xkbcommon

2013-07-05 Thread Thiago Macieira
exclusively to specify the depen‐ dencies between the libraries. First, it mentions that Requires.private is *not* used in dynamic linking. Then it changes its mind with that last sentence, which is cryptic. In any case, the actual behaviour is that Requires.private is used in dynamic linki

Re: [PATCH weston sdk v2 1/8] weston.pc: Add dependencies for pixman-1 and xkbcommon

2013-07-04 Thread Thiago Macieira
in will compile. Of course, there's also a grey area: an optional feature. Suppose that there's exactly one Weston header that requires xkbcommon and that header is not included by any other: weston-xkbcommon.h. In that case, anyone who uses that header is intentionally depending on xk

Re: [PATCH weston sdk v2 1/8] weston.pc: Add dependencies for pixman-1 and xkbcommon

2013-07-04 Thread Thiago Macieira
y. It's probably not going to be the case for Weston, since the point of linking is to provide plugins and those make no sense in static builds. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Description: This is a

Re: Qt 4.8 on Wayland ?

2013-06-17 Thread Thiago Macieira
ing Qt for X11 or Qt for Embedded Linux. To run on Qt for QPA, you'll need to do some porting, albeit quite minimal. The biggest parts will be the windowing system support, for which no one will be able to offer help. The effort might be equivalent to porting to Qt 5. -- Thiago Maci

Re: Qt 4.8 on Wayland ?

2013-06-14 Thread Thiago Macieira
need. I really recommend you consider Qt 5. Since QPA was new in Qt 4.8, it means you must have started this project only recently. Since you're asking now, 6 months after the Qt 5.0 release (and 5.1 is approaching), can we ask why the interest? -- Thiago Macieira - thiago.macieira (AT) inte

Re: [PATCH weston] window: avoid a gcc warning in buffer release handler

2013-05-22 Thread Thiago Macieira
lease(), so that we only > compute 'bufs' when it is printed. This should fix the warnings Set-but-unused is a new warning in GCC 4.7 and, as most warnings of its type, sometimes it triggers only in release (optimised) mode. If you're building with -O0 or an older G

Re: protocol questions

2013-04-03 Thread Thiago Macieira
unched from inside the application. Do we have a defined way of transferring focus and modality, enforcing stacking order? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature

Re: protocol questions

2013-03-30 Thread Thiago Macieira
On sábado, 30 de março de 2013 17.52.33, Nick Kisialiou wrote: > What about "long int" type to store the time stamps? Even in microseconds > it will take longer than 100 years to overflow 2^63. That requires changing the protocol. -- Thiago Macieira - thiago.macieira (AT) inte

Re: protocol questions

2013-03-30 Thread Thiago Macieira
s of messages that carry timestamps - no restriction For example, imagine the case of trying to ensure that a Ctrl key was pressed before a mouse click happened, after the events were plucked out of the event stream. Or is there another, recommended way of doing that, such as by using the serials?

Re: [PATCH wayland] server: use void* instead of function pointer for wl_object.implementation

2013-03-28 Thread Thiago Macieira
do the same. This behaviour was also specified for C++11. I haven't checked if C11 also has it. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Description: This is a digital

Re: Helping in reviewing

2013-03-27 Thread Thiago Macieira
ng that. > > Would setting patchwork help in improving the management of the patch queue? It might. But again, this is a decision that needs to come from those who review. The project needs a tool that makes them comfortable and efficient. I'm not such a person, so I can't make a

Re: Helping in reviewing

2013-03-26 Thread Thiago Macieira
at we'll never get those people *unless* they start reviewing now. So whenever you see a change that you think you can provide input on, do so. If you don't feel like saying it's completely fine, say so too. The initial review you provide on simpler things (coding style, thread-safet

Re: Helping in reviewing

2013-03-26 Thread Thiago Macieira
them. In this aspect, "convenience for the casual drive-by-submitter" is completely trumped by "convenience for the reviewer". I can't make that decision. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Tec

Helping in reviewing

2013-03-26 Thread Thiago Macieira
pen Source Projects are not democracies and definitely not tyrannies. They are meritocracies, where those who have contributed the most get to make decisions. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open

Re: Compiz is Dead - Beryl Lives Again? Enter - Northfield/Norwood

2013-03-25 Thread Thiago Macieira
with. Ok, understood. Can you tell us why your solution is better than the above? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Description: This is a digitally signed message part. ___

Re: Compiz is Dead - Beryl Lives Again? Enter - Northfield/Norwood

2013-03-25 Thread Thiago Macieira
o do it and you have either missed the point or failed to explain to us why the fork is necessary. PS: compiz is also a bad example. It might have been a great experiment and resulted in improvements in most existing WMs, but it was a horrible WM. It had bugs with its core WM functionality that went

Re: [PATCH] client: Add acquire-fd API to avoid requiring a polling main thread

2013-03-25 Thread Thiago Macieira
pended) thread to empty the pipe. The OS may take some time to wake it up from cond_wait. Meanwhile, we're burning CPU and consuming battery. Unless there's something before the call to poll(2) that will prevent it from happening in the first place. I have to confess I have not yet

Re: [PATCH] client: Add acquire-fd API to avoid requiring a polling main thread

2013-03-25 Thread Thiago Macieira
y, struct wl_event_queue *queue) > { > - int len, size, count, ret; > - > - pthread_mutex_lock(&display->mutex); > - > - if (display->last_error) > - goto err_unlock; > + struct pollfd pfd[2]; > + int len, size, ret; > + char

Re: Support XDG_RUNTIME_DIR being unset

2013-03-11 Thread Thiago Macieira
has nothing to do with systemd or upstart or sysvinit. Simply set a proper variable on /etc/profile pointing to a proper location, one that the distribution knows to meet the requirements. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Tec

Re: Support XDG_RUNTIME_DIR being unset

2013-03-11 Thread Thiago Macieira
t; > > Currently we abort if XDG_RUNTIME_DIR is not set. The following patches > fall back to ~/.cache, as GLib does. Which relevant and recent distribution does not set XDG_RUNTIME_DIR? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Techn

Re: 1.0 Branch created

2012-11-09 Thread Thiago Macieira
ments/20120927/13b4a7ef/attachment-0007.png [3] http://lists.qt-project.org/pipermail/development/2012- September/006691.html [or with everything in one: http://permalink.gmane.org/gmane.comp.lib.qt.devel/6738 ] -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Arch

Re: new xwayland protocol

2012-09-14 Thread Thiago Macieira
coordinates there in any meaningful way. > > What coordinate system does that use, if not cartesian? Considering it's half a sphere, I'd guess it's spherical surface coordinates (just θ and φ). :-) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Softwar

Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread Thiago Macieira
s. The compositors are all experimental and just examples of what can be done. They are not meant to be used in a production environment. Running Weston is recommended. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Cente

Re: Weston is not linking libm

2012-05-26 Thread Thiago Macieira
hould display the -lm too, so the .pc file is probably bad. Another possibility is that the .pc file is meant for a shared library but you have only the static one. That's also a packaging bug. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Tech

Re: [PATCH] use magic wl_fixed_t to/from double only on x86-64

2012-05-16 Thread Thiago Macieira
On quarta-feira, 16 de maio de 2012 11.20.03, Bill Spitzak wrote: > Thiago Macieira wrote: > > However, the div and mul are much more interesting. Those ought to be the > > same, so I am actually wondering how it is possible that the div and mul > > on > > x86-64 can

Re: [PATCH] use magic wl_fixed_t to/from double only on x86-64

2012-05-16 Thread Thiago Macieira
is correct, given your benchmarks. It might be that other 64-bit platforms have similar benefits, though, in which case the if should be defined(__x86_64__) || defined(__LP64__). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Int

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Thiago Macieira
e from , which probably means their kernel headers are older than 2.6.28. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-23 Thread Thiago Macieira
tion. I'd say that writing assembly to make the system call is above the pain threshold for solving this particular issue. In that case, we can point the finger at them and say "it's not thread-safe and it's entirely your fault". -- Thiago Macieira - thiago.macieira (AT) intel.com

Re: [PULL wayland] fd leak checks and a socket fallback

2012-04-22 Thread Thiago Macieira
t4 system call, the last one of them to be introduced, came about in kernel 2.6.28, the other ones in 2.6.27. PS: if you're reading this and you want to run Wayland on your non-Linux system, you should also add those to your OS. Yesterday. -- Thiago Macieira - thiago.macieira (AT) intel.com

Re: Why the GTK+ wayland backend can't be enabled in linux distros, at all

2012-03-27 Thread Thiago Macieira
ovide the same results when two applications are running? Our hope is that those 6544 kB of Private_Clean (which are sharable) become actually shared and move to Shared_Clean. Has this patch been submitted to the glibc folks? They have just had a change of governance. -- Thiago Macieira - thiago.ma

Re: About decorations in Unity

2012-03-27 Thread Thiago Macieira
On terça-feira, 27 de março de 2012 22.32.13, Damián Nohales wrote: > El 27/03/12 19:24, Thiago Macieira escribió: > > I guess the toolkits would simply forego drawing the decoration when it > > detects that the window is maximised. > > But this behaviour is not shell depen

Re: About decorations in Unity

2012-03-27 Thread Thiago Macieira
cessary. All the toolkits need to know is whether the window is maximised or not. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockh

Re: Why the GTK+ wayland backend can't be enabled in linux distros, at all

2012-03-18 Thread Thiago Macieira
f indirect memory accesses and by reserving one register. Simply adjust your expectations: anyone using NVidia proprietary drivers will have to deal with this issue. So discount the 10-15 MB increased memory usage per application using libGL and check your numbers again. -- Thiago Macieira - th

  1   2   >