Commit Graph

2029 Commits

Author SHA1 Message Date
John Preston 2aa35af909 Merge branch 'master' into dev
Conflicts:
	Telegram/SourceFiles/history/history.style
2016-07-08 13:26:28 +03:00
John Preston 5c474aee27 Improved service messages layout. 2016-07-08 13:06:41 +03:00
John Preston d98a6d3f82 Alpha version 0.9.57: some design improvements, GTK file chooser. 2016-07-07 19:32:34 +03:00
John Preston 609cacf8b5 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-07-07 19:19:08 +03:00
John Preston 352b0f2079 Ignoring accents when autocompleting mentions in field_autocomplete.
Do nothing instead of showing in folder a media file with bad extension.
Showing descriptive error message when we hit the limit of stickerpacks.
2016-07-07 19:16:47 +03:00
John Preston 7ce76a763e Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-07-07 19:16:18 +03:00
John Preston db8922f53e Some buttons and scroll bars style improvements.
Not showing notification texts when OS X is in screen locked state.
2016-07-07 19:15:34 +03:00
John Preston 171a3b18fa Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-07-07 19:15:02 +03:00
John Preston a20dd065fb Building Qt with -no-gtkstyle and disable forcing "-style=0" in main.cpp
We can't use Qt gtk style, because it loads gtk-2 and we are possibly
loading and using gtk-3 for libappindicator3 and it crashes :(
2016-07-07 19:12:52 +03:00
John Preston 1904a4f48a Round radius increased for message bubbles. 2016-07-07 15:35:14 +03:00
John Preston 562c5621f5 Merge pull request #2226 from BOOtak/env_variables
Add option to set Qt path and version as env variables.
2016-07-07 12:04:29 +03:00
John Preston 5f46541f0b Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-07-06 23:09:42 +03:00
John Preston f8d95bba71 Using GTK file dialog when it is available.
Should work both with GTK 2 and GTK 3.
2016-07-06 21:30:14 +03:00
Kirill 267f619175 Add option to set Qt path and version as env variables.
Signed-off-by: Kirill Leyfer <leyfer.kirill@gmail.com> (github: BOOtak)
2016-07-06 00:40:53 +06:00
John Preston 1f28808823 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-07-05 21:19:16 +03:00
John Preston 99b15719cf Stopping video sound when closing mediaview (destroying Clip::Reader).
Fixed launching video with sound while song is playing.
2016-07-05 20:44:22 +03:00
John Preston 616d08255c Moved audio to media/media_audio and divided to several modules.
Basic video playback with sound support in mediaview added.
2016-07-05 20:44:02 +03:00
John Preston 98fe307cbf Packet queue instead of single packet is used in ffmpeg clip reader. 2016-07-05 20:43:30 +03:00
John Preston b61cc150db Merge branch 'master' into video
Conflicts:
	Telegram/SourceFiles/mainwidget.cpp
	Telegram/SourceFiles/structs.cpp
2016-07-05 20:42:47 +03:00
John Preston 8909943bd3 Showing in folder instead of launching media files with bad extensions.
Thanks for the report to: Sadegh Ahmadzadegan - Omid Ghaffarinia.
2016-07-05 20:36:42 +03:00
John Preston 8ea47c1811 Opened histories stack finished, stack of states in vector_of_moveable. 2016-07-05 17:48:36 +03:00
Christoph 3f13e7f2c7 Revert "Read environment variables properly."
Signed-off-by: Christoph <auer.chrisi@gmx.net>
2016-07-04 21:18:27 +02:00
John Preston 5eb49c9d68 Merge pull request #2209 from splintor/master
Pass Escape key to internal widget of ScrollArea
2016-07-04 14:52:40 +03:00
John Preston db34755ba3 Merge pull request #2219 from BOOtak/master
Read environment variables properly.
2016-07-04 14:51:06 +03:00
John Preston 1b2b99872a Merge pull request #2200 from eegorov/disable_unity_option
New define: TDESKTOP_DISABLE_UNITY_INTEGRATION
2016-07-04 14:50:41 +03:00
Kirill 2759404a69 Read environment variable properly.
Signed-off-by: Kirill Leyfer <leyfer.kirill@gmail.com> (github: BOOtak)
2016-07-03 21:06:04 +06:00
Shmulik Flint 87bb221cc3 Pass Escape key to internal widget of ScrollArea
Fix for https://github.com/telegramdesktop/tdesktop/issues/2208

Signed-off-by: Shmulik Flint <splintor@gmail.com>
2016-07-03 00:52:30 +03:00
John Preston 7ca5737bc0 Removed SongMsgId, unified working with voice/music files in audio. 2016-06-30 15:03:32 +03:00
eegorov bd8bb426be New define: TDESKTOP_DISABLE_UNITY_INTEGRATION
Signed-off-by: Egor Y. Egorov <egor.y.egorov@gmail.com> (github: eegorov)
2016-06-29 08:38:42 +06:00
John Preston e015a8299e Copy to FindBuffer added by Cmd+E on OS X. 2016-06-28 21:27:23 +03:00
John Preston cd696ade4e Featured stickers fully supported (unread badges, box, adding, etc). 2016-06-28 21:05:38 +03:00
John Preston 991c6ddd99 Saving featured stickers for new 0.9.57 version in local storage. 2016-06-27 19:25:21 +03:00
John Preston a89185565a 0.9.56 stable. Crash fixed in MediaView after logout and login again.
Buttons layout improved in bot inline keyboard.
2016-06-26 18:37:47 +03:00
John Preston f123755fc6 Languages updated for the new 0.9.56 stable version. 2016-06-26 17:27:02 +03:00
John Preston 4bd97d2947 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-06-24 19:59:44 +03:00
John Preston 5c199e63ea Main window position and size saving fixed in Windows.
Dock and top bar hiding after photo view fixed in OS X.
Some design improvements. Alpha version 0.9.55.
2016-06-24 19:58:41 +03:00
John Preston deef74ebc7 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-06-24 19:48:13 +03:00
John Preston f6af535f8f Fixed dead keys in photo / file caption input field #1418
Another attempt to fix dead keys input problem after main
window looses focus to popup menu or photo viewer #2007 #1074
2016-06-24 19:43:46 +03:00
John Preston 52ca82c959 Merge pull request #2181 from AndydeCleyre/bugfix/306
strip out .desktop file generation (and xdg uri association)
2016-06-24 14:51:15 +03:00
John Preston d64892584d ClipReader was moved to a separate namespace and different files. 2016-06-24 13:37:29 +03:00
John Preston 8fc38d9ac2 Creating MediaView after the main window. That way the main window is
created with the right size even with FullScreen flag for MediaView.
Using FullScreen flag only on Windows (or Dock auto hides on OS X).
2016-06-23 15:25:18 +03:00
Andy Kluger 331c13ed78 Add TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION
Signed-off-by: Andy Kluger <andykluger@gmail.com> (github: andydecleyre)
2016-06-22 17:42:46 -04:00
John Preston 12c20faa44 Fixed Linux build. Alpha version 0.9.54. 2016-06-22 22:50:44 +03:00
John Preston cbde6e1ee9 Using square rounded photos in native notifications (Win, OS X).
When updating local online status from user action events we use
action timestamp, and ignoring events from getDifference, if no
timestamp is available for the specific action.
Couple of hidden actions added in Settings. Alpha version 0.9.54.
2016-06-22 21:47:43 +03:00
John Preston 701b8c87e6 Selected messages actions (forward, delete, cancel) redesigned. 2016-06-22 20:11:35 +03:00
John Preston 13b795d614 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-06-22 16:40:38 +03:00
John Preston 5957382a67 Radial progress in settings when loading a new background from gallery.
MediaView handling of screen resolution change fixed.
Media messages now display both name/type and caption in dialogs list.
When viewing group profile photo delete affects either photo or message.
2016-06-22 16:39:54 +03:00
John Preston 6af6ffa1b2 Field autocomplete now replaces text part only up to cursor position.
New radial photo load progress in MediaView instead the old 3-dots.
2016-06-21 21:09:48 +03:00
John Preston 1e5b2d7c66 Fix attempt of photo forward by drag-n-drop: for being able to use
press data in drop call ClickHandler::unpressed() after drag->exec().
Members dropdown area made smaller (only the members/online text rect).
2016-06-21 20:02:45 +03:00
John Preston af4b3ba023 Shutdown on Linux fix attempt. Draft remove in empty conversation fix.
Larger badge of unread messages in history-to-down button.
Submit bot-start by Enter. Fix icons show in chat without input field.
2016-06-21 18:58:07 +03:00
John Preston c73b5a6da4 Styles improved. Members dropdown is shown with a delay.
Overview of chat photos fixed. Tray icon tries read a file on Linux.
2016-06-21 17:19:24 +03:00
John Preston 850c6c67d0 Merge pull request #2165 from mymedia2/dev
Repair of parallel build; reconstruction of release build of satellites
2016-06-21 13:53:49 +03:00
John Preston d001ec346d Fixed build in Xcode, version 0.9.53 alpha. 2016-06-20 19:00:39 +03:00
John Preston e47d8c0e03 Added "Add to Group" button in bot profile.
Changed new chat icon to more simplified.
Fixed kick user from a new members dropdown in chat history view.
Version 0.9.53.alpha is ready.
2016-06-20 18:46:36 +03:00
John Preston caba965b80 Merge branch 'members' into dev 2016-06-20 14:31:57 +03:00
John Preston 7db7b177c0 Members block in group conversation view finished (except Xcode project). 2016-06-20 14:31:12 +03:00
Nicholas Guriev 757cff8feb Repair parallel build
Signed-off-by: Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
2016-06-18 05:30:49 +03:00
John Preston f0a8356ff0 Profile members block displayed when mouse is over group members count. 2016-06-17 21:18:01 +03:00
John Preston ebc4f3cb35 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-06-17 20:54:52 +03:00
John Preston c84ee7f1b7 All Xcode projects updated to Qt 5.6.0. 2016-06-17 20:54:23 +03:00
John Preston 963000386f Fixed crash in BotKeyboard resize. Fixed elided single-line Text layout. 2016-06-17 16:27:21 +03:00
John Preston e38b7cd465 Fixed dynamic library loading for Windows XP.
Versioned dll removed, loading from combase.dll instead.
2016-06-17 15:38:08 +03:00
John Preston d089d4e692 Version 0.9.52 alpha. 2016-06-16 20:22:45 +03:00
John Preston 7a9dfb50e1 Build fixed for QtCreator. Linux libs loading order changed. 2016-06-16 20:20:58 +03:00
John Preston 8e78cfed85 Fixed Xcode build. When hiding fullscreen window first exit fullscreen. 2016-06-16 18:17:39 +03:00
John Preston fd91893b51 Moved PsMainWindow to Platform::MainWindow, outside of pspecific module.
Currently only MSVC build is Ok, Xcode and QtCreator are broken.
2016-06-16 15:59:54 +03:00
John Preston 84f704448a Fixed scrolling by a child widget in ScrollArea by touch screen.
ScrollArea now always generates MouseMove when scrolled.
Fixed crash in BotKeyboard resizing with style change.
Fixed stickers box animations.
2016-06-15 20:48:16 +03:00
John Preston a058b6e3a6 Forced update of Telegram.plist in build script. Use c++14 flag in .pro. 2016-06-15 09:59:43 +03:00
John Preston 3502c7f1c9 Korean changelog updated. Version 0.9.51 stable. 2016-06-15 08:39:03 +03:00
John Preston 021c8896c8 Fixed crash with forbidden megagroup in App::feedChats.
ReplyMarkupClickHandler holds FullMsgId instead of HistoryItem*.
2016-06-15 08:36:59 +03:00
John Preston 893cd9e877 Langs updated with changelog. Version 0.9.50 stable. 2016-06-14 23:42:37 +03:00
John Preston 53def26475 Langs updated. Version 0.9.50 stable. 2016-06-14 20:24:24 +03:00
John Preston 38c2915533 Fixes in floating dates with migrated histories.
All service messages are now not multiline (including pinned).
Confirmation for profile photo deleting will be added (not enabled).
Copy-by-selection should be supported in Linux version now.
Drafts that contain only reply-to-id (without text) support added.
2016-06-14 19:26:41 +03:00
John Preston 044e9221e8 Drafts always shown in dialogs list when no unread messages in the chat.
Edition of any message to service message "history cleared".
2016-06-13 21:42:25 +03:00
John Preston 7c34872a48 Langs updated. Private beta version 9049006. 2016-06-13 14:04:37 +03:00
John Preston 0fa6b5bc90 Unread bar in a service message display fixed.
Elided text with a skip block in the end display fixed.
2016-06-13 13:42:55 +03:00
John Preston be2a0abbc8 Fixed checkboxes in boxes. Clearing cloud draft on inline result send.
No history to down if unread appear in an inactive opened conversation.
2016-06-13 13:08:46 +03:00
John Preston fccae52654 Workaround for a server-side bug with dates of migrate/invite.
Fixes the appearing of duplicated supergroup migrate message
together with not needed client side joined/invited message.
2016-06-11 22:44:55 +03:00
John Preston 8e0bab5adc Langs updated for 9049005. 2016-06-10 18:55:24 +03:00
John Preston 16bea47979 Not applying draft if can't write a message. Closed beta 9049005. 2016-06-10 18:34:35 +03:00
John Preston b20245c8c8 Fixed glitches in draft apply. Fixed overflow / crash in media preview.
Fixed new unread messages with existing unread bar in the shown history.
2016-06-10 18:11:44 +03:00
John Preston 5ffc5dd218 Blue online in top bar in conversation with user. Profile styles fix. 2016-06-10 14:18:55 +03:00
John Preston b93e5ba32a Merge branch 'dates' into drafts 2016-06-10 13:21:49 +03:00
John Preston 16429b3008 Floating dates that appear animated when scrolling messages added. 2016-06-10 13:21:09 +03:00
John Preston b05542adc0 Merge branch 'drafts' of https://bitbucket.org/johnprestonmail/telegram-desktop into drafts 2016-06-10 09:57:10 +03:00
John Preston bf247455ee Fixed files overview thumbnails in retina. Fixed profile member list styles.
All round buttons over animations removed. Checkbox round radius smaller.
2016-06-10 09:54:56 +03:00
John Preston 6da62f902b Animated show and hide of the new history-to-down button.
Fixed render in outbox read event handler for channels / supergroups.
2016-06-09 23:01:15 +03:00
John Preston 3bb53b6ed1 Projects ready for Xcode and QtCreator. Retina circle masks fixed. 9049004 beta. 2016-06-09 20:55:32 +03:00
John Preston dbe4a5b7c7 Photos and videos in media overview ordered like in mobile apps. 2016-06-09 20:30:47 +03:00
John Preston a428534345 Cloud draft handling improved. Fixed Edit while already editing a msg. 2016-06-09 17:31:10 +03:00
John Preston 19cacd0efb New layout of service messages (complex shape of a bubble). 2016-06-09 14:51:24 +03:00
John Preston a5cbbba12d Empty messages do not participate in displayDate() flow.
Example of an empty message is service message after clear history.
2016-06-08 22:14:17 +03:00
John Preston 23a598ba3d Crash in Qt fixed for OS X. Edited badge removed for bot messages.
Sticker with reply layout fixed once more.
2016-06-08 21:46:37 +03:00
John Preston 8b2c351933 Phone numbers starting with '0' are not formatted with '+'.
Sticker with reply layout fixed. Report box title corrected.
Elided text display sometimes didn't restore last block, fixed.
Removed non-existent class diagram file from MSVC project.
2016-06-08 19:40:33 +03:00
John Preston 445cd680c7 Merge branch 'drafts' of https://bitbucket.org/johnprestonmail/telegram-desktop into drafts 2016-06-08 15:23:57 +03:00
John Preston 7f54bd0bfc Fixing critical infinite recursion in HistoryInner, closed beta 9049003.
Langs updated. Title fixed for supergroups in report box.
2016-06-08 15:22:57 +03:00
John Preston 3ed1f8d242 Build bat on Windows forces styles rebuild. MSVC project fixed for 9049002. 2016-06-08 14:33:49 +03:00
John Preston e2bac118c5 Build scripts work both in Linux and OS X now. 2016-06-08 14:05:08 +03:00
John Preston a98e3b4a44 Closed beta version 9049002, set_version script fixed for OS X. 2016-06-08 14:02:32 +03:00
John Preston fadd531fbb Build prepared for Xcode and hopefully for QtCreator. Closed beta 9049002. 2016-06-08 13:24:20 +03:00
John Preston 0a96f633d5 Fixed crash in inline results of file type with text message send data. 2016-06-08 11:59:39 +03:00
John Preston 1859b83e8d Dialog styles moved from basic.style to dialogs.style.
Many minor design improvements in the new profiles.
New drafts design in the dialogs list: no icon, red badge.
Verified checkbox added to the new profile implementation.
Drafts saving to cloud is delayed for 1 second when switching chats.
Before quitting the app makes an attempt to save drafts (timeout 1.5s).
2016-06-07 22:59:39 +03:00
John Preston 6aca90c478 Generate fake mouse move event when scrolling the new profiles. 2016-06-06 19:09:06 +03:00
John Preston 520260f207 Merge branch 'profile' into drafts
Conflicts:
	Telegram/SourceFiles/app.cpp
	Telegram/SourceFiles/codegen/style/processor.cpp
	Telegram/SourceFiles/history.cpp
	Telegram/SourceFiles/historywidget.cpp
	Telegram/SourceFiles/mainwidget.cpp
	Telegram/SourceFiles/mainwidget.h
	Telegram/SourceFiles/profilewidget.cpp
	Telegram/SourceFiles/profilewidget.h
	Telegram/Telegram.vcxproj
	Telegram/Telegram.vcxproj.filters
2016-06-06 18:16:52 +03:00
John Preston 4ddb371484 Fixed build in QtCreator. Closed beta 9049001 for profiles testing. 2016-06-06 14:57:02 +03:00
John Preston 1c0548d1e8 New profiles Xcode build ready, couple of retina-support bugs fixed. 2016-06-06 14:35:49 +03:00
John Preston 4ef5596fbc Merge branch 'dev' into profile 2016-06-06 13:33:23 +03:00
John Preston e336030b5e Channels report box added to new profile implementation.
Removed old profilewidget module files.
2016-06-06 13:29:51 +03:00
John Preston 3915576673 Online updated in the new profile covers. Covert to supergroup handled. 2016-06-04 23:29:16 +03:00
John Preston 855d44b9d8 Convert to megagroup information label added to new profiles.
Tested members and admins realtime in new profiles for groups.
2016-06-04 00:46:45 +03:00
John Preston cd2615d8d0 Cloud stored message drafts support added. 2016-06-03 21:24:27 +03:00
John Preston 307e529ccf Merge branch 'dev' into drafts
Conflicts:
	Telegram/SourceFiles/dialogs/dialogs_layout.cpp
2016-06-03 16:44:51 +03:00
John Preston 958e47cc19 Received messages are not marked as read while scroll is at the top.
HistoryToEnd button is always shown if there are unread messages.
HistoryToEnd button displayes unread messages count.
New service message (HistoryCleared) is handled (not displayed at all).
2016-06-03 15:45:33 +03:00
John Preston 86ba50adda Added admin star icon for the new profiles implementation to git. 2016-06-03 12:15:49 +03:00
John Preston ea8f01bd74 Members block almost done in the new profile implementation.
Member kicking, upgrade to supergroup and testing is left.
2016-06-03 10:20:24 +03:00
John Preston 91d516f18c Notify::peerUpdatedSendDelayed() now is always called from the event loop. 2016-06-02 16:57:49 +03:00
John Preston 2c4ec3d9f3 Shared media block done in the new profile implementation.
Preparing to call Notify::peerUpdatedSendDelayed() only from event loop.
2016-06-02 16:02:55 +03:00
John Preston 3fc7cc3453 Actions block done for the new profile implementation.
User block status moved to private data.
Notify::PeerUpdateFlag[s] moved to Notify::PeerUpdate::Flag[s].
2016-06-01 23:05:37 +03:00
John Preston 15d6a1aacf Invite link block in the new profile implementation done.
Fixed ClickHandler state when host is destroyed and after drag-n-drop.
2016-06-01 19:40:51 +03:00
John Preston 66a8aa86e1 Settings block in the new profile implementation done.
New type of button (LeftOutlineButton) was added. _inviteLink moved
to private section in ChatData and ChannelData (with get-set methods).
2016-06-01 16:07:03 +03:00
John Preston 41c8df029a New profile blocks started. Info block fully ready.
All block widgets added (currently empty).
About text and phone number PeerUpdateFlag added for observers.
2016-05-31 22:27:11 +03:00
John Preston 916068447a Cloud stored drafts started. 2016-05-31 12:46:31 +03:00
John Preston 7f353d9b1a Removed all code related to channel comments. 2016-05-27 19:47:46 +03:00
John Preston a06a989f97 New profile fixed top bar now is peer observer.
Multiple showAnimated() calls for SectionWidget are now allowed.
2016-05-27 18:45:35 +03:00
John Preston 2c5c25962c Profile fixed bar actions done, adaptive layout for profile buttons. 2016-05-27 16:56:35 +03:00
John Preston 3570a1cf91 New profile photo edit by drag-n-drop. Animated photo button. 2016-05-27 13:57:11 +03:00
John Preston 329285a8a6 Dragging text from FlatLabel is supported.
Started drag-n-drop support for chat photo updating.
2016-05-26 19:05:39 +03:00
John Preston ab59ef8498 FlatLabel now can allow to select text and copy to clipboard.
Used for peer name in the new profile cover widget.
2016-05-26 18:31:20 +03:00
John Preston 1c13556b8d Simplified usage of Observer, new event types can be added easier. 2016-05-25 21:49:47 +03:00
John Preston 46ad43bb1e New profile cover actions by buttons done.
Two new types of Observers: image loaded and async file dialog.
2016-05-25 20:59:21 +03:00
John Preston a510bb54ec Peer observers get notified about name/username changes.
All peer observer notifications are async (delayed).
2016-05-25 15:09:05 +03:00
John Preston e3e49dbeb8 New profile buttons started, not performing actions yet.
New system of Observers. Subscriptions on PeerData updates.
2016-05-24 19:13:07 +03:00
John Preston ed4e572483 Fixed bot keyboard replies. 2016-05-23 16:14:54 +03:00
John Preston 41b330c5ea Primary and secondary round buttons tested in new profiles. 2016-05-23 15:41:09 +03:00
John Preston 533a955dda Unread outgoing messages in supergroups supported.
Looking through the history of group avatar photos added.
Messages about some contact joined Telegram are never unread.
2016-05-20 19:35:16 +03:00
John Preston c42b142884 Divider added to new profiles. Icons from new styles can fill rects. 2016-05-20 18:35:58 +03:00
John Preston 1dfb8cbde2 New history-to-down button. 2016-05-19 20:18:23 +03:00
John Preston bdc8b3585d Edit messages sent to yourself.
Copy inline keyboard link to clipboard.
Fixed webpage type=video layout with document attach.
Inline GIF results can be manually downloaded before sending.
2016-05-19 18:02:07 +03:00
John Preston 92c720ddc3 Returned animation type to the old one.
Fixed new profile display in single column layout.
2016-05-19 15:38:09 +03:00
John Preston 1d42144c95 Profile done as a new generic Window::SectionWidget.
Slide animation reimplemented.
2016-05-19 15:03:51 +03:00
John Preston 41b6f830aa Merge branch 'master' into dev 2016-05-16 18:48:32 +03:00
John Preston 6e2dea7030 Merge branch 'master' into profile
Conflicts:
	Telegram/Telegram.vcxproj.filters
2016-05-16 18:47:44 +03:00
John Preston ecff1d15af Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-05-15 23:16:18 +03:00
John Preston 895facbcdd Fixed changelog for alpha and beta in 0.9.49 version. 2016-05-15 23:14:47 +03:00
John Preston c2a5ab0c5a Version 0.9.49: disabling high dpi scaling in all systems except OS X. 2016-05-15 13:30:47 +03:00
John Preston fb024e2256 Langs updated, changelog for 0.9.49 version added. 2016-05-14 21:14:55 +03:00
John Preston 7444a9ad67 Fixed scroll down to reply. Show that bot admins see all messages.
Fixed date display when messages were at the same day of different months.
Shared contact with author signature height increased.
2016-05-14 20:28:35 +03:00
John Preston bf8a98a13b Side shadow moved to MainWidget. Testing slide animation with 3s duration.
New profile widget has fixed top bar outside of scroll area.
2016-05-14 19:57:06 +03:00
John Preston cb025b3aa8 Fixed access hash storing in EntityInTextMentionName.
Editing message timer is shown for the last five minutes.
2016-05-12 19:55:45 +03:00
John Preston 3d073eddd6 New profiles started. Function<> made by variadic templates. 2016-05-12 19:05:20 +03:00
John Preston 8c5493ba44 Fixed telegram.qrc dependency on basic.style compilation. 2016-05-12 12:07:17 +03:00
eegorov 8963bff56c Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into test 2016-05-12 09:09:10 +06:00
John Preston 6188aea7ed Beta version 9048001 for Xcode and QtCreator. 2016-05-10 16:39:42 +03:00
John Preston d26a8cbdcc Mentioning a user without username by first name only. Beta 9048001. 2016-05-10 14:46:27 +03:00
John Preston 107a1e7e5d Merge branch 'master' into mentions
Conflicts:
	Telegram/SourceFiles/core/version.h
	Telegram/SourceFiles/localstorage.cpp
	Telegram/build/version
2016-05-10 14:19:01 +03:00
John Preston 9e6243bedf Version 0.9.48 with bugfixes. 2016-05-10 11:57:55 +03:00
John Preston f02fc4dd96 Setting f_views flag for a client-side forwarded message with views. 2016-05-10 10:57:40 +03:00
John Preston 0b2401132e Message edit warning timer (up to 15 minutes).
Displaying "edited" info in messages.
2016-05-09 15:03:06 +03:00
John Preston b28e9a6167 Requesting difference or messages when users from mentions not loaded. 2016-05-09 13:07:25 +03:00
John Preston 90a3a80bf6 Suggest mentions not only by username, but by user names as well. 2016-05-08 19:11:47 +03:00
eegorov 9d703f9519 Make possible to set a path to the patched Qt and his version during
start qmake v2

Signed-off-by: Egor Y. Egorov <egor.y.egorov@gmail.com> (github: eegorov)
2016-05-08 14:14:44 +06:00
John Preston 3e5f51f45a Everywhere TextWithTags and TextWithEntities are used.
Copy tags from messages to clipboard, to drag mime data.
Sorting entities while processing (links, monospace, mentions).
2016-05-06 20:33:48 +03:00
John Preston 463450e607 Saving FlatTextarea tags to drafts, applying them in setText.
Now instead of plain text a TextWithTags struct is used almost
everywhere. Started writing and reading serialized tags to drafts
from 9048, switched version to 0.9.48 for testing.
2016-05-05 19:04:17 +03:00
John Preston 5a47d8e29b Marking tags by random values only inside of FlatTextarea.
Added a strategy to convert tags to and from tags-for-mime-data.
2016-05-04 23:38:37 +03:00
John Preston 45143c40c9 FlatTextarea handles tags on insertFromMime and tags editing.
Fixed dependent messages update when message was edited.
Fixed entities parsing in Text when they follow one after another.
2016-05-04 19:46:24 +03:00
John Preston 5300962ef3 Merge branch 'dev' into mentions
Conflicts:
	Telegram/SourceFiles/core/basic_types.h
2016-05-04 13:45:23 +03:00
John Preston 5f5109f1c4 Some global string constants "static const *" -> "constexpr str_const". 2016-05-04 13:41:41 +03:00
John Preston 5f440a0cbe Merge branch 'dev' into mentions
Conflicts:
	Telegram/SourceFiles/core/version.h
	Telegram/Telegram.vcxproj.filters
2016-05-04 13:21:04 +03:00
John Preston 58e185012c MSVC project files fixed. 2016-05-03 20:03:02 +03:00
John Preston be9915cef8 Fixed MetaLang custom build step in Telegram MSVC project. 2016-05-03 01:13:08 +03:00
John Preston 19d1f0fe8c Removed WinRT QFile::copy() fix from Qt patch: change approved to Qt. 2016-05-02 17:56:00 +03:00
John Preston dff5765f9f 0.9.47 alpha: fixed crash in text processing (Qt pach updated). 2016-05-02 16:42:09 +03:00
John Preston 21f462a77e Mention names support added to FlatTextarea, messages.
Copy of mention names to clipboard done, pasting started.
2016-04-30 20:04:14 +03:00
John Preston b4bc515079 Renamed MentionsDropdown to FieldAutocomplete, moved to separate file.
Support for message field mentions without usernames was started.
2016-04-29 16:46:16 +03:00
John Preston af248a6714 EntityInText made class instead of struct. Scheme updated.
No left trim of monospace text block when sending / displaying text.
New entity type (mention name) introduced, but not supported yet.
2016-04-29 15:00:48 +03:00
John Preston 724ba9e429 Open edit only for the messages that we can edit. 2016-04-28 12:07:59 +03:00
John Preston 9acf437534 Langs updated. Alpha version 0.9.46. 2016-04-27 19:08:27 +03:00
John Preston 1361eb3fba Alpha version 0.9.46. 2016-04-27 18:55:13 +03:00
John Preston d48826751e Some better path variables in Xcode project. 2016-04-27 17:59:38 +03:00
John Preston 301d84a831 Xcode build fixed. 2016-04-27 17:13:20 +03:00
John Preston fe6e3c5252 Build scripts improved, QtCreator build fixed.
qmake and travis builds use -j4 for make.
2016-04-27 16:59:08 +03:00
John Preston 0854dba76a Added moved files to git. 2016-04-27 15:03:10 +03:00
John Preston 745f89dbb9 Moving build / lang scripts from Telegram to subfolders.
Travis build tested with -j param.
Xcode / QtCreator / qmake builds could be broken.
2016-04-27 15:02:17 +03:00
John Preston 77e5925cf0 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-26 16:01:16 +03:00
John Preston 390a1b0754 Some improvements for winrt. 2016-04-26 16:00:23 +03:00
John Preston 487406ac46 Moved to the Visual Studio Update 2. 2016-04-26 12:55:34 +03:00
John Preston d5ed93edd5 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-25 11:06:50 +03:00
John Preston d2922a4173 Fix travis build. Xcode project path fix. 2016-04-25 11:06:13 +03:00
John Preston 53a56bbc2a Telegram.pro using final Qt install path. 2016-04-23 14:53:48 +03:00
John Preston 0130d0cd63 Moved patches to Telegram/Patches, travis builds debug version. 2016-04-23 14:50:28 +03:00
John Preston 2834ce0344 Moving to Qt 5.6.0, instructions can be broken. 2016-04-23 14:40:42 +03:00
John Preston 4aa1f1334c Dev version 0.9.45: first version on new styles codegen. 2016-04-22 13:01:41 +03:00
John Preston d20c370ccc MetaStyle project removed, added -static-libstdc++ for linux build. 2016-04-22 10:25:14 +03:00
John Preston f93e51a934 Fixed Xcode build of the new styles. 2016-04-21 21:18:44 +03:00
John Preston 705358993d New style::icon class added, colorized icons by codegen_style.
Moved style_core to /ui/style/, Xcode and QtCreator builds are broken.
2016-04-21 20:57:29 +03:00
John Preston a133115aa6 Merge branch 'master' into dev
Conflicts:
	Telegram/SourceFiles/ui/style.h
2016-04-20 17:25:32 +03:00
John Preston acec941f02 Merge branch 'styles' into dev 2016-04-20 17:24:51 +03:00
John Preston 522945bbe3 Fixed build for OS X. 0.9.44 version. 2016-04-20 16:09:35 +03:00
John Preston 6838465de2 Fixed paths in codegen_numbers Xcode project. 2016-04-20 16:01:04 +03:00
John Preston ef6bdb7899 Merge branch 'styles' of https://bitbucket.org/johnprestonmail/telegram-desktop into styles 2016-04-20 16:00:29 +03:00
John Preston ed3281d0f5 Improved QtCreator projects for codegen, include dirs used in codegen. 2016-04-20 15:59:25 +03:00
John Preston 7d272919aa Version 0.9.44 copy text context menu item added to some messages. 2016-04-20 15:56:59 +03:00
John Preston 5caceefc2c Fix switch button in outgoing msgs with keyboards.
Inline bot results panel behaviour improved.
Sent and deleted from hard drive GIFs now auto-re-download.
2016-04-20 15:27:38 +03:00
John Preston 10bd2b680d Merge branch 'dev' 2016-04-19 17:02:55 +03:00
John Preston 3e3cd5878e Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-19 17:02:24 +03:00
John Preston ec40b5a9d9 Include directories unified. 2016-04-19 17:01:32 +03:00
John Preston 18d8666312 Moved to g++ 4.9, fixed some warnings, codegen used for Linux build. 2016-04-19 16:52:51 +03:00
John Preston 0501633c75 Added codegen_style/numbers QtCreator projects. Telegram.pro still broken. 2016-04-19 15:06:52 +03:00
John Preston b4d69b847a Xcode build now uses codegen_style/numbers. Xcode projects created. 2016-04-19 13:59:59 +03:00
John Preston 7edb835efc Removed openssl patch. Xcode warning fixed. 2016-04-19 11:57:55 +03:00
John Preston 6859109503 Replaced MetaStyle project with codegen_style/numbers in MSVC. 2016-04-19 01:00:54 +03:00
John Preston 4fe70c3a12 codegen_style completely replaces style gen with MetaStyle.
codegen_numbers project started to replace MetaStyle completely.
2016-04-18 23:33:43 +03:00
Vladimir Belozyorov d14ef3dc5f Fixed inverted checkbox for notify members about pinned message
Signed-off-by: Vladimir Belozyorov <VBelozyorov@users.noreply.github.com> (github: vbelozyorov)
2016-04-18 16:47:23 +04:00
John Preston edd26b3224 Reading of old style format fully supported in codegen_style. 2016-04-17 20:52:17 +03:00
John Preston e0160f7d4c Parsing of color and sprite values started in codegen_style. 2016-04-17 16:22:00 +03:00
John Preston 45bd2dc5fa codegen_style: preparing to parse the whole input file. 2016-04-17 12:30:14 +03:00
John Preston 19f9b56d2c codegen_style project started, basic (common) tokenizer done. 2016-04-16 20:51:25 +03:00
John Preston b61c0941ef Some better source organization. Removed C++11 STL usage (old OS X). 2016-04-15 12:59:02 +03:00
John Preston 3b6d0ef7c0 Dev version 0.9.43 - media text selection and disabling player shortcuts. 2016-04-14 22:28:02 +03:00
John Preston bb70a76b9c Several crashes fixed. 2016-04-14 22:24:42 +03:00
John Preston d6070c37d1 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-14 20:21:50 +03:00
John Preston fdead263d6 Media shortcuts now are enabled only when in-app player is opened. 2016-04-14 19:08:36 +03:00
John Preston d80850a439 Fixed QtCreator build. 2016-04-14 17:30:47 +03:00
John Preston acc7e08a54 Remove -flto in Linux 32bit (it fails Release link: virtual memory exhausted) 2016-04-14 16:06:36 +03:00
John Preston 246e39adb1 Fixed Xcode build, improved project folders (similar to MSVC), warnings fixed. 2016-04-14 16:03:03 +03:00
John Preston 971ec71836 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-14 15:03:06 +03:00
John Preston 4e0a1fad82 Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev 2016-04-14 15:02:57 +03:00
John Preston 291f483671 Allowing to choose bots in appoint supergroup admin box.
Better naturalHeight() for bot keyboards. We try to make all
the buttons in the row have equal size (size of the largest button).
2016-04-14 15:00:44 +03:00
John Preston 68a9a0a12e Text copy from HistoryItem/HistoryMedia/combined is done and tested.
Moved text module to ui/text/ and split it to several modules.
Xcode build currently broken.
2016-04-14 14:00:23 +03:00
John Preston c4a7d48d96 Selection of text in attachments: captions, web page previews.
Text/HistoryItem/HistoryMedia::getState() unified.
Text::getStateElided added. Tested with web page previews only.
2016-04-13 21:29:32 +03:00
Soltan Tekeev 846026051c Fix code duplicate
Signed-off-by: Soltan Tekeev <stek29@yandex.ru>
2016-04-13 20:35:07 +03:00
John Preston a033e31743 Possible crash fixed in ClickHandler. 2016-04-13 08:55:01 +03:00
John Preston 5a3fea05ac ClickHandler, TopBarWidget and Overview layouts moved to separate files.
Xcode and QtCreator builds are currently broken.
2016-04-13 00:31:28 +03:00
John Preston b07cd1264c Version 0.9.42: critical bug fix in contacts box, message edit fix. 2016-04-12 11:13:03 +03:00
John Preston af014b3c14 Fixed crash in bot keyboard replacement. 0.9.41 version.
After username resolve bots always opens conversation, not profile.
2016-04-12 01:34:29 +03:00
John Preston 9cbdc6e95e version 0.9.41 2016-04-11 20:11:31 +03:00
John Preston e8c675d3b2 Langs updated with changelog. 2016-04-11 20:03:50 +03:00
John Preston 7790d5d597 Fixed build for Xcode. Beta 9040128. 2016-04-11 15:27:55 +04:00
John Preston 4cbbed6445 Added PeerAvatarButton sources to git. Beta 9040128. 2016-04-11 15:23:44 +04:00
John Preston bf6904c1c8 Moved PeerAvatarButton sources to SourceFiles. Beta 9040128. 2016-04-11 15:22:37 +04:00
John Preston 576239166d Removed RefPair struct. Beta 9040128. 2016-04-11 15:14:54 +04:00
John Preston e0d6a68554 Encapsulated unreadCount and mute fields in History.
Support for hiding all muted chats from the list.
2016-04-11 14:59:01 +04:00
John Preston 03bbb2269d Info button replaced by userpic in single column layout.
Icons for file inline results never display a download icon.
Using !lastMsg->detached() to detect that all new messages are loaded.
2016-04-11 11:43:40 +04:00
John Preston 00367ec07a Added type voice for inline bots, fixed keyboard buttons bug. 2016-04-11 08:02:39 +04:00
John Preston 2b58e4d3a8 Fixed build for Xcode. Beta 9040127. 2016-04-11 01:06:38 +04:00
John Preston 418e06052c Some bugfixes. Closed beta 9040127.
Crash fix when trying to reply to a bot message which hides the keyboard.
Counting button widths better (more padding, use exact width when avail).
Hiding inline bot results fixed when switched to emoji before hiding.
2016-04-11 00:59:07 +04:00
John Preston 460e2ec0ac UniquePointer > std_::unique_ptr, MakeUnique > std_::make_unique. 2016-04-10 23:20:48 +04:00
John Preston dd1d04e9b0 Inline bot results preview: photo, audio, file, voice. Beta 9040126. 2016-04-10 22:18:26 +04:00
John Preston fe59c815b2 HistoryMedia always holds a pointer to its parent HistoryItem.
Using local cached data when sending media inline bot results.
2016-04-10 18:53:01 +04:00
John Preston 1fe562ec13 Fixed crash when bot removes message inline keyboard while editing. 2016-04-10 15:41:14 +04:00
John Preston 5f12c6d85b Always create photo and document for inline bot results. 2016-04-10 15:13:37 +04:00
John Preston a09a52d95c Round unread badges fix for retina display. 2016-04-10 11:47:12 +04:00
John Preston d960ac2828 Allowing only switch button in inline bot results. 9040124 closed beta. 2016-04-10 09:55:48 +04:00
John Preston fe5e085fb8 Build in Xcode and QtCreator fixed. Langs updated. 2016-04-10 09:49:05 +04:00
John Preston 7d792b1ec5 Fixed date display in messages. Round unread badges in chats list. 2016-04-10 00:41:20 +04:00
John Preston 7bba52fb7e Refactored dialogs structs.
Moved DialogRow, FakeDialogRow, DialogsList and DialogsIndexed
from history module to dialogs/ folder, for all struct -> class.
2016-04-09 22:45:55 +04:00
John Preston 8f00650f0e Finished moving resource files to Resources. Fixed avatar render. 2016-04-09 17:56:40 +04:00
John Preston 1045d628d6 Moved .qrc, langs and art files from SourceFiles to Resources folder. 2016-04-09 17:17:09 +04:00
John Preston 48ffebe266 Langs updated for 9040123 closed beta. 2016-04-09 15:18:43 +04:00
John Preston 5ccd5f4385 Added serialize/ files to QtCreator project. 9040123 closed beta. 2016-04-09 15:16:59 +04:00
John Preston 90b2b240ce Merged with master. 2016-04-09 15:15:23 +04:00
John Preston 3003d24cbd Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-04-09 15:13:55 +04:00
John Preston 1f7e6af2c5 Forwarding of a single message fixed. 2016-04-09 15:08:19 +04:00
John Preston 0110a62776 Inline bot cancel button added.
It replaces Send button when the user is editing an inline bot
query. First cancel clears the inline bot request, second one
clears the field entirely. Escape key acts the same as cancel.
2016-04-09 15:02:50 +04:00
John Preston c3c82eac2d Redirect addToHistory for inline bot results to SendData member. 2016-04-09 12:29:34 +04:00
John Preston 0894931fa1 Encapsulated DocumentData location and serialization.
DocumentData now can point to mtproto or http file.
2016-04-09 09:57:55 +04:00
John Preston ff839bd978 Scheme updated. Inline geo sending requests without geo. 2016-04-08 21:25:20 +04:00
John Preston 18caf2e2f6 Fixed build in Xcode. Langs updated. 2016-04-08 21:22:40 +04:00
John Preston e1f55822b7 Improved inline bot results layout.
Video duration displayed in the middle of the thumbnail.
Contact is now displayed like File, not like Article.
File doesn't have download/open link and displays icon by mimetype.
2016-04-08 19:37:14 +04:00
John Preston fa0c700ca6 Inline switch to pm and back support added for inline bots. 2016-04-08 18:16:52 +04:00
John Preston 8e89486fbc Error handling changed, 'auto' keyword used for MTP types.
All errors that lead to MTP request resending by default
error handler now can be handled differently. For example
inline bot requests are not being resent on 5XX error codes.
+ extensive use of auto keyword in MTP types handling.
2016-04-08 14:44:35 +04:00
John Preston 35d5089f48 Scroll following the inline bot keyboard when message is edited. 2016-04-08 13:20:10 +04:00
John Preston 9af094e278 Toast notification for bot callback result added. Xcode build broken. 2016-04-08 11:12:48 +04:00
Christoph efbf95ae80 Remove unnecessary assignments
Signed-off-by: Christoph <auer.chrisi@gmx.net>
2016-04-07 21:56:47 +02:00
John Preston 04f8d4dd37 Build fixed for renamed sources folder SourceFiles/{gui->ui}/ 2016-04-07 22:05:28 +04:00
John Preston cbed4bc36d Renamed sources folder SourceFiles/gui to SourceFiles/ui. 2016-04-07 21:55:17 +04:00
John Preston 35c05cdba7 Build fixed for gcc, QtCreator. 2016-04-07 20:49:15 +04:00
John Preston a56ece4efe NeverFreedPointer implementation improved and fixed for MSVC. 2016-04-07 20:16:02 +04:00
John Preston a37bbcfaca Fixed building in Xcode. 2016-04-07 14:35:09 +04:00
John Preston db387d50b8 Scheme updated, support for via @bot added to stickers. 2016-04-07 14:03:10 +04:00
John Preston 1bc834bd5e Sending icon is displayed in the inline keyboard callback button. 2016-04-06 21:02:22 +04:00
John Preston a728dcfca8 Sticker preview done for inline bot results.
ReplyMarkupClickHandler moved to .cpp (implementation details).
2016-04-06 19:32:05 +04:00
John Preston ba7cb1abbc Defaulting inline bot reuslt video title/description to
"Video file"/duration. Scheme updated.
2016-04-06 17:46:52 +04:00
John Preston 730dce2cdc telegram.me links open without confirmation box.
EmailClickHandler removed, only UrlClickHandler left.
Some errors lead to @spambot instead of site FAQ.
2016-04-06 17:19:25 +04:00
John Preston 1947d8e5be Click on sticker now opens sticker pack, if the sticker is from pack. 2016-04-06 16:02:00 +04:00
John Preston 80b0667ff9 Requesting getDifference if some users or channels are not loaded
while processing updateNewChannelMessage update.
2016-04-06 15:07:05 +04:00
John Preston 259a996276 Scheme updated. Inline bot result messages now may have reply markup.
Fully applying media from send inline bot result response.
2016-04-06 12:00:37 +04:00
John Preston 3be34a4bb7 Encapsulated inline bot result class. Started inline bot
result downloading by external links, not ready (at all).
2016-04-06 00:24:27 +04:00
John Preston 1e72c8a89b Merge branch 'master' into bots 2016-04-05 13:32:42 +04:00
John Preston e5ec3b6199 New version 0.9.40 2016-04-05 12:05:32 +04:00
John Preston 8f87736523 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-04-05 11:47:48 +04:00
John Preston 24cc72e319 Requesting only supported languages from transifex in UpdateLang.sh
and UploadLang.sh, languages list is in Resources/LangList.
Added two special commands in service notifications conversations:
*new_version_text* for viewing current new version description and
*all_new_version_texts* for viewing it in all supported languages.
2016-04-05 11:45:53 +04:00
John Preston 3e2485678d Moved inline bot result structs from structs.cpp/h module.
Moved inline bot result layouts from layout.cpp/h module.
Over status prepared for inline bot file result icon.
Dependencies reduced, inline bots code moved to InlineBots namespace.
Build in Xcode and QtCreator broken.
2016-04-05 01:09:46 +04:00
John Preston e3bb506795 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-04-04 13:02:45 +04:00
John Preston 1875ee59ee Disappearing of HistoryInner because of pending resize fixed. 2016-04-04 12:57:36 +04:00
John Preston f760846c82 Added some checks in Qt screen() calls.
Added check for self() user data in self photo update in Settings.
2016-04-04 12:55:47 +04:00
John Preston a2fc7f6915 Improved files support in inline bot results. 2016-04-04 11:21:14 +04:00
John Preston 35785efa50 Inline bot video and sticker layout and sending done. 2016-04-03 13:11:41 +04:00
John Preston c5111c9a51 Renamed types.h to basic_types.h, otherwise conflict with zlib. 2016-04-02 19:15:57 +04:00
John Preston 3c98fd44d0 Moved style.h to SourceFiles/gui folder. 2016-04-02 18:21:08 +04:00