Commit Graph

72 Commits

Author SHA1 Message Date
Michael Jumper
ab061e1417 Remove unnecessary newline from log messages. 2012-03-15 19:25:46 -07:00
Michael Jumper
8ff25f503a Use args list only once. Probably better to use an intermediate buffer anyway. 2012-03-15 19:24:16 -07:00
Michael Jumper
86bc39b65a Use guacd_log_*() for all logging. Replace use of syslog. Only use fprintf() for usage information. 2012-03-15 19:11:51 -07:00
Michael Jumper
9f24a3f377 New logging functions which log to both syslog and STDERR. 2012-03-15 19:08:12 -07:00
Michael Jumper
82694ec45f Use new form of guac_client_plugin_get_client(). 2012-03-13 15:53:08 -07:00
Michael Jumper
aecd6347e3 Restrict addresses returned for bind, improve logging. 2012-03-01 14:05:12 -08:00
Michael Jumper
fcf37ecd11 LICENSE should be included in source. 2012-02-23 14:46:21 -08:00
Michael Jumper
27ba5e3122 Migrated to namespaced RUNNING state. 2011-12-24 22:51:31 -08:00
Michael Jumper
9c60a7a2a5 Added man/guacd.8 to EXTRA_DIST 2011-12-21 20:58:24 -08:00
Michael Jumper
6bf341ddb3 Bumped version numbers to 0.5.0. 2011-12-20 20:08:19 -08:00
Michael Jumper
155138bc2d Updated changelog. 2011-12-11 15:20:18 -08:00
Michael Jumper
7724b34b7f Updated README to point to new Trac. 2011-12-11 14:51:54 -08:00
Michael Jumper
e6fe9e7008 Added manpage. 2011-12-10 23:45:09 -08:00
Michael Jumper
3e06b326d9 Added -b option to specify bind address, using getaddrinfo() for address and port + getnameinfo() for logging name and port used. 2011-12-10 23:17:25 -08:00
Michael Jumper
ac43e37399 Renamed function, removed now unnecessary thread data and prototyping. 2011-12-06 00:53:18 -08:00
Michael Jumper
fb74c24ec1 Removed thread.*, using pthreads directly. More renaming of guac to guacd. 2011-12-06 00:41:08 -08:00
Michael Jumper
7a18b397de Moved guac_client_stop() back into libguac 2011-12-05 20:43:07 -08:00
Michael Jumper
5401ffd8e4 Log PID, remove support for lack-of-fork, update #define naming. 2011-11-30 12:03:27 -08:00
Michael Jumper
c9388ee536 Removing forced sleep between message handling. Can cause excess delays if handle_messages handles only one message and there are multiple messages waiting / piling up independent of handle frequency. 2011-11-28 02:29:05 -08:00
Michael Jumper
d1b4ce00e1 Set guac_error* before calling client handlers 2011-11-27 16:39:46 -08:00
Michael Jumper
0daf07a742 More logging 2011-11-27 16:29:42 -08:00
Michael Jumper
f9f864815c Using guac_error_message 2011-11-27 16:07:04 -08:00
Michael Jumper
2d7b398c72 Init logging handlers in client. 2011-11-27 14:26:59 -08:00
Michael Jumper
9c5f1da646 Additional logging, moderate cleanup. 2011-11-26 22:26:39 -08:00
Michael Jumper
76e55c5a51 Corrected includes 2011-11-26 22:08:25 -08:00
Michael Jumper
07a40605cb Fixed double free (free'd wrong pointer) 2011-11-26 12:18:57 -08:00
Michael Jumper
aa7be62488 Changed libguac check function to one that still exists. 2011-11-26 01:09:55 -08:00
Michael Jumper
4cf9f6b0ab Added logging to daemon. 2011-11-25 23:28:49 -08:00
Michael Jumper
8df489129a Documentation 2011-11-25 22:15:53 -08:00
Michael Jumper
f86c06684e Flush args instruction. 2011-11-25 16:42:46 -08:00
Michael Jumper
d8697631d0 Renamed io to socket (in vars) 2011-11-25 16:35:50 -08:00
Michael Jumper
c5ec3a71a3 Partial conversion to new logging, API, and naming conventions. 2011-11-25 16:30:17 -08:00
Michael Jumper
0a39a5d63d Added logging to client threads 2011-11-24 18:51:05 -08:00
Michael Jumper
66a0ff52ee Migration to new guac_read_instruction(), remove use of guac_free_instruction_data(). 2011-11-24 18:25:33 -08:00
Michael Jumper
0db81b73ac Migrated to new function defs with timeouts. 2011-11-23 00:45:43 -08:00
Michael Jumper
d4d2ba3af3 Moved thread API from libguac. 2011-11-23 00:23:53 -08:00
Michael Jumper
e4cbb8b4e8 Moved daemon functions from libguac 2011-11-23 00:01:27 -08:00
Michael Jumper
6f27f97289 Removed unused file. 2011-08-10 15:13:40 -07:00
Michael Jumper
68855b795c Removing win32 from guacd. Too heavy. 2011-07-14 01:13:20 -07:00
Michael Jumper
66c1144d4e If fork()ing, parent process must close child's socket fd. Child close() is not sufficient as both parent and child have a reference to the same socket fd, and fd will never be free'd if close() is not called from both processes. 2011-07-12 14:43:57 -07:00
Michael Jumper
71013a5a1b Added Default-Start/Stop to init.d script. 2011-06-03 00:07:23 -07:00
Michael Jumper
20927307d2 Updated version numbers to 0.4.0 2011-05-27 13:46:38 -07:00
Michael Jumper
d1759acca9 Fixed pointer warnings on POSIX and win32 2011-04-21 23:49:14 -07:00
Michael Jumper
4e1e693c2d Working win32 port 2011-04-21 15:54:29 -07:00
Michael Jumper
feff9f5138 Added -Werror -Wall -pedantic 2011-03-24 23:14:20 -07:00
Michael Jumper
03bbc76145 Use fork for connection handlers (preferrably), fix memory leak 2011-03-20 00:21:33 -07:00
Michael Jumper
ec2d9f6918 Using new log functions 2011-03-19 17:13:33 -07:00
Michael Jumper
b52a49d7b0 Ignore SIGPIPE (force checking of EPIPE instead). 2011-03-19 16:50:18 -07:00
Michael Jumper
1b326b9cfb Detach main thread. 2011-03-19 00:59:14 -07:00
Michael Jumper
a6bfd481c8 Added license block to Makefile.am 2011-03-02 01:21:34 -08:00