Re: [Development] Prettier printing of Unicode strings

2014-01-26 Thread Thiago Macieira
On domingo, 26 de janeiro de 2014 20:17:20, Knoll Lars wrote: > I usually prefer the output in utf8, as it gives readable strings (at > least on Mac and Linux as long as you don¹t mess with the locale). Escaped > strings are much more tedious to debug for me in most cases. So I¹d like > to ask for

Re: [Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

2014-01-26 Thread Richard Moore
On 26 January 2014 19:23, Kurt Pattyn wrote: >> 2. When sending data from client to server (not the other way) >> The client generates a 32-bit random number. >> This random number is stored in plain text in the header of each frame. >> The data is XOR-ed with that 32-bit random number. >> >> The

Re: [Development] [Qt-creator] Gerrit disapproval messages

2014-01-26 Thread Tomasz Siekierda
On 26 January 2014 20:41, Thiago Macieira wrote: > On domingo, 26 de janeiro de 2014 18:31:18, Tomasz Siekierda wrote: >> > The scores are now: >> > -1 - I would prefer this is not merged as is >> > -2 - This shall not be merged >> > >> > I suggest configuring qt-project gerrit to something simila

Re: [Development] Prettier printing of Unicode strings

2014-01-26 Thread Knoll Lars
On 26/01/14 20:39, "Thiago Macieira" wrote: >On domingo, 26 de janeiro de 2014 12:36:27, Jan Kundrát wrote: >> On Tuesday, 21 January 2014 01:05:07 CEST, Thiago Macieira wrote: >> >Actual (s) : \u221212\u20A0\uD800\uDC00 >> >Expected (s2): \u221212\u20AC\uD800\uDC00 >> >> [...] >> >>

Re: [Development] Prettier printing of Unicode strings

2014-01-26 Thread Thiago Macieira
On domingo, 26 de janeiro de 2014 12:36:27, Jan Kundrát wrote: > On Tuesday, 21 January 2014 01:05:07 CEST, Thiago Macieira wrote: > >Actual (s) : \u221212\u20A0\uD800\uDC00 > >Expected (s2): \u221212\u20AC\uD800\uDC00 > > [...] > > > - all backslashes as \\ > > - the following charac

Re: [Development] [Qt-creator] Gerrit disapproval messages

2014-01-26 Thread Thiago Macieira
On domingo, 26 de janeiro de 2014 18:31:18, Tomasz Siekierda wrote: > > The scores are now: > > -1 - I would prefer this is not merged as is > > -2 - This shall not be merged > > > > I suggest configuring qt-project gerrit to something similar. > > > > Opinions? > > A big +1 from me. I know this

Re: [Development] OS X bundle detection

2014-01-26 Thread Thiago Macieira
On sábado, 25 de janeiro de 2014 22:33:36, Samuel Gaist wrote: > On 24 janv. 2014, at 18:05, Thiago Macieira wrote: > > On sexta-feira, 24 de janeiro de 2014 09:25:35, Samuel Gaist wrote: > >> Extending this list would make the current test (if else if) getting a > >> bit > >> long and not necess

Re: [Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

2014-01-26 Thread Thiago Macieira
On sábado, 25 de janeiro de 2014 23:14:43, Kurt Pattyn wrote: > > When websockets becomes part of a Qt module you can consider using > > QObjectPrivate which makes the d pointer implementation slightly cleaner > > and removes the need for duplicate d pointers (one from qobject one for > > the class

Re: [Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

2014-01-26 Thread Kurt Pattyn
On 26 Jan 2014, at 19:12, Konrad Rosenbaum wrote: > Hi, > > [wow, I had a good laugh!] > > > On Sunday 26 January 2014, Kurt Pattyn wrote: > > On 26 Jan 2014, at 11:31, Konrad Rosenbaum wrote: > > > Depends. What is it used for? Is it just obfuscation or is it supposed > > > to be real se

Re: [Development] Remove OSX 10.6 Build?

2014-01-26 Thread Robert Knight
> In regards to users of Mac OS Qt applications: I’m am extremely confident > that more Mac OS applications would be/have been written in Qt, > if the priority for native looking widget support was higher. Mac OS users > are notorious for their attention to detail and noticing a non-native L&F. >

Re: [Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

2014-01-26 Thread Konrad Rosenbaum
Hi, [wow, I had a good laugh!] On Sunday 26 January 2014, Kurt Pattyn wrote: > On 26 Jan 2014, at 11:31, Konrad Rosenbaum wrote: > > Depends. What is it used for? Is it just obfuscation or is it supposed > > to be real security? > > Well, there are 2 places where random numbers are used: > 1.

Re: [Development] [Qt-creator] Gerrit disapproval messages

2014-01-26 Thread Tomasz Siekierda
On 26 January 2014 09:06, Orgad Shaneh wrote: > Hi, > > Following this discussion from about a year ago, > > gerrit has recently accepted a wording change for default -1 and -2 > Code-Review labels. > > The scores are now: > -1 - I would prefer this is not merged as is > -2 - This shall not be mer

Re: [Development] Prettier printing of Unicode strings

2014-01-26 Thread Kurt Pattyn
On 21 Jan 2014, at 01:05, Thiago Macieira wrote: > I was writing a test today and QtTest told me: > > Actual (s) : ?12??? > Expected (s2): ?12??? > > So I went, "duh, ok, it looks the same to me but what's behind those question > marks". > > After a bit of changes [https://codereview.q

Re: [Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

2014-01-26 Thread Kurt Pattyn
On 26 Jan 2014, at 11:31, Konrad Rosenbaum wrote: > Depends. What is it used for? Is it just obfuscation or is it supposed to be > real security? Well, there are 2 places where random numbers are used: 1. During the handshake phase Client sends a handshake request containing a 128-bit random n

Re: [Development] Prettier printing of Unicode strings

2014-01-26 Thread Jan Kundrát
On Tuesday, 21 January 2014 01:05:07 CEST, Thiago Macieira wrote: >Actual (s) : \u221212\u20A0\uD800\uDC00 >Expected (s2): \u221212\u20AC\uD800\uDC00 [...] > - all backslashes as \\ > - the following characters as their escape sequences: \r, \n, \t, \b, \f > - all other control charact

Re: [Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

2014-01-26 Thread Konrad Rosenbaum
On Sunday 26 January 2014, Kurt Pattyn wrote: > On 17 Jan 2014, at 19:46, Frederik Gladhorn wrote: > > Just another remark which I'm not sure about: > > In section 5.2 of rfc 6455 randomness is mentioned. I didn't read up on > > the background but currently there is only a call to initialize qsra

Re: [Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

2014-01-26 Thread Olivier Goffart
On Saturday 25 January 2014 23:14:43 Kurt Pattyn wrote: > > When websockets becomes part of a Qt module you can consider using > > QObjectPrivate which makes the d pointer implementation slightly cleaner > > and removes the need for duplicate d pointers (one from qobject one for > > the class's own