<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kconfig.git/src/core, branch v5.81.0</title>
<subtitle>hurd kconfig.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/'/>
<entry>
<title>Minor code optimisation</title>
<updated>2021-03-05T23:35:08+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-22T22:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=9d87348260316af729892c58bc29f159a173abf1'/>
<id>9d87348260316af729892c58bc29f159a173abf1</id>
<content type='text'>
- Use more range-for loops where appropriate
- Use auto instead of the usually-long iterator type names
- Use cbegin/cend(), to match the std:: containers, less confusion
- Use qDeleteAll instead of a for loop
- Make a QRE with a long-ish pattern static

NO_CHANGELOG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use more range-for loops where appropriate
- Use auto instead of the usually-long iterator type names
- Use cbegin/cend(), to match the std:: containers, less confusion
- Use qDeleteAll instead of a for loop
- Make a QRE with a long-ish pattern static

NO_CHANGELOG
</pre>
</div>
</content>
</entry>
<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://netuse.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>Make QByteArray -&gt; char* conversion explicit</title>
<updated>2021-02-28T20:44:33+00:00</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2021-01-31T17:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=63c26290d25bc8ace158de94bcb764c764c476a9'/>
<id>63c26290d25bc8ace158de94bcb764c764c476a9</id>
<content type='text'>
The implicit conversion fails in Qt6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The implicit conversion fails in Qt6
</pre>
</div>
</content>
</entry>
<entry>
<title>Use KEntryMapIterator/KEntryMapConstIterator typedef's everywhere</title>
<updated>2021-02-24T05:38:32+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-23T11:25:26+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=505909e5d6c5a5b44a4972f1aee8156da6d61c79'/>
<id>505909e5d6c5a5b44a4972f1aee8156da6d61c79</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 KEntryMap::constFindEntry() method</title>
<updated>2021-02-24T05:38:32+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-23T11:08:15+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=cae1e9b6d2ec957f8bc4643b898308a404d00a5f'/>
<id>cae1e9b6d2ec957f8bc4643b898308a404d00a5f</id>
<content type='text'>
- This has the same logic as QMap::constFind(); less detaching and now we
can use auto keyword when creating iterators and always get a const_iterator
even when calling constFindEntry() on a non-const map.

- Use QCOMPARE() where appropriate in the unit tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- This has the same logic as QMap::constFind(); less detaching and now we
can use auto keyword when creating iterators and always get a const_iterator
even when calling constFindEntry() on a non-const map.

- Use QCOMPARE() where appropriate in the unit tests.
</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://netuse.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://netuse.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://netuse.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>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://netuse.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>Preincerment/predecrement operator where the post ones aren't needed</title>
<updated>2021-02-06T14:28:57+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-02-01T09:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/kconfig.git/commit/?id=2ac45198cf101f094cf8d94f3a546a57624e59f5'/>
<id>2ac45198cf101f094cf8d94f3a546a57624e59f5</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>
