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
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
23rd
1ef5d81270
Added ability to change months in calendar with mouse wheel.
2020-05-20 12:42:03 +04:00
John Preston
cfe12f773f
Move some modules to lib_mtproto.
2019-11-18 12:28:14 +03:00
John Preston
2577bedeac
Remove mtproto/facade.h from main pch.
2019-11-13 11:31:12 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
428a501bac
Show Beginning button only for message date
...
Also hide button when you're already at beginning.
2019-09-09 10:17:23 +03:00
3ca57ae50d
Added "Beginning" button to calendar
2019-09-09 10:17:23 +03:00
John Preston
7be1c4ca2f
Fix crash in right click on CalendarBox.
...
Any attempt to destroy a widget on right click will crash,
because Qt anyway sends QContextMenuEvent to the same widget.
Fixes #6464 .
2019-08-31 14:15:30 +03:00
John Preston
fb96d2eef8
Improve schedule box design.
2019-08-27 19:10:37 +03:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
23rd
27528d084f
Added shortcuts to skip months in CalendarBox.
2019-02-01 11:49:14 +03:00
John Preston
06629e8cd9
Improved calendar layout for export.
2018-10-09 19:27:17 +03:00
John Preston
f362702856
Add UI to specify export time range.
2018-10-09 19:27:17 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
de8de84a33
Fix possible crash in CalendarBox.
...
If month change notification was posted async there was a possibility
to get a mousePressEvent() with already new Context field values, but
with old _selected value. Those two could be inconsistent leading to
an assert violation in (_selected + _context->daysShift() >= 0).
2017-12-08 16:44:52 +04:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00
John Preston
c94a88e154
Rename / move a bunch of files.
...
Next commit fixes the build.
2017-04-07 18:13:16 +03:00