summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Preston <johnprestonmail@gmail.com>2019-02-19 10:57:53 +0400
committerJohn Preston <johnprestonmail@gmail.com>2019-02-19 11:06:33 +0400
commitfe618bd6524f5bb855100cf579ee483562eb6d92 (patch)
tree28d785fa3ec97dc4b77a85d722fd80952cf78c56
parentd20823699453cc36f230b744fc13b6ca2372a5fe (diff)
Use crl::time/now instead of TimeMs/getms.
-rw-r--r--Telegram/SourceFiles/apiwrap.cpp58
-rw-r--r--Telegram/SourceFiles/apiwrap.h6
-rw-r--r--Telegram/SourceFiles/auth_session.cpp8
-rw-r--r--Telegram/SourceFiles/auth_session.h14
-rw-r--r--Telegram/SourceFiles/base/basic_types.h1
-rw-r--r--Telegram/SourceFiles/base/concurrent_timer.cpp26
-rw-r--r--Telegram/SourceFiles/base/concurrent_timer.h22
-rw-r--r--Telegram/SourceFiles/base/timer.cpp16
-rw-r--r--Telegram/SourceFiles/base/timer.h24
-rw-r--r--Telegram/SourceFiles/boxes/background_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/background_preview_box.cpp20
-rw-r--r--Telegram/SourceFiles/boxes/background_preview_box.h10
-rw-r--r--Telegram/SourceFiles/boxes/calendar_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/connection_box.cpp12
-rw-r--r--Telegram/SourceFiles/boxes/edit_caption_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/edit_color_box.cpp8
-rw-r--r--Telegram/SourceFiles/boxes/language_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/local_storage_box.cpp7
-rw-r--r--Telegram/SourceFiles/boxes/passcode_box.cpp4
-rw-r--r--Telegram/SourceFiles/boxes/passcode_box.h2
-rw-r--r--Telegram/SourceFiles/boxes/peer_list_box.cpp12
-rw-r--r--Telegram/SourceFiles/boxes/peer_list_box.h12
-rw-r--r--Telegram/SourceFiles/boxes/peer_list_controllers.cpp4
-rw-r--r--Telegram/SourceFiles/boxes/peer_list_controllers.h2
-rw-r--r--Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/send_files_box.cpp12
-rw-r--r--Telegram/SourceFiles/boxes/sessions_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/share_box.cpp6
-rw-r--r--Telegram/SourceFiles/boxes/sticker_set_box.cpp2
-rw-r--r--Telegram/SourceFiles/boxes/stickers_box.cpp16
-rw-r--r--Telegram/SourceFiles/boxes/stickers_box.h10
-rw-r--r--Telegram/SourceFiles/calls/calls_box_controller.cpp4
-rw-r--r--Telegram/SourceFiles/calls/calls_call.cpp8
-rw-r--r--Telegram/SourceFiles/calls/calls_call.h4
-rw-r--r--Telegram/SourceFiles/calls/calls_instance.cpp6
-rw-r--r--Telegram/SourceFiles/calls/calls_instance.h2
-rw-r--r--Telegram/SourceFiles/calls/calls_panel.cpp6
-rw-r--r--Telegram/SourceFiles/calls/calls_panel.h2
-rw-r--r--Telegram/SourceFiles/calls/calls_top_bar.cpp4
-rw-r--r--Telegram/SourceFiles/calls/calls_top_bar.h2
-rw-r--r--Telegram/SourceFiles/chat_helpers/bot_keyboard.cpp2
-rw-r--r--Telegram/SourceFiles/chat_helpers/bot_keyboard.h2
-rw-r--r--Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp2
-rw-r--r--Telegram/SourceFiles/chat_helpers/emoji_sets_manager.cpp18
-rw-r--r--Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp2
-rw-r--r--Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp2
-rw-r--r--Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp8
-rw-r--r--Telegram/SourceFiles/chat_helpers/gifs_list_widget.h2
-rw-r--r--Telegram/SourceFiles/chat_helpers/message_field.cpp2
-rw-r--r--Telegram/SourceFiles/chat_helpers/stickers_list_widget.cpp12
-rw-r--r--Telegram/SourceFiles/chat_helpers/stickers_list_widget.h2
-rw-r--r--Telegram/SourceFiles/chat_helpers/tabbed_panel.cpp6
-rw-r--r--Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp4
-rw-r--r--Telegram/SourceFiles/chat_helpers/tabbed_selector.h2
-rw-r--r--Telegram/SourceFiles/core/application.cpp10
-rw-r--r--Telegram/SourceFiles/core/core_cloud_password.h2
-rw-r--r--Telegram/SourceFiles/core/update_checker.cpp4
-rw-r--r--Telegram/SourceFiles/core/utils.cpp17
-rw-r--r--Telegram/SourceFiles/core/utils.h7
-rw-r--r--Telegram/SourceFiles/data/data_peer.cpp6
-rw-r--r--Telegram/SourceFiles/data/data_peer.h2
-rw-r--r--Telegram/SourceFiles/data/data_peer_values.cpp10
-rw-r--r--Telegram/SourceFiles/data/data_peer_values.h4
-rw-r--r--Telegram/SourceFiles/data/data_poll.cpp6
-rw-r--r--Telegram/SourceFiles/data/data_poll.h4
-rw-r--r--Telegram/SourceFiles/data/data_search_controller.cpp4
-rw-r--r--Telegram/SourceFiles/data/data_search_controller.h2
-rw-r--r--Telegram/SourceFiles/data/data_session.cpp28
-rw-r--r--Telegram/SourceFiles/data/data_session.h46
-rw-r--r--Telegram/SourceFiles/data/data_types.h4
-rw-r--r--Telegram/SourceFiles/dialogs/dialogs_inner_widget.cpp14
-rw-r--r--Telegram/SourceFiles/dialogs/dialogs_inner_widget.h8
-rw-r--r--Telegram/SourceFiles/dialogs/dialogs_layout.cpp6
-rw-r--r--Telegram/SourceFiles/dialogs/dialogs_layout.h4
-rw-r--r--Telegram/SourceFiles/dialogs/dialogs_row.cpp2
-rw-r--r--Telegram/SourceFiles/dialogs/dialogs_row.h2
-rw-r--r--Telegram/SourceFiles/dialogs/dialogs_widget.cpp8
-rw-r--r--Telegram/SourceFiles/export/export_api_wrap.cpp2
-rw-r--r--Telegram/SourceFiles/export/view/export_view_panel_controller.cpp2
-rw-r--r--Telegram/SourceFiles/facades.cpp18
-rw-r--r--Telegram/SourceFiles/history/admin_log/history_admin_log_filter.cpp2
-rw-r--r--Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp6
-rw-r--r--Telegram/SourceFiles/history/admin_log/history_admin_log_inner.h2
-rw-r--r--Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp2
-rw-r--r--Telegram/SourceFiles/history/feed/history_feed_section.cpp4
-rw-r--r--Telegram/SourceFiles/history/history.cpp14
-rw-r--r--Telegram/SourceFiles/history/history.h8
-rw-r--r--Telegram/SourceFiles/history/history_drag_area.cpp2
-rw-r--r--Telegram/SourceFiles/history/history_inner_widget.cpp18
-rw-r--r--Telegram/SourceFiles/history/history_inner_widget.h6
-rw-r--r--Telegram/SourceFiles/history/history_item.h2
-rw-r--r--Telegram/SourceFiles/history/history_item_components.cpp8
-rw-r--r--Telegram/SourceFiles/history/history_item_components.h8
-rw-r--r--Telegram/SourceFiles/history/history_service.cpp4
-rw-r--r--Telegram/SourceFiles/history/history_service.h6
-rw-r--r--Telegram/SourceFiles/history/history_widget.cpp42
-rw-r--r--Telegram/SourceFiles/history/history_widget.h12
-rw-r--r--Telegram/SourceFiles/history/media/history_media.h4
-rw-r--r--Telegram/SourceFiles/history/media/history_media_call.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_call.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_contact.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_contact.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_document.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_document.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_file.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_file.h6
-rw-r--r--Telegram/SourceFiles/history/media/history_media_game.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_game.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_gif.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_gif.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_grouped.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_grouped.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_invoice.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_invoice.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_location.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_location.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_photo.cpp4
-rw-r--r--Telegram/SourceFiles/history/media/history_media_photo.h4
-rw-r--r--Telegram/SourceFiles/history/media/history_media_poll.cpp6
-rw-r--r--Telegram/SourceFiles/history/media/history_media_poll.h6
-rw-r--r--Telegram/SourceFiles/history/media/history_media_sticker.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_sticker.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_video.cpp4
-rw-r--r--Telegram/SourceFiles/history/media/history_media_video.h4
-rw-r--r--Telegram/SourceFiles/history/media/history_media_wall_paper.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_wall_paper.h2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_web_page.cpp2
-rw-r--r--Telegram/SourceFiles/history/media/history_media_web_page.h2
-rw-r--r--Telegram/SourceFiles/history/view/history_view_element.h4
-rw-r--r--