summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash after sending image caused by the recent refactorNicolas Werner2021-12-301-4/+4
|
* Reserve size of some containers we are fillingNicolas Werner2021-12-291-4/+8
|
* Reduce allocations using QStringLiteralNicolas Werner2021-12-291-57/+57
|
* Fix more warnings and remove dead codeNicolas Werner2021-12-281-1/+2
|
* Some qt6 prepNicolas Werner2021-12-281-4/+4
|
* Add recently used reactionsNicolas Werner2021-12-131-0/+8
| | | | fixes #435
* InputBar: run clang-formatMarcus Hoffmann2021-12-031-20/+22
|
* InputBar: use X.empty() instead of !X.size()Marcus Hoffmann2021-12-031-2/+2
| | | | | | Suggested-by: Clang-Tidy: The 'empty' method should be used to check for emptiness instead of 'size'
* InputBar: use auto typeMarcus Hoffmann2021-12-031-1/+1
| | | | | | Suggested-by: Clang-Tidy: Use auto when initializing with new to avoid duplicating the type name
* InputBar: use multi-arg string replacementMarcus Hoffmann2021-12-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This could actually change the behaviour here (could, because I don't know if we can hit this special case) but this should hopefully the correct way of doing this. There's some detailed explanation of the difference here: https://doc.qt.io/qt-5/qstring.html#arg-14 > This is the same as str.arg(a1).arg(a2), except that the strings > a1 and a2 are replaced in one pass. This can make a difference if > a1 contains e.g. %1: ``` QString str; str = "%1 %2"; str.arg("%1f", "Hello"); // returns "%1f Hello" str.arg("%1f").arg("Hello"); // returns "Hellof %2" ``` Suggested-by: Clazy: Use multi-arg instead
* InputBar: use character argument instead of stringMarcus Hoffmann2021-12-031-1/+1
| | | | | | | | Suggested-by: Clang-Tidy: 'find' called with a string literal consisting of a single character; consider using the more effective overload accepting a character
* InputBar: apply clang-tidy const reference suggestionsMarcus Hoffmann2021-12-031-10/+10
| | | | | | | All suggested by: Clang-Tidy: The parameter 'X' is copied for each invocation but only used as a const reference; consider making it a const reference
* InputBar: use QFileInfo::exists()Marcus Hoffmann2021-12-031-1/+1
| | | | | | Suggested by: Clazy: Use the static QFileInfo::exists() instead. It's documented to be faster.
* InputBar: remove unused importsMarcus Hoffmann2021-12-031-4/+0
|
* Mark rooms as direct chatsNicolas Werner2021-11-211-0/+5
| | | | | Either by accepting an invite or manually using /converttodm and revert with /converttoroom.
* Clear @room warning after sending messageNicolas Werner2021-11-021-0/+1
| | | | fixes #751
* Move voip and encryption stuff into their own directoriesNicolas Werner2021-10-171-1/+0
|
* Use the same leave room dialog everywhereLoren Burkholder2021-10-111-1/+1
| | | | This ports the leave room dialog to QML, everywhere. There are now no differences between the various leave dialogs.
* Support pasting image/svg+xml format straight from supporting applicationsThulinma2021-09-281-2/+13
|
* Fixes for pasting images, especially under windows where the image mime type ↵Thulinma2021-09-281-8/+12
| | | | detection doesn't work as expected
* Change indentation to 4 spacesNicolas Werner2021-09-181-619/+605
|
* Improvements for linking to eventsThulinma2021-09-161-0/+17
| | | | | | - Fixes scrolling to an event not being reliable - Adds new /goto command that can open URLs, go to events, or go to message indexes. - Refactored ChatPage::handleMatrixUri() to contain the handling originally in Nheko::openLink(), and makes it return a boolean based on whether the URL was handled internally or not.
* Warn the user before they ping the whole roomNicolas Werner2021-09-021-0/+33
|
* Add workaround for stickers not showing on iOSNicolas Werner2021-08-181-0/+7
| | | | see: https://github.com/vector-im/element-ios/issues/2353
* Rename image pack modelNicolas Werner2021-07-221-2/+2
|
* Fix replying and editing stickersNicolas Werner2021-07-191-0/+9
|
* Basic sticker supportNicolas Werner2021-07-191-0/+17
|
* Fix too many newlines in reply fallbackNicolas Werner2021-06-301-1/+1
|
* Delete old room listNicolas Werner2021-05-281-0/+1
|
* Move currentRoom/timeline handling to roomlistNicolas Werner2021-05-281-2/+33
|
* add notice and rainbownotice commandsLordMZTE2021-04-111-0/+33
|
* Fix rainbow replies and add rainbowmeNicolas Werner2021-04-011-6/+8
|
* Merge pull request #535 from LordMZTE/feature/rainbowDeepBlueV7.X2021-03-281-3/+6
|\ | | | | add /rainbow command
| * run formatterLordMZTE2021-03-281-1/+1
| |
| * Update src/timeline/InputBar.cppDeepBlueV7.X2021-03-281-1/+1
| |
| * Use QRegularExpressionDeepBlueV7.X2021-03-281-1/+1
| |
| * fix command parsingLordMZTE2021-03-281-3/+2
| |
| * commands now also work with newline after themLordMZTE2021-03-281-0/+2
| |
| * implement requested changesLordMZTE2021-03-281-1/+1
| |
| * add /rainbow commandLordMZTE2021-03-261-2/+4
| |
* | Add part/leave commandLoren Burkholder2021-03-251-0/+2
|/
* Switch readImage to take a reference instead of a pointerLoren Burkholder2021-03-171-1/+1
| | | | There was nowhere that an actual pointer was passed, and I wanted to do references for something else.
* make lintLoren Burkholder2021-03-171-2/+2
|
* Parse markdown overrides during repliesLoren Burkholder2021-03-171-1/+3
| | | | I apparently missed this when I originally added the overrides.
* Don't send markdown links in bodyNicolas Werner2021-03-151-0/+6
| | | | fixes #422
* Merge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into ↵Nicolas Werner2021-03-131-22/+0
|\ | | | | | | Jedi18-quickswitcher_qml
| * change allowed mistakes, fix minor style issues, remove old completer ↵Jedi182021-03-071-22/+0
| | | | | | | | function from inputbar
* | Update license headersNicolas Werner2021-03-051-0/+4
| |
* | Fix text input restoring after editsNicolas Werner2021-02-251-19/+22
|/
* added bool to choose between showing only rooms with aliases and all of the ↵Jedi182021-02-171-2/+2
| | | | rooms
* add rooms model, add room delegate for completerJedi182021-02-161-0/+6
|
* Implement message editingNicolas Werner2021-02-091-1/+39
| | | | | | The UI still looks ugly, but I have no good idea atm. fixes #134
* Switch to new relations formatNicolas Werner2021-02-091-6/+12
|
* Remove useless parenthesesDeepBlueV7.X2021-01-231-2/+2
|
* Clarify how markdown is determinedLoren Burkholder2021-01-201-1/+1
|
* Make lintLoren Burkholder2021-01-201-3/+5
|
* Add commands to override Markdown settingLoren Burkholder2021-01-201-2/+6
|
* Port PlaceCall dialog to Qmltrilene2021-01-071-46/+0
|
* Make call invites less intrusivetrilene2021-01-071-1/+3
|
* Move call-related properties to CallManagertrilene2021-01-071-1/+1
|
* React with arbitrary strings via /reactNicolas Werner2020-12-131-0/+6
|
* Fix variable shadowingNicolas Werner2020-11-261-5/+5
|
* Implement Qml drag and dropNicolas Werner2020-11-251-0/+8
|
* Fix mimetype of media messagesNicolas Werner2020-11-251-0/+1
|
* Qml emoji completerNicolas Werner2020-11-251-0/+6
|
* Working User completerNicolas Werner2020-11-251-0/+8
|
* WIP Qml completerNicolas Werner2020-11-251-0/+6
|
* Reimplement message historyNicolas Werner2020-11-251-14/+52
|
* Send typing updates from QMLNicolas Werner2020-11-251-0/+41
|
* Move calls to new input barNicolas Werner2020-11-251-0/+45
|
* Add file uploadingNicolas Werner2020-11-251-1/+316
|
* Basic text input in qmlNicolas Werner2020-11-251-4/+156
|
* Pasteable textinputNicolas Werner2020-11-251-0/+46