John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00
John Preston
3cff50009c
Closed beta 10019010: unified attach button, new intro, new stickers.
...
Now all files sending is confirmed before preparing for sending.
You can paste from clipboard and drag many files at once.
2016-12-30 17:52:32 +04:00
John Preston
26c08236cd
Fixed build for Xcode. Round cap used in radial animations.
2016-12-30 17:52:31 +04:00
John Preston
3da0533339
Intro redesign done.
2016-12-30 17:52:30 +04:00
John Preston
6e0394dd42
Stickers box redesigned.
2016-12-30 17:52:28 +04:00
John Preston
38d20c506e
Image options are used in cache key. Medias with captions has tails.
2016-12-30 17:52:27 +04:00
John Preston
b1ca0f5ea3
Fixed build for macOS old versions.
2016-12-30 17:52:26 +04:00
John Preston
eb05e62422
Not rounding images (photos/videos/gifs) that continue to a bubble.
2016-12-30 17:52:25 +04:00
John Preston
9155591e8a
New cancel search icon animation.
2016-12-30 17:52:24 +04:00
John Preston
9fa284a6d1
Photo and video overview and background gallery checkboxes improved.
2016-12-30 17:52:23 +04:00
John Preston
e880c4876e
Strict alignment request for base::lambda. Various improvements.
2016-12-30 17:52:21 +04:00
John Preston
8a0c275658
Group and channel create box photo select button improved.
2016-12-30 17:52:20 +04:00
John Preston
2ada4d841f
Top bar buttons design improved, emoji pan animations removed.
2016-12-30 17:52:18 +04:00
John Preston
31a66d66e2
Layers show/hide rewritten, animated show over mainmenu and settings.
2016-12-30 17:52:15 +04:00
John Preston
07689476a6
Closed beta 10019008: Some more ripple animations added.
2016-12-30 17:52:13 +04:00
John Preston
cdef9fa14f
Active state for IconButton added, when ripple is not hidden.
2016-12-30 17:52:11 +04:00
John Preston
7fa274a68e
Improved ripple animation colors and styles for different buttons.
...
Also moved FlatLabel and LabelSimple to ui/widgets/labels module.
Also moved ScrollArea to ui/widgets/scroll_area module.
2016-12-30 17:52:10 +04:00
John Preston
3186e1e495
Ripple animations done for IconButton, FlatButton and RoundButton.
...
Also moved input field classes to ui/widgets/input_fields module.
2016-12-30 17:52:08 +04:00
John Preston
48eb72a9c2
Optimized dropdown animation. Dropdown animation for EmojiPan done.
2016-12-30 17:52:07 +04:00
John Preston
78f55c10e9
Closed beta 10019006: left main menu.
2016-12-30 17:52:06 +04:00
John Preston
807bebb3cf
Buttons moved to ui/widgets/buttons module, BoxButton removed.
2016-12-30 17:52:04 +04:00
John Preston
55b1ba128d
Fixed PanelAnimation for Retina, added 1px padding to emoji.
2016-12-30 17:52:01 +04:00
John Preston
bd2be4e0c1
Build fixed for Linux, checking for compositing manager running.
...
Backported QX11Info::isCompositingManagerRunning from Qt 5.7.
2016-12-30 17:52:00 +04:00
John Preston
27ff8d4bf5
Closed beta 10019004: improved new dropdown animation on macOS.
2016-12-30 17:51:58 +04:00
John Preston
1310b156dc
Closed beta 10019004: new add contact button, various improvements.
2016-12-30 17:51:57 +04:00
John Preston
3366e05b77
Rich dropdown animations.
2016-12-30 17:51:56 +04:00
John Preston
494254496e
10019003: Some compose area icons improved. Box headers redesigned.
2016-12-30 17:51:52 +04:00
John Preston
19f4e50e33
New compose area icons.
2016-12-30 17:51:50 +04:00
John Preston
23c2e5364a
Removed anim::cvalue and ColorAnimation, all done by fvalue now.
...
Also moved style::interpolate to anim::color/anim::pen/anim::brush.
2016-12-30 17:51:46 +04:00
John Preston
d12177befd
Update Telegram button added to DialogsWidget/Intro. Three dot menu.
2016-12-30 17:51:41 +04:00
John Preston
3a599e0752
New main menu in DialogsWidget.
...
Also "flip_horizontal" and "flip_vertical" modifiers support added.
Also moving parts of MainWindow to Window::MainWindow.
2016-12-30 17:51:38 +04:00
John Preston
1ecd6866c7
Closed beta 10019001: improved style apply for FlatButton.
2016-12-30 17:51:35 +04:00
John Preston
1466338e7e
Closed beta 10019001: Build fixed for Xcode.
2016-12-30 17:51:34 +04:00
John Preston
2a3fd0066d
Closed beta 10019001: style::color copy is denied, only const refs.
2016-12-30 17:51:33 +04:00
John Preston
5d10c02b5b
Applying color themes with confirmation / reverting (15 seconds).
2016-12-30 17:51:32 +04:00
John Preston
af9edc17d2
Applying color theme without restarting the application.
2016-12-30 17:51:31 +04:00
John Preston
c932f3d9df
Removing almost all animated over states in IconButton.
2016-12-30 17:51:30 +04:00
John Preston
e08f5437a6
Palette usage improvements.
2016-12-30 17:51:29 +04:00
John Preston
dbb6371e67
First version on loading themes is ready.
2016-12-30 17:51:27 +04:00
John Preston
2e4426aac0
Old sprites removed completely. Only #rrggbb and #rrggbbaa in styles.
...
Also moved Checkbox and Radiobutton to Ui namespace.
Also child widgets in many boxes were wrapped in ChildWidget<>.
2016-10-28 12:20:24 +03:00
John Preston
f7374aa7b7
Almost all icons moved from sprite.
...
It is a broken build, some of sprite()s are in stickers.style file.
2016-10-28 00:19:38 +03:00
John Preston
29493a0693
All emoji icons moved from sprite.
2016-10-27 17:10:28 +03:00
John Preston
6e33f039b2
Dropdown replaced by Ui::DropdownMenu. ScrolledWidget removed.
...
Ui::DropdownMenu is like Ui::PopupMenu, both based on Ui::Menu.
2016-10-27 15:56:48 +03:00
John Preston
140e6d6268
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-10-26 15:24:38 +03:00
John Preston
ec6e46dae7
Some more icons moved from sprite.
2016-10-26 15:24:21 +03:00
John Preston
abd755d7fc
Fixed build for Xcode and GCC.
2016-10-26 14:03:33 +03:00
John Preston
ff2d959abd
Some icons moved from sprite. Ui::WidgetFadeWrap() effect added.
2016-10-26 13:06:00 +03:00
John Preston
c8a379e85e
Fix crash: transfer QMenu ownership to PopupMenu. Not tested.
2016-10-24 18:38:57 +03:00
John Preston
a774e9b712
Closed beta 0.10.17.2: macOS animation improvements, multiselect design.
2016-10-24 00:25:29 +03:00
John Preston
c1d862d8de
Some icons moved from sprite to separate files.
2016-10-22 21:58:36 +03:00
John Preston
e1478359e6
Fixed build in Xcode.
2016-10-22 20:05:19 +03:00
John Preston
8bc4e3816b
ShareBox and CountrySelect use Ui::MultiSelect as a search field.
2016-10-22 18:59:36 +03:00
John Preston
48332c0c6b
Ui::MultiSelect control ready.
2016-10-22 18:59:36 +03:00
John Preston
3455344c62
Ui::MultiSelect control started: now it's just search field + cancel.
2016-10-22 18:59:34 +03:00
John Preston
e5a5273b3a
Scrollable boxes reorganized: _scroll always owns _inner.
...
Also some boxes moved to separate modules: MembersBox, StickersBox.
2016-10-22 18:59:33 +03:00
John Preston
2bd561821a
Using cute userpic checkbox Ui::RoundImageCheckbox in ContactsBox.
2016-10-22 18:59:32 +03:00
John Preston
763b347a8f
Moved a cute userpic checkbox from ShareBox to a separate class.
2016-10-22 18:59:32 +03:00
John Preston
c514c62d61
Attempt to fix a crash in getUserFull() without a loaded peer.
2016-10-22 18:58:14 +03:00
John Preston
130c41d711
Take control over macOS media keys only when using music player. #2549
2016-10-22 17:35:37 +03:00
John Preston
c773bffec6
Applying the ReplyMarkup returned in updateNewMessage. #2543
...
Also InputField now can be forced to hide placeholder.
2016-10-20 18:29:18 +03:00
John Preston
48a20f0e71
Version 0.10.15 alpha: crash fix in new player, close button added.
...
Also some grammar improvements and pinned message bar hiding fixed.
2016-10-18 18:19:13 +03:00
John Preston
2f4b2d0a33
Version 0.10.14 alpha: userpic images are now generated as icons.
...
Also fixed Windows build by adding breakpad include path back to gyp.
2016-10-18 14:48:03 +03:00
John Preston
ba4dcc42dc
Version 0.10.14 alpha: using $XDG_DATA_HOME in Linux.
...
If there is no app data in ~/.TelegramDesktop (like in
fresh installs) we use $XDG_DATA_HOME/TelegramDesktop.
2016-10-18 13:32:33 +03:00
John Preston
fa0e255183
Fixed tooltip display when hiding media player panel.
2016-10-14 21:44:15 +03:00
John Preston
5d6dafeeda
New media player build fixed for Xcode.
2016-10-14 21:27:42 +03:00
John Preston
31a847fb9d
Playlist appearance added to the new media player.
...
Also itemRemoved() now is fired as a global observable.
2016-10-14 20:10:15 +03:00
John Preston
4f0cff5467
Playlist added in the new media player panel.
2016-10-13 18:04:40 +03:00
John Preston
d543073632
Display download progress in the media player playback widget.
2016-10-13 12:12:12 +03:00
John Preston
956d048d56
Changing volume in media player by mouse wheel events.
2016-10-13 11:36:02 +03:00
John Preston
9eb8a93719
Media::Player::Widget added instead of PlayerWidget.
...
New media player bar widget added. Switching between floating
media player panel and media player widget. New volume controller.
2016-10-12 22:36:48 +03:00
John Preston
e616c39608
Merge branch 'dev' into player
...
Conflicts:
Telegram/SourceFiles/application.cpp
Telegram/SourceFiles/core/utils.h
Telegram/SourceFiles/localstorage.cpp
Telegram/SourceFiles/pspecific_mac_p.mm
2016-10-08 12:10:33 +03:00
John Preston
f1d52c12ae
Version 0.10.13.alpha: crash fix in custom notifications.
...
Not sending inline bot request drafts to server by timeout.
2016-10-07 19:45:45 +03:00
John Preston
16ce28f4d2
Notifications settings done: screen corner selection + max count.
2016-10-06 19:41:09 +03:00
John Preston
e7b6d7b498
Advanced notifications settings box layout done.
2016-10-05 21:37:48 +03:00
John Preston
41dc0f4e98
Hide all button added to default notifications.
2016-10-05 19:56:27 +03:00
John Preston
aa17702c01
0.10.10: Crashfix: Removed infinite recursion in Ui::FadeAnimation().
2016-10-03 13:09:49 +03:00
John Preston
4a5f467560
Version 0.10.9: fixed interface scaling and Windows build.
2016-10-01 16:15:27 +03:00
John Preston
ef2faf676e
Version 0.10.9: langs updated, moved shadow icons to separate files.
2016-10-01 15:35:52 +03:00
John Preston
acbaf83442
Disabling playback seeking in new media player when loading audio.
2016-09-30 21:10:54 +03:00
John Preston
1b54ccb59c
Merge branch 'game_media' into player
...
Conflicts:
Telegram/Resources/basic.style
Telegram/SourceFiles/media/player/media_player_list.cpp
Telegram/SourceFiles/title.cpp
2016-09-30 20:07:56 +03:00
John Preston
886327a1d0
Playing game state is set for 10 seconds instead of 30.
...
Also moved some icons from sprite to separate b&w files.
2016-09-30 19:40:00 +03:00
John Preston
828b42e4f1
Version 10008004: fixed Xcode build.
2016-09-29 22:48:34 +03:00
John Preston
a5eee9bd3e
Beta 10008004: games / webpages work fine if media autoload disabled.
...
Also moved alot of file icons from sprite to separate b&w files.
2016-09-29 22:42:14 +03:00
John Preston
fee1cec3d9
Merge branch 'game_media' into player
2016-09-29 20:01:56 +03:00
John Preston
1247bd19b6
No confirmations for verified game bots. Disabled Game media edition.
...
Also inline bot requests are sent after "@...bot" even without space.
2016-09-29 19:15:44 +03:00
John Preston
5b3ac58578
Merge branch 'game_media' into player
...
Conflicts:
Telegram/SourceFiles/core/basic_types.h
Telegram/SourceFiles/sysbuttons.h
Telegram/SourceFiles/title.cpp
2016-09-29 16:48:43 +03:00
John Preston
f1f7333c7a
Removed some old styles. Divided basic_types module to several.
2016-09-29 14:37:16 +03:00
John Preston
5b7d936140
Some langs updated. Build fixed for Xcode.
2016-09-29 00:33:05 +03:00
John Preston
903795d0e5
Merge branch 'game_media' into player
...
Conflicts:
Telegram/SourceFiles/application.cpp
Telegram/SourceFiles/inline_bots/inline_bot_layout_internal.cpp
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/mainwidget.h
Telegram/SourceFiles/structs.h
2016-09-29 00:31:43 +03:00
John Preston
0562024444
Merge branch 'master' into player
...
Conflicts:
Telegram/SourceFiles/core/observer.h
Telegram/SourceFiles/mainwindow.h
Telegram/SourceFiles/media/view/media_clip_playback.cpp
Telegram/SourceFiles/media/view/media_clip_playback.h
2016-09-29 00:16:02 +03:00
John Preston
78815800d0
Media::Clip::Reader owners use Media::Clip::ReaderPointer smartptr.
2016-09-28 23:28:53 +03:00
John Preston
538ffb9727
Moved History[Media] classes to history_media_types module.
2016-09-28 13:15:03 +03:00
John Preston
8546814a25
imageLoaded() notifications done through base::Subscriber.
...
Also FileDialog query completion notifications use base::Subscriber.
Strict lambda alignment check. Disable large lambdas in lambda_wrap.
2016-09-26 16:57:08 +03:00
John Preston
453661d611
Removed Function<> and SharedCallback<>, using base::lambda_unique<>.
...
Also removed macro START_ANIMATION(anim,) using anim.start() instead.
2016-09-26 15:09:59 +03:00
John Preston
f970ac3163
New audio player done (without playlist).
2016-09-23 19:04:26 +03:00
John Preston
a8f3582cb1
Title controls reordering done right. Title song play button created.
2016-09-21 14:44:20 +03:00
John Preston
c563280b76
Merge branch 'master' into games
2016-09-20 18:12:49 +03:00
John Preston
c4a4e99f6b
Version 0.10.7: fixed entities moving when replacing emoji.
2016-09-20 17:02:50 +03:00
John Preston
52a7ed77ba
First version of ShareBox done, cute animations.
...
Temporarily ShareBox is opened instead of ContactsBox, for testing.
2016-09-06 15:28:37 +03:00
John Preston
ab18fc6478
0.10.4: Same chat msg links fixed. Crash fix attempt in ScrollArea.
...
If the message link is opened in the same chat the ShowWay::Forward
should be ignored.
There was a possible crash in ~ScrollArea() when one of the bars
was already destroyed and the second called ScrollArea::leaveEvent.
Now both bars are ChildWidget<>s and will be destroyed in ~QWidget().
2016-09-03 12:35:12 -04:00
John Preston
c5f4655b9e
Merge branch 'gyp_xcode' into dev
2016-08-31 16:06:12 -04:00
John Preston
50616cc267
Version for OS X 10.6-10.7 build from GYP is ready, not tested yet.
2016-08-29 23:24:16 -06:00
John Preston
605a45c8ba
New settings build ready in Xcode.
2016-08-28 14:23:32 -06:00
John Preston
b520cf0f78
First version of the new Settings page is finished.
...
Added LocalStorageBox for watching info and clearing local storage.
Local passcode and cloud password state display and editing done.
Temporary download location clearing link added.
Crash fixed in local storage clear + app close, now waiting for the
clearing thread to quit. Some design improvements and testing.
2016-08-28 13:16:23 -06:00
John Preston
afab21372b
Auto update and codes ("loadlang" etc) supported in the new Settings.
2016-08-27 11:52:05 -06:00
John Preston
993b91ac15
Most of the new Settings sections filled with widgets.
...
Some animations added: new scale slider, widget_slide_wrap<TWidget>.
Any TWidget now can resizeToWidth() with overriden resizeGetHeight().
2016-08-22 19:31:42 +02:00
John Preston
ea955635ac
New way for subscribe/notify async about any events.
...
Two classes base::Observable<Event> and base::Subscriber were added.
base::Observable<Event> can notify about Event-s, while any
base::Subscriber can subscribe and then async receive them.
2016-08-18 21:27:43 +02:00
John Preston
90678d411f
Started a special LayerWidget: Settings::Widget.
...
Also added some missing calls to parent event handlers in boxes.
2016-08-18 12:52:36 +03:00
John Preston
392984f276
New way of working with boxes (layers).
...
Now the background of boxes is separated to another widget.
This will allow to use a special layer widget (like settings)
together with the usual layers-boxes upon it, moving the special
widget behind the dark background when a usual layer-box is shown.
2016-08-16 19:53:10 +03:00
John Preston
140522c196
Stable version 0.10.1: various bugfixes.
...
Minimal height of the message text fixed to prevent bubble collapsing.
FileDialog filter is (*) instead of (*.*) for Linux and macOS.
Explicitly setting text color in Settings user name painting.
2016-08-05 18:01:00 +01:00
John Preston
5df54371b5
ConfirmPhoneBox support added.
...
Limiting StartUrl to 8k symbols to prevent share url text overflow.
Better working with many cases of regular expression switch.
2016-07-28 20:01:08 +03:00
John Preston
dbdf28d0a0
Version bumped to 0.9.61 stable.
...
Merge branch 'archived_stickers' into cancel_reset.
Conflicts:
Telegram/Resources/winrc/Telegram.rc
Telegram/Resources/winrc/Updater.rc
Telegram/SourceFiles/app.cpp
Telegram/SourceFiles/core/version.h
Telegram/SourceFiles/localstorage.cpp
Telegram/Telegram.vcxproj.filters
Telegram/Telegram.xcodeproj/project.pbxproj
Telegram/build/version
2016-07-25 22:54:40 +03:00
John Preston
207981b8c4
Sync video to audio stream fixed. Cute video download inside MediaView.
...
Small round radius in webpage photo / doc nested attachments.
2016-07-19 13:54:43 +03:00
John Preston
bf4acc4e52
Fixed reading stickers from old versioned local storage.
...
Handling error when installing sticker set from featured.
2016-07-14 14:59:55 +03:00
John Preston
cb0c99acc8
Seek done in video player in MediaView. Some memory leaks fixed.
...
Using pixmapFromImageInPlace() instead of QPixmap::fromImage().
2016-07-13 20:34:57 +03:00
John Preston
01d448c1bd
Video play progress displayed in MediaView (in case of audio stream).
2016-07-12 14:38:16 +03:00
John Preston
d806d079a2
Merge branch 'master' into video
...
Conflicts:
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/ui/animation.cpp
Telegram/Telegram.pro
2016-07-11 21:12:10 +03:00
John Preston
356b48bcca
Started video player UI in MediaView.
2016-07-11 21:05:46 +03:00
John Preston
cd36d367ed
Version raised to 0.9.58. Version field of documents supported.
2016-07-08 16:56:53 +03:00
John Preston
2aa35af909
Merge branch 'master' into dev
...
Conflicts:
Telegram/SourceFiles/history/history.style
2016-07-08 13:26:28 +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
1904a4f48a
Round radius increased for message bubbles.
2016-07-07 15:35:14 +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
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
b61cc150db
Merge branch 'master' into video
...
Conflicts:
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/structs.cpp
2016-07-05 20:42:47 +03: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
e015a8299e
Copy to FindBuffer added by Cmd+E on OS X.
2016-06-28 21:27:23 +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
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
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
d64892584d
ClipReader was moved to a separate namespace and different files.
2016-06-24 13:37:29 +03:00
John Preston
701b8c87e6
Selected messages actions (forward, delete, cancel) redesigned.
2016-06-22 20:11:35 +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
7db7b177c0
Members block in group conversation view finished (except Xcode project).
2016-06-20 14:31:12 +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
963000386f
Fixed crash in BotKeyboard resize. Fixed elided single-line Text layout.
2016-06-17 16:27:21 +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
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
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
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
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
19cacd0efb
New layout of service messages (complex shape of a bubble).
2016-06-09 14:51:24 +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
fadd531fbb
Build prepared for Xcode and hopefully for QtCreator. Closed beta 9049002.
2016-06-08 13:24:20 +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
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
1c0548d1e8
New profiles Xcode build ready, couple of retina-support bugs fixed.
2016-06-06 14:35:49 +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
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
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
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
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
41b330c5ea
Primary and secondary round buttons tested in new profiles.
2016-05-23 15:41:09 +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
1d42144c95
Profile done as a new generic Window::SectionWidget.
...
Slide animation reimplemented.
2016-05-19 15:03:51 +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
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
6188aea7ed
Beta version 9048001 for Xcode and QtCreator.
2016-05-10 16:39:42 +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
90a3a80bf6
Suggest mentions not only by username, but by user names as well.
2016-05-08 19:11:47 +03: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
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
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
390a1b0754
Some improvements for winrt.
2016-04-26 16:00:23 +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
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
18d8666312
Moved to g++ 4.9, fixed some warnings, codegen used for Linux build.
2016-04-19 16:52:51 +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
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
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
bb70a76b9c
Several crashes fixed.
2016-04-14 22:24:42 +03:00
John Preston
d80850a439
Fixed QtCreator build.
2016-04-14 17:30:47 +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
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
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
4cbbed6445
Added PeerAvatarButton sources to git. Beta 9040128.
2016-04-11 15:23:44 +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
5f12c6d85b
Always create photo and document for inline bot results.
2016-04-10 15:13:37 +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
90b2b240ce
Merged with master.
2016-04-09 15:15:23 +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
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
9af094e278
Toast notification for bot callback result added. Xcode build broken.
2016-04-08 11:12:48 +04: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