Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: cherry pick some from 240 task #243

Draft
wants to merge 265 commits into
base: dev
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
3b9edbf
Fix include path
berkus Feb 11, 2017
9da9778
Add missing token types
berkus Feb 11, 2017
1bb38d5
Change used private header
Randl Feb 21, 2017
e2970cc
Fix missing includes
berkus Nov 22, 2017
bd0fffa
Turn off OSX crashpad
berkus Feb 22, 2017
954d5f5
Implement missing handlers for disabled breakpad
berkus Nov 23, 2017
cf7ca3d
Subject: [PATCH] Fixed build under Fedora using rpmbuild and mock.
berkus Dec 2, 2017
53996d1
Suppress policy message about automoc-ing generated files
berkus Dec 3, 2017
d2c6b40
Switch to FindOpus.cmake
berkus Dec 3, 2017
bf468f3
Qualify minizip include paths
berkus Dec 3, 2017
be8570e
Suppress new macOS deprecation warnings
berkus Nov 24, 2017
6d0918e
Disable static Qt plugins
berkus Nov 23, 2017
f09feaf
Remove FIPS_mode_set() call
berkus Nov 23, 2017
16aea14
Clean up formatting
berkus Nov 27, 2017
45e09dc
Add C++ logo overlay
berkus Nov 27, 2017
27e384e
Move tests to separate directory
berkus Nov 27, 2017
fa344a9
Update version info with procxx tag
berkus Nov 27, 2017
0f12545
Remove type mismatch
berkus Nov 28, 2017
941b306
Suppress warnings for unhandled enum values
berkus Nov 20, 2017
e9184f9
Replace non-standard types with Qt equivalents
berkus Dec 3, 2017
c417b45
Remove useless bitfield qualifier
berkus Dec 20, 2017
29db5da
Remove autoupdater
berkus Dec 19, 2017
6b6a047
Fix compilation on Windows
berkus Dec 3, 2017
fb783cf
Use OpenAL-provided cmake config, update readme
berkus Dec 3, 2017
44eb875
Move detection to parent cmake file
berkus Dec 4, 2017
9d03c65
Shorten all lines lengths to fit 100 column limit
berkus Dec 4, 2017
97b8616
Fix build against OpenSSL 1.1
mymedia2 Nov 11, 2017
f74793c
Optimize key initialization
mymedia2 Dec 3, 2017
71daae1
Fix crash in RSA public key wrapper.
john-preston Dec 7, 2017
c2edb39
Cleanup formatting
john-preston Dec 7, 2017
7e68388
Reorg cmake structure - remove duplication, reorder sections
berkus Dec 16, 2017
fb2fe20
Add todo notes
berkus Dec 19, 2017
a1e200c
Add more defines from gyp
berkus Dec 17, 2017
badbf7a
Enable tests
berkus Dec 17, 2017
0c4f569
Fix error c2100 invalid inderection against visual c++ 19.12 (visual …
crackedmind Dec 8, 2017
4dfff37
Add list of necessary libs to readme
berkus Dec 17, 2017
03b2257
Fix cmake version check for policy introduced in 3.10
berkus Dec 17, 2017
b9d1cd2
Update readme
berkus Dec 17, 2017
a67bd6e
Adjust OpenAL detection on Linux systems
berkus Dec 17, 2017
c8a36d2
Fix condition name
berkus Dec 17, 2017
44e89b9
Set LINUX os flag
berkus Dec 18, 2017
b58adbd
Add ALSA and PulseAudio support on Linux
berkus Dec 18, 2017
6c6c23c
Set flag only if supported by the compiler
berkus Dec 18, 2017
25b5d2d
Create styles directory initially
berkus Dec 18, 2017
3c350fc
Replace typeof() gcc extension with decltype()
Randl Dec 18, 2017
c4fe2f8
Add explicit typecasting for some constants
berkus Dec 20, 2017
e4358be
Update cmake for linux builds
crackedmind Dec 18, 2017
b25df92
Link in threading libraries if necessary
crackedmind Dec 18, 2017
59ee61a
Handle all enum values
berkus Dec 19, 2017
6ffc8d3
Remove Qt plugins path rewriting
crackedmind Dec 20, 2017
c879bc8
New appveyor.yml
crackedmind Dec 20, 2017
f6eb504
Merge pull request #38 from procxx/ci_appveyor
crackedmind Dec 21, 2017
3c309a5
Use correct add_test() format to obtain correct path to test executables
berkus Dec 21, 2017
03eb016
Fixed build against OpenSSL 1.1.
xvitaly Dec 21, 2017
e1ffe76
Fixed spelling in libtgvoip third-party library.
xvitaly Dec 21, 2017
bc363c4
Added RPM package SPEC for Fedora GNU/Linux distribution.
xvitaly Dec 9, 2017
d73cfac
[skip ci] remove unused code from original tdesktop app
crackedmind Dec 21, 2017
18cd75a
Fix handling of dashes in the style directory path (#53)
ForNeVeR Dec 24, 2017
31ed521
Allow unicode quotes as markdown entry separators. (#54)
ForNeVeR Dec 24, 2017
1a55f85
Slightly update the README file (#55)
ForNeVeR Dec 24, 2017
67cfd8e
Remove unused submodule
berkus Dec 27, 2017
8dd7ec6
Dockerize travis build
berkus Dec 21, 2017
9c55a71
Add OSX build
berkus Dec 28, 2017
6eac160
Pass extra cmake flags on osx
berkus Jan 12, 2018
4aefbdb
Disable unused conan repos
berkus Dec 28, 2017
bbb718d
Add clutches for conan-limp
berkus Dec 28, 2017
aaf3cd7
Reorder osx frameworks list
berkus Dec 30, 2017
a9ea8da
Print found frameworks
berkus Dec 30, 2017
c840977
Fix detection variable usage
berkus Jan 12, 2018
3670d0a
Disable OSX build temporarily - will be addressed in further `ci_osx`…
berkus Jan 12, 2018
f650d37
Switch to single build for CI
berkus Jan 12, 2018
befa910
Enable only PR builds on Travis
berkus Jan 12, 2018
e609b44
Fix non-utf8 text in commit 31ed5214f023f99a40d3e73938d95ac630c26d13
berkus Jan 12, 2018
bf3b821
Add build instructions for Windows (#45) [skip ci]
ForNeVeR Jan 13, 2018
909f3fa
Update README.md
crackedmind Jan 16, 2018
4dd4dae
Update README.md [skip ci]
crackedmind Jan 17, 2018
2ba3bb0
Update build intructions for Debian/Ubuntu [skip ci]
crackedmind Jan 17, 2018
2dd877d
Removed obsolete scriptlets.
xvitaly Jan 17, 2018
e591fde
Install metadata package for Gnome Software to metainfo directory.
xvitaly Jan 17, 2018
d9af5db
Prepare to use regular releases instead of single tarballs.
xvitaly Jan 17, 2018
579f5d0
Add vim service files to .gitignore
Newlifer Jan 17, 2018
45eb128
Fixed issue with running both clients (kepka and tdesktop) simultaneo…
xvitaly Jan 17, 2018
b8ce61c
Replaced old name from shortcuts and metadata package.
xvitaly Jan 17, 2018
42fea7c
Update CONTRIBUTING.md
leha-bot Jan 17, 2018
6cf354d
Added additional build definitions for packaged build:
xvitaly Jan 18, 2018
f9f9e45
libtgvoip: get rid of GYP
leha-bot Jan 11, 2018
726373b
ligtgvoip: get rid of unused & erroneous MIN macro
leha-bot Jan 12, 2018
7debac6
Contributing.md: formatting fixes
leha-bot Jan 17, 2018
e190620
Update README.md
crackedmind Jan 23, 2018
dc231f2
Allow to change app. name using CMake cache
foxcpp Jan 17, 2018
389c355
Update build instructions [skip ci]
crackedmind Feb 8, 2018
2a2d4a2
Get rid of usused file freedesktop.org.xml
leha-bot Feb 11, 2018
7320149
Move out the hardcoded URLs (changelog, about)
leha-bot Feb 9, 2018
b1c7c6f
Made to compile by MSVC 2015/2017 32 bit compilers (#101)
anatoly-spb Feb 13, 2018
e1a947e
Adapt code to compile by MSVC 2015, remove conditional compilation (#…
anatoly-spb Feb 13, 2018
356f1cb
Fixed build of libtgvoip on Big-Endian architectures.
xvitaly Feb 20, 2018
a4987d4
Allow to build Kepka on other than x86 architectures: armv7, aarch64,…
xvitaly Feb 20, 2018
40f8f09
[Refactoring] change qt math function to cmath analog
pperehozhih Jan 18, 2018
1cb6dce
[Refactoring] set current standart to c++17 and change any logic to s…
pperehozhih Jan 27, 2018
6b4e4dd
Use "Kepka" instead of "pro.cxx fork"
leha-bot Feb 28, 2018
747e8b3
Use custom application name in tray popup menu (#106)
minlexx Mar 2, 2018
dde6ba5
Update links in CONTRIBUTING.md (#111)
leha-bot Mar 2, 2018
05b766a
Extract Appveyor scripts into separate files (#57)
ForNeVeR Mar 9, 2018
d287454
Pack PDBs into a separate artifact (#57)
ForNeVeR Mar 9, 2018
0d5f6f4
Enable release publishing (#57)
ForNeVeR Mar 9, 2018
7ed116a
Reply by double clicking a message.
john-preston Feb 28, 2018
9e4a97e
git subrepo pull Telegram/ThirdParty/GSL
crackedmind Mar 11, 2018
a3ba1d6
Update Catch subrepo remote url
crackedmind Mar 11, 2018
c02a20a
git subrepo pull Telegram/ThirdParty/Catch
crackedmind Mar 11, 2018
b2b6c5b
Run ctest on appveyor (#57)
ForNeVeR Mar 11, 2018
19e8c86
README.md: add Fedora buid info (#122)
leha-bot Mar 12, 2018
bf0dc8e
Fix warning against overriding '/std:c++latest' with '/std:c++17'
crackedmind Mar 12, 2018
ceb9828
Fix some warnings against size_t to int conversion
crackedmind Mar 12, 2018
271e31c
libtgvoip: Disable MSVC CRT secure warnings
leha-bot Mar 12, 2018
53363a8
README: increase required CMake version (#124)
leha-bot Mar 12, 2018
a3f5b94
Remove text changelog (use git log instead of)
leha-bot Mar 12, 2018
ea6d487
Get rid of local changelogs
leha-bot Mar 13, 2018
1ab8aa2
Allow to reply by double click on timestamp
leha-bot Mar 17, 2018
dbb0030
Completely drop GTK dialogs. Use native instead.
xvitaly Mar 18, 2018
5a8766e
Completely remove Unity support. Unity is no longer supported by Cano…
xvitaly Mar 31, 2018
5b84a1d
Update cotire remote url
crackedmind Apr 17, 2018
866ad0c
git subrepo pull cotire
crackedmind Apr 17, 2018
54705d0
Apply patch to fix compile with cmake 3.11
crackedmind Apr 17, 2018
56cbcdc
Get rid of qharfbuzz_p private dependency
leha-bot Apr 11, 2018
ed0e5b9
Reorganize #include's in ui/text/text.cpp
leha-bot Apr 11, 2018
49b3469
Add option for typographic message formatting
leha-bot Apr 21, 2018
c237414
text_entity: Add enum for used Unicode codepoints
leha-bot Apr 21, 2018
cc8c119
Renamed project name in CMakeLists.
kachsheev Apr 22, 2018
09f8d60
Add libreSSL support
kachsheev Apr 22, 2018
f2de0e5
Get rid of dee-devel, gtk3-devel in Fedora specfile (#151)
leha-bot Jun 1, 2018
6966121
Remove PCH (#148)
leha-bot Jun 4, 2018
eba069a
Branding changes, minor readme fix
Randl Jun 3, 2018
35c917a
Remove junk files
Randl Jun 3, 2018
1015e08
Rebranding continued: rename target
Randl Jun 4, 2018
80071b6
Fix deprecated qt functions in CMake
Randl Jun 5, 2018
b3cdb38
Add clang-format target to CMake and Travis
Randl Jun 5, 2018
49982a3
Pre-reformat fixes
Randl Jun 5, 2018
b9cd813
Apply clang-format
Randl Jun 5, 2018
e748c9e
Fix Release build (add missing includes)
Randl Jun 8, 2018
93d2fd3
Add install target
foxcpp Jun 10, 2018
22b0cff
Fix almost all warnings (#157)
Randl Jun 11, 2018
21e7a1b
Fix compile error when building with LibreSSL
kachsheev Jun 12, 2018
8b18922
Minimize type_traits (https://github.com/procxx/kepka/issues/27)
Randl Jun 14, 2018
b6df430
Get rid of OrderedSet
Randl Jun 14, 2018
0d01360
Fix "no return in nonvoid function" error in libtgvoip (#167)
leha-bot Jun 20, 2018
9f1896c
Filter RTL in displayed file names(#156)
Randl Jun 20, 2018
f488d5f
Use std::function for base::lambda implementation.
john-preston Oct 27, 2017
e7bace9
Rewrite base::lambda_guard, use only one pointer.
john-preston Oct 27, 2017
38efa1b
Replace base::lambda with shorter term.
Randl Jun 11, 2018
ba5c5d6
Prepare SPEC to 2.0.0 final release.
xvitaly Jul 27, 2018
d405a2a
Fix tg.protocol installation directory
foxcpp Aug 15, 2018
e797a7b
clang_format: Don't sort #includes
leha-bot Sep 12, 2018
6f38f73
clang-format: Explicitly set SortIncludes to false
leha-bot Sep 14, 2018
0a1a016
Fix Windows build
leha-bot Aug 3, 2018
6717ea2
API scheme updated to layer 72.
leha-bot Sep 16, 2018
2aaf08b
Minimal layer 72 support
leha-bot Sep 16, 2018
0411267
Rudimentary support for Live Locations
leha-bot Sep 16, 2018
265cd83
Enable pins for channels
leha-bot Sep 16, 2018
dd003ff
PinMessageBox: show notify checkbox only for group
leha-bot Sep 17, 2018
ae75810
HistoryItem: enable pins for channel messages
leha-bot Sep 17, 2018
4a63c69
Enable messages unpinning for channels
leha-bot Sep 17, 2018
db321f1
Fix the executable name (#179)
ForNeVeR Sep 30, 2018
ae2a988
[skip ci] Describe features in README
leha-bot Oct 1, 2018
956a8bd
Remove unused docs
leha-bot Oct 2, 2018
ef41b88
Add note about deprecated document
leha-bot Oct 2, 2018
9c4a0ee
Added Doxygen basic support.
xvitaly Oct 16, 2018
04882ed
Allow edit messages older than 2 days in sgroups
leha-bot Oct 17, 2018
8b5f81a
Fix channel message pinning for channel moderators
leha-bot Oct 17, 2018
7499968
Add doxygen target to cmake
crackedmind Oct 18, 2018
56b40c4
OS X build fixes (#193)
winger Oct 19, 2018
f4ae3d5
Replace mess with maps in lang_auto ( https://github.com/procxx/kepka…
Randl Oct 19, 2018
5d336eb
Enable conformance mode for MSVC >= 15.5
crackedmind Oct 18, 2018
e2e9b8a
Fix compilation errors in conformance mode
crackedmind Oct 18, 2018
9cf5559
Fix some warnings
crackedmind Oct 23, 2018
ac62bc1
Improve cmake
crackedmind Oct 26, 2018
f85e740
Rename Telegram.rc -> Kepka.rc.in
crackedmind Oct 27, 2018
ed2ccee
Update config.h.in
crackedmind Oct 27, 2018
0c43994
Replace strings with raw strings in style
Randl Oct 22, 2018
af4cfd8
Fix generator
Randl Oct 26, 2018
6bed313
Replace switch with map
Randl Oct 26, 2018
0e7d653
Replace switch with map
Randl Oct 26, 2018
e4478fd
Reformat
Randl Oct 26, 2018
f526586
Delete Instance constructor, since its member constructor is deleted
Randl Oct 19, 2018
f1b4a86
Fix unused variables, lambda captures.
Randl Oct 20, 2018
16318f9
Remove now unused Generator::writeSetSearch
Randl Oct 20, 2018
4b78d52
Fix more warnings
Randl Oct 21, 2018
25fbc2f
Minor refactoring
Randl Oct 21, 2018
2a341d7
Fix broken lambda (MSVC bug?)
Randl Oct 25, 2018
de6b51b
Convert build script to PowerShell
ForNeVeR Oct 27, 2018
6c2d261
Use FindPython3 cmake module to launch codegen_scheme
crackedmind Oct 27, 2018
7f2cb4e
Update kepka.spec for Fedora
crackedmind Oct 27, 2018
5d01f48
workaround for cmake < 3.12
crackedmind Oct 28, 2018
1b9b2bb
Remove empty line. Third-party list is more compact now [ci skip]
crackedmind Oct 28, 2018
79367a7
Print diff in case of clang-format output
Randl Oct 31, 2018
ca8941e
Update docker image
crackedmind Oct 26, 2018
97011cd
Convert last mentions of offical in strings
berkus Oct 29, 2018
287b4f6
Add license header converter
berkus Oct 29, 2018
8fcbf45
Convert license headers automatically
berkus Oct 29, 2018
8e50d96
Convert manually what couldn't be converted automatically
berkus Oct 29, 2018
d3c5e44
Fix codegenerated license headers
berkus Oct 29, 2018
eed10ab
Change xdg link data
berkus Oct 29, 2018
ee47a1c
Update .style files
berkus Oct 29, 2018
4fd2f16
Clang-format
berkus Oct 29, 2018
9d4a859
Copy OpenSSL libraries to the output (#215)
ForNeVeR Nov 11, 2018
04ad56b
Replace TDesktop logs path to Kepka's path
leha-bot Feb 8, 2019
b0d2191
Convert issue template to new named template "Bug report"
leha-bot Feb 7, 2019
bbd7709
Add issue template for feature requests
leha-bot Feb 7, 2019
792a88d
Refactor DC configuration
Kaffeine Jan 25, 2019
4504090
Added Clang build support.
xvitaly Mar 15, 2019
6ebbe5a
Enabled LTO optimizations.
xvitaly Mar 15, 2019
9fc0078
Removed AL_LIBTYPE_STATIC build definition.
xvitaly Mar 16, 2019
f792920
Allow user to enable or disable interpocedural optimizations.
xvitaly Mar 31, 2019
e511b23
Document new flag
leha-bot Mar 31, 2019
7d43f9d
Enabled IPO optimizations for official RPM package.
xvitaly Mar 31, 2019
7ba1673
Added PACKAGED_BUILD cmake build option to CMakeLists.
xvitaly Apr 2, 2019
62abfe6
Use {appname} for splash screen string
leha-bot Oct 17, 2018
12185c3
Remove unused code
crackedmind Oct 29, 2018
03a3e5c
Replace stock copyright-protected logo by ours
leha-bot Dec 31, 2018
9c1b501
Happy new Copyright Year! (in winrc)
leha-bot Dec 31, 2018
f09f807
Add logo copyright info to README
leha-bot Dec 31, 2018
0152b24
Add optional support for Yandex.Maps static API
leha-bot Oct 2, 2018
d18ff9e
history_location_manager: Introduce new classes for getting location …
leha-bot Jan 27, 2019
b2e70e6
history_location_manager: use new interface for tile info
leha-bot Jan 28, 2019
6bb8757
history_location_manager: fix all warnings by Qt's Clang Code Model
leha-bot Jan 28, 2019
d427822
Document maps feature and how to enable it
leha-bot Dec 31, 2018
96debfe
Version 2.0.0-rc2
leha-bot Dec 31, 2018
e1615de
Enable Yandex.Maps as default image tile provider
leha-bot Jan 29, 2019
b2ee902
Rewrite emoji switch-based search
Randl Nov 1, 2018
e164760
Use AL_DIRECT_CHANNELS_SOFT for audio playback.
john-preston Nov 13, 2018
d0de5d3
Fix emoji search in dictionary (#234)
Randl Jun 24, 2019
e49340e
Allow to forward custom API tokens for Kepka.
xvitaly Jun 24, 2019
bd54842
Send stderr from cmake into stdout
ForNeVeR Jun 24, 2019
a85f82d
Fixed build by adding qt5-qtbase-private-devel to build requires.
xvitaly Jul 9, 2019
4d0ee2c
Switched to boolean conditionals in RPM SPEC file.
xvitaly Jul 9, 2019
cd008f2
Extract PhotoData to new file
leha-bot Apr 4, 2019
620d463
Extract some basic data definitions to data/data_types
leha-bot Jul 23, 2019
0e1f7d1
layerwidget: drop #include "structs.h"
leha-bot Jul 23, 2019
5e0724a
Extract GameData
leha-bot Jul 24, 2019
94d2d07
Extract DocumentData and some related types to data/data_document.h
leha-bot Jul 24, 2019
7a88eed
Drop some cyclic #include's of structs.h
leha-bot Jul 24, 2019
3b5af27
Fix deprecation warning on Qt 5.12+
leha-bot Jul 24, 2019
f1fb375
lang_instance: minor int/uint fix to avoid warnings
leha-bot Jul 24, 2019
bc898f3
apiwrap.h: drop #include "structs.h"
leha-bot Aug 17, 2019
4aa8f29
extract peer related to new header data/data_peer.h
leha-bot Aug 17, 2019
4cdf1c4
history.h: drop #include "structs.h"
leha-bot Aug 18, 2019
559a584
structs.h: move rest of chat/peer related structs to data_peer.h
leha-bot Aug 18, 2019
b5aa82a
Update includes to data_peer.h
leha-bot Aug 18, 2019
a96e15c
add data_flags class
Aug 18, 2019
0e41fbf
remove function updated
Aug 18, 2019
789570a
data_document: extract Q_FIXED to impl from .h
leha-bot Aug 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove function updated
Александр authored and leha-bot committed Aug 18, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 0e41fbf5e46aad16ccd0a127202207d4bdb6c6d5
16 changes: 8 additions & 8 deletions Telegram/SourceFiles/data/data_flags.h
Original file line number Diff line number Diff line change
@@ -46,19 +46,19 @@ class Flags {
void set(FlagsType which) {
if (auto diff = which ^ _value) {
_value = which;
updated(diff);
//updated(diff);
}
}
void add(FlagsType which) {
if (auto diff = which & ~_value) {
_value |= which;
updated(diff);
//updated(diff);
}
}
void remove(FlagsType which) {
if (auto diff = which & _value) {
_value &= ~which;
updated(diff);
//updated(diff);
}
}
FlagsType current() const {
@@ -74,11 +74,11 @@ class Flags {
// }

private:
void updated(FlagsType diff) {
if ((diff &= FlagsType::from_raw(kEssential))) {
_changes.fire({ diff, _value });
}
}
// void updated(FlagsType diff) {
// if ((diff &= FlagsType::from_raw(kEssential))) {
// _changes.fire({ diff, _value });
// }
// }

FlagsType _value = 0;
//rpl::event_stream<Change> _changes;