Andrew Bettison
c7488de510
Add strbuf_helpers.[ch]
...
Functions to help assemble strbuf contents.
2012-07-11 14:11:59 +09:30
Andrew Bettison
86eb482ed9
Replace macros with functions
...
SET_NONBLOCKING(), SET_BLOCKING(), WRITE_STR() are now set_nonblock(),
set_block() and write_str() respectively, all of which log an error before
returning -1. There are other useful methods: write_all() treats anything less
than all bytes written as an error; write_nonblock() treats EAGAIN and EINTR as
zero bytes written, and a combination: write_all_nonblock().
2012-07-10 16:33:39 +09:30
Jeremy Lakeman
de8da93e7b
Fix android build process
2012-07-05 16:09:50 +09:30
Jeremy Lakeman
89566e4d3d
Refactor how functions are scheduled or file handes are watched
2012-07-02 13:19:54 +09:30
gardners
5dc6d122a5
significant progress towards clean callback scheduler for poll()
...
events and timed callbacks.
2012-06-22 16:05:49 +09:30
gardners
dceeed8d35
more work on dna helper interface.
...
Also added missing dna_helper.c file from previous changes.
moved sigpipe/sigio detection code to own file.
2012-06-21 16:35:28 +09:30
gardners
e5394dd143
added stubs for DNA lookup helper app (not yet complete).
...
cleaned up some unused variables.
2012-06-21 16:35:28 +09:30
gardners
b31817f564
fixed signed/unsigned comparison bug in rhizome manifest cache lookup
...
that was probably stopping some manifest retrievals for meshms.
debugging tweaks.
2012-05-28 13:51:24 +02:00
gardners
c32268a922
android build fix.
2012-05-21 12:59:14 +09:30
Andrew Bettison
990db1d275
Refactor Android.mk to remove duplication
2012-05-20 14:05:04 +09:30
Andrew Bettison
2f4d1eb720
"strbuf.h" API for assembling fixed-sized string buffers
2012-05-19 14:02:03 +09:30
gardners
29cc9749b2
build non-dlsym-magiced servaldsimple binary for gdb on phones.
2012-05-18 17:08:19 +09:30
Andrew Bettison
2c1b42413a
Make NaCl ge25519() kludge compile on Debian Linux
2012-05-16 11:22:10 +09:30
Andrew Bettison
7087afc404
Refactor main() into main.c
...
Now dna.c only contains code for the old command line
2012-05-15 11:09:21 +09:30
Andrew Bettison
d11258cefc
Overhaul debug flags
...
Config debug flags are now represented as individual items, eg:
servald config set debug.verbose yes
servald config set debug.rhizome yes
instead of aggregated, eg:
servald config set debug verbose,rhizome <-- no longer works
Added a debug flag "debug.all" that can be set and cleared, over which
individual flag sets/clears take priority.
Slimmed down dna.c by moving some globals and functions to the files where they
are used.
Default command line (help message) is now the new style, not the deprecated
style.
2012-05-14 18:37:32 +09:30
gardners
7b82ccbd7b
work on bypass-audio.
...
CALLSTATUS monitor message has gained a field, thus changing
API for java side.
2012-05-11 08:14:00 +09:30
Andrew Bettison
fe25f06129
Conditionally compile new ALSA sound code
2012-05-10 18:29:27 +09:30
Andrew Bettison
0cf69c9b30
Don't build playwav on Android
2012-05-10 12:50:12 +09:30
gardners
8d2792ce74
substantial work towards playing audio on IDEOS/G1 type MSM chipset
...
android phones directly from C to dramatically reduce latency.
2012-05-10 03:47:18 +09:30
gardners
08768a7c8c
removed monitor executable from android build (it's a servald
...
cli app now).
2012-05-08 14:46:39 +09:30
gardners
596b20b5e8
interactive servald monitor cli command implemented.
2012-05-08 14:41:21 +09:30
gardners
bee3ea6888
added monitor build target for android
2012-05-05 03:58:42 +09:30
Andrew Bettison
490d9ef472
Only define struct ucred if <sys/socket.h> does not provide it
2012-05-03 14:50:14 +09:30
gardners
a6faafa0bd
and add monitor interface to build for android.
2012-05-03 03:42:35 +09:30
gardners
365802b5a1
added android logging library to build for libserval.
2012-04-30 21:28:00 +09:30
gardners
2ab32197a7
Put new linux-specific interface listing routine in that is needed
...
for android, where the portable method isn't easily available.
2012-04-28 12:25:19 +09:30
gardners
beb2ecbdf3
fixed Android.mk to have correct path to servalwrap.c
2012-04-26 16:43:12 +09:30
gardners
50c2581ae6
Reinstated commandline wrapper and library so that we can call
...
it from JAva, but don't waste 700KB on duplicating the contents
of the library in the command line control executable.
2012-04-26 16:39:22 +09:30
Andrew Bettison
0cbdd5b37b
Android NDK build sets HAVE_JNI_H
2012-04-25 09:06:12 +09:30
gardners
1a221a32b2
Begun work on VoMP implementation.
2012-04-19 07:14:51 +09:30
gardners
6f93d7a48d
Updated build environment to leave out old HLR stuff that has
...
been deprecated in favour of the new keyring file.
2012-04-13 09:29:43 +09:30
gardners
ee09ea92f3
Added keyring.c to android make file.
2012-04-10 13:50:27 +09:30
gardners
8711c957a4
Added overlay_mdp to android.mk
2012-03-19 09:26:52 +10:30
Andrew Bettison
f04a995c5c
First cut at transaction caching to eliminate duplicate message deliveries
2012-03-13 16:35:14 +10:30
Jeremy Lakeman
0905c6af4e
Add missing make file
2012-02-27 14:13:05 +10:30
Daniel O'Connor
1b46c7ab28
Ressurect my fixed version of Android.mk.
2012-02-27 14:04:38 +10:30
gardners
888d4e2bee
Remove Android.mk as it must be generated by nacl-jni-prep from
...
Android-without-NaCl.mk.
2012-02-17 00:40:43 +10:30
gardners
571f042734
Added overlay_advertise.c to Android.mk
2011-09-20 21:16:10 +09:30
gardners
e7a6ed2b44
... and the other file for Kris' suggested fixes.
2011-09-05 15:05:09 +09:30
Jeremy Lakeman
df70fa54d2
Build dna binary with ndk
2011-06-04 07:35:29 -04:00