summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-15Apple: Allow Xquartz to provide an additional fd to xtrans since the dynamic ↵Jeremy Huddleston
addition code in the server isn't bulletproof yet.
2008-07-02xtrans 1.2.1xtrans-1.2.1Adam Jackson
2008-06-24Clear some pointer type mismatch warningsAlan Coopersmith
2008-06-24LocalClose() takes a ConnInfoPtr, not an fdAlan Coopersmith
2008-05-23Launchd: This functionality has been moved into xorg-serverJeremy Huddleston
2008-05-12Connection failure for abstract socket is ECONNREFUSED, not ENOENT.Adam Jackson
Apropos of bug #15884.
2008-05-12Ignore mkdir() errors when creating the abstract socket.Bill Nottingham
Red Hat bug #445303.
2008-05-10Remove extraneous execute bit from .c fileJames Cloos
2008-05-08Bump to 1.2xtrans-1.2Julien Cristau
2008-04-28disable UNIXCONN on MINGWAlan Hourihane
2008-04-26fix build for MAKEWORDAlan Hourihane
2008-04-26Update to winsock2Colin Harrison
2008-04-25Fix length calculation for the path for abstract unix domain socketsJames Cloos
Since the struct has a fixed-lenght char[] its sizeof() contains trailing NUL octets which results in corrupt abstract sockets. Instead, take the strlen(3) of the path, plus the single NUL octet (which identifies the path as an abstract path rather than a file- system path) plus the offset from the start of the struct to the start of the char array. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=15677
2008-04-23Only call WSAGetLastError() if there has been anColin Harrison
error condition.
2008-04-15Sun bug #6688467: _X11TransConvertAddress: Unknown family type on 64-bit SPARCAlan Coopersmith
Check for socklen_t definition and if found use it instead of size_t or int for the length argument to getpeername/getsockname/etc. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6688467>
2008-03-24Bug #10489: Don't retry unix socket connect()s on ENOENT.Loïc Minier
If the socket isn't there, it's not gonna magically appear. Either it's a server socket and you should have just waited for the SIGUSR1 from the server, or it's a stale reference to an ICE socket. However, do retry once, so fallback from abstract to filesystem namespace works. Originally Debian bug #385976.
2008-03-23BSD44SOCKETS is the wrong check for SOCK_MAXADDRLENJulien Cristau
GNU/kFreeBSD defines BSD44SOCKETS, but doesn't have SOCK_MAXADDRLEN. Check for the latter directly.
2008-03-05xtrans 1.1xtrans-1.1Adam Jackson
2008-03-05Add support for the abstract socket namespace under Linux.Adam Jackson
Unlike normal unix sockets, the abstract namespace is not bound to the filesystem. This has some notable advantages; /tmp need not exist, the socket directory need not have magic permissions, etc. xtrans servers will listen on both the normal and abstract socket endpoints; clients will attempt to connect to the abstract socket before connecting to the corresponding filesystem socket. Based on a patch by Bill Crawford.
2008-02-10Fixed #ifdef checks that were using i386 to use __i386__Jeremy Huddleston
""" It's simply obsolete, sloppy, compiler namespace pollution. The compiler is not allowed to predefine symbols that might conflict with ordinary identifiers. For backwards compatibility gcc currently predefines i386 when compiling for x86 32-bit (but not 64-bit), but that will go away. It is also not defined if you specify -ansi when invoking the compiler, because then it is seriously standards compliant. Other compilers shouldn't define it either. Correct code shouldn't rely on it being defined. However __i386__ is safe and proper. """
2007-12-02make launchd error messages less scaryBen Byer
2007-11-14Fix for incorrect processing of recycled launchd socket on OS XBen Byer
2007-11-14removed cvs tagsBen Byer
2007-09-11libxtrans: fixed a typo in my last commitDodji Seketeli
* Xtranssock.c: (SocketReopen): oops fix a typo in my last commit.
2007-09-11libxtrans: fix linux compilation breakageDodji Seketeli
* Xtranssock.c: (SocketReopen): protect use of BSD4.4 socket with BSD44SOCKETS macro. protect use of strlcnpy with HAVE_STRLCPY macro. That one is defined (or not) by the xserver configure.
2007-09-05changes to support launchd on OS XBen Byer
2007-09-05suppress warning about socket directory ownership on OS XBen Byer
We don't need to warn the user about the fact that the socket directory is not owned by root under OS X; on that platform, it's never owned by root, as the X server runs as the normal user.
2007-08-21Version bump: 1.0.4xtrans-1.0.4Alan Coopersmith
2007-07-18Fix typo in Xtranslcl.c (sprintf with size argument should be snprintf)Kean Johnston
2006-12-16bump to 1.0.3xtrans-1.0.3Daniel Stone
2006-12-06Makefile.am: make ChangeLog hook saferDaniel Stone
Make ChangeLog hook as safe as possible.
2006-10-13Bump to 1.0.2xtrans-1.0.2Adam Jackson
2006-10-12Fix the ChangeLog hook to distcheck.Adam Jackson
2006-09-15Remove GIT_DIR setting from git log commandAlan Coopersmith
2006-09-15Copy additional copyright/license statements from source to COPYINGAlan Coopersmith
2006-09-13Bug 728: RUI in _X11TransSocketINETGetAddr in file "Xtranssock.c"Alan Coopersmith
Bug #728: <https://bugs.freedesktop.org/show_bug.cgi?id=728> Patch #3527: <https://bugs.freedesktop.org/attachment.cgi?id=3527> bzero sockaddr structures before passing to kernel to convince memory checkers that they are initialized before use
2006-08-24Use SUN_LEN if it is defined on non-BSD44SOCKETS systemsAlan Coopersmith
2006-08-24Bug 4982: use offsetof for manipulating struct sockaddr_unPetr Salinger
X.Org Bugzilla #4982 <https://bugs.freedesktop.org/show_bug.cgi?id=4982> Patch #5424 <https://bugs.freedesktop.org/attachment.cgi?id=5424>
2006-08-24Try to capture the insanity of xtrans in a short README documentAlan Coopersmith
2006-08-24More sprintf -> snprintf conversionsAlan Coopersmith
2006-08-23Replace static ChangeLog with dist-hook to generate from git-logAlan Coopersmith
2006-08-23Add ResetListener for named pipe transportAlan Coopersmith
(more merging of Xtrans code from Solaris xtrans)
2006-08-22Merge more fixes from Solaris xtransAlan Coopersmith
Convert sprintf -> snprintf Don't use fake readv/writev on Solaris x86.
2006-08-21Merge Solaris named pipe transport support into LOCALCONNAlan Coopersmith
Also clean up #ifdefs in Xtranslcl for which transport types are supported Add "pipe" alias for named pipe transport on Solaris to match Solaris Xlib.
2006-08-21Add --enable-local-transport and set it on by default on SVR4 OS'esAlan Coopersmith
2006-08-21Add *~ to .gitignore to skip emacs droppingsAlan Coopersmith
2006-07-13renamed: .cvsignore -> .gitignoreAlan Coopersmith
2006-06-30Bump to 1.0.1.Donnie Berkholz
2006-06-20Check setuild() return value. Bugzilla #7116.xtrans-1_0_1Matthieu Herrb
2006-05-25No code change. Just fix comment that said SOCKCONN to become TCPCONN.Jeremy C. Reed
(This dates back to 1994 or before.)