summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-09-22Use anonymous namespaces over "static" in C++David Robillard1-6/+10
2023-06-02Fix X11 in Gtk3David Robillard1-1/+1
2023-05-01Use consistent formatting for enumeratorsDavid Robillard1-3/+3
2023-05-01Replace strict option with new meson warning levelDavid Robillard1-6/+1
2023-02-02Fix Windows in Gtk wrapper buildDavid Robillard1-3/+3
2022-12-11Simplify conditionalDavid Robillard1-9/+6
2022-12-11Remove Gtk in Qt and Qt in Gtk wrappersDavid Robillard3-416/+0
2022-09-01Adopt REUSE machine-readable licensing standardDavid Robillard15-231/+36
2022-08-31Fix occasional segfault with X11 in Gtk3Alexandros Theodotou1-2/+11
This fixes an occasional segfault when idle_size_request() is called after the widget has been destroyed.
2022-07-17Use default member initializationDavid Robillard1-8/+4
2022-07-17Fix unused parameter warningDavid Robillard1-0/+1
2022-07-17Avoid snprintf when loading modulesDavid Robillard1-13/+19
Clang warned about out of bounds writes here on some platforms, though I think it's a false positive. In any case, it's hard to tell because this "calculate then snprintf and hope it fits" pattern is error-prone. Replace it with one that is more verbose, but also more explicit and regular with no room for misinterpretation.
2022-07-17Remove dead Qt4 support codeDavid Robillard1-25/+0
2022-07-17Remove unnecessary includesDavid Robillard2-2/+0
2022-05-30Fix MacOS buildDavid Robillard2-3/+3
I can't for the life of me figure out how to do this portably with C++ casts, since the native types are very different between platforms (pointer on MacOS, integer on X11). So, just give up and go back to C casts here.
2022-05-29Build Qt wrappers as C++11 which is now requiredDavid Robillard1-2/+2
2022-05-29Fix warnings on MacOSDavid Robillard2-7/+18
2021-01-11Suppress C++ warnings in C headerDavid Robillard1-0/+5
2021-01-11Use C++-style casts in C++ codeDavid Robillard3-31/+34
2021-01-11Suppress Gtk and Qt header warnings in codeDavid Robillard8-0/+102
2021-01-11Remote Qt4 supportDavid Robillard3-461/+0
2021-01-07Remove unused defineDavid Robillard1-3/+0
2021-01-02Use email address instead of website for attributionDavid Robillard17-17/+17
2021-01-01Remove the need for a generated configuration headerDavid Robillard4-4/+116
Since some of these values were not actually configurable anyway, the redundant code in the wscript has been removed since the values are equivalent to the fallbacks defined in C.
2021-01-01Reduce compile-time configurationDavid Robillard1-24/+15
This is not necessary since the appropriate module is always the same and is searched for at runtime. If it failes to load, an error message with the missing module's name in it will be logged, which is more informative than the previous situation.
2020-12-31Format all code with clang-formatDavid Robillard16-2208/+2243
2020-12-22Avoid "typedef" in C++David Robillard7-15/+15
2020-12-22Use "auto" to avoid redundancyDavid Robillard3-27/+28
2020-12-22Use "default"David Robillard1-3/+1
2020-12-22Use "nullptr" in more C++ codeDavid Robillard6-33/+33
2020-12-21Use "nullptr" in C++ codeDavid Robillard2-18/+18
2020-12-15Clean up special member functionsDavid Robillard1-0/+3
2020-12-15Avoid use of reserved identifiersDavid Robillard1-4/+4
2020-12-15Avoid checking for null before deletingDavid Robillard2-6/+2
2020-12-15Avoid use of default argumentsDavid Robillard3-8/+10
2020-12-15Clean up includesDavid Robillard4-11/+16
2020-09-27Add a less janky portability wrapper for dlopen() and friendsDavid Robillard6-34/+103
2020-09-27Don't use else after return or breakDavid Robillard1-27/+32
Normally I don't enable this once, since it's often silly, but here it does actually make things more readable.
2020-09-27Separate declarations and initialize all variablesDavid Robillard2-12/+16
2020-09-27Clean up includes and forward declarationsDavid Robillard15-93/+158
2020-07-17Fix Wunused-parameter warningsDavid Robillard6-18/+30
2020-07-17Fix Weffc++ warningDavid Robillard1-0/+3
2020-07-17Fix Wweak-vtables warningDavid Robillard1-0/+6
2020-07-17Fix implicit conversion warningsDavid Robillard4-11/+11
2020-07-17Remove useless castDavid Robillard1-1/+1
2020-04-26Implement resize for X11 in Qt5David Robillard1-0/+13
2020-04-26Implement size hints for X11 in Qt5David Robillard1-9/+67
2020-04-26Clean up includesDavid Robillard1-3/+2
2020-04-26Add missing override declarationsDavid Robillard1-3/+6
2020-04-26Use initial size as fallback base size for X11 in Gtk3David Robillard1-3/+17