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
Show file tree
Hide file tree
Changes from all commits
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .appveyor/after_build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
param (
$VcpkgPath = 'c:\tools\vcpkg\',
$VcpkgPlatform = 'x64-windows'
)

$ErrorActionPreference = 'Stop'

function Pack-Files($ext, $includeExe, $targetPath, $archiveName) {
New-Item $targetPath\imageformats -Type Directory -Force | Out-Null
New-Item $targetPath\platforms -Type Directory -Force | Out-Null

foreach ($name in @('Qt5Core', 'Qt5Gui', 'Qt5Network', 'Qt5Widgets')) {
Copy-Item $env:QT_DIR\bin\$name.$ext $targetPath\
}

Copy-Item $env:QT_DIR\plugins\imageformats\qwebp.$ext $targetPath\imageformats\
Copy-Item $env:QT_DIR\plugins\imageformats\qjpeg.$ext $targetPath\imageformats\
Copy-Item $env:QT_DIR\plugins\platforms\qwindows.$ext $targetPath\platforms\
Copy-Item $VcpkgPath\installed\$VcpkgPlatform\bin\ssleay32.$ext $targetPath\
Copy-Item $VcpkgPath\installed\$VcpkgPlatform\bin\libeay32.$ext $targetPath\

$itemsToPack = @("$targetPath\*.$ext", "$targetPath\platforms\*.$ext", "$targetPath\imageformats\*.$ext")
if ($includeExe) {
$itemsToPack += @("$targetPath\kepka.exe")
}

7z a -mmt $archiveName @itemsToPack
}

Push-Location "$PSScriptRoot\..\build"
try {
Pack-Files dll $true Telegram kepka.zip
Pack-Files pdb $false Telegram pdb.zip
} finally {
Pop-Location
}
2 changes: 2 additions & 0 deletions .appveyor/before_build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set PATH=C:\Python35;%QT_DIR%\bin;%PATH%
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
23 changes: 23 additions & 0 deletions .appveyor/build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
$ErrorActionPreference = 'Stop'

Push-Location "$env:APPVEYOR_BUILD_FOLDER\build"

function execute-cmake {
# We have to merge the stderr and stdout here because otherwise the build will fail on any random warning
cmd /c 'cmake 2>&1' @args
if ($LASTEXITCODE -ne 0) {
throw "CMake execution error: $LASTEXITCODE"
}
}

try {
execute-cmake '-GNinja' `
'-DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake' `
'-DCMAKE_BUILD_TYPE=RelWithDebInfo' `
..
execute-cmake --build . --config RelWithDebInfo
ctest .
if (!$?) { throw 'ctest execution error' }
} finally {
Pop-Location
}
92 changes: 0 additions & 92 deletions .appveyor/install.bat

This file was deleted.

4 changes: 4 additions & 0 deletions .appveyor/install.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vcpkg install --triplet x64-windows openal-soft openssl opus zlib ffmpeg
appveyor DownloadFile https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip
mkdir %APPVEYOR_BUILD_FOLDER%\build
7z x ninja-win.zip -o%APPVEYOR_BUILD_FOLDER%\build > nul
43 changes: 43 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignEscapedNewlines: false
AlignOperands: true
AlignTrailingComments: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeComma
BreakStringLiterals: true
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: false
Cpp11BracedListStyle: true
DerivePointerAlignment: true
IndentCaseLabels: false
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
PointerAlignment: Right
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
Standard: Cpp11
TabWidth: 4
UseTab: ForIndentation
ForEachMacros: [ for_const, foreach, Q_FOREACH, BOOST_FOREACH ]
...
61 changes: 51 additions & 10 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

This document describes how you can contribute to Telegram Desktop. Please read it carefully.
This document describes how you can contribute to Kepka. Please read it carefully.

**Table of Contents**

Expand All @@ -17,14 +17,14 @@ This document describes how you can contribute to Telegram Desktop. Please read

## What contributions are accepted

We highly appreciate your contributions in the matter of fixing bugs and optimizing the Telegram Desktop source code and its documentation. In case of fixing the existing user experience please push to your fork and [submit a pull request][pr].
We highly appreciate your contributions in the matter of fixing bugs and optimizing the Kepka source code and its documentation. In case of fixing the existing user experience please push to your fork and [submit a pull request][pr].

Wait for us. We try to review your pull requests as fast as possible.
If we find issues with your pull request, we may suggest some changes and improvements.

Unfortunately we **do not merge** any pull requests that have new feature implementations, translations to new languages and those which introduce any new user interface elements.
Unfortunately we **do not merge** any pull requests that have not comply with [Telegram API Terms of Use][api-tos].

Telegram Desktop is not a standalone application but a part of [Telegram project][telegram], so all the decisions about the features, languages, user experience, user interface and the design are made inside Telegram team, often according to some roadmap which is not public.
Kepka is a fork of a Telegram Desktop which a part of [Telegram project][telegram], so all the decisions about the features, languages, user experience, user interface and the design *in upstream* are made inside Telegram team, often according to some roadmap which is not public.

## Build instructions

Expand All @@ -33,11 +33,11 @@ environments.

## Pull upstream changes into your fork regularly

Telegram Desktop is advancing quickly. It is therefore critical that you pull upstream changes into your fork on a regular basis. Nothing is worse than putting in a days of hard work into a pull request only to have it rejected because it has diverged too far from upstram.
Kepka is advancing quickly. It is therefore critical that you pull upstream changes into your fork on a regular basis. Nothing is worse than putting in a days of hard work into a pull request only to have it rejected because it has diverged too far from upstram.

To pull in upstream changes:

git remote add upstream https://github.com/telegramdesktop/tdesktop.git
git remote add upstream https://github.com/procxx/kepka.git
git fetch upstream master

Check the log to be sure that you actually want the changes, before merging:
Expand All @@ -56,7 +56,7 @@ For more info, see [GitHub Help][help_fork_repo].

## How to get your pull request accepted

We want to improve Telegram Desktop with your contributions. But we also want to provide a stable experience for our users and the community. Follow these rules and you should succeed without a problem!
We want to improve Kepka with your contributions. But we also want to provide a stable experience for our users and the community. Follow these rules and you should succeed without a problem!

### Keep your pull requests limited to a single issue

Expand Down Expand Up @@ -95,7 +95,7 @@ Furthermore, the pixel shortage is over. We want to see:

### Test your changes!

Before you submit a pull request, please test your changes. Verify that Telegram Desktop still works and your changes don't cause other issue or crashes.
Before you submit a pull request, please test your changes. Verify that Kepka still works and your changes don't cause other issue or crashes.

### Write a good commit message

Expand All @@ -105,11 +105,52 @@ Before you submit a pull request, please test your changes. Verify that Telegram

For example: `Fix #545`

* For documentation commits add `[ci skip]` (or `[skip ci]`) at the end of the commit message.

#### Commit Message Example

```
Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical (unless
you omit the body entirely); various tools like `log`, `shortlog`
and `rebase` can get confused if you run the two together.

Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how (the code explains that).
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.

Further paragraphs come after blank lines.

- Bullet points are okay, too

- Typically a hyphen or asterisk is used for the bullet, preceded
by a single space, with blank lines in between, but conventions
vary here

If you use an issue tracker, put references to them at the bottom,
like this:

Resolves: #123
See also: #456, #789
[ci skip]
```

(Example taken from [this source][commit_message_2])


[//]: # (LINKS)
[procxx]: https://procxx.github.io/
[telegram]: https://telegram.org/
[help_fork_repo]: https://help.github.com/articles/fork-a-repo/
[help_change_commit_message]: https://help.github.com/articles/changing-a-commit-message/
[commit_message]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
[pr]: https://github.com/telegramdesktop/tdesktop/compare
[build_instructions]: https://github.com/telegramdesktop/tdesktop/blob/master/README.md#build-instructions
[commit_message_2]: https://chris.beams.io/posts/git-commit/
[pr]: https://github.com/procxx/kepka/compare
[build_instructions]: https://github.com/procxx/kepka/blob/dev/README.md#build-instructions
[closing-issues-via-commit-messages]: https://help.github.com/articles/closing-issues-via-commit-messages/
[api-tos]: https://core.telegram.org/api/terms
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
name: Bug report
about: Create a report to help us improve

---
<!--
Thanks for reporting issues of Telegram Desktop!
Thanks for reporting issues of Kepka!

To make it easier for us to help you please enter detailed information below.
-->
Expand All @@ -17,13 +22,13 @@ Tell us what happens instead
### Configuration
**Operating system:**

**Version of Telegram Desktop:**
**Version of Kepka:**

**Used theme**:

<details><summary><b>Logs</b>:</summary>
Insert logs here (if necessary)

<!-- You can type `debugmode` in settings and then see ~/.TelegramDesktop/DebugLogs/log_...txt for log files.
<!-- You can type `debugmode` in settings and then see ~/.local/share/Kepka/DebugLogs/log_...txt for log files.
Type `debugmode` in settings again to disable logs. -->
</details>
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature Request
about: New feature that you want to see in Kepka
---

## Feature description
<!-- please describe your feature in simple English. -->


## Feature check-list
- [ ] This feature has been implemented by <!-- Telegram Desktop / another fork. Required to fill if flag is set. Also please paste a link to repo with commit(s) implementing this feature -->
- [ ] This feature doesn't violate the Telegram [Terms of Service](https://telegram.org/tos)

16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,19 @@ xcuserdata
/Linux/
/Telegram/Makefile
*.*~

### Vim service files ##
# swap
.sw[a-p]
.*.sw[a-p]
# session
Session.vim
# temporary
.netrwhist
*~

_build_
_conan_build_

.idea/
cmake-build-debug/
12 changes: 0 additions & 12 deletions .gitmodules

This file was deleted.

Loading