aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvilib/system
Commit message (Collapse)AuthorAgeFilesLines
* Add support for sanitizers at compile time (and fix some issues) (#2599)Gravatar ctrlaltca2024-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add an option to enable sanitizer at compile time * Fix singleton classes initialization * Revert r5378 - issue #1068 - to avoid having duplicate symbols exported by modules, that may cause a crash * Fix cast in KviTalIconAndRichTextItemDelegate (used by both QListWidget and QTreeWidget) * ScriptEditor: don't leak a timer for every script editor widget * Add support for memory and thread sanitizers * Fix sanitizer * KviSignalhandler: don't leak the whole object * Remove debug warning when a single message is longer than 512 bytes. As per https://ircv3.net/specs/extensions/message-tags.html#size-limit , message tags can prepend a whooping 8kbs of "tags" (header data) to each message. * Avoid initialization loop between KviLocale and KviMessageCatalogue. Assume all .po files are UTF8. This is already a requirement since about a decade. * KviInputEditor: don't leak the undo/redo stacks KviInputEditor: don't leak the undo/redo stacks - rework using smart pointers * Fix typo
* Convert 0s and NULLs to nullptrGravatar IceN9ne2018-12-033-5/+5
|
* Remove C-style typedef structsGravatar IceN9ne2018-11-281-2/+2
|
* Use override where possible and remove unnecessary usages of the virtual ↵Gravatar IceN9ne2018-11-281-3/+3
| | | | keyword.
* Apply all modernize-* fixes from clang-tidy except for modernize-use-autoGravatar Alexey Sokolov2018-11-142-6/+4
|
* Fix uninitialized variable accessGravatar Szymon Tomasz Stefanek2017-12-281-0/+1
|
* gettimeofday(): Remove timezone argumentGravatar staticfox2017-09-272-6/+6
| | | | | | | 1) Due to timezone and Daylight Savings, it has been abadonded and deprecated 2) It failed to compile under msvc2017 for whatever reason 3) We've never used it anyway
* Make Windows code Unicode-aware (#2219)Gravatar wodim2017-05-242-36/+45
|
* KviSignalHandler: Be explicit when ignoring return values of certain functionsGravatar IceN9ne2017-02-031-2/+2
|
* Cleanup included filesGravatar IceN9ne2016-10-284-2/+5
|
* Shut down cleanly on SIGTERM and SIGINTGravatar Vladimir Panteleev2016-07-282-0/+170
| | | | | | | | | | | | | | | | | SIGTERM is the standard way on POSIX for the OS to tell an application to close. It can be sent when the computer is shutting down or the user is logging off, as well as by the user, directly, or indirectly (e.g. by using a task manager). SIGINT is sent when the user presses Ctrl+C in a terminal window in which the program is running. In both of these cases, KVIrc should shut down cleanly, as if the user closed the main window. This implies flushing logs. By implementing SIGTERM and SIGINT handling on POSIX, this patch fixes the log files not being flushed on receiving such a signal, thus causing the last few lines to be lost.
* separators and copyright headers cleanupsGravatar un1versal2016-06-143-3/+0
| | | | | | + add copyright boilerplate to KviDebugContext.cpp probably more source files exist with no copyright boilerplate. this was a by chance find.
* cleanups: remove more dead code odd spacesGravatar un1versal2016-05-071-16/+16
|
* Apply clang-tidy: modernize-use-nullptrGravatar Alexey Sokolov2016-04-303-14/+14
|
* Apply clang-formatGravatar Alexey Sokolov2016-04-298-374/+411
|
* run codespell to fix some typos, run mkabouttext.pl, fix typos reported by ↵Gravatar Dessa2016-01-313-6/+6
| | | | Arfrever
* copyright headers: fix broken boilerplate wording linkss -> terms and ↵Gravatar un1versal2015-11-288-8/+8
| | | | opinion -> option
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-288-8/+8
|
* Kvi(Various).cpp Capitalization punctuation, typos fixesGravatar un1versal2015-10-221-6/+6
|
* Get rid of kvi_va_start_by_reference.Gravatar Alexey Sokolov2015-08-151-29/+0
| | | | | | | | | If to use va_start with references, behavior is undefined. So, KVIrc used asm magic instead, which relied on how compiler generates code. As a result, KVIrc has been crashing on Windows when compiled for x86 using msvc2013. Instead, pass the last parameter by value, and use standard va_start.
* - massive trailing whitespace cleanup (yes, one of these "you can hate me ↵Gravatar Robert Förster2014-11-212-10/+10
| | | | | | | | | for that" commits) - apply patch by d00p: show the correct protocol version instead of just "SSLv3/TLSv1", thanks! - fix compilation on qt 5.4 on windows git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6398 17fca916-40b9-46aa-a4ea-0a15b648b75c
* - some fixing for cmake 3Gravatar Robert Förster2014-02-272-3/+1
| | | | | | | | - compile with WIN32_LEAN_AND_MEAN - fix compilation with qt5 on windows, thanks to d00p for the transparency fix - some work on windows resource files (still in progress) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6370 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Compile and run with Qt5.0. Also add a couple of KVS functions for byte ↵Gravatar Szymon Tomasz Stefanek2012-12-221-0/+124
| | | | | | order conversion. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6297 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fix a warning using clang; fix a wrong cmake variable used in fixup_bundleGravatar Fabio Bas2012-05-071-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6164 17fca916-40b9-46aa-a4ea-0a15b648b75c
* admin: obliterate convert files and svn_fixsvnignore.sh, people should use ↵Gravatar Robert Förster2012-01-141-20/+0
| | | | | | | | proper SVN Props instead sprinkle around some svn:ignore, svn:eol-style and svn:mime-type stuff, also remove mime-type property which does not exist, it should be svn:mime-type instead git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6052 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Start making sense out of KviLocale: split into separate files inside a new ↵Gravatar Szymon Tomasz Stefanek2011-03-232-1304/+0
| | | | | | subdirectory. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5672 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Load translation catalogues 'on-the-fly' from the default locale directoryGravatar Szymon Tomasz Stefanek2011-03-232-37/+57
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5671 17fca916-40b9-46aa-a4ea-0a15b648b75c
* moed kvirc_force_locale from Qdir::home() to local configuration dir, so ↵Gravatar Fabio Bas2011-02-102-3/+4
| | | | | | that it affects only a single installation (#1091) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5462 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fix for vc++/kvilocaleGravatar Fabio Bas2011-01-142-18/+12
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5357 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fixed format stringsGravatar Elvio Basello2011-01-111-4/+4
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5339 17fca916-40b9-46aa-a4ea-0a15b648b75c
* more work killing QString helpersGravatar Elvio Basello2011-01-102-18/+17
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5336 17fca916-40b9-46aa-a4ea-0a15b648b75c
* killed some QString helpers. Pay attention to the localizations: format ↵Gravatar Elvio Basello2011-01-102-23/+26
| | | | | | | | | strings have changed!; updated translation files; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5328 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Possibly fix a compilation problem under windowsGravatar Szymon Tomasz Stefanek2011-01-021-2/+2
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5287 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Fix a compilation error under windowsGravatar Szymon Tomasz Stefanek2011-01-011-1/+5
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5285 17fca916-40b9-46aa-a4ea-0a15b648b75c
* probable compilation fix for win32Gravatar Fabio Bas2011-01-011-0/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5282 17fca916-40b9-46aa-a4ea-0a15b648b75c
* moved around some header hopefully minimizing recompilation times on small ↵Gravatar Fabio Bas2010-12-315-14/+12
| | | | | | changes git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5280 17fca916-40b9-46aa-a4ea-0a15b648b75c
* reworder KviError stuffGravatar Elvio Basello2010-12-301-2/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5266 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renames, fix the spelling of KVIrc etc...Gravatar Szymon Tomasz Stefanek2010-12-2910-10/+10
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5254 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Get rid of kvi_hstrEqualCIN file.Gravatar Szymon Tomasz Stefanek2010-12-281-3/+0
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5246 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renaming and cleanupGravatar Szymon Tomasz Stefanek2010-12-271-3/+3
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5237 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Yet more renaming and cleanupGravatar Szymon Tomasz Stefanek2010-12-274-32/+83
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5236 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Kill system memmove, ix86 asm and kvi_memmove stuff: modern gcc coupled to ↵Gravatar Szymon Tomasz Stefanek2010-12-271-4/+4
| | | | | | glibc can do better these times. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5235 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Beginning of 'the big rename & cleanup'. File names should match class ↵Gravatar Szymon Tomasz Stefanek2010-12-2512-209/+221
| | | | | | names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations... git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Reworked the text encoding menu: items are now macrogrouped, and a new ↵Gravatar Fabio Bas2010-12-212-120/+169
| | | | | | "current" item will show the currently chosen encoding git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5216 17fca916-40b9-46aa-a4ea-0a15b648b75c
* merged egns's patch to enable painless msvc compilation, thank you!Gravatar Fabio Bas2010-10-191-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5091 17fca916-40b9-46aa-a4ea-0a15b648b75c
* applied typo fixes for the "file" and "config" modules (thank OmegaPhil)Gravatar Fabio Bas2010-08-316-19/+19
| | | | | | | | fixed fsf address in python/pythoncore modules fixed "space before comma" in documentation/coments/code regenerated translations git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4954 17fca916-40b9-46aa-a4ea-0a15b648b75c
* cleaned code: removed all instances of debugGravatar Elvio Basello2010-08-072-50/+50
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4805 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Fix #878Gravatar Szymon Tomasz Stefanek2010-08-041-63/+70
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4775 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Rewrite parts of the regchan module in order toGravatar Szymon Tomasz Stefanek2010-07-141-0/+9
| | | | | | | | | avoid the heavy usage of pointers. Add some new nice debug macros and tools. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4669 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More addon related tweaksGravatar Szymon Tomasz Stefanek2010-06-261-2/+2
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4522 17fca916-40b9-46aa-a4ea-0a15b648b75c