summary refs log tree commit diff
path: root/src/TextInputWidget.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-31Make page scrolling half heightNicolas Werner1-2/+2
2020-01-30Add scroll page shortcutNicolas Werner1-0/+9
2020-01-30Add explicit size to reply close buttonNicolas Werner1-0/+2
2020-01-30Fix build after mtxclient rebase...Nicolas Werner1-1/+1
2020-01-30Enable ban and kick button in UserProfile (and try to fix centering)Nicolas Werner4-90/+97
2020-01-29Fix build with build system optimizations of mtxclientNicolas Werner3-8/+8
2020-01-28Change tooltip palette settings for QMLJoseph Donofry5-12/+27
2020-01-29Remove stale deps folderNicolas Werner11-468/+0
Follow up to the dependency and build system changes
2020-01-29Add command for invite,kick,ban and unbanNicolas Werner13-145/+877
2020-01-28Simplify reply popup logicNicolas Werner4-122/+95
2020-01-28Improve styling of reply popupNicolas Werner1-11/+2
2020-01-28Fix resize loop of images in reply popupNicolas Werner2-3/+5
2020-01-27Add initial QML Reply PopupJoseph Donofry5-3/+115
2020-01-27Fix newlines in plain text messages againNicolas Werner1-1/+1
2020-01-27fix typo in build command in READMENicolas Werner1-1/+1
2020-01-27Don't send useless formatted_bodiesNicolas Werner2-1/+10
2020-01-27Fix reply rendering without markdown in riotNicolas Werner2-12/+36
2020-01-27Allow sending messages as plain textNicolas Werner6-59/+88
2020-01-26Update readme with new build instructionsNicolas Werner1-48/+54
2020-01-26Polyfill fetchcontent_makeAvailable for cmake < 3.14Nicolas Werner1-0/+26
2020-01-26Link bundled cmark dynamically on Windows for nowNicolas Werner2-5/+6
2020-01-26Disable shared cmark bundled buildNicolas Werner1-1/+1
2020-01-26Disable olm testsNicolas Werner1-0/+1
2020-01-26Bump cmark version in fetch to fix linker issue on windowsNicolas Werner1-1/+1
2020-01-26Link ntdll needed for lmdb on windowsNicolas Werner1-0/+3
2020-01-26Use appveyor provided opensslNicolas Werner1-5/+10
2020-01-26Remove mingw from appveyorNicolas Werner1-2/+1
2020-01-26Use fetch content compatible cmark version as bundled depNicolas Werner1-1/+1
2020-01-26Don't specify hunter build targets on windows CINicolas Werner1-1/+1
2020-01-26Add missing thread includeNicolas Werner1-0/+1
2020-01-26Only use -Werror for our codeNicolas Werner1-315/+316
2020-01-26Fix misc ci errorsNicolas Werner4-5/+6
2020-01-26Set prefix path explicitly on osxNicolas Werner1-1/+2
2020-01-26Fix include of lmdb++ with hunterNicolas Werner2-0/+8
2020-01-26Port CI to hunterNicolas Werner4-73/+26
2020-01-26Use hunter for bundled dependenciesNicolas Werner6-137/+689
2020-01-24Update emoji to unicode 13.0Nicolas Werner5-1406/+9177
2020-01-24Remove translations from reply fallbackNicolas Werner10-225/+9
2020-01-23Surpress qt binding warning message until we can depend on qt5.14Nicolas Werner1-0/+8
2020-01-23Minor tweak to one instance of QSettings not necessarily using the same ↵Joseph Donofry1-1/+1
settings as everything else
2020-01-23Remove third party fonts from readmeNicolas Werner1-6/+0
Since they are already removed from the repo
2020-01-23Switch around dark theme colors again (after looking at some screenshots)Nicolas Werner1-3/+3
2020-01-23Translate member events to germanNicolas Werner9-92/+812
2020-01-23Show event type string in placeholderNicolas Werner3-1/+13
2020-01-23Remove loggin of encrypted message bodyNicolas Werner1-2/+0
2020-01-23Implement display of membership eventsNicolas Werner3-3/+108
2020-01-23Actually use the spdlog targetNicolas Werner1-1/+2
2020-01-23Fix blurry avatarsNicolas Werner1-3/+4
They accidentally used the same state key...
2020-01-21Increase emoji rangeNicolas Werner1-1/+1
2020-01-21PixelAlign timeline viewNicolas Werner1-0/+1
2020-01-21Remove useless loggingNicolas Werner1-3/+0
2020-01-21Fix room avatars in settingsNicolas Werner2-8/+5
2020-01-21Account for spacing when checking for bottom message for read statusNicolas Werner1-1/+1
2020-01-21Fix colors in typing display, when username contains emojiNicolas Werner4-5/+35
2020-01-21Improve emoji escapingNicolas Werner1-5/+15
2020-01-21Linkify links before sendingNicolas Werner3-13/+33
2020-01-19Remove use of deprecated enumNicolas Werner1-2/+1
2020-01-17Remove libs from windows release zipNicolas Werner1-2/+0
2020-01-17Update appveyor.ymlDeepBlueV7.X1-2/+2
2020-01-17Update appveyor.ymlDeepBlueV7.X1-2/+2
2020-01-17Update appveyor to vs2019 and qt5.14DeepBlueV7.X1-6/+6
2020-01-17Try to lower map sizeDeepBlueV7.X1-1/+1
Maybe this fixes the 1mb map size in my windows test environment?
2020-01-17Move typing display to qmlNicolas Werner18-506/+377
2020-01-16Remove embedded fontsNicolas Werner14-215/+0
2020-01-16Don't require Qt5.12 just for QByteArray::compareNicolas Werner1-2/+2
2020-01-16Fix depsNicolas Werner2-5/+5
2020-01-14Reduce memory usage and make room switching quickerNicolas Werner1-2/+0
May make scrolling more laggy or jumpy.
2020-01-14Try to match old theme betterNicolas Werner2-3/+5
2020-01-14Fix duplicate messages in timeline after sendingNicolas Werner1-0/+11
2020-01-14Reduce avatar cache sizeNicolas Werner1-2/+0
2020-01-14Escape blacklisted html tagsNicolas Werner3-15/+49
2020-01-13Fix replies in encrypted roomsNicolas Werner4-12/+24
The relation needs to be unencrypted...
2020-01-12Allow replying with an imageNicolas Werner7-120/+135
2020-01-11Fetch missing events for repliesNicolas Werner4-53/+105
2020-01-11Disable appveyor .deps cacheNicolas Werner1-1/+1
2020-01-11Implement fancy reply renderingNicolas Werner10-87/+159
This currently assumes the event, that is replied to, is already fetched. If it isn't, it will render an empty reply. In the future we should fetch replies before rendering them.
2020-01-06try to make appveyor happyNicolas Werner1-1/+1
2020-01-06Adapt play buttons to theme and remove accidental message bgNicolas Werner2-3/+4
2020-01-06Simplify read message logic with inverted timelineNicolas Werner2-47/+13
2020-01-06Use fetchMore for native lazy loading of item model dataNicolas Werner3-37/+48
2020-01-06invert timelineNicolas Werner3-21/+88
2020-01-04Upload windows nightlies to S3Joe1-9/+16
2019-12-27Move visitors out of TimelineModelNicolas Werner4-445/+570
2019-12-27Bumb mtxclient versionNicolas Werner1-2/+2
2019-12-23Fix transitive dependencies on iostreamNicolas Werner3-7/+9
2019-12-15Fix appveyor deps/cmakelist pathNicolas Werner1-1/+1
2019-12-15Actually include header that provides std::signal instead of signalNicolas Werner1-1/+1
2019-12-15Reduce Cache.h includes further via one forward declarationNicolas Werner9-4/+13
2019-12-15Reduce includes of MatrixClient.h, as it is the most expensive headerNicolas Werner3-8/+20
2019-12-15Reduce overhead of Cache.hNicolas Werner28-643/+1403
2019-12-14Add qml debugging optionNicolas Werner3-1/+10
2019-12-14Increase max cache size and remove const from lmdb constantsNicolas Werner1-5/+4
fixes compilation issues with last released lmdb++
2019-12-14Reduce some include of Cache.h since it needs 11s on averageNicolas Werner11-226/+275
2019-12-14Update READMENicolas Werner1-6/+6
[skip-ci]
2019-12-14Update to c++17Nicolas Werner17-284/+284
2019-12-13Clear appveyor cacheNicolas Werner1-1/+1
2019-12-13Fix position of invite button and elide long button textsNicolas Werner1-3/+7
2019-12-13Make invites always stick to the topNicolas Werner2-13/+8
This also removes an ugly hack, that was needed before.
2019-12-13Make images always fit the timelineNicolas Werner1-2/+7
2019-12-13Fix preview of sent encrypted imagesNicolas Werner1-10/+11
2019-12-13Bumb libsodium version, as 1.0.16 is not available anymoreNicolas Werner1-4/+4
2019-12-12Send encrypted files as generic mimetype and actually set urlNicolas Werner2-3/+6
2019-12-12cache .deps directory in appveyorNicolas Werner1-1/+3
2019-12-11try caching the .deps directoryNicolas Werner1-0/+4
2019-12-11Update translationsNicolas Werner9-9/+189
2019-12-10Show topic and name changes in timelineNicolas Werner4-1/+48
2019-12-08Simplify scroll logicNicolas Werner1-4/+0
2019-12-08Change scroll behaviour of timelineNicolas Werner3-5/+28
This requires Qt 5.9 (to calculate overshoot). The default scroll behaviour of list views has far too much inertia. This should make scrolling feel more like scrolling the other scroll areas of nheko.
2019-12-07Try to fix binding loop warningNicolas Werner1-3/+4
2019-12-06Restore linkification of messagesNicolas Werner1-2/+2
2019-12-06Update mtxclient to current 0.3.0-dev versionNicolas Werner1-2/+2
2019-12-05Update translationsNicolas Werner9-492/+375
2019-12-05Implement sending encrypted filesNicolas Werner6-212/+79
2019-12-03Implement decryption of imagesNicolas Werner6-9/+57
It is a bit of a hack, but it works...
2019-12-03lintNicolas Werner1-1/+0
2019-12-03Specify to not use boost static libs via command line in ciNicolas Werner1-1/+2
2019-12-03Add debugging to cmake version in ciNicolas Werner1-0/+3
2019-12-03Bump required boost and cmake version to match mtxclientNicolas Werner5-11/+12
2019-12-03Add encrypted file downloadNicolas Werner9-172/+210
2019-11-30Rename qml namespace from com.github.nheko to im.nhekoNicolas Werner8-10/+10
2019-11-30Remove commented out codeNicolas Werner1-1/+0
2019-11-23Show encryption enabled and use a non zero size for zero size videNicolas Werner6-6/+16
2019-11-23Wrap text in pre tagsNicolas Werner1-1/+1
2019-11-23Only mark messages as read, when room is activeNicolas Werner1-1/+2
2019-11-23LintNicolas Werner1-5/+3
2019-11-23Fix replies to encrypted eventsNicolas Werner1-1/+5
2019-11-23Fix windows buildNicolas Werner3-5/+7
No idea, why apply visitor doesn't work with temporaries?
2019-11-23Add loading spinner and restore message send queueNicolas Werner5-45/+123
2019-11-23Update translationsNicolas Werner10-1010/+1703
2019-11-23Show only messages in room listNicolas Werner1-7/+30
2019-11-23Remove old timelineNicolas Werner24-5397/+390
2019-11-23Use default macOS imageNicolas Werner1-1/+2
2019-11-23Fix links opening user dialog and in browserNicolas Werner1-2/+2
2019-11-23Fix infinite item instantiating loop by using height instead of contentHeightNicolas Werner1-2/+3
2019-11-23optionally use QQuickWidget and replace ColorOverlay -> colorImageProviderNicolas Werner12-149/+194
2019-11-23Make replies format nicerNicolas Werner4-16/+49
Also lays a bit of groundwork for better reply rendering
2019-11-23Enable link handlingNicolas Werner6-18/+41
2019-11-23Make user clickable and improve button cursor lookNicolas Werner6-39/+61
2019-11-23Improve avatar look and layoutingNicolas Werner5-9/+12
Thanks to red_sky for the feedback!
2019-11-23fixup bad room list translation commitNicolas Werner2-4/+0
2019-11-23Remove unused importNicolas Werner1-1/+0
2019-11-23Fix translation of roomlist message previewNicolas Werner3-67/+67
This also makes long messages unreadable, because we don't shorten long usernames anymore. We may eventually want to do that again, but it is hard with translations and we probably want to shorten the displayname more, as before this change the message was only ever as long as the timestamp, which is usually just 5 characters...
2019-11-23Actually fix updating roomlist on new messagesNicolas Werner3-29/+32
2019-11-23break height binding loopNicolas Werner1-1/+1
2019-11-23Show own messages in RoomListNicolas Werner1-1/+1
2019-11-23Redirect qt loggerNicolas Werner2-0/+42
2019-11-23Organize qml files a bitNicolas Werner13-37/+35
2019-11-23Remove unused Qt ModuleNicolas Werner1-1/+0
2019-11-23lintNicolas Werner2-7/+5
2019-11-23Incubate delegates asynchronouslyNicolas Werner3-10/+42
2019-11-23Small fixes to delegate chooser implementationNicolas Werner4-50/+10
2019-11-23Use a basic implementation of a DelegateChooser for compat with older QtNicolas Werner7-45/+299
The interface is taken from Qt/KDE, but the implementation is different, because the Qt implementation depends on some Qt internals.
2019-11-23Add native themeing to QML (where possible)Nicolas Werner5-23/+91
2019-11-23Fix section layout issues and pagination issuesNicolas Werner3-6/+4
Pagination could get stuck, if the messages request failed. Section height seemes to have been calculated to late, which would make some section overlap the next message in some cases. Fix that by doing the height calculation manually.
2019-11-23Load content if no scrollbar is neededNicolas Werner2-1/+10
2019-11-23Size images/videos by timeline widthNicolas Werner6-12/+46
2019-11-23Misc layout fixesNicolas Werner3-1/+7
2019-11-23Try out DelegateChooserNicolas Werner9-157/+189
requires Qt5.12+
2019-11-23fix: add missing quickcontrols2 depBenedikt Bongartz1-2/+2
2019-11-23Disable autoplayback againNicolas Werner2-1/+1
2019-11-23Use win lean and mean to fix WinSock include issueNicolas Werner1-0/+1
2019-11-23Fix linting issuesNicolas Werner2-2/+1
2019-11-23Try to fix windows Winsock.h compilation errorNicolas Werner1-1/+2
2019-11-23Add required graphicaleffects packageNicolas Werner1-0/+1
2019-11-23Lower requirement on QtQuick.Layouts versionNicolas Werner3-3/+3
2019-11-23Use QtQuick.Controls compatible with Qt 5.8Nicolas Werner6-6/+6
2019-11-23Try to package qml modulesNicolas Werner2-3/+2
2019-11-23Enable Sticker and Emote messagesNicolas Werner3-9/+14
2019-11-23Add basic video messagesNicolas Werner3-3/+15
Size is fixed for now, otherwise the Video output ends up somewhere...
2019-11-23Add progress bar to audio messagesNicolas Werner1-68/+110
2019-11-23Add simple audio message widgetNicolas Werner6-19/+180
2019-11-23File messages (qml)Nicolas Werner5-2/+84
2019-11-23Add basic read_event support (qml)Nicolas Werner2-5/+22
2019-11-23Update roomlist on new messagesNicolas Werner4-4/+32
2019-11-23Reenable redactionsNicolas Werner6-8/+26
2019-11-23Rename initialize to sync, since it does the same thingNicolas Werner3-5/+5
2019-11-23Restore saving of mediaNicolas Werner9-33/+174
2019-11-23Reenable ImageOverlayNicolas Werner3-1/+34
2019-11-23Add lock to encrypted messagesNicolas Werner5-0/+44
2019-11-23Remove noisy decrypted messageNicolas Werner1-2/+0
2019-11-23Reenable encrypted messagesNicolas Werner2-16/+342
2019-11-23Make avatar in timeline smallerNicolas Werner1-3/+5
2019-11-23Fix read indicatorNicolas Werner2-4/+15
2019-11-23Enable read receipts action and sync read receipts from cacheNicolas Werner5-4/+39
2019-11-23Add send/received indicatorNicolas Werner5-7/+133
2019-11-23Implement basic placeholder and disable unimplemented event typesNicolas Werner3-12/+23
2019-11-23Implement simple scroll state handlingNicolas Werner4-2/+77
2019-11-23Try to fix CI, no match for QString::arg(QStringRef)Nicolas Werner1-1/+1
2019-11-23Implement replies in qml timelineNicolas Werner3-0/+57
2019-11-23Implement sending other message types in qml timelineNicolas Werner2-9/+83
not using placeholders in timeline for now
2019-11-23Reimplement sending basic text messagesNicolas Werner3-2/+69
2019-11-23Show redactions in qml timelineNicolas Werner5-22/+75
2019-11-23Try to fix duplicate messages in certain edge cases (i.e. sync and ↵Nicolas Werner1-3/+14
pagination at the same time)
2019-11-23Fix shadow errorNicolas Werner1-4/+4
2019-11-23Fix ci formatter to format all filesNicolas Werner1-1/+3
2019-11-23Reenable display of encrypted messagesNicolas Werner2-15/+125
2019-11-23Reenable view raw messageNicolas Werner3-3/+15
2019-11-23Implement basic ImageMessages in qml timelineNicolas Werner6-2/+90
I suck at sizing so the images in the message are currently hardcoded to 300 pixels in width...
2019-11-23Implement avatars in qml timelineNicolas Werner12-8/+190
2019-11-23Fix new messages not arriving in qml timelineNicolas Werner1-2/+5
2019-11-23Make reply and options buttons smallerNicolas Werner1-6/+22
2019-11-23Fix QML emojisNicolas Werner4-4/+11
2019-11-23Use system colors for nowNicolas Werner5-8/+37
2019-11-23Bump required Qt version to 5.8 to support Q_NAMESPACENicolas Werner2-4/+5
2019-11-23Fix misc CI issuesNicolas Werner3-7/+3
2019-11-23Install quickcontrols in ciNicolas Werner1-0/+1
2019-11-23Fix shadow warningNicolas Werner1-3/+3
2019-11-23Implement TextMessage delegateNicolas Werner6-11/+243
Text selection over multiple items doesn't work yet
2019-11-23Format date (close to) the old way in qml timelineNicolas Werner3-1/+20
2019-11-23Add avatar placeholder and scrollbar to qml timelineNicolas Werner3-14/+39
2019-11-23Add basic sections and button placeholders to qml timelineNicolas Werner6-6/+132
2019-11-23Implement loading of history, when timeline is displayedNicolas Werner4-10/+85
2019-11-23Add items to timlineNicolas Werner5-19/+89
2019-11-23Add placeholder timeline modelNicolas Werner6-6/+155
2019-11-23Replace timeline with empty qml viewNicolas Werner8-53/+163
2019-11-02Update travis to xcode9.2 for macosJoe1-1/+1
2019-11-01Fix boost build in FreeBSDJoseph Donofry2-0/+40
2019-10-07Try to fix slow macos buildNicolas Werner1-0/+4
Try to prevent node upgrade via homebrew
2019-10-04Try to use an older linuxdeployqt appimageNicolas Werner1-2/+2
I think the most recent build broke deployments?
2019-09-25escape html before parsing commonmarkrnhmjoj1-1/+16
2019-09-03re-re-lintedAidan Hahn1-1/+0
2019-09-03relintedAidan Hahn1-7/+5
2019-09-02group similar ui options on settings pageAidan Hahn1-1/+0
2019-09-02ran make lint to apply style guidelinesAidan Hahn1-7/+4
2019-09-01ReImplement UserSettings::setAvatarCirclesAidan Hahn1-0/+6
2019-09-01removed leftovers from previous refactorAidan Hahn2-8/+0
2019-09-01fixed typoes in code, added layout metadata to new settings toggle.Aidan Hahn1-2/+3
2019-09-01Minor tweak to one instance of QSettings not necessarily using the same ↵Joseph Donofry1-1/+1
settings as everything else
2019-09-01Refactored Avatar and RoomInfoListItem to access rounding settings in placeAidan Hahn8-2267119/+22
2019-08-29Fix themeing issues on mentionsJoseph Donofry5-1/+47
2019-08-28add controll bits for avatar roundingAidan Hahn7-653/+976
2019-08-28rounding options for Avatar classAidan Hahn4-2/+2266811
2019-08-27added logic in avatar class to determine rounding typeAidan Hahn2-5/+25
2019-08-28Fix usage of deprecated findNicolas Werner2-2/+1
2019-08-26Remove unused variablesNicolas Werner1-2/+0
2019-08-26Try to reduce memory usage by reusing avatar pixmapsNicolas Werner27-207/+148
2019-08-19Fix SIGNAL SLOT issue on mtx typesJoseph Donofry2-0/+2
2019-08-19Fix build issues w/ clangJoseph Donofry2-3/+1
2019-08-19Update README with S3 nightlies listingJoseph Donofry1-1/+1
2019-08-19Update mtxclient versionJoseph Donofry1-2/+2
2019-08-19More updates to mentions functionalityJoseph Donofry4-33/+21
2019-08-12Fix issues with caching and loading of mentions.Joseph Donofry6-50/+108
Mentions are now loaded from the cache instead of directly from the web request. Mentions are also properly saved to the cache now (instead of as empty strings). Still lots of tweaks left on this feature.
2019-08-12Update mtxclient versionJoseph Donofry1-2/+2
2019-08-10Fix missing include in prior commitJoseph Donofry1-0/+1
2019-08-10Use 'system' theme as default if QT_QPA_PLATFORMTHEME is setJoseph Donofry3-8/+22
On first launch, before the user has configured any settings, check the value of the QT_QPA_PLATFORMTHEME environment var. If it is set, use the system theme as the default instead of the light theme. This fixes #72.
2019-08-09Fix linting issues w/ the last commitJoseph Donofry3-5/+5
2019-08-09Cache User MentionsJoseph Donofry9-504/+112
Cache user mentions when they are retrieved from the server. This logic currently isn't being utilized by the UI. Additionally, the app should use a 'since' value to only get mentions newer than those stored in the DB, to avoid excessive web requests. This will be implemented in a future commit.
2019-08-06Fix linting issuesJoseph Donofry2-6/+3
2019-08-05Cache user mentionsJoseph Donofry3-2/+69
2019-08-04Tweak S3 Upload settingsJoseph Donofry4-8/+11