Ilya P
df66bfb6e3
bug-fix
2016-10-29 09:53:45 +03:00
Ilya Pirozhenko
263685f050
Merge pull request #269 from aarani/patch-1
...
Change TLDialogs to TLAbsDialogs
2016-10-28 09:30:22 +03:00
Afshin Arani
63fc19dded
Merge pull request #3 from aarani/patch-2
...
Update TLSharpTests.cs
2016-10-26 20:16:15 +03:30
Afshin Arani
bc24dbfd65
Update TLSharpTests.cs
2016-10-26 20:15:33 +03:30
Afshin Arani
8c2cab48f4
Change TLDialogs to TLAbsDialogs
2016-10-26 20:13:19 +03:30
Ilya Pirozhenko
0a227b8412
Merge pull request #263 from knocte/improveExceptions
...
Always include an innerException when re-throwing
2016-10-24 11:30:33 +03:00
Andres G. Aragoneses
3639ae3e88
Always include an innerException when re-throwing
...
Hiding the previous thrown exception is a bad practice.
2016-10-24 14:58:04 +08:00
Andres G. Aragoneses
c644bac4e4
Fix typo in string of exception message
...
This was meant to start with $, not including
the $ char inside the string, otherwise the
compiler string interpolation doesn't work.
2016-10-24 14:57:04 +08:00
Ilya Pirozhenko
209ab1454f
Merge pull request #260 from knocte/betterFirstException4Tests
...
Tests: show a more meaningful exception when running for 1st time
2016-10-24 09:35:36 +03:00
Andres G. Aragoneses
0e32291d11
Tests: show a more meaningful exception when running for 1st time
...
Instead of throwing a System.FormatException, capture the URL
thrown by the library itself so that the developer configures
the API_ID and API_HASH and places them in the app.config file.
2016-10-23 23:23:10 +08:00
Ilya P
96c63b3f66
Merge branch 'master' of https://github.com/sochix/TLSharp
2016-10-23 14:12:56 +03:00
Ilya P
b823c34078
Move upload helper to helpers
2016-10-23 14:12:34 +03:00
Ilya P
6d106b4425
Merge fix
2016-10-23 14:10:54 +03:00
Ilya P
a53800ba16
Merge remote-tracking branch 'refs/remotes/origin/master' into pr/258
...
# Conflicts:
# TLSharp.Tests/TLSharpTests.cs
2016-10-23 14:09:16 +03:00
Ilya Pirozhenko
4046109761
Merge pull request #259 from knocte/avoidNRE
...
Tests: avoid NullReferenceException
2016-10-23 14:05:59 +03:00
Ilya Pirozhenko
b7f3da1756
Update README.md
2016-10-23 13:46:28 +03:00
Andres G. Aragoneses
1719fd9f19
Tests: avoid NullReferenceException
...
Instead of throwing cryptic NullReferenceException
when this test fails, let's give more information
about what is going on, to the developer.
2016-10-23 18:44:37 +08:00
Ilya P
f6ad50ce94
- added getFile method
2016-10-23 13:29:18 +03:00
Andres G. Aragoneses
bbc84f0748
Tests: put API settings also in app.config
...
For these tests to pass you not only needed to change
the app.config file but the .cs file as well with your
API settings (Hash & ID).
So let's put everything of them in the app.config so
it's easier to discover.
2016-10-23 18:11:26 +08:00
Ilya P
1d6035aeb7
- fix file Uploader
...
- refactor file uploader
- added test for file uploading
2016-10-23 13:02:44 +03:00
Andres G. Aragoneses
d96daec6d1
Tests: remove unneeded usings
2016-10-23 17:00:52 +08:00
Ilya P
7fd0413c7e
- removed non-generic TLVector
...
- write length of Vector during Serialization
2016-10-23 11:17:59 +03:00
Ilya P
f40034ad09
Merge remote-tracking branch 'refs/remotes/origin/master' into pr/250
...
# Conflicts:
# TLSharp.Core/TLSharp.Core.csproj
2016-10-23 11:06:00 +03:00
Ilya Pirozhenko
6c54164726
Update README.md
2016-10-23 10:59:20 +03:00
Ilya Pirozhenko
1b90e64ec5
Merge pull request #255 from knocte/netFrameworkVersion
...
build: switch to lower framework version (4.5.2 -> 4.5)
2016-10-23 10:56:51 +03:00
Ilya Pirozhenko
92e5bb32d5
Merge pull request #256 from knocte/improveExceptionHandlingForPhoneMigrateX
...
Improve exception handling
2016-10-23 10:56:19 +03:00
Andres G. Aragoneses
77867b44e6
Use better exception handling
...
Parsing the message of an exception to decide what to do
next is a bad practice, because it's easy that the message
might be changed by mistake in the future. To enforce the
coupling in a stronger way it's better to use exceptions
of different type depending on the kind of error, so that
we rely on the compiler enforcing the behaviour when doing
changes in this error handling areas in the future.
This also makes the code a bit more simple and readable.
2016-10-22 22:00:15 +08:00
Andres G. Aragoneses
b129e655f8
build: switch to lower framework version (4.5.2 -> 4.5)
...
This change is good because:
a) It's better to target a lower target framework version if
the project doesn't necessarily depend on the new features
of the newer versions (so, bigger target audience).
b) It lets compile the project with implementations of the
.NET Framework that are not compatible with 4.5.2. For example,
after this change I can successfully build TLSharp with the
Mono v4.2.1 that comes in my Ubuntu Linux 16.04.1.
2016-10-21 23:58:21 +08:00
Afshin Arani
7d436e3954
Merge pull request #1 from sochix/master
...
Ilya's Works
2016-10-16 21:22:44 +03:30
Ilya Pirozhenko
bbc6308a54
Update README.md
2016-10-15 13:37:01 +03:00
Ilya P
40c1725e41
- Layer 53
...
- Fix bug in generator
- Fix DC switching
- change default server
2016-10-15 13:35:54 +03:00
Afshin Arani
a20a73f29f
Remove GC.Collect()
2016-10-14 11:48:06 +03:30
Afshin Arani
79b02b9295
Upload Helper
2016-10-14 11:45:33 +03:30
Afshin Arani
23e647e81c
Layer-57
2016-10-13 21:03:16 +03:30
Ilya Pirozhenko
0752c60082
Update README.md
2016-10-13 09:20:55 +03:00
Ilya Pirozhenko
76b1935bf7
Update README.md
2016-10-13 09:19:51 +03:00
Ilya P
169e293757
added link to scheme
2016-10-11 18:03:12 +03:00
Ilya P
c578ece37e
readme update
2016-10-11 17:41:51 +03:00
Ilya P
066e9cacfe
- Updated README
2016-10-11 17:31:30 +03:00
Ilya P
0351c0f1df
Add AsyncSuffix to methods
2016-10-11 16:32:38 +03:00
Ilya P
2ffa954246
Fixes
2016-10-11 16:28:57 +03:00
Ilya Pirozhenko
a14dfdc1fe
Merge pull request #237 from aarani/master
...
Bug Solved
2016-10-11 13:05:43 +03:00
Afshin Arani
e626e76a66
Temporary Update for TLVector Deserialization Bug
2016-10-06 14:21:21 +03:30
The Gitter Badger
cd48986200
Add Gitter badge
2016-10-02 19:43:02 +03:30
Afshin Arani
85a29f505a
Update Link
2016-10-02 18:01:37 +03:30
Afshin Arani
82d65f5a34
Add My Copyright
2016-10-02 18:00:41 +03:30
Afshin Arani
8093c8a1f1
Update README.md
2016-10-02 17:58:39 +03:30
Afshin Arani
58143ad978
Update README.md
2016-10-01 15:38:21 +03:30
Ilya Pirozhenko
edea686c57
Merge pull request #216 from aarani/develop
...
Redesigned TLSharp With Layer 53
2016-10-01 10:11:30 +03:00
Afshin Arani
6af7c66a81
Redesign Everything
2016-09-24 17:08:26 +03:30