Commit Graph

118 Commits

Author SHA1 Message Date
Jesper Lyager Nielsen
de5d6de0c8 Use sizeof() to get size of sun_path.
- Size varies on platforms, OSX has 104, Linux has 108.
2015-06-17 11:19:13 +02:00
vvaltman
0faf9f80b7 some fixes. updated tgl 2015-06-17 12:05:57 +03:00
Jonathan Williamson
90ba941804 Fix "bind: Address already in use" error if restart before socket is free 2015-06-05 09:10:03 -07:00
vvaltman
44a20ae419 main.c: fixed indents 2015-06-01 12:33:35 +03:00
Vincent Castellano
63f64a8e70 Adding tgl.safe_exit() 2015-05-31 22:20:24 -07:00
vvaltman
a3c79800db merge fixed 2015-05-27 18:21:41 +03:00
Vincent Castellano
6aa4dabf5f fix include orders because python defines _GNU_SOURCE unconditionally and it can collide with other libs 2015-05-23 18:26:58 -07:00
Vincent Castellano
99bf18283d Add Python version to the tg startup banner. 2015-05-21 11:17:01 -07:00
Vincent Castellano
2e62498539 Merge branch 'python-bindings' of github.com:datamachine/tg into python-bindings
Conflicts:
	Makefile.in
	config.h.in
	configure
	main.c
2015-05-15 09:24:25 -07:00
Vincent Castellano
9ccc3016cf Fix broken -W wait command. Thanks @phoudoin 2015-05-15 09:21:49 -07:00
Vincent Castellano
3a13f800c9 Got on_msg_receive working 2015-05-15 09:21:49 -07:00
Vincent Castellano
b658b61773 progress commit on python support 2015-05-15 09:20:54 -07:00
Vincent Castellano
3c6b54c6e1 Merging to remove bad branch 2015-05-15 09:17:23 -07:00
vvaltman
402375ec43 added json support 2015-05-11 14:20:34 +03:00
Vincent Castellano
b3fbcaeb0a Fix broken -W wait command. Thanks @phoudoin 2015-05-07 00:04:15 -07:00
Vincent Castellano
3f2c13b93f Got on_msg_receive working 2015-05-02 23:29:50 -07:00
Vincent Castellano
a240097bbb progress commit on python support 2015-05-02 21:32:30 -07:00
Vincent Castellano
7d2cac9ea4 Merging to remove bad branch 2015-05-02 04:49:21 -07:00
vvaltman
0e2db10aa9 added key to disable link previews 2015-05-01 20:35:04 +03:00
vvaltman
86352f2985 updated tgl 2015-04-30 16:24:07 +03:00
vvaltman
3dedb4ac80 enable longopts 2015-04-30 14:10:17 +03:00
vvaltman
6e86f81e27 fixed clear. added view command to view urls and geo 2015-04-24 18:48:54 +03:00
vvaltman
67ec7aa4b3 many fixes 2015-04-16 16:42:44 +03:00
Vysheng
ca6942724a fixed indents 2015-01-12 21:04:51 +03:00
vysheng
92f9e9f166 Merge pull request #375 from gfleury/master
Fix environment vars after setuid, fix daemonize option, avoid to exit process when in daemonize
2015-01-12 21:06:47 +03:00
Vysheng
723416d333 ipv6 support 2015-01-12 16:58:43 +03:00
vvaltman
4118547208 updated to latest version of tgl 2015-01-12 00:52:40 +03:00
George Fleury
fde3182b40 Avoid loop break when daemonize option is on, now daemonize runs forever until sigkill or sigterm 2014-12-22 00:50:28 +00:00
gfleury
2409907c6b Fix typo 2014-12-21 21:12:00 -02:00
gfleury
43146158aa Fix environment vars after setuid 2014-12-21 21:03:47 -02:00
Kris Moore
62371377f0 Fix building on FreeBSD and install server.pub file to correct
location
2014-11-18 15:08:02 -05:00
Vysheng
2c340e59bf Detached libtgl 2014-11-12 17:39:22 +03: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
Grishka
4882b0adb5 Add an option to use IDs instead of names
Useful for bots
2014-10-12 04:27:34 +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
e5419d2da6 Check return code when downloading files 2014-10-02 23:20:03 +04:00
vvaltman
ecdec4620d Added '-e' option 2014-10-02 22:54:06 +04:00
Vysheng
641f9a8e88 Fixed typo 2014-10-02 15:00:37 +04:00
Pietro Cerutti
a9139222fb netinet/in.h is required for struct sockaddr_in
main.c:739:24: error: variable has incomplete type 'struct sockaddr_in'
    struct sockaddr_in serv_addr;
2014-10-02 10:14:55 +02:00
Vysheng
3eeeb5d03e Fixed absolute path for downloads 2014-09-29 18:38:06 +04:00
Vysheng
ce1d3a1369 Fixed readline_disable mode 2014-09-23 18:39:28 +04:00
Vysheng
c03d91a574 Fixed small memory leaks. Added functions to clear most part of data 2014-09-23 16:58:49 +04:00
vvaltman
6f51f9662b Support for unix sockets 2014-09-23 02:23:40 +04:00
vvaltman
091b0608cb Added listening socket support 2014-09-21 02:22:35 +04:00
Vysheng
04630cb0e9 Added reset authorization key 2014-09-18 17:57:23 +04:00
Vysheng
466aa0bd76 Fixed small memory leaks 2014-09-18 14:11:23 +04:00
vvaltman
1a921e70d4 added SIGUSR1 handler to rotate logs 2014-09-10 01:01:22 +04:00