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 |
|
vvaltman
|
25a4a72140
|
Merge branch 'master' of github.com:vysheng/tg
|
2014-10-18 19:37:29 +04:00 |
|
vvaltman
|
de08953038
|
Fixed encrypted messages
|
2014-10-18 19:36:44 +04:00 |
|
Vysheng
|
84795ec066
|
fixed bug in binlog init
|
2014-10-17 14:08:03 +04:00 |
|
vvaltman
|
3765e69dba
|
Updated secret chats
|
2014-10-15 00:20:03 +04:00 |
|
vysheng
|
b1491d87c4
|
Merge pull request #288 from Jille/master
debian/control: Add build-dependency on libevent-dev
|
2014-10-13 13:50:40 +04:00 |
|
Vysheng
|
a3a4e63a49
|
Merge branch 'grishka-master'
|
2014-10-13 13:46:34 +04:00 |
|
Vysheng
|
8d9861af5a
|
Fixed no_ids
|
2014-10-13 13:46:24 +04:00 |
|
Vysheng
|
ca194bef13
|
Merge branch 'master' of https://github.com/grishka/tg into grishka-master
|
2014-10-13 13:44:58 +04:00 |
|
vvaltman
|
a6c00cde52
|
Added support for layer 18
|
2014-10-12 19:53:57 +04:00 |
|
Jille Timmermans
|
77f5822946
|
debian/control: Add build-dependency on libevent-dev
|
2014-10-12 13:36:45 +02:00 |
|
Grishka
|
4882b0adb5
|
Add an option to use IDs instead of names
Useful for bots
|
2014-10-12 04:27:34 +04:00 |
|
vysheng
|
d564c65350
|
Merge pull request #285 from mk-pmb/cfgdir-env
pick home and config path from environment if set.
|
2014-10-11 18:51:04 +04:00 |
|
vysheng
|
30f7d8e202
|
Merge pull request #286 from stillru/master
Upstart daemon in debian pakage
|
2014-10-11 18:49:13 +04:00 |
|
Steve Illichevskiy
|
fc16f25ed7
|
Upstart tested
|
2014-10-11 16:30:27 +04:00 |
|
Steve Illichevskiy
|
27d904cce0
|
Update debianisation
|
2014-10-11 16:12:20 +04:00 |
|
mk-pmb
|
e914359a18
|
print config dir debug info only if output is enabled
|
2014-10-10 13:49:30 +02:00 |
|
mk-pmb
|
09bb322d7e
|
When creating a new config, determine config dir by default strategy.
|
2014-10-10 13:30:17 +02:00 |
|
mk-pmb
|
fab13d7722
|
add support for XDG_CONFIG_HOME as per FreeDesktop basedir spec
|
2014-10-10 11:34:47 +02:00 |
|
mk-pmb
|
9804997b19
|
pick home and config path from environment if set.
|
2014-10-10 10:59:39 +02:00 |
|
vvaltman
|
6132516d5a
|
added set_profile_name query
|
2014-10-09 21:38:45 +04:00 |
|
vvaltman
|
4604d4f374
|
Merge branch 'master' of github.com:vysheng/tg
|
2014-10-09 21:23:31 +04:00 |
|
vvaltman
|
c182b6d210
|
interface: fixed param type of rename_chat
|
2014-10-09 21:22:40 +04:00 |
|
Vysheng
|
54f6743db7
|
Merge github.com:vysheng/tg
|
2014-10-07 14:02:36 +04:00 |
|
Vysheng
|
a8a5de7489
|
Fixed geo
|
2014-10-07 14:02:19 +04:00 |
|
vysheng
|
d7f573ca81
|
Merge pull request #273 from burunduk3/master
exit on ctrl+D
|
2014-10-06 21:07:25 +04:00 |
|
Vysheng
|
62d3c07f34
|
Updated layer 17
|
2014-10-06 14:06:48 +04:00 |
|
Oleg Davydov
|
2867d3733b
|
Merge branch 'master' of https://github.com/vysheng/tg
|
2014-10-06 02:08:35 +04:00 |
|
Oleg Davydov
|
465657d67b
|
safe_quit on ^D
|
2014-10-06 02:08:28 +04:00 |
|
Steve Illichevskiy
|
b9f1a9b629
|
Clean from trash
|
2014-10-05 11:19:37 +04:00 |
|
Steve Illichevskiy
|
f04b938c34
|
Update .gitignore
|
2014-10-05 11:18:48 +04:00 |
|
Steve Illichevskiy
|
8edda5d31c
|
Remove install scripts
Prepere for upstart script
|
2014-10-05 11:16:29 +04:00 |
|
Steve Illichevskiy
|
0fb69739f9
|
Update .gitignore file
|
2014-10-05 10:55:37 +04:00 |
|
Steve Illichevskiy
|
7f11cd568a
|
Merge branch 'master' into deb
Conflicts:
.gitignore
|
2014-10-05 10:26:45 +04:00 |
|
Steve Illichevskiy
|
60f4f504e7
|
Merge remote-tracking branch 'upstream/master'
|
2014-10-05 09:32:29 +04:00 |
|
Vysheng
|
7a9764f24a
|
Deleted bad assert
|
2014-10-03 15:01:19 +04:00 |
|
Vysheng
|
8fb606a7aa
|
Added send_location query
|
2014-10-03 13:35:02 +04:00 |
|
Steve Illichevsky
|
52470ce207
|
Update compat
|
2014-10-03 12:15:31 +04:00 |
|
Steve Illichevsky
|
f1d2ecc66e
|
Update control
|
2014-10-03 12:15:16 +04:00 |
|
Steve Illichevskiy
|
804bf0b82e
|
Try to use git-buildpakage
|
2014-10-03 06:55:04 +04:00 |
|