Commit Graph

806 Commits

Author SHA1 Message Date
Vysheng
696533785c updated to new version of tgl 2014-11-19 15:57:09 +03:00
vysheng
13b2dafe6a Merge pull request #337 from kmoore134/master
Fix building on FreeBSD and install server.pub file to correct
2014-11-19 09:27:32 +00:00
Kris Moore
62371377f0 Fix building on FreeBSD and install server.pub file to correct
location
2014-11-18 15:08:02 -05:00
vvaltman
f31ef233dd Updated to use new version of tgl 2014-11-18 00:23:26 +03:00
vvaltman
7f83a1246e Use new version of libtgl 2014-11-17 23:21:25 +03:00
vvaltman
cbf952493c Use new version of tgl 2014-11-17 18:05:39 +03:00
vvaltman
5405d183f1 Merge branch 'master' of github.com:vysheng/tg 2014-11-15 14:49:26 +03:00
vvaltman
f376ad1d50 Updated to layer 19 2014-11-15 14:45:37 +03:00
Vysheng
9aca8feb80 updated tgl 2014-11-13 20:40:28 +03:00
Vysheng
99b86ce567 updated tgl 2014-11-13 19:39:45 +03:00
Vysheng
a65dcf16a7 added secret_chat_rekey function 2014-11-13 19:22:12 +03:00
vysheng
253b86377d Update README.md 2014-11-13 12:58:53 +03:00
vysheng
8adacac026 Merge pull request #326 from TakuyaMK/patch-1
Update README.md
2014-11-13 09:57:18 +00:00
Sergio Navarro Fernández
0639b1d192 Update README.md 2014-11-13 08:53:52 +01:00
vvaltman
6be3cf0f64 Updated travis.yml 2014-11-12 18:34:32 +03:00
Vysheng
ee45b627ae Deleted unneeded files 2014-11-12 18:04:35 +03:00
Vysheng
a9b5fbe642 Fixed Makefile 2014-11-12 18:00:44 +03:00
Vysheng
2c340e59bf Detached libtgl 2014-11-12 17:39:22 +03:00
vvaltman
f45458c321 increased log level for status updates 2014-11-11 21:12:03 +03:00
vvaltman
ba4e76ed96 Added user status support 2014-11-11 21:10:03 +03:00
vvaltman
9d57c85f20 Merge github.com:vysheng/tg 2014-11-11 21:09:37 +03:00
Vysheng
47a12f1a2a Makefile.in: deleted net.o and tgl-timers.o from libtgl. Libtgl now does not depend from libevent 2014-11-11 20:34:32 +03:00
Vysheng
bdbf8997e0 Minor fixes 2014-11-11 20:13:41 +03:00
Vysheng
52a8adbcc2 Merge github.com:vysheng/tg 2014-11-11 13:33:49 +03:00
Vysheng
862ae34ba8 Added partial support for action resend. Fix crush on incorrect encrypted message in lua mode 2014-11-11 13:33:03 +03:00
vysheng
9bf0962f4e Merge pull request #321 from streambinder/patch-1
tg: interface.c: alphabetical rearrangement of available commands
2014-11-10 20:01:00 +03:00
vvaltman
56f002a185 Merge github.com:vysheng/tg 2014-11-10 19:53:14 +03:00
Davide Pucci
03b1dd8639 tg: interface.c: alphabetical rearrangement of available commands 2014-11-10 17:39:47 +01:00
Vysheng
31bd174917 Workaround for iphone bug 2014-11-10 18:14:44 +03:00
Vysheng
dbb6d196b5 Added more write_secret_chat_file calls 2014-11-10 14:32:49 +03:00
Vysheng
723756f3ae Updates to event-old.h 2014-11-10 14:16:46 +03:00
Vysheng
b522658be2 write secret chat file more frequent 2014-11-10 14:02:14 +03:00
vvaltman
824804be51 Merge github.com:vysheng/tg 2014-11-09 16:20:02 +03:00
vvaltman
807da5b3fb Merge github.com:vysheng/tg
Conflicts:
	tgl.h
2014-11-09 16:14:53 +03:00
vysheng
f25aa36076 Merge pull request #311 from mapio/master
Bumped readline version (for homebrew on OSX)
2014-11-03 23:53:52 +03:00
vysheng
40422736f0 Merge pull request #304 from bwesterb/patch-1
README: update instructions for MacPorts
2014-11-03 23:53:27 +03:00
vysheng
cc0a811699 Merge pull request #305 from bwesterb/patch-2
tgl.h: add stdlib.h include
2014-11-03 23:52:57 +03:00
vysheng
655a3b3cdc Merge pull request #301 from xypiie/master
Initialize address_len before accept()
2014-11-03 23:52:41 +03:00
Massimo Santini
35e8622d64 Bumper readline version (for homebrew on OSX) 2014-10-30 00:07:31 +01:00
Bas Westerbaan
318f8d5828 tgl.h: add stdlib.h include
This fixes the error

```
gcc -I. -I. -I/usr/local/include -I/opt/local/include -I/opt/local/include/lua-5.1  -I/usr/local/include -I/usr/include -I/usr/include  -I/opt/local/include  -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF ./dep/lua-tg.d -MQ ./objs/lua-tg.o -o objs/lua-tg.o lua-tg.c
In file included from lua-tg.c:25:
In file included from ./lua-tg.h:24:
./tgl.h:380:27: error: implicitly declaring library function 'malloc' with type
      'void *(unsigned long)' [-Werror]
  struct tgl_state *TLS = malloc (sizeof (*TLS));
                          ^
./tgl.h:380:27: note: please include the header <stdlib.h> or explicitly provide
      a declaration for 'malloc'
1 error generated.
make: *** [objs/lua-tg.o] Error 1
```
2014-10-27 20:58:44 +01:00
Bas Westerbaan
b416aeece8 README: update instructions for MacPorts 2014-10-27 20:55:55 +01:00
Peter Feuerer
a8d6211be4 Initialize address_len before accept()
accept() could produce unexpected behavior in case the address_len is
uninitialized, e.g. return -1 with EINVAL
2014-10-26 02:24:05 +02:00
Vysheng
56fe7bed54 Refactored code a bit to better separation of library. Library can now be compiled without libevent. 2014-10-24 21:43:08 +04:00
Vysheng
c01eb11296 Merge branch 'master' of github.com:vysheng/tg 2014-10-23 21:51:42 +04:00
vvaltman
ff2cb23a50 Added function to provide custom net methods 2014-10-23 20:44:35 +04:00
vvaltman
282b1c6a81 Fixed problems with secret chat without binlog 2014-10-23 20:39:58 +04:00
Vysheng
f024b4bf2a Merge github.com:vysheng/tg 2014-10-21 20:48:21 +04:00
Vysheng
5308d0c6af Added --disable-extf to configure script 2014-10-21 20:47:57 +04:00
vysheng
edcfc99171 Merge pull request #295 from kmf/master
Added libevent-devel to Fedora section
2014-10-20 14:12:17 +04:00
Karl Fischer
fdb5a00c12 Added libevent-devel to Fedora section 2014-10-20 08:57:56 +02:00