John Preston
3dbc131b98
Show pin icon in pinned messages.
2020-10-30 18:32:20 +03:00
John Preston
698c9fc4be
Fix preloading of pinned messages.
2020-10-30 18:32:20 +03:00
John Preston
d742fa32de
Add button to show all pinned messages.
2020-10-30 18:32:20 +03:00
John Preston
aefef948cd
Improve multi-pinned message bar.
2020-10-30 18:32:20 +03:00
John Preston
a614ccad97
Correctly check media when editing files.
2020-10-30 18:32:19 +03:00
John Preston
c4af731b19
Wrap messageActionGeoProximityReached service message.
2020-10-30 18:32:19 +03:00
John Preston
263d6a30f2
Improve grouped files layout in chat.
2020-10-30 18:32:19 +03:00
John Preston
012ebdd15e
Fix grouping of music files / just files.
2020-10-30 18:32:19 +03:00
John Preston
0d37949e74
Improve SendFilesBox previews layout.
2020-10-30 18:32:19 +03:00
John Preston
d7fe2948ac
Add edit/remove buttons to Single[File|Media]Preview.
2020-10-30 18:32:19 +03:00
John Preston
5589f51369
Allow delete / replace items in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
bb4fdde616
Fix sending many files with a comment.
2020-10-30 18:32:19 +03:00
John Preston
843fba61ee
Allow adding any amount of files in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
0539cc9448
Add a way to recreate SendFilesBox content.
2020-10-30 18:32:19 +03:00
John Preston
202534575b
Allow many previews in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
8d2fa313b7
Add setting for grouping files.
2020-10-30 18:32:19 +03:00
John Preston
64ac6b18bf
Move SingleMediaPreview to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
8b96f4c214
Move Media::Clip::Reader and FileLocation to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
05eb549a3d
Move App::roundRect to Ui::FillRoundRect.
2020-10-30 18:32:18 +03:00
John Preston
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
39cf51c066
Move SendButton/EmojiButton to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
af1854e877
Use Ui::PinnedBar in Replies section.
2020-10-30 18:32:18 +03:00
John Preston
0873db58d0
Moved PinnedBar to Ui:: in td_ui.
2020-10-30 18:32:18 +03:00
John Preston
9b4b15ee6d
Handle pinned bar clicks.
2020-10-30 18:32:18 +03:00
John Preston
67290eed58
Use new message bar for pinned message.
2020-10-30 18:32:18 +03:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03:00
John Preston
719bed6e85
Move some text formatting to tg_ui:ui/text/format_values.
2020-09-30 16:29:17 +03:00
John Preston
def1266216
Rename td-specific libs from lib_ to td_.
2020-09-30 10:51:17 +03:00
John Preston
a1a845dbf1
Improve Replies chat design.
2020-09-29 19:03:25 +03:00
John Preston
008a301755
Paint some sort of replies icon.
2020-09-29 19:03:24 +03:00
John Preston
4a94a0c438
Show replies dialog correctly.
2020-09-29 19:03:24 +03:00
John Preston
ce91caa820
Fix build on macOS.
2020-09-29 19:03:23 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
John Preston
437c9320cd
Implement progressive jpeg loading and sending.
2020-09-29 19:03:18 +03:00
John Preston
0888901d79
Try using progressive jpeg photo size.
2020-09-29 19:03:18 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
John Preston
5c5414b680
Improve video userpics in chat history.
2020-07-25 11:25:22 +04:00
John Preston
f99960e1f6
Play video userpics in photo change messages.
2020-07-25 11:25:22 +04:00
John Preston
060fe6a928
Play video userpics in profiles and settings.
2020-07-25 11:24:11 +04:00
John Preston
8c45b5e0f8
Show video userpics in media viewer.
2020-07-25 11:24:11 +04:00
John Preston
0126578dbd
Allow to load video components of photos.
2020-07-25 11:24:11 +04:00
John Preston
2f5cb33bf2
Fix finalizing media in non-active account.
2020-07-14 19:02:27 +04:00
Sean Wei
556aa28df6
Remove unused variable
...
The following are commits related to removed variables.
apiwrap.cpp
e050e27: kSaveDraftBeforeQuitTimeout
app.cpp
113f665: serviceImageCacheSize
boxes/auto_download_box.cpp
a0c6104: checked(Source source, Type type)
boxes/background_preview_box.cpp
b6edf45: resultBytesPerPixel
fe21b5a: ms
boxes/calendar_box.cpp
ae97704: yearIndex, monthIndex
99bb093: ms
boxes/connection_box.cpp
f794d8d: ping
boxes/dictionaries_manager.cpp
8353867: session
boxes/peer_list_box.cpp
2ce2a14: grayedWidth
boxes/peers/add_participants_box.cpp
07e010d: chat, channel
boxes/self_destruction_box.cpp
fe9f02e: count
chat_helpers/emoji_suggestions_widget.cpp
a12bc60: is(QLatin1String string)
chat_helpers/field_autocomplete.cpp
8c7a35c: atwidth, hashwidth
chat_helpers/gifs_list_widget.cpp
ff65734: inlineItems
3d846fc: newSelected
d1687ab: kSaveDraftBeforeQuitTimeout
chat_helpers/stickers_dice_pack.cpp
c83e297: kZeroDiceDocumentId
chat_helpers/stickers_emoji_pack.cpp
d298953: length
chat_helpers/stickers_list_widget.cpp
eb75859: index, x
core/crash_reports.cpp
5940ae6: LaunchedDateTimeStr, LaunchedBinaryName
data/data_changes.cpp
3c4e959:clearRealtime
data/data_cloud_file.cpp
4b354b0: fromCloud, cacheTag
data/data_document_media.cpp
7db5359: kMaxVideoFrameArea
data/data_messages.cpp
794e315: wasCount
data/data_photo_media.cpp
e27d2bc: index
data/data_wall_paper.cpp
b6edf45: resultBytesPerPixel
data/data_types.cpp
aa8f62d: kWebDocumentCacheTag, kStorageCacheMask
history/admin_log/history_admin_log_inner.cpp
794e315: canDelete, canForward
history/history_location_manager.cpp
60f45ab: kCoordPrecision
9f90d3a: kMaxHttpRedirects
history/history_message.cpp
cedf8a6: kPinnedMessageTextLimit
history/history_widget.cpp
b305924: serviceColor
efa5fc4: hasForward
5e7aa4f: kTabbedSelectorToggleTooltipTimeoutMs, kTabbedSelectorToggleTooltipCount
history/view/history_view_context_menu.cpp
fe1a90b: isVideoLink, isVoiceLink, isAudioLink
settings.cpp
e2f54eb: defaultRecent
settings/settings_folders.cpp
e8bf5bb: kRefreshSuggestedTimeout
ui/filter_icon_panel.cpp
c4a0bc1: kDelayedHideTimeoutMs
window/themes/window_theme_preview.cpp
ef927c8: mutedCounter
-----
Modified variables
boxes/stickers_box.cpp
554eb3a: _rows[pressedIndex] -> set
data/data_notify_settings.cpp
734c410: muteForSeconds -> muteUntil
history/view/history_view_list_widget.cpp
07528be: _items[index] -> view
e5f3bed: fromState, tillState
history/history.cpp
cd3c1c6: kStatusShowClientsideRecordVideo -> kStatusShowClientsideRecordVoice
storage/download_manager_mtproto.cpp
ae8fb14: _queues[dcId] -> queue
storage/localstorage.cpp
357caf8: MTP::Environment::Production -> production
2020-07-13 09:33:55 +04:00
Ilya Fedin
93e78f1565
Make export window and PiP window movable on Wayland with Qt < 5.15
2020-07-12 23:19:05 +04:00
John Preston
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
Ilya Fedin
0ede4bba72
Unity doesn't support _NET_WM_MOVERESIZE
2020-06-29 19:17:06 +04:00
Ilya Fedin
73b0153a66
Use startSystemMove in export window
2020-06-29 16:44:02 +04:00
23rd
0696a2d5c0
Replaced mapping to rpl::empty_value with rpl::to_empty.
2020-06-23 21:53:43 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
John Preston
cdc295c1d7
Fix build with updated submodules.
2020-06-16 19:10:39 +04:00
John Preston
c868cd6036
Update lib_ui.
2020-06-04 10:53:59 +04:00
Ilya Fedin
586744c112
Apply sway fixes to the PiP and export windows too
2020-06-01 18:21:30 +04:00
John Preston
423ea5b499
Fix crash on invalid image data.
2020-06-01 18:09:34 +04:00
John Preston
d5b3fa017b
Fix build for macOS.
2020-06-01 18:09:34 +04:00
John Preston
36fbdfb380
Simplify Image, remove ImageSource.
2020-06-01 18:09:33 +04:00
John Preston
6513422e40
Remove legacy image-related code.
2020-06-01 18:09:33 +04:00
John Preston
f066e0f05a
Use Data::CloudImage for userpics.
2020-06-01 18:09:33 +04:00
John Preston
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
John Preston
056945d9f5
Remove legacy image creation methods.
2020-06-01 18:09:32 +04:00
John Preston
b35b6c4449
Fix saving cache from InMemoryLocation.
2020-06-01 18:09:32 +04:00
John Preston
74ef8104a7
Fix photo edit caption box, remove 's' size.
2020-06-01 18:09:32 +04:00
John Preston
64cf0e1a44
Fix caching of sent photos and document previews.
2020-06-01 18:09:32 +04:00
John Preston
7ad660a0e7
Allow photos not have some of the thumbnails.
2020-06-01 18:09:32 +04:00
John Preston
e27d2bc2d5
Move photo data to Data::PhotoMedia.
2020-06-01 18:09:32 +04:00
John Preston
3c9ca2eb94
Load and show video thumbnails in the panel.
2020-06-01 18:09:31 +04:00
John Preston
fb322b5fc5
Use empty Storage::Cache::Key as nullopt.
2020-06-01 18:09:31 +04:00
John Preston
3797753d16
Support different location types for thumbnails.
2020-06-01 18:09:30 +04:00
John Preston
37aabc0da9
Add generic DownloadLocation and ImageLocation.
2020-06-01 18:09:30 +04:00
John Preston
97bab388ea
Use rpl for file download progress notifications.
2020-06-01 18:09:30 +04:00
John Preston
bdd3c51ab8
Move inline thumbnail image to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
61647275e8
Optimize image destruction.
...
No need to call _source->unload(), it leads to saving to PNG.
2020-06-01 18:09:29 +04:00
John Preston
1fdd591aa0
Change manage folders button icon.
2020-04-13 15:30:40 +04:00
John Preston
f5aba5a907
Fix build with new lib_ui commits.
2020-04-13 15:26:09 +04:00
John Preston
deb76f38d7
Beta version 1.9.22: Fix GCC build.
2020-03-27 22:34:25 +04:00
John Preston
a9ff9ac501
Fix one active icon.
2020-03-27 20:36:05 +04:00
John Preston
48f67d27f1
Fix active icon states.
2020-03-27 20:36:05 +04:00
John Preston
ba6373a0ae
Fix filter icon panel wrong hiding.
2020-03-27 20:36:04 +04:00
John Preston
c4a0bc1fd5
Allow selecting custom filter icons.
2020-03-27 20:36:04 +04:00
John Preston
ce7621fbd9
Read and write special filter icon emoji.
2020-03-27 20:36:04 +04:00
John Preston
9ad5b8ff90
Add special filters icons.
2020-03-27 20:36:04 +04:00
John Preston
b88f0108ad
Edit chat types in filters.
2020-03-27 20:36:02 +04:00
John Preston
ed715fb810
Update API scheme to layer 111.
2020-03-27 20:36:01 +04:00
John Preston
4d737b35da
Fix PiP window on macOS.
2020-02-05 18:39:47 +04:00
John Preston
f1d155c3f6
Added fireworks animation for right quiz answer.
2020-01-24 17:01:25 +03:00
John Preston
f2a92f2b02
Check if app is active before showing a tooltip.
...
Fixes #6885 , fixes #6895 .
2019-12-31 16:48:44 +03:00
John Preston
1f2b5ba0a2
Update spellcheck and ui submodules.
2019-12-14 17:46:31 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00
John Preston
4611727ab9
Rewrite webFileLoader without Storage::DownloadManager.
2019-12-04 15:15:58 +03:00
John Preston
95ba12e3cb
Update API scheme to layer 107.
2019-11-29 15:36:04 +03:00
John Preston
d63e50944a
Update submodules to the latest spellcheck.
2019-11-05 13:23:56 +03:00
John Preston
fcb2950ce8
Use slide animation from lib_ui.
2019-10-19 12:27:56 +04:00
John Preston
959901d599
Use toasts from lib_ui.
2019-10-19 12:27:56 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
de230332b9
Version 1.8.14: Fix crash in text processing on old OS X.
2019-10-03 19:51:09 +03:00
John Preston
3779ad46ca
Fix crash in pre-launch logging.
...
Fixes #6635 .
2019-10-03 12:37:00 +03:00
John Preston
4e7946d03e
Allow scales below 100.
...
Fixes #6632 .
2019-10-03 12:34:58 +03:00
John Preston
ecfe1dacb2
Version 1.8.12: Fix build for Xcode.
2019-10-02 12:54:29 +03:00
Jiachen YANG
497df7f4b2
change deprecated ranges::to_ to ranges::to (no underscore)
2019-10-02 11:52:55 +03:00
Jiachen YANG
56aab1aa07
explicitly specify the upper bound in ranges::view::ints
2019-10-02 11:52:55 +03:00
Jiachen YANG
9d850b71e7
be compatible with range-v3 0.9.x/1.0 branch
...
This made 2 changes to the current code base to be compatible with higher versions of range-v3 library.
1. ranges::iterator_range was renamed to subrange, see https://github.com/ericniebler/range-v3/issues/766
2. PercentCounterItem need an operator== for ranges::sort for some reason
2019-10-02 11:52:55 +03:00
John Preston
8cf62c312f
Allow not to cache emoji sprites.
2019-10-01 23:59:46 +03:00
John Preston
3b0bf7cb1e
Move some more widgets and effects.
2019-10-01 23:59:46 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c057f28425
Move standard buttons to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9
Move some style code to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
b73390a3f6
Support emoji in popup menu items.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
1d4fbc64e2
Ensure theme list radiobutton contrast.
2019-09-09 23:25:54 +03:00
John Preston
9fd32fc85b
Ensure contrast in critical theme parts.
2019-09-09 23:02:24 +03:00
John Preston
3a3bf84cfc
Fix crash in SeparatePanel destruction.
...
We should destroy layers before panel widget destructor started.
We do it already for MainWindow in clearWidgetsHook.
2019-09-09 10:52:03 +03:00
John Preston
03bdd80b2f
Open theme editor for existing themes.
2019-09-06 19:31:07 +03:00
John Preston
dd74f57a66
Display full themes list in Settings.
2019-09-06 19:31:07 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
4929de2bfb
Apply cloud themes.
2019-09-06 19:31:06 +03:00
23rd
7be286751b
Fixed text width in toast widget.
...
- Fixed #6381 .
2019-08-29 16:16:22 +03:00
John Preston
07f45b7eab
Improve published scheduled notifications.
2019-08-29 10:01:28 +03:00
John Preston
0a4f91a53d
Notify about published scheduled messages.
2019-08-29 10:01:28 +03:00
John Preston
97a239a8b4
Show full emoji in fields in all scales.
2019-08-29 10:01:28 +03:00
John Preston
117d6192fa
Ensure contrast in colorized themes.
2019-08-29 10:01:28 +03:00
John Preston
04d5158ae3
Remove unused LeftOutlineButton type.
2019-08-29 10:01:28 +03:00
John Preston
77ebdd3576
Send from scheduled messages section.
2019-08-27 19:10:37 +03:00
John Preston
385a7eb00d
Start scheduled compose controls.
2019-08-27 19:10:37 +03:00
23rd
1a06714f3a
Added ability to apply formatting from Mac menu.
2019-08-20 12:02:37 +03:00
John Preston
e9ab8df737
Use QLocale::uiLanguages for system language.
2019-08-09 11:51:36 +01:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
1b1b1780db
Reuse global emoji large images.
2019-08-09 11:50:49 +01:00
John Preston
d298953653
Add large emoji implementation.
2019-08-09 11:50:49 +01:00
John Preston
abf49e1672
Update API scheme.
2019-08-09 11:50:49 +01:00
John Preston
80fedcbbae
Improve slowmode error phrases.
2019-08-09 11:50:49 +01:00
John Preston
27d84befa8
Remove emoji from custom admin ranks.
2019-07-28 15:39:06 +02:00
John Preston
3bf709d459
Add Ui::Text::Italic modifier.
2019-07-27 23:09:15 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
c50ade565a
Track sending and failed messages.
2019-07-24 08:02:20 +02:00
John Preston
04bf24288a
Show slowmode error messages.
2019-07-24 08:02:20 +02:00
John Preston
59574532c6
Add slowmode send message button state.
2019-07-24 08:02:20 +02:00
John Preston
7a11d1e31f
Fix stickers on Linux 32 bit.
2019-07-15 14:17:22 +02:00
John Preston
b9d3ba621e
Change some private header includes.
2019-07-10 19:36:27 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
5c6515febb
Fix strike-through text font selection.
2019-07-04 17:27:18 +02:00
John Preston
da48a78f7c
Revert "Hide new formatting for now."
...
This reverts commit 99aa1fc556
.
2019-07-03 12:08:28 +02:00
John Preston
3b645422ff
Implement animated stickerset thumbnails.
2019-07-02 14:43:17 +02:00
John Preston
a10b91fe1a
Don't load bad image infinitely.
2019-07-01 17:57:40 +02:00
John Preston
5628c1eee6
Encode cached frames to YUV420P.
2019-07-01 17:57:36 +02:00