Commit graph

  • 59e9053910 Deleted aio.h include vysheng 2014-01-27 19:10:02 +04:00
  • f5ac0e50f4 Merge github.com:vysheng/tg Vysheng 2014-01-24 19:06:02 +04:00
  • 7de612f5f8 added delete/restore messages queries Vysheng 2014-01-24 19:05:41 +04:00
  • ba7529c8fa Merge pull request #41 from gloob/master vysheng 2014-01-24 06:00:38 -08:00
  • e9ef765285 Merge pull request #42 from antma/master vysheng 2014-01-24 06:00:21 -08:00
  • d8b16d5738 AES_KEY structure clean up antma 2014-01-21 20:02:34 +04:00
  • 9f7aede32e Fixed typo in linux lib install instructions in README.md Alejandro Leiva 2014-01-23 10:47:45 +01:00
  • 022bd69839 Merge pull request #40 from antma/master vysheng 2014-01-21 07:09:16 -08:00
  • 2a817354ff fix free in the hypotetic case when binlog message contain NUL character in the middle antma 2014-01-21 18:36:46 +04:00
  • 33dac4b4a3 fix memory leak during replaying CODE_binlog_set_chat_title antma 2014-01-21 18:26:56 +04:00
  • ceb9422ae9 add check that BN_is_prime return value is not negative fix memory leak (BN_clear doesn't release allocated memory) antma 2014-01-21 18:24:40 +04:00
  • 14a2c032eb Merge remote-tracking branch 'upstream/master' antma 2014-01-21 17:46:41 +04:00
  • 115d634c37 Merge pull request #39 from antma/master vysheng 2014-01-21 03:35:12 -08:00
  • 8e48cbe154 Merge remote-tracking branch 'upstream/master' antma 2014-01-20 12:57:20 +04:00
  • ccfc81da88 Fixed get_peer from lua vysheng 2014-01-17 19:46:33 +00:00
  • 5069568590 Fixed load audio vysheng 2014-01-17 18:16:35 +04:00
  • b855a73473 use rdtsc for seeding prng only at i386 and x86_64 platforms https://github.com/vysheng/tg/issues/8 antma 2014-01-17 16:19:12 +04:00
  • c91d47839c improve portability by removing rdtsc calls https://github.com/vysheng/tg/issues/8 antma 2014-01-15 19:29:26 +04:00
  • 11b68d0cb8 Merge branch 'master' of github.com:vysheng/tg vysheng 2014-01-15 16:12:13 +04:00
  • 48c2619bf8 strutures.c: fixed bad flags in get chat query vysheng 2014-01-15 16:10:52 +04:00
  • 54144b5f1c Update README.md vysheng 2014-01-15 15:04:59 +03:00
  • 716181f290 Merge pull request #38 from antma/master vysheng 2014-01-14 03:37:19 -08:00
  • 2c05a3c65a fix sending a lot of spaces in version string antma 2014-01-14 14:46:13 +04:00
  • f06c96fa73 restored _GNU_SOURCE for getline in FreeBSD vysheng 2014-01-13 16:58:14 +03:00
  • d2fe51d0ef Merge pull request #37 from antma/master vysheng 2014-01-13 05:57:22 -08:00
  • fdaca01c59 fix some autoscan warnings antma 2014-01-13 17:28:24 +04:00
  • 622dec3e70 remove useless #define _GNU_SOURCE from not using asprintf sources antma 2014-01-13 17:12:39 +04:00
  • eb2bc7f0ff fix #include "config.h" for all source files antma 2014-01-13 17:05:25 +04:00
  • 850c5f8eb5 don't output backtrace in out of memory case antma 2014-01-13 16:36:29 +04:00
  • 4ccacb146c add functions tstrndup (auto check return value of strndup calls) antma 2014-01-13 16:26:48 +04:00
  • 46163db14d fix small memory leaks in the function do_send_photo for the cases of invalid, empty or large file antma 2014-01-13 16:09:33 +04:00
  • 39ed32ec57 Fixed travis.yml Vysheng 2014-01-12 04:56:36 +04:00
  • c23d34ca14 Fixed travis.yml Vysheng 2014-01-12 04:44:47 +04:00
  • 497a45f04d Added sample lua script Vysheng 2014-01-12 04:43:56 +04:00
  • 90dd95392f Added partial lua support Vysheng 2014-01-12 04:43:29 +04:00
  • 3714035357 tools.c: deleted unneeded arrays Vysheng 2014-01-11 20:03:02 +04:00
  • 4d8dc59e87 structures.h: added del_use Vysheng 2014-01-11 20:01:01 +04:00
  • 8c3953f84f tools: added more debug Vysheng 2014-01-11 20:00:31 +04:00
  • e22eff09dd binlog.c: fixed tfree len Vysheng 2014-01-11 03:26:53 +04:00
  • 0a9532dc48 Merge branch 'master' of https://github.com/antma/tg vysheng 2014-01-10 21:16:26 +04:00
  • 4a9eedba81 Fixed warning vysheng 2014-01-10 21:13:27 +04:00
  • afdcd9b7df fix missed inflateEnd call and enhance handling inflate return value antma 2014-01-10 20:54:47 +04:00
  • 3ec80b7ac7 enhance portability (replace void* by char*) When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1. antma 2014-01-10 19:04:27 +04:00
  • feed5229b5 free->tfree. Memory checks, if compiled with -DDEBUG vysheng 2014-01-10 18:37:56 +04:00
  • 692c9274ce realloc->trealloc vysheng 2014-01-10 17:08:12 +04:00
  • fad27bbd39 Fixed CE. Fixed tree.h to use talloc vysheng 2014-01-10 17:03:47 +04:00
  • 13e8996028 Merge pull request #34 from antma/master vysheng 2014-01-10 05:00:49 -08:00
  • f2f4153d00 add field limit for sscanf call (fix libc versions older than 2.13-25) antma 2014-01-10 16:37:07 +04:00
  • c9c8daac45 checking sizeof (void) at the runtime antma 2014-01-10 16:30:56 +04:00
  • e8943b5aa1 remove undefined behavior flush (stdin) call http://stackoverflow.com/questions/2979209/using-fflushstdin antma 2014-01-10 16:21:34 +04:00
  • 70441cfcdf replace sprintf call with snprintf for open image command antma 2014-01-10 16:15:59 +04:00
  • 206fa43232 replace sprintf call with snprintf for downloaded part name antma 2014-01-10 16:05:39 +04:00
  • e1c750ad7f add length modifier to the format for strings in sprintf call antma 2014-01-10 15:59:48 +04:00
  • 933a65c335 fix small memory leak in running_for_first_time (local variable config_directory) antma 2014-01-10 15:46:46 +04:00
  • 35923482bc close /etc/passwd file handle right after evaluating home directory antma 2014-01-10 15:40:28 +04:00
  • bb24fba98f check return values of strdup and malloc add talloc0 function (malloc and zero fill) check return values of arithmetic openssl BN_* functions check return values of BN_bin2bn function remove useless BN_init calls right after BN_new fix 2 small memory leaks antma 2014-01-10 15:32:57 +04:00
  • e416d5cf7e Merge github.com:vysheng/tg Vysheng 2014-01-02 22:53:58 +04:00
  • 2cfe58c1a9 fixed acks Vysheng 2014-01-02 22:52:41 +04:00
  • 567afd1aa5 fixed Typo in Readme vysheng 2013-12-26 19:08:35 +03:00
  • df3dc01306 Fixed CE vysheng 2013-12-25 13:07:10 +04:00
  • cb29ce4523 Some other things changed to secure_random vysheng 2013-12-25 12:56:46 +04:00
  • 5ea4683d16 Fixed secure random. vysheng 2013-12-25 12:35:13 +04:00
  • 5cde89b5c8 do_rand () renamed to secure_random () vysheng 2013-12-25 04:44:36 +04:00
  • f8793376a5 Fixed random on sensible parts (generation auth_key, session_id and keys for secret chats) vysheng 2013-12-25 03:42:05 +04:00
  • 820ccce220 Fixed autocompete in send_document vysheng 2013-12-24 15:58:31 +04:00
  • 73b17ee19d Added more checks on g_a and g vysheng 2013-12-24 15:29:18 +04:00
  • 3421589432 Support for layer 11 vysheng 2013-12-24 04:57:01 +04:00
  • 98a6fcb821 Update README.md vysheng 2013-12-24 00:22:44 +03:00
  • 0396571877 DH: added check for bad prime in encr chats Vysheng 2013-12-23 15:13:43 +04:00
  • b13434e378 Fixed check g_a in encr chats Vysheng 2013-12-23 15:10:53 +04:00
  • 64a804ffc5 Merge github.com:vysheng/tg Vysheng 2013-12-23 14:46:16 +04:00
  • 59a82bbfe9 Additional checks in DH Vysheng 2013-12-23 14:45:40 +04:00
  • 89ee6e1002 Support for g!=2 in DH Vysheng 2013-12-23 14:09:57 +04:00
  • 9b67354294 Added safe_quit query. Useful in pipe mode vysheng 2013-12-21 15:53:32 +04:00
  • 93fec1d7a7 configure.ac: fixed duplicate "no" answer vysheng 2013-12-21 15:46:25 +04:00
  • 3ff3550a58 Update README.md vysheng 2013-12-21 03:00:35 +03:00
  • 5afafe7290 Merge pull request #31 from lwhsu/master vysheng 2013-12-20 13:15:41 -08:00
  • a0a628963e Use syntax that Bourne shell also supports Li-Wen Hsu 2013-12-21 04:13:53 +08:00
  • 9f8679b1a3 Add build status icon Li-Wen Hsu 2013-12-21 03:42:24 +08:00
  • d980e1630d Use sudo Li-Wen Hsu 2013-12-21 03:33:04 +08:00
  • c798191b74 Install prerequisites Li-Wen Hsu 2013-12-21 03:30:48 +08:00
  • 9f758a772f Use Travis CI Li-Wen Hsu 2013-12-21 02:43:21 +08:00
  • 03bd7f55a9 Fixed bug in document loading Vysheng 2013-12-20 19:45:59 +04:00
  • 0275f7e970 Add -lexecinfo if no bt found vysheng 2013-12-20 18:25:22 +04:00
  • 20f1c7629b Merge BSD-fixed from lwhsu vysheng 2013-12-20 17:57:00 +04:00
  • 6e39eead6f Merge https://github.com/lwhsu/tg vysheng 2013-12-20 17:44:30 +04:00
  • e439bef899 added /read and /history in chat_with_peer mode Vysheng 2013-12-20 02:50:31 +04:00
  • edc4d2eba1 Insert newlines and some words for markdown formating Li-Wen Hsu 2013-12-19 02:37:46 +08:00
  • c05bb7599b Add instructions to build on FreeBSD Li-Wen Hsu 2013-12-19 02:26:29 +08:00
  • 7c42025800 Clean up more generated files Li-Wen Hsu 2013-12-19 02:25:34 +08:00
  • 715378408b Remove generated files and add .gitignore Li-Wen Hsu 2013-12-19 02:19:37 +08:00
  • 0d80f5e298 Restore flags not supported by gcc 4.2 Li-Wen Hsu 2013-12-19 02:17:21 +08:00
  • cacf0582bc Define _GNU_SOURCE for getline(3) Li-Wen Hsu 2013-12-19 01:58:51 +08:00
  • 658c45c94c Fixed time format in logs vysheng 2013-12-18 21:57:51 +04:00
  • cd3c22fa66 Fixed log vysheng 2013-12-18 19:42:53 +04:00
  • 3b033ea3ff Added dump packets to file vysheng 2013-12-18 19:21:49 +04:00
  • bb53f75e2b Make it compile on FreeBSD. Li-Wen Hsu 2013-12-17 02:30:36 +08:00
  • 7a3ef6d624 Updated help Vysheng 2013-12-06 21:16:17 +04:00
  • 4e2e651e2a Added chat_with_peer command Vysheng 2013-12-06 21:14:41 +04:00
  • 1198159162 Fixed bug Vysheng 2013-12-06 20:40:52 +04:00