aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/editor
Commit message (Collapse)AuthorAgeFilesLines
* More qt6 porting (#2622)Gravatar ctrlaltca2024-03-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Port QColor::setNamedColor to QColor::fromString * Port from QVariant::Type to QmetaType::Type * KviCoreActions: port from QAction::parentWidget to qobject_cast + QAction::parent * KviIrcView: port QString::fromUtf16 usage to the non-obsolete char16_t* overload * KviTopicWidget: port QMouseEvent to a non-obsolete overload * Port QMouseEvent from old pos(), x(), y(), to position() * Port obsolete QMessageBox usage to custom buttons * KviApplication: initialize the dbus notify message "replace ID" to 0 * KviIrcConnection: port deprecated QString::count() to QString::size() * KvsObject_*: port QColor::setNamedColor to QColor::fromString * KvsObject_widget: port QWidget::isTopLevel to QWidget::isWindow * KviMainWindow: use QKeyCombination instead of int for shortcuts * QHttp: avoid deprecated methods for QCryptographicHash * ScriptEditorWidget: use the new signature for QMenu::addAction() * KviInputEditor: Extract ACCEL_KEY from header and avoid warning * KviStringConversion: convert old Qt5 font weights to new "css" font weights * syntax fix
* Fix 2609; while we're at it, make the contextual help work again (#2610)Gravatar ctrlaltca2024-02-271-13/+14
|
* Add support for sanitizers at compile time (and fix some issues) (#2599)Gravatar ctrlaltca2024-02-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Make shortcuts compatible with qt6; remove unused KviShortcut constructor ↵Gravatar Fabio Bas2023-10-181-1/+1
| | | | since it creates ambiguity with the previous
* Port from QRegExp (unavailable on qt6) to KviRegExp, based on QRegularExpressionGravatar Fabio Bas2023-10-182-14/+15
| | | | Method str_kvs_fnc_split() had to be replaced with the original version, since the newer one relied on Qt5's QStringRef
* Mass rename of margin -> contentsMarginsGravatar Fabio Bas2023-10-181-1/+1
|
* Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)Gravatar ctrlaltca2023-07-081-1/+1
| | | | | | * Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed. --------- Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>
* editor: Fix crash when editing empty network listGravatar Matt2023-06-161-0/+4
|
* QString::null is deprecated (#2526)Gravatar nmariusp2022-06-291-3/+3
|
* Convert 0s and NULLs to nullptrGravatar IceN9ne2018-12-031-1/+1
|
* Improve the script tester a little bit (#2282)Gravatar wodim2017-09-032-9/+11
| | | | | | | * Fix the code editor not being focused by default in the script tester dialog, add a "find" button, and fix the colour of the find lineedit. * Add a dedicated ircview for the code tester.
* push and pull po{t}s, typo fixesGravatar Dessa2017-05-241-1/+1
|
* ScriptEditor: Remove includeGravatar staticfox2016-08-131-1/+0
|
* ScriptEditor: Refactor a bitGravatar staticfox2016-08-133-68/+45
|
* Row/Col: Rename row to line and dont use 0 base for first lineGravatar un1versal2016-07-191-3/+3
| | | | | without this patch when theres a KVS error you are pointed to a specific line x near char y but when you open an editor the error is in fact on the previous line
* consistency fixes: few cosmetic string fixesGravatar un1versal2016-07-061-2/+2
|
* ScriptEditorImplementation: insert italic ctrl char in KVS editorGravatar un1versal2016-06-171-0/+3
| | | | | when Ctrl+I is pressed. Fixes #2010
* separators and copyright headers cleanupsGravatar un1versal2016-06-141-1/+0
| | | | | | + add copyright boilerplate to KviDebugContext.cpp probably more source files exist with no copyright boilerplate. this was a by chance find.
* ScriptEditorImplementation: add dialog minimum widthGravatar un1versal2016-05-121-5/+4
|
* cleanup: remove more ancient commented code p3Gravatar un1versal2016-05-081-89/+0
|
* Apply clang-tidy: modernize-use-defaultGravatar Alexey Sokolov2016-04-301-4/+2
|
* Apply clang-tidy: modernize-use-nullptrGravatar Alexey Sokolov2016-04-302-11/+11
|
* Apply clang-formatGravatar Alexey Sokolov2016-04-293-283/+306
|
* QMessageBox/setWindowTitle: fix headers titles: capitalization, syntax + try ↵Gravatar un1versal2016-02-271-6/+7
| | | | | | to improve entries + add window title to find and replace dialog
* fix arghGravatar un1versal2015-12-281-1/+1
|
* various files: typos/consistency and capitalization see notes below.Gravatar un1versal2015-12-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://techbase.kde.org/Projects/Usability/HIG/Capitalization This was just done last minute over some notes I had made during earlier similar fixes. * dont capitalize prepositions/conjunctions with less than 5 letters + fix wrong plural. * freenode is all lowercase instance only. * tooltips are not Camel Case capitalization style either. * some centered text on a dialog when all the etxt is left aligned looks off, tootips we can give a pass to. * Tree items are Camel Case * Typos in Unknow channel modes * more tooltips in the Channel Mode/Ban Masks/Invite but flawed design on these The tooltips text doubles up as title one isnt capitalized and the other is... So now none are in this area only since unlike toolbars thers no test display here and its passable. Alternative is to fix these dialogs and toolbars and tbh I cant do it. * cannot vs can't : these are consistency fixes for strings and debug messages only. * about dialog group titles "Runtime Info" "Build Info" are Camel Cased as per capitalization guidelines, but label are like all other labels. s spaces tyyt
* ScriptEditorImplementation: capitalization fixesGravatar un1versal2015-12-051-2/+2
|
* copyright headers: fix broken boilerplate wording linkss -> terms and ↵Gravatar un1versal2015-11-283-3/+3
| | | | opinion -> option
* Set Monaco/10 as the default font for the script editor on OS X.Gravatar wodim2015-11-111-2/+7
| | | | Part of #1704.
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-281-1/+1
|
* Clean up double semicolonsGravatar Matt Ullman2015-10-272-3/+3
|
* Apply the custom cursor width to the script editor also.Gravatar wodim2015-10-061-0/+17
| | | | I was expecting Qt to automatically apply Windows' cursor width to QTextEdit widgets by default. That is not the case.
* File dialogs seem to always require a parent. Without it Qt5 enters in a ↵Gravatar Szymon Tomasz Stefanek2015-08-251-2/+2
| | | | kind of modal loop that prevents user from interacting with the whole application.
* convert cmake files to lowercase statements prehistoric cmake versions ↵Gravatar Robert Förster2012-10-041-3/+3
| | | | | | required uppercase, but lowercase is now preferred so change it (yeah feel free to hate me for this commit ) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6267 17fca916-40b9-46aa-a4ea-0a15b648b75c
* qt5 support: cmake build system updateGravatar Fabio Bas2012-09-281-7/+0
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6257 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fix compilation, thanks minde for noticing (CtrlAltCa <3)Gravatar wodim2012-02-271-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6073 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Dropped the KviTalPopupMenu layer, ported the involved code to QAction.Gravatar Fabio Bas2012-02-262-6/+6
| | | | | | | | This fixes most of the random crashes on osx, and is the base for a next change in the menubar. Addiotional fix: "disconnect" menu entry was broken since the 3.x era git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6072 17fca916-40b9-46aa-a4ea-0a15b648b75c
* admin: obliterate convert files and svn_fixsvnignore.sh, people should use ↵Gravatar Robert Förster2012-01-141-10/+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
* adds text to the wrench on the editor so users can find it... hopefullyGravatar wodim2011-08-201-1/+4
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5935 17fca916-40b9-46aa-a4ea-0a15b648b75c
* killed some QString helpers. Pay attention to the localizations: format ↵Gravatar Elvio Basello2011-01-101-6/+4
| | | | | | | | | strings have changed!; updated translation files; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5328 17fca916-40b9-46aa-a4ea-0a15b648b75c
* renamed a global pointer;Gravatar Elvio Basello2011-01-061-1/+1
| | | | | | | more work on KDE notifier; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5303 17fca916-40b9-46aa-a4ea-0a15b648b75c
* reworked icon stuffGravatar Elvio Basello2011-01-051-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5301 17fca916-40b9-46aa-a4ea-0a15b648b75c
* The big rename for modules. Still some details remaining.Gravatar Szymon Tomasz Stefanek2011-01-014-100/+100
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renames, fix the spelling of KVIrc etc...Gravatar Szymon Tomasz Stefanek2010-12-291-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5254 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renaming and cleanupGravatar Szymon Tomasz Stefanek2010-12-273-17/+17
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5237 17fca916-40b9-46aa-a4ea-0a15b648b75c
* More renaming & cleanup.Gravatar Szymon Tomasz Stefanek2010-12-262-4/+4
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5233 17fca916-40b9-46aa-a4ea-0a15b648b75c
* Beginning of 'the big rename & cleanup'. File names should match class ↵Gravatar Szymon Tomasz Stefanek2010-12-253-12/+12
| | | | | | 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
* fixed some exceptions in syntax highlighterGravatar Fabio Bas2010-11-221-2/+5
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5167 17fca916-40b9-46aa-a4ea-0a15b648b75c
* fix for #992Gravatar Fabio Bas2010-10-251-45/+78
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5107 17fca916-40b9-46aa-a4ea-0a15b648b75c
* merged egns's patch to enable painless msvc compilation, thank you!Gravatar Fabio Bas2010-10-191-5/+5
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5091 17fca916-40b9-46aa-a4ea-0a15b648b75c