Commit Graph

120 Commits

Author SHA1 Message Date
Andrea Cavalli
e047add8a2 Update tdlib 2022-03-15 11:36:21 +01:00
levlam
242801a2f3 Improve boolean fields documentation. 2022-03-10 21:58:16 +03:00
Andrea Cavalli
39856bc56f Merge remote-tracking branch 'td/master' 2022-02-05 01:12:29 +01:00
levlam
92c2a9c4e5 Update version to 1.8.1. 2022-01-31 22:07:31 +03:00
Mammad
3f4c79dc80 Update tdweb version to 1.8.0 in package-lock.json 2022-01-25 16:06:24 +03:00
Arseny Smirnov
c485b77b5e support newest emsdk version 2022-01-25 16:00:21 +03:00
Andrea Cavalli
d325cea988 Merge remote-tracking branch 'tdlib/master' 2021-12-30 16:02:31 +01:00
Andrea Cavalli
53d4e14c7d Merge remote-tracking branch 'td/master' 2021-12-28 19:12:09 +01:00
levlam
ca14dfe7ad Update tdweb version to 1.8.0. 2021-12-30 11:45:38 +03:00
levlam
b4925dc4d2 Mention that sed, tar and wget utilities are required to build tdweb. 2021-12-27 00:34:14 +03:00
Andrea Cavalli
e936461bdf Merge remote-tracking branch 'td/master' 2021-12-09 17:04:06 +01:00
levlam
5a22865f7c Begin all Bash scripts with "cd $(dirname $0)". 2021-12-08 19:43:21 +03:00
Andrea Cavalli
45e855f89d Remove most memory related features
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
levlam
5efe95a2e0 Remove "Installing dependencies" section from README in favor of build instructions generator. 2021-09-06 13:29:44 +03:00
levlam
eb80924dad Update version to 1.7.0. 2020-11-28 17:00:17 +03:00
levlam
56bba7c731 Fix misprint. 2020-11-16 18:36:09 +03:00
levlam
78e45da6b9 Use array instead of std::vector in the generated C++ classes. 2020-11-15 19:57:03 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
Arseny Smirnov
add7211707 tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
2020-10-20 22:23:52 +03:00
levlam
6e9a2cb395 Update recommended Emscripten version.
GitOrigin-RevId: 99502278d1de3bdc78eae343bffd991505cacfa9
2020-10-12 01:10:55 +03:00
Arseny Smirnov
00049a842a tdweb: temporary fix to access Module.FS before promise is completed
GitOrigin-RevId: 32af58ee1994919c75d50f8a2da2643a20bf166c
2020-10-09 19:40:13 +03:00
Arseny Smirnov
04c9680c53 tdweb: preformance bugfixes
GitOrigin-RevId: 626f2cb111f5e47254e6b155bc9bd4f7b2d42829
2020-10-08 16:14:46 +03:00
Arseny Smirnov
5926e00320 tdweb works with newest emsdk
GitOrigin-RevId: b52ab5d9e182e1a689933d7a44d3306f0c9151e5
2020-10-08 14:02:53 +03:00
levlam
6d1d227609 Use new JSON interface in Emscripten.
GitOrigin-RevId: 5294d98c5f615256ea41887c04f863d1adaf4de1
2020-10-08 02:52:34 +03:00
levlam
8460bb7cd5 Fix tdweb build.
GitOrigin-RevId: 8f348a00d05336163c7ea4214ab35a4aea2d2b65
2020-10-08 02:12:51 +03:00
mr_makss
e2053c3239 Using emcmake in build-tdlib.sh 2020-07-26 15:13:09 +03:00
Arseny Smirnov
d60dc8c9b3 tdweb: 1.6.6
GitOrigin-RevId: 57b05b06d523e9f3e962072b497347a07aa53b39
2020-06-07 18:20:32 +03:00
levlam
178211e069 tdweb: fix readFilePart count.
GitOrigin-RevId: e1c2ff700bacd5e8c351a1a948ed5369cc2d76a9
2020-04-08 00:59:55 +03:00
Arseny Smirnov
45d7e5c906 tdweb: npm audit fix
GitOrigin-RevId: c22d183e1479c92f58553b3221fe2a94efb2963d
2020-01-31 19:04:11 +04:00
levlam
278c7acdec Increase version to 1.6.0.
GitOrigin-RevId: baab600dbf0b3f4014b836e06da09b9b825181d4
2020-01-31 03:47:49 +03:00
Khushraj Rathod
0dcbe4973a Fix typos in tdweb readme (#856) 2020-01-27 18:21:26 +03:00
levlam
40b9ff17ec tdweb: use unique_id instead of remote.id if possible.
GitOrigin-RevId: fee4ecb25cdc48aa950dfd4d699fe0e0cbea94b9
2020-01-16 05:03:07 +03:00
levlam
2635dfb53c Specify exact emsdk version in tdweb README.
GitOrigin-RevId: c04d31f9b91d1bdaee31643966f851e25448eb81
2020-01-06 19:30:40 +03:00
Arseny Smirnov
eec3a5205c tdweb: windows.indexedDb -> indexedDB
GitOrigin-RevId: f7d4b7ae785c3f2e0ae2e04b54fe34ce0bfff68a
2019-12-24 14:39:52 +04:00
Arseny Smirnov
e7e1521fd2 Fix example/tdweb build
GitOrigin-RevId: f924d875361fc363af32e5d703e3cac373927405
2019-12-23 21:33:03 +04:00
levlam
00df08f144 Update tdweb version to 1.5.0.
GitOrigin-RevId: 7280a34ea78e3de6d5f3a58101a86144720048a0
2019-09-08 04:44:49 +03:00
Dylan Staley
36e98f31a2 Fix call to log.warn in asmjs mode
When attempting to run tdweb in asmjs mode, a call to `log.warning` is made. However, the correct call is `log.warn`.
2019-09-08 04:37:29 +03:00
Kesha Antonov
8a8c10529a [Bugfix][Example][Web] Fix typo after import 2019-09-08 04:24:56 +03:00
levlam
8ca4ba39c4 tdweb: undo source change to accept Github pull request.
GitOrigin-RevId: b5c73c6c7d412acc649d2a93a7bbab27adeafda7
2019-09-08 04:20:59 +03:00
Arseny Smirnov
dd15a176e5 tdweb: @arseny30/tdweb 1.4.6
GitOrigin-RevId: 520ef633ad31739fc3e314a066dc5f66bb40f0cf
2019-08-16 09:39:20 +03:00
Arseny Smirnov
2f7fc17460 @arseny30/tdweb@1.4.5
GitOrigin-RevId: d9c387301437098aa3afbadba6d1c52c051886ac
2019-08-13 17:38:23 +03:00
Arseny Smirnov
3303392f9c tdweb: only one DBFS sync at a time
GitOrigin-RevId: f56f19b45b7c11faa10d76d4eb0622e20d1c89ea
2019-07-26 18:43:56 +03:00
Arseny Smirnov
3f138f4edc tdweb: drop localForage, increase cache limits
GitOrigin-RevId: efc9f7e95bf070cf802504453f10830acf6fa62c
2019-07-25 18:27:03 +03:00
Arseny Smirnov
e07b03dea3 tdweb: experiments with storing incoming files into indexeddb
GitOrigin-RevId: 7ab38676faaf5eb4e8b4c43b05c268d0ea2784de
2019-07-24 15:07:55 +03:00
levlam
8ae3ac91a4 Update tdweb documentation.
GitOrigin-RevId: f31752320c4d2391dc86f0d8cdd38e1e4578eb59
2019-08-06 02:45:52 +03:00
Arseny Smirnov
fdb303f513 tdweb: options.wasmUrl
GitOrigin-RevId: 24047f84740d201397045a33b680a850359af9b9
2019-07-02 15:06:05 +02:00
Arseny Smirnov
d22a6751db tdweb: do not link with libssl, only with libcrypto
GitOrigin-RevId: fb7cd454c3b368381fd65150979e6233a452eb8c
2019-06-28 13:03:06 +02:00
Arseny Smirnov
f4bea9a891 tdweb: bugfix
GitOrigin-RevId: b3678ca211de88e901ffc94f3863c9ded0b05494
2019-06-19 15:05:10 +02:00
levlam
068284f5d5 tdweb: delete unused broadcast channel.
GitOrigin-RevId: 56949fab031a3a479f6bfec2c20a8cd13a8597cc
2019-06-15 20:08:26 +03:00
Arseny Smirnov
03f5dc551f tdweb: 1.4.1
GitOrigin-RevId: 3ed9492f517550420100de7ed5e9444ba88a6f18
2019-06-14 21:03:19 +02:00