Mateusz Kruszyński [Wed, 11 Jan 2012 17:07:15 +0000 (18:07 +0100)]
Extend mx python api with some usefull handlers
Zbigniew Jędrzejewski-Szmek [Wed, 16 Nov 2011 09:28:43 +0000 (10:28 +0100)]
Small updates to configure rules
Makes use of some more modern options.
Zbigniew Jędrzejewski-Szmek [Sun, 8 Jan 2012 12:29:07 +0000 (13:29 +0100)]
Fix linking of libmultiplexer.so
zbyszek@ubuntu-1140:~/eeg/azouk-libraries$ (cd; python -c 'from multiplexer import mxclient')
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/multiplexer/mxclient.py", line 23, in <module>
from azouk._allinone import *
ImportError: /usr/local/lib/libmultiplexer.so.0: undefined symbol: _ZN5boost7signals6detail14named_slot_map5beginEv
Before this change, linking with g++-4.6 worked fine in Debian,
but not in Ubuntu oneiric. This means that this is not gcc related,
and depends on something else. But the fix is pretty clear, so let's
do it.
Zbigniew Jędrzejewski-Szmek [Wed, 16 Nov 2011 08:53:27 +0000 (09:53 +0100)]
Make make distcheck happy
Zbigniew Jędrzejewski-Szmek [Thu, 10 Nov 2011 09:35:16 +0000 (10:35 +0100)]
Remove debugging message which makes distcheck unhappy
Zbigniew Jędrzejewski-Szmek [Thu, 10 Nov 2011 09:32:10 +0000 (10:32 +0100)]
Do not install deprecated server binary
Zbigniew Jędrzejewski-Szmek [Thu, 10 Nov 2011 09:31:46 +0000 (10:31 +0100)]
Make help output go on stdout, not stderr, iff explicitely requested
Zbigniew Jędrzejewski-Szmek [Thu, 10 Nov 2011 09:06:23 +0000 (10:06 +0100)]
Add --version option
The way to access program name is simplified: it seems more useful to get
mxcontrol as the program name, not argv[0] anyway.
Zbigniew Jędrzejewski-Szmek [Fri, 21 Oct 2011 11:16:23 +0000 (13:16 +0200)]
Makefile.am: fix error when creating constants in separate build dir
Zbigniew Jędrzejewski-Szmek [Fri, 21 Oct 2011 10:56:40 +0000 (12:56 +0200)]
Makefile.am: automatically update libtool when necessary
Zbigniew Jędrzejewski-Szmek [Fri, 21 Oct 2011 10:56:11 +0000 (12:56 +0200)]
Package most of multiplexer as a (shared) library
configure options also allow the creation of a static library.
Everything (server, mxcontrol, _allinonemodule.so) use this.
Zbigniew Jędrzejewski-Szmek [Fri, 21 Oct 2011 10:25:50 +0000 (12:25 +0200)]
Makefile.am: remove $(multiplexer_other_sources)
It was always used in tandem with $(multiplexer_sources), they
can be coalesced.
Zbigniew Jędrzejewski-Szmek [Fri, 21 Oct 2011 10:22:11 +0000 (12:22 +0200)]
Makefile.am: order items by dir
Zbigniew Jędrzejewski-Szmek [Fri, 21 Oct 2011 07:57:58 +0000 (09:57 +0200)]
Include xrelease.h in install
Zbigniew Jędrzejewski-Szmek [Sun, 16 Oct 2011 22:38:47 +0000 (00:38 +0200)]
Remove some unused python imports
Zbigniew Jędrzejewski-Szmek [Sun, 16 Oct 2011 22:38:28 +0000 (00:38 +0200)]
Add she-bang lines to scripts as appropriate
Zbigniew Jędrzejewski-Szmek [Fri, 14 Oct 2011 06:35:59 +0000 (08:35 +0200)]
Remove unused header file
Zbigniew Jędrzejewski-Szmek [Fri, 14 Oct 2011 07:09:49 +0000 (09:09 +0200)]
Install headers
Zbigniew Jędrzejewski-Szmek [Sat, 15 Oct 2011 20:52:02 +0000 (22:52 +0200)]
Make RULES variable relative to top dir
The user is likely to set RULES relative to the directory where building,
but the file is actually read from src/ subdir, which is confusing. In case
of relative paths, ../ is now prepended before actual use.
Zbigniew Jędrzejewski-Szmek [Wed, 12 Oct 2011 19:43:59 +0000 (21:43 +0200)]
Merge branch 'origin/master'
Mateusz Kruszyński [Wed, 12 Oct 2011 22:43:37 +0000 (00:43 +0200)]
Change default logging level and add some help info
Zbigniew Jędrzejewski-Szmek [Wed, 12 Oct 2011 19:33:24 +0000 (21:33 +0200)]
Revert python parts of dcc452b (merge from internal development branch)
Those changes broke compatibility with python-protobuf 2.4.
Zbigniew Jędrzejewski-Szmek [Wed, 12 Oct 2011 18:03:43 +0000 (20:03 +0200)]
Merge branch 'google-code-svn'
Krzysztof Kulewski [Sun, 28 Mar 2010 10:16:39 +0000 (10:16 +0000)]
MultiplexerServer and BaseMultiplexerServer to accept "password" argument.
git-svn-id: http://azouk-libraries.googlecode.com/svn/trunk@43
0fdfa6c8-de5c-11dd-939f-
4b74b2738814
Paweł Kordowski [Mon, 26 Sep 2011 20:00:24 +0000 (22:00 +0200)]
Fix multiplexer abort on garbled input
1. mxcontrol run_multiplexer 0.0.0.0:31890
2. telnet localhost 318889
asfasdfasdfas
3. mxcontrol does sepuku
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): Bad file descriptor
[1] 18482 abort (core dumped) /var/tmp/azouk-install/bin/mxcontrol run_multiplexer 0.0.0.0:31890
Zbigniew Jędrzejewski-Szmek [Sat, 24 Sep 2011 17:49:06 +0000 (19:49 +0200)]
Fix error about missing libgnu.la
make[2]: *** No rule to make target `../lib/libgnu.la', needed by `azouk/_allinone.la'. Stop.
Solution from http://stackoverflow.com/questions/5857655/compiling-libptrace.
Zbigniew Jędrzejewski-Szmek [Sat, 24 Sep 2011 17:34:14 +0000 (19:34 +0200)]
Use macro for gethostname
Zbigniew Jędrzejewski-Szmek [Sat, 24 Sep 2011 17:10:22 +0000 (19:10 +0200)]
Revert "Use gnulib::setenv directly"
This reverts commit
bcab81c63cde9114d341dfafa96aff86c21d01ab.
Zbyszek Jędrzejewski-Szmek [Sat, 24 Sep 2011 16:48:17 +0000 (18:48 +0200)]
Even more gitignores
Zbigniew Jędrzejewski-Szmek [Fri, 23 Sep 2011 09:48:31 +0000 (11:48 +0200)]
Update gitignores
Zbyszek Jędrzejewski-Szmek [Sat, 24 Sep 2011 16:35:21 +0000 (18:35 +0200)]
Update boost.m4 to version 16
Zbyszek Jędrzejewski-Szmek [Sat, 24 Sep 2011 16:29:48 +0000 (18:29 +0200)]
kill autoconf warning about e-mail address
configure.ac:5: warning: AC_INIT: not a literal: Piotr Findeisen <piotr.findeisen@gmail.com>
Zbigniew Jędrzejewski-Szmek [Tue, 17 May 2011 08:21:55 +0000 (11:21 +0300)]
Add boost_filesystem since boost 1.46 seems to require it
Zbiniew Jędrzejewski-Szmek [Wed, 11 Aug 2010 11:24:21 +0000 (13:24 +0200)]
Make python parts optional with --disable-python
Zbiniew Jędrzejewski-Szmek [Wed, 11 Aug 2010 10:54:52 +0000 (12:54 +0200)]
Add configure variable RULES to specify the multiplexer.rules to use
Zbiniew Jędrzejewski-Szmek [Wed, 11 Aug 2010 10:12:21 +0000 (12:12 +0200)]
Use abspath to be able to build from a subdirectory of source directory
Zbiniew Jędrzejewski-Szmek [Wed, 11 Aug 2010 07:08:43 +0000 (09:08 +0200)]
Fix Makefiles.am to make distcheck happy
Zbiniew Jędrzejewski-Szmek [Tue, 10 Aug 2010 21:46:17 +0000 (23:46 +0200)]
Remove unused header file and old script
Zbiniew Jędrzejewski-Szmek [Tue, 10 Aug 2010 21:13:02 +0000 (23:13 +0200)]
Remove nonexistent files from sources list
Zbyszek Szmek [Thu, 5 Aug 2010 12:09:27 +0000 (14:09 +0200)]
Generate version files correctly
Zbyszek Szmek [Thu, 5 Aug 2010 11:46:07 +0000 (13:46 +0200)]
Generate python protocol buffers files correctly
Zbyszek Szmek [Wed, 4 Aug 2010 19:08:36 +0000 (21:08 +0200)]
Keep protoc rules in one place and use silent rules
Zbyszek Szmek [Wed, 4 Aug 2010 18:22:48 +0000 (20:22 +0200)]
ax_with_prog_required: copy-and-pasto fixed
Tested with:
AX_WITH_PROG_REQUIRED([SHA1SUM], [sha1sum-],
[SHA1 sum generator sha1sum])
which gives:
checking whether sha1sum- executable path has been provided... no
checking for sha1sum-... no
configure: error: SHA1 sum generator sha1sum not found
Zbyszek Szmek [Wed, 4 Aug 2010 18:14:27 +0000 (20:14 +0200)]
Working* python version
*working means import azouk._allinone works.
Zbyszek Szmek [Wed, 4 Aug 2010 18:12:38 +0000 (20:12 +0200)]
azlib/logging.cc: gethostname is defined in unistd.h
Zbyszek Szmek [Wed, 4 Aug 2010 13:46:15 +0000 (15:46 +0200)]
Initial incomplete python setup
Zbyszek Szmek [Wed, 4 Aug 2010 13:44:52 +0000 (15:44 +0200)]
Use AS_* constructs in configure.ac
Zbyszek Szmek [Sun, 11 Jul 2010 09:05:58 +0000 (11:05 +0200)]
Changes to build flags
Zbyszek Jędrzejewski-Szmek [Tue, 11 May 2010 18:41:08 +0000 (20:41 +0200)]
Use gnulib::setenv directly
It seems to be always defined.
Zbyszek Jędrzejewski-Szmek [Tue, 11 May 2010 18:35:52 +0000 (20:35 +0200)]
Wrap AX_WITH_PROG with AC_MSG_ERROR in case program not found
Zbyszek Jędrzejewski-Szmek [Tue, 11 May 2010 18:03:41 +0000 (20:03 +0200)]
Use AX_WITH_PROG from Autoconf archive
Zbyszek Jędrzejewski-Szmek [Tue, 11 May 2010 16:28:23 +0000 (18:28 +0200)]
Autoconf clean-ups
Zbyszek Jędrzejewski-Szmek [Tue, 11 May 2010 16:27:43 +0000 (18:27 +0200)]
Replace custom macro with AX_CHECK_LINKER_FLAGS from autoconf archive
From http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_linker_flags.m4 .
Zbyszek Jędrzejewski-Szmek [Mon, 10 May 2010 21:31:02 +0000 (23:31 +0200)]
Improve bootstrap.sh
Zbyszek Jędrzejewski-Szmek [Mon, 10 May 2010 21:05:37 +0000 (23:05 +0200)]
Small configure.ac and Makefile.am improvements
Zbyszek Jędrzejewski-Szmek [Fri, 7 May 2010 21:07:47 +0000 (23:07 +0200)]
Don't rebuild multiplexer.constants.h and dependents unnecessarily
Zbyszek Jędrzejewski-Szmek [Fri, 7 May 2010 20:49:52 +0000 (22:49 +0200)]
Test linker flags and make sure tools/ is built with native code
Zbyszek Jędrzejewski-Szmek [Fri, 7 May 2010 19:54:07 +0000 (21:54 +0200)]
Commit automatic .gitingore changes by gnulib
They don't hurt, and it is simpler than to fight
gnulib not to do them.
Zbyszek Szmek [Fri, 7 May 2010 19:07:18 +0000 (21:07 +0200)]
Import gnulib upon bootstrap
Zbyszek Szmek [Fri, 7 May 2010 18:45:29 +0000 (20:45 +0200)]
Move generate_constants into tools/
Zbyszek Jędrzejewski-Szmek [Thu, 6 May 2010 21:28:15 +0000 (22:28 +0100)]
Fixes after repository layout update
Zbyszek Jędrzejewski-Szmek [Wed, 28 Apr 2010 11:30:28 +0000 (13:30 +0200)]
Make the fancy initialization of program_name less fancy
Windows is POSIX, but doesn't seem to provide /proc...
Zbyszek Jędrzejewski-Szmek [Wed, 28 Apr 2010 10:29:57 +0000 (12:29 +0200)]
Forgotten #include "config.h" in mxcontrol.cc
In function 'boost::asio::detail::socket_type boost::asio::detail::socket_ops::call_accept(SockLenType boost::asio::detail::socket_ops::msghdr::*, boost::asio::detail::socket_type, boost::asio::detail::socket_addr_type*, size_t*)':
/usr/i686-pc-mingw32/sys-root/mingw/include/boost/asio/detail/socket_ops.hpp:79: error: '::accept_used_without_including_sys_socket_h' has not been declared
Zbyszek Jędrzejewski-Szmek [Tue, 27 Apr 2010 11:07:36 +0000 (13:07 +0200)]
Add a replacement for setenv from gnulib, with a warning.
Gives the following warning:
../../src/azouk/server.cc: In function 'int AzoukMain(int, char**)':
../../src/azouk/server.cc:81: warning: call to 'setenv' declared with attribute warning: The symbol ::setenv refers to the system function. Use gnulib::setenv instead.
I hope that this is a bug in gnulib, because gnulib::setenv is
really used, not ::setenv.
Zbyszek Jędrzejewski-Szmek [Tue, 27 Apr 2010 10:36:14 +0000 (12:36 +0200)]
A hack to add -lmswsock and compile mxcontrol.exe
Zbyszek Jędrzejewski-Szmek [Tue, 27 Apr 2010 10:11:42 +0000 (11:11 +0100)]
Use config.h in .cc files and replace gethostname with gnulib::gethostname
Zbyszek Jędrzejewski-Szmek [Mon, 26 Apr 2010 12:54:18 +0000 (14:54 +0200)]
Change the name of a conflicting macro: ERROR -> LOG_ERROR
git grep -l '[^_"]ERROR' | xargs sed -r -i 's/([^_"])ERROR/\1LOG_ERROR/g'
When compiling with i686-pc-mingw32-g++, from somewhere one gets:
#define ERROR 0
which gives:
azlib/logging/impl.h:215: error: expected unqualified-id before numeric constant
Zbyszek Jędrzejewski-Szmek [Mon, 26 Apr 2010 12:45:25 +0000 (14:45 +0200)]
Change the name of a conflicting macro: TEXT -> MESSAGE
git grep -l '[^N]TEXT' | xargs sed -i -r 's/([^N])TEXT/\1MESSAGE/g'
When compiling with i686-pc-mingw32-g++, from somewhere one gets:
#define TEXT(q) __TEXT(q)
#define __TEXT(q) q
which wreak havoc in the __AZOUK_LOG macro.
Zbyszek Jędrzejewski-Szmek [Tue, 27 Apr 2010 08:06:39 +0000 (10:06 +0200)]
Import gnulib.
Zbyszek Jędrzejewski-Szmek [Mon, 26 Apr 2010 09:58:31 +0000 (10:58 +0100)]
Autoconfiscation.
For now release.h is stuck at version 'unknown'.
Only creates binaries mxcontrol, server and
generate_constants to be installed in $prefix/bin.
Zbyszek Jędrzejewski-Szmek [Wed, 5 May 2010 21:54:54 +0000 (23:54 +0200)]
Remove hand-crafted Makefile
Zbyszek Jędrzejewski-Szmek [Wed, 5 May 2010 21:52:30 +0000 (23:52 +0200)]
Remove build/ from include paths
Zbyszek Jędrzejewski-Szmek [Wed, 5 May 2010 21:51:00 +0000 (23:51 +0200)]
Missing semicolon horror
azlib/signals.cc:47: error: expected initializer before ‘}’ token
c.f. http://www.zoitz.com/archives/36
Piotr Findeisen [Sun, 15 Nov 2009 16:32:47 +0000 (17:32 +0100)]
Fix a bug where STATIC_INITILIZATION could be called wrong
On g++ 4.4.1 some constructors seem to be not inlined, which can result in
STATIC_INITILIZATION code from one file to be called twice and instead of code
in another file.
piotr.findeisen [Wed, 14 Oct 2009 10:10:07 +0000 (10:10 +0000)]
Makefile: automatic python version detection
Piotr Findeisen [Mon, 19 Oct 2009 11:11:10 +0000 (13:11 +0200)]
fix Makefile after repository layout update
piotr.findeisen [Wed, 14 Oct 2009 10:09:50 +0000 (10:09 +0000)]
Make Multiplexer compatible also with protocol buffers 2.1.0 and 2.0.3
Piotr Findeisen [Mon, 19 Oct 2009 07:14:59 +0000 (09:14 +0200)]
merge from internal development branch
piotr.findeisen [Wed, 14 Oct 2009 09:45:23 +0000 (09:45 +0000)]
typo
Piotr Findeisen [Mon, 19 Oct 2009 07:32:41 +0000 (09:32 +0200)]
django_termcolors licensing information
piotr.findeisen [Wed, 14 Oct 2009 09:18:45 +0000 (09:18 +0000)]
make generate_constants compileable with -DNDEBUG
Piotr Findeisen [Mon, 19 Oct 2009 06:17:09 +0000 (08:17 +0200)]
repository layout update
piotr.findeisen [Wed, 14 Oct 2009 09:18:20 +0000 (09:18 +0000)]
makefile + find corrections
Piotr Findeisen [Sat, 20 Jun 2009 12:23:45 +0000 (14:23 +0200)]
google code project logo
piotr.findeisen [Wed, 14 Oct 2009 09:15:20 +0000 (09:15 +0000)]
Make Multiplexer compatible with protocol buffers 2.2.0
piotr.findeisen [Sun, 7 Jun 2009 17:46:18 +0000 (17:46 +0000)]
switched to use boost::asio instead of standalone Asio
piotr.findeisen [Sun, 7 Jun 2009 17:45:50 +0000 (17:45 +0000)]
moved to boost 1.35; 1.34 is no longer supported
piotr.findeisen [Thu, 7 May 2009 15:39:49 +0000 (15:39 +0000)]
src/Makefile submake correction
piotr.findeisen [Thu, 7 May 2009 15:37:34 +0000 (15:37 +0000)]
Merge from internal branch
* query() functionality in C++ Multiplexer client
* code reformatting
* code version included in log messages (requires git-managed source copy
during build)
* generate_constants with fewer dependencies (so that it's less frequently
rebuilt (causing almost all C++ code recompilation))
* logging usage improvements
* Python-powered streaming of log messages generated by Python-based programs
or spawned from Python (azouk.logging.streaming)
* Python multiplexer.clients improvements
* other minor changes
piotr.findeisen [Fri, 17 Apr 2009 20:40:41 +0000 (20:40 +0000)]
simplify mxclient internal interfaces + format
piotr.findeisen [Thu, 12 Mar 2009 18:41:32 +0000 (18:41 +0000)]
added top-level Makefile
piotr.findeisen [Thu, 12 Mar 2009 18:41:14 +0000 (18:41 +0000)]
renamed src/multiplexer to src/azouk
piotr.findeisen [Thu, 12 Mar 2009 18:21:41 +0000 (18:21 +0000)]
postfix for r11 (Makefile corrections)
piotr.findeisen [Thu, 12 Mar 2009 18:21:25 +0000 (18:21 +0000)]
added authorship and copyright info to source files
piotr.findeisen [Thu, 12 Mar 2009 18:17:13 +0000 (18:17 +0000)]
removed requirement that update-version-bash-file has execution permission set
piotr.findeisen [Thu, 12 Mar 2009 17:21:29 +0000 (17:21 +0000)]
Makefile options: keep intermediate files and delete on error.
piotr.findeisen [Thu, 12 Mar 2009 17:21:17 +0000 (17:21 +0000)]
Makefile cleanup
piotr.findeisen [Thu, 12 Mar 2009 17:21:06 +0000 (17:21 +0000)]
added auto-creation of 'build' dir to Makefile
piotr.findeisen [Thu, 12 Mar 2009 17:20:52 +0000 (17:20 +0000)]
Makefile corrections (compliance, speed and readability)
piotr.findeisen [Thu, 12 Mar 2009 15:54:33 +0000 (15:54 +0000)]
added missing files for previous commit