John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								fa3a76b3d8 
								
							 
						 
						
							
							
								
								Fix layout bug in grouped media rendering.  
							
							 
							
							... 
							
							
							
							Also remove st::mediaPadding. 
							
						 
						
							2017-12-18 15:40:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								d5de064019 
								
							 
						 
						
							
							
								
								Shuffle code around a bit.  
							
							 
							
							... 
							
							
							
							Crash reports point to addToUnreadMentions() call being corrupted.
New reports could show is it responsible or setLastMessage() call. 
							
						 
						
							2017-12-18 15:17:58 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								37b018257e 
								
							 
						 
						
							
							
								
								Replace some std::shared_ptr with std::unique_ptr.  
							
							 
							
							
							
						 
						
							2017-12-18 14:38:14 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								14034c255e 
								
							 
						 
						
							
							
								
								Replace QSharedPointer with std::shared_ptr.  
							
							 
							
							
							
						 
						
							2017-12-18 13:07:18 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								499e3113b9 
								
							 
						 
						
							
							
								
								Allow HistoryGroupedMedia cloning.  
							
							 
							
							... 
							
							
							
							We use it for local forwarded message creation, it should be main(). 
							
						 
						
							2017-12-17 17:01:34 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								656e4869e6 
								
							 
						 
						
							
							
								
								Move UnreadBadge to ui/unread_badge.  
							
							 
							
							
							
						 
						
							2017-12-17 15:04:47 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								49def354bd 
								
							 
						 
						
							
							
								
								Fix bug causing crash in group recounting.  
							
							 
							
							
							
						 
						
							2017-12-17 12:33:08 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								712b3f481c 
								
							 
						 
						
							
							
								
								Move online phrase code from app module.  
							
							 
							
							... 
							
							
							
							Also fix possible assertion violation in online change timeout. 
							
						 
						
							2017-12-17 12:13:26 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								b3a723c871 
								
							 
						 
						
							
							
								
								Fix crash in message history context menu.  
							
							 
							
							... 
							
							
							
							Regression was introduced in 6d48ca850e . 
							
						 
						
							2017-12-17 11:25:02 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								de16a66a4a 
								
							 
						 
						
							
							
								
								Alpha version 1.2.2: Fix build for Xcode.  
							
							 
							
							
							
						 
						
							2017-12-16 21:09:37 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								89ccaccb88 
								
							 
						 
						
							
							
								
								Display right edited badge in group with caption.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								1f070da202 
								
							 
						 
						
							
							
								
								Recount grouping after leader caption edit.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								963e969d2a 
								
							 
						 
						
							
							
								
								Fix selected messages copy with grouping.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								4734700ac5 
								
							 
						 
						
							
							
								
								Improve opening history with one loaded message.  
							
							 
							
							... 
							
							
							
							When we add just one last item, like we do while loading dialogs,
we want to remove a single added grouped media, otherwise it will
jump once we open the message history (first we show only that
media, then we load the rest of the group and show the group).
That way when we open the message history we show nothing until a
whole history part is loaded, it certainly will contain the group. 
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								d9da2edd7c 
								
							 
						 
						
							
							
								
								Improve grouped media display.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								6d48ca850e 
								
							 
						 
						
							
							
								
								Correct reply/forward/delete for grouped items.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								3e7ac7eb26 
								
							 
						 
						
							
							
								
								Use first media caption for group caption.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								520a644150 
								
							 
						 
						
							
							
								
								Fix drag by date of grouped media.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								3a56b7cabd 
								
							 
						 
						
							
							
								
								Forward grouped items. Fast share grouped items.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								efa72578cd 
								
							 
						 
						
							
							
								
								Fix grouped media display in MediaView.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:43 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								b6087ce7ce 
								
							 
						 
						
							
							
								
								Select/forward/delete group of messages.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:42 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								537400d8b2 
								
							 
						 
						
							
							
								
								Enable distinct selecting of grouped media.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:42 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								4c9931ab02 
								
							 
						 
						
							
							
								
								Support grouped media rendering.  
							
							 
							
							
							
						 
						
							2017-12-16 20:50:42 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								97c15865a5 
								
							 
						 
						
							
							
								
								Move some code around.  
							
							 
							
							... 
							
							
							
							Move logs:SignalHandlers to core/crash_reports:CrashReports.
Move all pre-launch windows to core/crash_report_window module.
Move some global code to core/launcher:Launcher.
It should replace settings / platform_specific module in some way. 
							
						 
						
							2017-12-12 16:47:32 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								8b69e6ab99 
								
							 
						 
						
							
							
								
								Rename some methods in DocumentData.  
							
							 
							
							... 
							
							
							
							Also fix voice message mark as read when autoplaying after previous.
Also show play icon and don't show playlist for audio files that do
not have shared music files attributes but have audio file mime type. 
							
						 
						
							2017-12-10 14:28:04 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								4ef3de5287 
								
							 
						 
						
							
							
								
								Always specify seek position in TimeMs.  
							
							 
							
							... 
							
							
							
							This way it won't rely on the sample rate of the audio file.
Fixes  #4139 . 
							
						 
						
							2017-12-10 12:52:38 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								9fff2bf4c7 
								
							 
						 
						
							
							
								
								Fix one more crash in HistoryWidget.  
							
							 
							
							
							
						 
						
							2017-12-10 00:32:35 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								6d62673e9e 
								
							 
						 
						
							
							
								
								Fix crash in HistoryWidget.  
							
							 
							
							
							
						 
						
							2017-12-09 22:21:38 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								5a7d8bcffb 
								
							 
						 
						
							
							
								
								Add audio playlist using Info::Media::ListWidget.  
							
							 
							
							
							
						 
						
							2017-12-09 19:13:06 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								63e89ddc9a 
								
							 
						 
						
							
							
								
								Fix replies by stickers and inline bot results.  
							
							 
							
							
							
						 
						
							2017-12-09 16:39:41 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								4e2c8bbc26 
								
							 
						 
						
							
							
								
								Use SharedMediaMergedViewer() for audio player.  
							
							 
							
							... 
							
							
							
							That way audio files and voice/video messages will play in context
(one after another with ability to go to next or previous in player)
almost always, no matter at what part of message history we are. 
							
						 
						
							2017-12-09 14:02:51 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								9bbcbd4bb3 
								
							 
						 
						
							
							
								
								Remove all legacy media overview code.  
							
							 
							
							
							
						 
						
							2017-12-08 22:34:26 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								951db83ab6 
								
							 
						 
						
							
							
								
								Index bad audio files to Shared Files Overview.  
							
							 
							
							... 
							
							
							
							Fixes  #4120 . 
							
						 
						
							2017-12-08 19:53:04 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								90f5f7dded 
								
							 
						 
						
							
							
								
								Fix possible crash in timer timeout values.  
							
							 
							
							
							
						 
						
							2017-12-08 18:15:00 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								aef88559e8 
								
							 
						 
						
							
							
								
								Fix possible crash in HistoryWidget.  
							
							 
							
							... 
							
							
							
							Stack in crash reports leads to something like that:
- HistoryWidget::showHistory
- _scroll->setOwnedWidget
- Ui::ScrollArea::onScrolled
- sendSynteticMouseEvent
- Info::Media::ListWidget::enterEventHook
- Info::Media::ListWidget::mouseAction?Update
- Overview::Layout::ItemBase::clickHandlerActiveChanged
- AuthSessionData::requestItemRepaint
- HistoryWidget::repaintHistoryItem
Workaround:
- Don't accept repaint item requests while _list is not set yet. 
							
						 
						
							2017-12-08 17:54:55 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								f8963d7e4b 
								
							 
						 
						
							
							
								
								Read silent flag from PeerData, not SilentToggle.  
							
							 
							
							
							
						 
						
							2017-12-08 15:52:12 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								79398fe6cf 
								
							 
						 
						
							
							
								
								Add call button to Info::Profile top bar.  
							
							 
							
							
							
						 
						
							2017-12-07 19:17:53 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								355747d7bf 
								
							 
						 
						
							
							
								
								Remove send actions in Saved Messages.  
							
							 
							
							... 
							
							
							
							Fixes  #4122 . 
							
						 
						
							2017-12-07 18:27:59 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								54984efa0a 
								
							 
						 
						
							
							
								
								Fix small files layout in Saved Messages.  
							
							 
							
							... 
							
							
							
							Minimal message and media width are less because of the goto-button. 
							
						 
						
							2017-12-07 17:43:05 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								5bc47e5203 
								
							 
						 
						
							
							
								
								Move shareContact and readServerHistory to ApiWrap.  
							
							 
							
							... 
							
							
							
							Also allow non-confirming contact info sharing to Saved Messages. 
							
						 
						
							2017-12-07 17:43:05 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								f0a03223e8 
								
							 
						 
						
							
							
								
								Share contact instantly to Saved Messages.  
							
							 
							
							
							
						 
						
							2017-12-07 12:56:10 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								c6d3fd883a 
								
							 
						 
						
							
							
								
								Display right action button not too high.  
							
							 
							
							
							
						 
						
							2017-12-06 18:15:41 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								1473c14668 
								
							 
						 
						
							
							
								
								Forward messages to Saved Messages instantly.  
							
							 
							
							
							
						 
						
							2017-12-06 17:56:40 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								6764a3cc86 
								
							 
						 
						
							
							
								
								Replace SelectedItemSet with MessageIdsList.  
							
							 
							
							... 
							
							
							
							Use vector<FullMsgId> everywhere instead QMap<..,HistoryItem*>.
The old way the app crashed in case some messages were deleted.
If the items are needed use HistoryItemsList=vector<HistoryItem*>. 
							
						 
						
							2017-12-06 14:13:38 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								8b3d203861 
								
							 
						 
						
							
							
								
								Display saved messages senders correctly.  
							
							 
							
							
							
						 
						
							2017-12-05 20:38:13 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								85d8273009 
								
							 
						 
						
							
							
								
								Implement correct saved messages history layout.  
							
							 
							
							... 
							
							
							
							Forwarded info is displayed as a message author info (name/photo).
Outgoing messages without forwarded info are displayed as out().
Messages with save_from_ info have a button for GoToOriginal(). 
							
						 
						
							2017-12-05 20:14:28 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								f8e094392f 
								
							 
						 
						
							
							
								
								Fix ripple animation glitch in history top bar.  
							
							 
							
							
							
						 
						
							2017-12-05 20:14:15 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								46bafc2dcc 
								
							 
						 
						
							
							
								
								Support Saved messages in chats list and forwards.  
							
							 
							
							
							
						 
						
							2017-12-05 18:07:01 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								1d85c8a6b6 
								
							 
						 
						
							
							
								
								API scheme updated to layer 73.  
							
							 
							
							
							
						 
						
							2017-12-05 12:44:27 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								5eeb8143b6 
								
							 
						 
						
							
							
								
								Move EmptyUserpic from data_peer to empty_userpic.  
							
							 
							
							
							
						 
						
							2017-12-05 12:44:27 +04:00