summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-31Version 1.2.4xtrans-1.2.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-30Fix ifdef checks for SVR4 to do the right thing on SolarisAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-18xfs segfaults in _FontTransSocketReopen when cloning itselfAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-04-24Constify path argument to trans_mkdir()Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-09Update is_numeric base on the declaration change in ↵Benjamin Close
389e01fb51ba2d708015e27d8fc17c88a0e55802 Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2009-02-09Revert "Fix "XXX declared 'static' but not defined""Benjamin Close
This reverts commit d192bac409fe5ef99fa9fb9b5a0d5f656f0f1412. When transport.c is directly include (as in the case of libICE:icetrans.c:32) Xtranssock.c must be included before Xtransutil.c in order for the socket structures to be included. Including Xtransutil.c after Xtranssock.c requires is_number and trans_mkdir to be defined. This reintroduces the warning until a cleaner solution can be found but fixes the build. Found by: Tinderbox Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2009-02-06Constify string argument to is_numericAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-06Fix libICE build after code motion in d192bac409...Alan Coopersmith
The #ifdef ICE_t case in Xtransutil.c depended on some #includes that are done in files that transport.c previously included before Xtransutil.c but are now after Xtransutil.c is included. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-05Fix "XXX declared 'static' but not defined"Tomas Carnecky
The functions are declared static in Xtransint.h but are defined in Xtransutil.c. So when someone (xserver/os/connection.c) incuded Xtransint.h, gcc would throw the warning. I removed the declarations from the header and rearranged includes in transport.c so that Xtransutil.c is included just after Xtransint.h. This way the functions are still defined for the files that need them (Xtranssock.c, Xtranstli.c). Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-05Fix "warning: format not a string literal and no format arguments"Tomas Carnecky
Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-30Janitor: Correct make distcheck and compiler warnings.Paulo Cesar Pereira de Andrade
Compiler warnings are spread on other packages, with a warning in the format: /usr/include/X11/Xtrans/Xtranssock.c:548: warning: 'ciptr' may be used uninitialized in this function so the code was slightly changed so that the compiler would not "think" it could be used without initialization.
2009-01-11Version 1.2.3xtrans-1.2.3Alan Coopersmith
2009-01-11Add bugzilla, mailing list & git repo pointers to READMEAlan Coopersmith
2008-12-01Switch ChangeLog generation to use XORG_CHANGELOG from xorg-macros 1.2Alan Coopersmith
2008-12-0118748: xtrans.m4 causes configure --help to list --enable-ipv6 in wrong case.Alan Coopersmith
X.Org Bug #18748 <http://bugs.freedesktop.org/show_bug.cgi?id=18748>
2008-10-15add winsock check for windows buildsAlan Hourihane
2008-10-07xtrans 1.2.2xtrans-1.2.2Adam Jackson
2008-10-07Finish removing OS/2 supportAdam Jackson
2008-10-07Remove DECNET support.Adam Jackson
This hasn't been consumed in the server or libs since 7.0.
2008-08-07Drastically simplify TRANS_OPEN_MAX.Adam Jackson
If your OS doesn't have sysconf(3), then life is already hard for you.
2008-08-07Massive ifdef cleanup, dropping a ton of unsupported platform code.Adam Jackson
2008-08-05Added a flag to enable "The OS already took care of securing this, please ↵Jeremy Huddleston
skip checking xauth" for use with Apple launchd sockets.
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