Telegram github commits and releases
4.34K subscribers
601 files
21.3K links
Broadcast from the most important Telegram clients' repositories
Download Telegram
Recent Commits to tdesktop:dev
Remove read() constructors from MTP types.

Remove read() constructors from MTP types.

This will allow us to handle errors in parsing not by exceptions.
Recent Commits to tdesktop:dev
Make all owned MTPD types immutable.

Make all owned MTPD types immutable.

Remove custom refcounting in mtpData, use std::shared_ptr instead.
Recent Commits to tdesktop:dev
Alpha 1.0.21: Fix compilation bug.

Alpha 1.0.21: Fix compilation bug.
Recent Commits to tdesktop:dev
Alpha 1.0.21: Send MP4 and MOV files as videos.

Alpha 1.0.21: Send MP4 and MOV files as videos.
Recent Commits to tdesktop:dev
Alpha 1.0.21: Fix more compilation bugs.

Alpha 1.0.21: Fix more compilation bugs.
👍1
Recent Commits to tdesktop:dev
Alpha 1.0.21: Use custom refcount for MTP types.

Alpha 1.0.21: Use custom refcount for MTP types.

It seems that heavy using std::shared_ptr and std::make_shared
like it was before completely kills the compilation time.

Also HistoryItem::_create now uses perfect forwarding.
Recent Commits to tdesktop:dev
Include only required moc_*.cpp in the build.

Include only required moc_*.cpp in the build.

Use a python script to generate the list of sources to build.
Now we don't include moc_*.cpp files in build by default, instead
we list only non-empty ones.

If you change a header so that the corresponding moc_*.cpp changes
its emptyness you may need to gyp/refresh to apply this change.

This should speed up the build significantly on GCC.
Recent Commits to tdesktop:dev
Fix crash in HistoryVideo::draw.

Fix crash in HistoryVideo::draw.
Recent Commits to tdesktop:dev
Fix crash in notifications.

Fix crash in notifications.

~HistoryItem() sometimes causes a queued notification to show.
Custom notifications depend on MainWindow and it is destroyed
already in clearHistories(), so clear the notifications queue first.
Recent Commits to tdesktop:dev
Alpha 1.0.22: fix couple of crashes.

Alpha 1.0.22: fix couple of crashes.
Recent Commits to webogram:master
Disabled chrome temps by default

Disabled chrome temps by default

Improved mime types handling for blobs
Recent Commits to webogram:master
Started to clean popup opener

Started to clean popup opener
Recent Commits to webogram:master
fix #1348 message on inviting multiple users (#1349)

fix #1348 message on inviting multiple users (#1349)
Recent Commits to webogram:master
Fixed subset of StandardJS errors (#1356)

Fixed subset of StandardJS errors (#1356)

Fixed the errors that would definitly not change the functionality of the program
These include
* Unexpected && and || combinations
* variables with different values defined in same line of code
* Global variable never defined
* spacing/placing errors

These errors were not touched
* variables who are never used
* == and != errors
Recent Commits to webogram:master
Added test for ChangeLogModalController, AppFooterController and Peer…

Added test for ChangeLogModalController, AppFooterController and PeerSelectController (#1355)

* Added test for ChangeLogModalController
This commit changes the test scores as follows

| | % Statements | % Branch | % Functions | % Lines |
|:---:|:------------:|:--------:|-------------|---------|
| Old | 3.5 | 0 | 0.36 | 3.52 |
| New | 4.22 | 0.36 | 1.08 | 4.24 |

* Added tests for AppFooterController
This commit changes the test scores as follows

| | % Statements | % Branch | % Functions | % Lines |
|:---:|:------------:|:--------:|-------------|---------|
| Old | 4.22 | 0.36 | 1.08 | 4.24 |
| New | 4.29 | 0.36 | 1.44 | 4.31 |

* Added tests for PeerSelectController
This commit changes the test scores as follows

| | % Statements | % Branch | % Functions | % Lines |
|:---:|:------------:|:--------:|-------------|---------|
| Old | 4.29 | 0.36 | 1.44 | 4.31 |
| New | 5.61 | 1.16 | 2.88 | 5.64 |

* Change Time-out time to variable
Instead of doing time-outs based on a constant, the time-out is based on a variable. This will make changing the time of time-out easier.

* Rename AppFooterController test, removed unnecessary test, fixed code style

Renamed test/unit/AppFooterController.js to test/unit/AppFooterControllerSpec.js to conform with other test files.
Removed a test in the renamed file. It only tested if the controller would compile given the test-environment, something that was implicitly tested in the other (now only) test.
The code style over all test files was not consistent (spacing), this is fixed.

* Changed style to StandardJS

When running "standard test/unit/..", there were some errors on the code-style of the tests
These are fixed
Recent Commits to webogram:master
Fixed minor style bugs

Fixed minor style bugs