aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/editor/ScriptEditorImplementation.cpp
Commit message (Expand)AuthorAgeFilesLines
* More qt6 porting (#2622)•••* 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 fixGravatar ctrlaltca2024-03-241-0/+5
* 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)•••* 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 typoGravatar ctrlaltca2024-02-081-0/+5
* Make shortcuts compatible with qt6; remove unused KviShortcut constructor sin...Gravatar Fabio Bas2023-10-181-1/+1
* Port from QRegExp (unavailable on qt6) to KviRegExp, based on QRegularExpression•••Method str_kvs_fnc_split() had to be replaced with the original version, since the newer one relied on Qt5's QStringRef Gravatar Fabio Bas2023-10-181-11/+11
* Mass rename of margin -> contentsMarginsGravatar Fabio Bas2023-10-181-1/+1
* Port to (and require) Qt 5.15. Drop KDE4 support, fix KDE5 (#2541)•••* Port to (and require) Qt 5.15. Drop KDE4 support, implement KDE5 support where needed. --------- Co-authored-by: Fabio Bas <fabio.bas@officineinformatiche.net>Gravatar ctrlaltca2023-07-081-1/+1
* editor: Fix crash when editing empty network listGravatar Matt2023-06-161-0/+4
* QString::null is deprecated (#2526)Gravatar nmariusp2022-06-291-3/+3
* Improve the script tester a little bit (#2282)•••* 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. Gravatar wodim2017-09-031-9/+10
* 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-131-21/+10
* Row/Col: Rename row to line and dont use 0 base for first line•••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 Gravatar un1versal2016-07-191-3/+3
* consistency fixes: few cosmetic string fixesGravatar un1versal2016-07-061-2/+2
* ScriptEditorImplementation: insert italic ctrl char in KVS editor••• when Ctrl+I is pressed. Fixes #2010 Gravatar un1versal2016-06-171-0/+3
* 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-301-7/+7
* Apply clang-formatGravatar Alexey Sokolov2016-04-291-248/+261
* QMessageBox/setWindowTitle: fix headers titles: capitalization, syntax + try ...•••+ add window title to find and replace dialog Gravatar un1versal2016-02-271-6/+7
* fix arghGravatar un1versal2015-12-281-1/+1
* various files: typos/consistency and capitalization see notes below.•••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 Gravatar un1versal2015-12-191-4/+4
* ScriptEditorImplementation: capitalization fixesGravatar un1versal2015-12-051-2/+2
* copyright headers: fix broken boilerplate wording linkss -> terms and opinion...Gravatar un1versal2015-11-281-1/+1
* Set Monaco/10 as the default font for the script editor on OS X.•••Part of #1704. Gravatar wodim2015-11-111-2/+7
* Clean up double semicolonsGravatar Matt Ullman2015-10-271-2/+2
* Apply the custom cursor width to the script editor also.•••I was expecting Qt to automatically apply Windows' cursor width to QTextEdit widgets by default. That is not the case. Gravatar wodim2015-10-061-0/+17
* File dialogs seem to always require a parent. Without it Qt5 enters in a kind...Gravatar Szymon Tomasz Stefanek2015-08-251-2/+2
* Dropped the KviTalPopupMenu layer, ported the involved code to QAction.•••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 Gravatar Fabio Bas2012-02-261-5/+5
* adds text to the wrench on the editor so users can find it... hopefully•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5935 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar wodim2011-08-201-1/+4
* killed some QString helpers. Pay attention to the localizations: format strin...•••updated translation files; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5328 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-01-101-6/+4
* reworked icon stuff•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5301 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-01-051-1/+1
* The big rename for modules. Still some details remaining.•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2011-01-011-0/+1137