<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/src/gui, branch v5.81.0-rc1</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>Optimise string operations a bit</title>
<updated>2021-03-05T23:33:45+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-22T20:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=ee35bdce8f6b08922b4c9e0c0c838e5f2c4a79ad'/>
<id>ee35bdce8f6b08922b4c9e0c0c838e5f2c4a79ad</id>
<content type='text'>
- Use QString::arg(Args...) instead of .arg().arg()
- Use QLatin1String for string comparisons, should be faster
- Use QLatin1String::arg() for better readability

- Add the comment dfaure suggested in the MR, to explain why it's '2%'
  then '%1' in a QString().arg().arg()

NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use QString::arg(Args...) instead of .arg().arg()
- Use QLatin1String for string comparisons, should be faster
- Use QLatin1String::arg() for better readability

- Add the comment dfaure suggested in the MR, to explain why it's '2%'
  then '%1' in a QString().arg().arg()

NO_CHANGELOG
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix formatting in a couple of places after running clang-format</title>
<updated>2021-02-22T19:28:00+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-22T17:25:40+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=48c132be8aa983165126b0641a083848dd5c6620'/>
<id>48c132be8aa983165126b0641a083848dd5c6620</id>
<content type='text'>
NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NO_CHANGELOG
</pre>
</div>
</content>
</entry>
<entry>
<title>Run clang-format on all cpp/h files</title>
<updated>2021-02-22T15:38:09+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-22T15:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=8bed00ab34e31f2b9c70026d418d923913325798'/>
<id>8bed00ab34e31f2b9c70026d418d923913325798</id>
<content type='text'>
NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NO_CHANGELOG
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a trailing comma to last member in enum</title>
<updated>2021-02-22T15:34:03+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-22T15:34:03+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=186755fd56b58dc97250846c5305ef89f9487f86'/>
<id>186755fd56b58dc97250846c5305ef89f9487f86</id>
<content type='text'>
GIT_SILENT
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GIT_SILENT
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix window positioning regression due to incorrect fallback in fallback</title>
<updated>2021-02-08T18:53:28+00:00</updated>
<author>
<name>Nate Graham</name>
<email>nate@kde.org</email>
</author>
<published>2021-02-08T18:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=97accd14d732f3eda1c25bb58290cb9311040798'/>
<id>97accd14d732f3eda1c25bb58290cb9311040798</id>
<content type='text'>
We have a fallback string that gets searched for in the KCM, but that
fallback itself should not have a fallback, or else we always use that
second fallback and the window gets positioned incorrectly the first
time it's opened. So let's replace the second fallback with -1.

BUG: 432661
FIXED-IN: 5.79
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a fallback string that gets searched for in the KCM, but that
fallback itself should not have a fallback, or else we always use that
second fallback and the window gets positioned incorrectly the first
time it's opened. So let's replace the second fallback with -1.

BUG: 432661
FIXED-IN: 5.79
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor code optimisations</title>
<updated>2021-02-06T20:11:41+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-03T13:28:38+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=dc878289c01011c59615746655b4e78d4bc90b91'/>
<id>dc878289c01011c59615746655b4e78d4bc90b91</id>
<content type='text'>
- Use a global var for a QString that's used many times
- Break up long-all-cap variable names, it makes it harder to read (and
  I've fixed one typo in one of those ALLCAPS)
- Fix some clazy warnings, make global QString objects in unit tests
static (so that the compiler doesn't create symbols for them, it doesn't
matter in a unit test but KF code acts as a reference sometimes that
others copy from, tip from dfaure)
- Add TODO note about changing kconfig_compiler to generate C++ code that
  uses multi-arg QString::arg(QString, QString, QString) instead of
  QString::arg().arg()
- More const; more QString::at() instead of operator[] where appropriate
- Use a ternary where it makes the code more readable (and uses less lines :))

NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use a global var for a QString that's used many times
- Break up long-all-cap variable names, it makes it harder to read (and
  I've fixed one typo in one of those ALLCAPS)
- Fix some clazy warnings, make global QString objects in unit tests
static (so that the compiler doesn't create symbols for them, it doesn't
matter in a unit test but KF code acts as a reference sometimes that
others copy from, tip from dfaure)
- Add TODO note about changing kconfig_compiler to generate C++ code that
  uses multi-arg QString::arg(QString, QString, QString) instead of
  QString::arg().arg()
- More const; more QString::at() instead of operator[] where appropriate
- Use a ternary where it makes the code more readable (and uses less lines :))

NO_CHANGELOG
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor window geometry save/restore code to be less fragile</title>
<updated>2021-02-03T02:39:34+00:00</updated>
<author>
<name>Nate Graham</name>
<email>nate@kde.org</email>
</author>
<published>2021-02-02T17:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=7766259eb5287d11d2ef60b50da9255b1307df3c'/>
<id>7766259eb5287d11d2ef60b50da9255b1307df3c</id>
<content type='text'>
This commit refactors the code a bit to define the window geometry
strings in one place and uses a common method to read and write them.

This makes future changes much less fragile and fixes a pre-existing bug
that had gone un-noticed which caused window positions to not be saved
on a per-resolution basis in addition to a per-display-arrangement
basis. Old strings are used if available to that people don't lose their
saved position data the first time they upgrade to KF 5.79.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit refactors the code a bit to define the window geometry
strings in one place and uses a common method to read and write them.

This makes future changes much less fragile and fixes a pre-existing bug
that had gone un-noticed which caused window positions to not be saved
on a per-resolution basis in addition to a per-display-arrangement
basis. Old strings are used if available to that people don't lose their
saved position data the first time they upgrade to KF 5.79.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix restoring window size when closed while maximized</title>
<updated>2021-02-02T14:40:49+00:00</updated>
<author>
<name>Nate Graham</name>
<email>nate@kde.org</email>
</author>
<published>2021-02-01T20:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=b57c7ad9acf45928a6debefcd432cc50432fefdb'/>
<id>b57c7ad9acf45928a6debefcd432cc50432fefdb</id>
<content type='text'>
The maximization string was being saved to the config file including
the connected screens, but the code to read it was not, and was also
looking for the old incorrect format. This could have resulted in old
config values being used forever, and the window always being opened
in a maximized state.

BUG: 430521
FIXED-IN: 5.79
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The maximization string was being saved to the config file including
the connected screens, but the code to read it was not, and was also
looking for the old incorrect format. This could have resulted in old
config values being used forever, and the window always being opened
in a maximized state.

BUG: 430521
FIXED-IN: 5.79
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace KF5_VERSION with KF_VERSION</title>
<updated>2021-01-29T21:23:01+00:00</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2021-01-29T21:23:01+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=1605a2b5cf459cf72b960e32702f5a32ad2cc711'/>
<id>1605a2b5cf459cf72b960e32702f5a32ad2cc711</id>
<content type='text'>
Frameworks will be Frameworks 6 at some point and there is no good reason to have the major version in the variable name.

Given this is purely internal we can to this now, making it a bit more future-proof

GIT_SILENT

NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Frameworks will be Frameworks 6 at some point and there is no good reason to have the major version in the variable name.

Given this is purely internal we can to this now, making it a bit more future-proof

GIT_SILENT

NO_CHANGELOG
</pre>
</div>
</content>
</entry>
<entry>
<title>QString::split(QChar, Qt::SplitBehavior, ...) is already in Qt 5.14</title>
<updated>2021-01-14T18:05:03+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2021-01-14T18:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/kconfig.git/commit/?id=6aa8ad50cec0ac1a0e798d2f141f18cff35d8009'/>
<id>6aa8ad50cec0ac1a0e798d2f141f18cff35d8009</id>
<content type='text'>
NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NO_CHANGELOG
</pre>
</div>
</content>
</entry>
</feed>
