summary refs log tree commit diff
path: root/src/MxcImageProvider.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix media deletion of animated filesNicolas Werner2024-10-091-4/+23
|
* Make a few headers forward declarationsNicolas Werner2024-03-161-1/+2
|
* Include moc files for a tiny speedup on incremental buildsNicolas Werner2024-03-161-0/+2
|
* Fix some round images being persisted as not roundNicolas Werner2023-11-191-1/+1
|
* Qt6.6 compatibilityNicolas Werner2023-10-131-1/+1
|
* Make Nheko compile on Qt6Nicolas Werner2023-06-081-6/+2
|
* Get rid of year in license headersNicolas Werner2023-02-211-3/+1
| | | | | | See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-021-0/+1
|
* I don't see why this would have detached, but make clazy happyNicolas Werner2022-12-131-1/+2
|
* Fix image cache pruning intervalNicolas Werner2022-12-131-1/+1
|
* Add cache pruning for old image filesNicolas Werner2022-12-131-0/+59
|
* fix blurry thumbnailsNicolas Werner2022-10-271-2/+2
|
* lintNicolas Werner2022-10-261-1/+1
|
* Enable -WconversionNicolas Werner2022-10-261-2/+3
|
* Get large avatar images as scale and crop locally (#1107)brausepulver2022-06-261-7/+29
| | | | | | | | | | | | Resolves #1069 The Matrix spec requires servers to provide thumbnails at (96x96, crop) and (320x240, scale) among others. [1] The avatars in Nheko's global/room profile and room settings are sized 130x130 on normal scaling and 260x260 on 2x scaling like on a HiDPI device. In both cases the avatar is requested as cropped and that way displayed at 96x96, making it look blurry. This can be solved by requesting scaled avatars rather than cropped where appropriate, and cropping to the requested size afterwards. HiDPI can be simulated in Qt by setting QT_SCALE_FACTOR=2. [1] https://spec.matrix.org/v1.3/client-server-api/#thumbnails
* Add D-Bus API (#916)Loren Burkholder2022-04-141-0/+9
| | | | This adds functionality for viewing joined rooms and activating rooms.
* Fix thumbnails of received encrypted imagesNicolas Werner2022-03-221-3/+5
|
* Work around images with size 0 in infoNicolas Werner2022-01-041-0/+3
| | | | fixes #875
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-011-0/+1
|
* Reserve size of some containers we are fillingNicolas Werner2021-12-291-2/+4
|
* Reduce allocations using QStringLiteralNicolas Werner2021-12-291-10/+10
|
* Some qt6 prepNicolas Werner2021-12-281-5/+5
|
* MxcImageProvider: Only use scaledToHeight if width <= 0.tastytea2021-12-271-2/+8
|
* Request inline images in the right size and anti-alias themtastytea2021-12-271-4/+12
| | | | | | | | - If an inline image has specified a height, add parameters to the image:// URI. - Add scaled to the parameters, the images would be cropped otherwise. - Extract the height from image:// URI and use it for requestSize. - Use scaledToHeight instead of scaled.
* Fix blurry thumbnails AGAINNicolas Werner2021-12-081-1/+5
|
* Fix display of images, that can't be thumbnailedNicolas Werner2021-12-081-3/+3
|
* Get rid of threadpool for imagesNicolas Werner2021-12-081-7/+5
|
* Change indentation to 4 spacesNicolas Werner2021-09-181-221/+199
|
* Fix dpi scaling of avatarsNicolas Werner2021-08-161-1/+1
|
* Round images in the image providerNicolas Werner2021-08-141-15/+81
|
* Basic sticker pack editorNicolas Werner2021-08-061-7/+19
|
* Fix some media not being cached properlyNicolas Werner2021-07-211-1/+0
| | | | Most noticeable in the goose chooser.
* Fix exif rotation in unencrypted roomsNicolas Werner2021-04-041-3/+5
|
* Fix shadowingNicolas Werner2021-03-171-7/+10
|
* Clean up notification code a bitNicolas Werner2021-03-171-6/+12
|
* Refactor image download code to be reusableNicolas Werner2021-03-171-72/+158
|
* Switch readImage to take a reference instead of a pointerLoren Burkholder2021-03-171-4/+4
| | | | There was nowhere that an actual pointer was passed, and I wanted to do references for something else.
* Update license headersNicolas Werner2021-03-051-0/+4
|
* Fix some compiler warningsNicolas Werner2020-12-251-2/+2
|
* Optimize buildNicolas Werner2020-10-271-0/+2
|
* Fix some images not showing upNicolas Werner2020-09-161-6/+13
|
* Smooth scaling for imagesNicolas Werner2020-06-071-1/+2
| | | | Fixes some issues with inline images.
* Respect exif rotation of imagesNicolas Werner2020-04-261-9/+19
| | | | | | Sometimes thumbnails still have the wrong dimensions, as they are scaled to fit inside a rectange of the reported size in the image. Not sure, who is wrong there, the media repo or we.
* Reduce Cache.h includes further via one forward declarationNicolas Werner2019-12-151-1/+1
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-4/+6
|
* Implement decryption of imagesNicolas Werner2019-12-031-2/+7
| | | | It is a bit of a hack, but it works...
* Improve avatar look and layoutingNicolas Werner2019-11-231-4/+2
| | | | Thanks to red_sky for the feedback!
* Size images/videos by timeline widthNicolas Werner2019-11-231-1/+2
|
* Implement avatars in qml timelineNicolas Werner2019-11-231-0/+79