History log of /external/qemu/sockets.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f661af7cfca4b7857d30d598923dd2095f78ff0 02-May-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed compilation error with new x86_64-w64-mingw32 compiler

Fixed the following for the new compiler
1. android/camera/camera-capture-windows.c:
Added "#include <windows.h>"
2. SetClassLong() is deprecated. GCL_HICON doesn't exist in _WIN64.
Replacted it with SetClassLongPtr(h, GCLP_HICON, icon)
3. [v]asprintf now actually exisit in libray. Changed the prototype
to match the standard ones but will remove them later for GCC 4.5 and up.
4. Renamed _set_errno to set_errno because it exists in stdlib.h.
Renamed _fix_errno to fix_errno for consistency.
5. EAI_NODATA and EAI_NONAME become the same things.
6. ddk/*h don't exisit. tap-win32.c actually only needs winioctl.h which
provide constants. I have make sure they got the same constants in
both old and new mingw compilers
7. #undef DELETE before redefining it for KEY_CODE in hw-events.h because
DELETE is defined to be a constant in standard header.

The above don't break the old one (ie. /usr/bin/i586-mingw32msvc-*)

Change-Id: Ic7d13fd0fd237d433f923ee01c6ce50f5c02f095
/external/qemu/sockets.c
26722dde31c3467cd31a078662810927eec05de5 24-Feb-2011 David 'Digit' Turner <digit@android.com> Quote concatenated QEMU options when -verbose is used.

Change-Id: I2d95fa0aa9a5f679372dfd1ae7c7cec906c3049d
/external/qemu/sockets.c
c611a19e65c13248bfd881a2d30681d7e24ea773 22-Dec-2010 David 'Digit' Turner <digit@android.com> sockets.h: Add SOCKET_LIST_DGRAM

Change-Id: Ifc00b12403a105307fa12d14a52c6566094ba7c0
/external/qemu/sockets.c
50eef01259415a59067de542a21f30f6f4b829d0 24-Nov-2010 Vladimir Chtchetkine <vchtchetkine@google.com> Implement sock_address_list_create2 routine.

This routine takes socket address in the form of [host:]port and creates array of SockAddress for it.

Change-Id: Ib2d4c1035d109d9d3df100961c4eec728d15e485
/external/qemu/sockets.c
18fe86e8245878f3b7a2813bd59b8cfcf636e15c 19-Oct-2010 David 'Digit' Turner <digit@android.com> emulator-ui: Remove dependencies from qemu sources.

This change removes some QEMU-specifics that crept into the UI code.

Change-Id: Ib1974dc64e54a35dc0cd01aec1eb547a9263a0c8
/external/qemu/sockets.c
4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 22-Sep-2010 David 'Digit' Turner <digit@android.com> Remove compiler warnings when building the emulator.

This forces -Wall during the build. Note that this patch doesn't
remove all warnings, but most of the remaining ones are from upstream anyway.

Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
/external/qemu/sockets.c
b6f4df8626f2ba311566466c01cc8c18ccf40392 25-Aug-2010 David 'Digit' Turner <digit@android.com> Fix stack-smashing when using IPv6 sockets in the networking code.

struct sockaddr is not enough, and struct sockaddr_storage is not portable,
so redefine our own union to deal with the problem correctly.

Change-Id: Ib250da3e7bafef2d05c060ea61272720576994cb
/external/qemu/sockets.c
ce0f4b02160ee72d7d2428867fe757bc37c68c98 25-Mar-2010 David 'Digit' Turner <digit@google.com> Fix Win32 socket error handling.

This also fixes -http-proxy support on Windows.

Change-Id: I741b224511c064412ac39351ed4f1b9146a313a5
/external/qemu/sockets.c
b489a9b96d5a024e1514258807f5d65ba1c3fb49 16-Sep-2009 Jack Palevich <jackpal@google.com> Enable sockets.c to compile with GCC 4.4 headers

The GCC 4.4 version of netdb.h moves EAI_NODATA behind a __USE_GNU
define, because that feature is not part of the POSIX standard for
that header.

In order to compile sockets.c without error under GCC 4.4 we
explicitly define __USE_GNU and explicitly include netdb.h.
/external/qemu/sockets.c
5d8f37ad78fc66901af50c762029a501561f3b23 14-Sep-2009 David 'Digit' Turner <digit@google.com> Merge upstream QEMU 10.0.50 into the Android source tree.

This change integrates many changes from the upstream QEMU sources.
Its main purpose is to enable correct ARMv6 and ARMv7 support to the
Android emulator. Due to the nature of the upstream code base, this
unfortunately also required changes to many other parts of the source.

Note that to ensure easier integrations in the future, some source files
and directories that have heavy Android-specific customization have been
renamed with an -android suffix. The original files are still there for
easier integration tracking, but *never* compiled. For example:

net.c net-android.c
qemu-char.c qemu-char-android.c
slirp/ slirp-android/
etc...

Tested on linux-x86, darwin-x86 and windows host machines.
/external/qemu/sockets.c
0b7cd6c0d6af071951a86810d2600d155fa53b05 10-Jul-2009 David 'Digit' Turner <digit@google.com> Fix bad zero-termination bug in the socket string formatter.

This created, among other things, malformed CONNECT proxy requests,
depending on the state of the stack
/external/qemu/sockets.c
7410e8a38956bc52b7a8ba18c0c9618bd4af8000 20-May-2009 David 'Digit' Turner <digit@google.com> Fix one minor crashing bug when -debug-audio is used with the OSS audio backend.
Moreover, properly set errno to 0 in QSOCKET_CALL macro, to avoid misleading trace messages when -debug-slirp is used
/external/qemu/sockets.c
3e7a92854dbf66902da5522ca3dfb2011c0ce8be 14-May-2009 David 'Digit' Turner <digit@google.com> This fixes sock_address_init_resolv() to properly parse the linked-list returned by getaddrinfo().

The previous implementation simply took the first entry, which could be an IPv6 address
instead of an IPv4 one in certain OS setups. This created problems when "localhost" resolved
to :::1 instead of 127.0.0.1. For example, when implementing inter-emulator telephony or SMS,
since the caller would try to connect to localhost:5556, which was resolved to :::1:5556 while
the received is listening on 127.0.0.1:5556

Also disable debugging traces that should not be activated. And make the error messages in
sockets.c only dumped to the terminal when -debug-socket is active.
/external/qemu/sockets.c
f5be61d70b1f548e180ba11ab87c54c03704e819 25-Apr-2009 Nick Pelly <npelly@google.com> Fix build for platforms where deprecated symbol EAI_NODATA is not defined.
/external/qemu/sockets.c
669c47953c86f489d2a7ce8893bc9a5e1f0620e5 14-Apr-2009 David Turner <> AI 145975: am: CL 145805 Fix a bug in android/console.c that prevented the console "redir add" command from working properly
Fix a bug in sock_address_init_resolve which caused a crashed when getaddrinfo() returned an error.
Original author: digit
Merged from: //branches/cupcake/...

Automated import of CL 145975
/external/qemu/sockets.c
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/sockets.c
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/sockets.c
c27f813900a3c114562efbb8df1065e94766fc48 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/qemu/sockets.c
c2db2b6accc7888df514261a7240e7759df95a4c 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/external/qemu/sockets.c
df7881f07f53b041dc0568be8528e9dbb74994cc 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/qemu/sockets.c
55f4e4a5ec657a017e3bf75299ad71fd1c968dd3 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/qemu/sockets.c