Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Blasche Alexander
> -Original Message- > From: development-bounces+alexander.blasche=digia@qt-project.org > [mailto:development-bounces+alexander.blasche=digia@qt-project.org] > On Behalf Of Thiago Macieira > However, if there are major defects in the API, they need to be voiced now. > Like Lars s

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Michael Zanetti
On Monday 30 September 2013 13:09:53 Thiago Macieira wrote: > On segunda-feira, 30 de setembro de 2013 19:39:53, Knoll Lars wrote: > > >As far as I know from my colleague, it misses some necessary API -- at > > >least the connection state changes notification and device disappearing > > >notificati

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Kate Alhola
On Tue, Oct 1, 2013 at 11:23 AM, Michael Zanetti < michael.zane...@canonical.com> wrote: > On Monday 30 September 2013 13:09:53 Thiago Macieira wrote: > > On segunda-feira, 30 de setembro de 2013 19:39:53, Knoll Lars wrote: > > > >As far as I know from my colleague, it misses some necessary API --

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Michael Zanetti
On Tuesday 01 October 2013 12:25:37 Kate Alhola wrote: > On Tue, Oct 1, 2013 at 11:23 AM, Michael Zanetti < > > michael.zane...@canonical.com> wrote: > > On Monday 30 September 2013 13:09:53 Thiago Macieira wrote: > > > On segunda-feira, 30 de setembro de 2013 19:39:53, Knoll Lars wrote: > > > > >

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Kate Alhola
Manual page says that it returns all local devices QBluetoothHostInfo . In bluez it uses listAdapters to query list of local bluetooth Adapters. To get list of remote devices you should use GetProperties to certain localAdapter and then property named Devices. Kate On Tue, Oct 1, 2013 at 1:42 P

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Blasche Alexander
>From: development-bounces+alexander.blasche=digia@qt-project.org >[mailto:development-bounces+alexander.blasche=digia@qt-project.org] On >Behalf Of Kate Alhola >How about getting list of Bound ( and known) Devices from >QBluetoothLocalDevice ( or from somewhere else) ? >Normal use cas

[Development] QRawFont disabled on QWS/freetype (Qt 4.8)

2013-10-01 Thread Konstantin Tokarev
Hi all, It seems to me this code from qglobal.h is not correct: #if !(defined(Q_WS_WIN) && !defined(Q_WS_WINCE)) \ && !(defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA)) \ && !(defined(Q_WS_X11) && !defined(QT_NO_FREETYPE)) \ && !(defined(Q_WS_QPA)) # define QT_NO_RAWFONT #endif It en

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Kate Alhola
On Tue, Oct 1, 2013 at 2:54 PM, Blasche Alexander wrote: > >>From: development-bounces+alexander.blasche=digia@qt-project.org >>[mailto:development-bounces+alexander.blasche=digia@qt-project.org] On >>Behalf Of Kate Alhola > >>How about getting list of Bound ( and known) Devices from >>

[Development] Fwd: [graphics] Nov meeting and "2D Lite" scope

2013-10-01 Thread Thiago Macieira
-- Forwarded message -- Subject: [graphics] Nov meeting and "2D Lite" scope Date: segunda-feira, 30 de setembro de 2013, 09:47:08 From: Herb Sutter Para: graph...@isocpp.org (updating subject) November meeting: The Seattle-area face-to-face meeting date is not yet set in ston

[Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
Since we decided to roll back support for exceptions in our container classes, the only thing that currently needs exception support is the mainloop allowing std::bad_alloc through. Is it worth it? Should we disable exceptions in QtCore? -- Thiago Macieira - thiago.macieira (AT) intel.com S

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Hausmann Simon
Hmm question - certainly worth it for sjlj platforms like 32-bit ios. One thing I'd love to see is the ability to throw exceptions through meta-call invocations (would be useful for qml, which uses exceptions) Simon Fra: Thiago Macieira Sendt: 21:20 tirsdag 1. oktober 2013 Til: development@qt-p

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Charley Bay
Thiago wrote: > Since we decided to roll back support for exceptions in our container > classes, > the only thing that currently needs exception support is the mainloop > allowing > std::bad_alloc through. > > Is it worth it? > > Should we disable exceptions in QtCore? > No, and yes. ;-)) I vot

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Knoll Lars
Yes, signal/slot connections between user code should IMO still be able to pass through exceptions. I am afraid removing that will break code that's out there. Cheers, Lars On 10/1/13 9:31 PM, "Hausmann Simon" wrote: > >Hmm question - certainly worth it for sjlj platforms like 32-bit ios. > > >

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread André Pönitz
On Tue, Oct 01, 2013 at 12:20:29PM -0700, Thiago Macieira wrote: > Since we decided to roll back support for exceptions in our container > classes, > the only thing that currently needs exception support is the mainloop > allowing > std::bad_alloc through. > > Is it worth it? Given that hopin

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On terça-feira, 1 de outubro de 2013 19:31:05, Hausmann Simon wrote: > Hmm question - certainly worth it for sjlj platforms like 32-bit ios. > > One thing I'd love to see is the ability to throw exceptions through > meta-call invocations (would be useful for qml, which uses exceptions) The rule i

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On terça-feira, 1 de outubro de 2013 20:00:56, Knoll Lars wrote: > Yes, signal/slot connections between user code should IMO still be able to > pass through exceptions. I am afraid removing that will break code that's > out there. This is already forbidden since 5.0. You can throw from your slots

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On terça-feira, 1 de outubro de 2013 22:28:53, André Pönitz wrote: > Perhaps... do we have numbers how much the gain would actually be, say, > for code size? Give me an hour. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signatur

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Christoph Feck
On Tuesday 01 October 2013 21:20:29 Thiago Macieira wrote: > Since we decided to roll back support for exceptions in our > container classes, the only thing that currently needs exception > support is the mainloop allowing std::bad_alloc through. > > Is it worth it? > > Should we disable exceptio

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On terça-feira, 1 de outubro de 2013 22:28:53, André Pönitz wrote: > Perhaps... do we have numbers how much the gain would actually be, say, > for code size? All numbers are based on my own QtCore tree, which contains a lot of patches on top of current stable, including protected visibility. I wi

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On quarta-feira, 2 de outubro de 2013 00:04:58, Christoph Feck wrote: > On Tuesday 01 October 2013 21:20:29 Thiago Macieira wrote: > > Since we decided to roll back support for exceptions in our > > container classes, the only thing that currently needs exception > > support is the mainloop allowin

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Christoph Feck
On Wednesday 02 October 2013 00:41:56 Thiago Macieira wrote: > On quarta-feira, 2 de outubro de 2013 00:04:58, Christoph Feck wrote: > > On Tuesday 01 October 2013 21:20:29 Thiago Macieira wrote: > > > Should we disable exceptions in QtCore? > > > > If it allows us to get a backtrace actually sho

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On quarta-feira, 2 de outubro de 2013 01:03:19, Christoph Feck wrote: > > In order to properly do that, we should remove all try/catch blocks > > in QtCore and replace with scoped pointers and scoped values. We > > should let the destructors handle the cleanup. > > Sounds "a bit" more work than si

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thomas Sondergaard
On 2013-10-01 21:20, Thiago Macieira wrote: > Since we decided to roll back support for exceptions in our container classes, > the only thing that currently needs exception support is the mainloop allowing > std::bad_alloc through. > > Is it worth it? > > Should we disable exceptions in QtCore? >

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Knoll Lars
On 01.10.13 23:23, "Thiago Macieira" wrote: >On terça-feira, 1 de outubro de 2013 20:00:56, Knoll Lars wrote: >> Yes, signal/slot connections between user code should IMO still be able >>to >> pass through exceptions. I am afraid removing that will break code >>that's >> out there. > >This is alr

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On quarta-feira, 2 de outubro de 2013 05:42:24, Knoll Lars wrote: > On 01.10.13 23:23, "Thiago Macieira" wrote: > >On terça-feira, 1 de outubro de 2013 20:00:56, Knoll Lars wrote: > >> Yes, signal/slot connections between user code should IMO still be able > >>to > >> pass through exceptions. I am

Re: [Development] Disabling exception support in QtCore?

2013-10-01 Thread Thiago Macieira
On quarta-feira, 2 de outubro de 2013 06:57:01, Thomas Sondergaard wrote: > On 2013-10-01 21:20, Thiago Macieira wrote: > > Since we decided to roll back support for exceptions in our container > > classes, the only thing that currently needs exception support is the > > mainloop allowing std::bad_