aboutsummaryrefslogtreecommitdiff
path: root/compat
Commit message (Collapse)AuthorAge
* Sync with OpenBSD. Mostly because of the added _SAFE macros which isTiago Cunha2012-07-12
| | | | | needed by an upcoming change.
* Remove remaining xfree calls from the portable version.Tiago Cunha2012-07-11
|
* Sync OpenBSD tree.h due to patchset 1104.Tiago Cunha2012-05-03
| | | | | Prompted by ore on #tmux.
* ANSIfy function prototypes, from Tim Ruehsen.Nicholas Marriott2012-03-02
|
* Can't use the same va_list twice, from Emanuele Giaquinta.Nicholas Marriott2011-07-25
|
* Compatibility for b64_ntop, missing from some alternative libc.Nicholas Marriott2011-07-22
|
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Add missing $Id$.Tiago Cunha2011-07-09
|
* Use the right asprintf since we don't support truly broken platforms right now.Nicholas Marriott2011-03-04
|
* Support for HP-UX.Nicholas Marriott2011-01-21
|
* Only have one asprintf implementation, that's likely to always work.Nicholas Marriott2011-01-21
|
* Trim spaces.Nicholas Marriott2011-01-10
|
* Missing HAVE_STDINT_H.Nicholas Marriott2011-01-07
|
* Whoops, get the logic the right way round.Nicholas Marriott2010-11-13
|
* malloc(0) may return NULL, so only assume that is an error if allocatingNicholas Marriott2010-11-11
| | | | | more than zero.
* Compat for closefrom().Nicholas Marriott2010-10-27
|
* Remove redundant preprocessor check (it's already taken care of by tmux.h).Tiago Cunha2010-10-24
|
* Sync OpenBSD patchset 706:Tiago Cunha2010-06-06
| | | | | | Rename some imsg bits to make namespace collisions less likely buf to ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
* Must allocate for putenv.Nicholas Marriott2010-06-05
|
* Solaris 9 doesn't have setenv and unsetenv so add compat versions, basedNicholas Marriott2010-05-19
| | | | | on code from Dagobert Michelsen.
* Sync OpenBSD patchset 680:Tiago Cunha2010-04-12
| | | | | | | | | | | | Remove XXX comment and just close received fd if calloc() fails. If this happens the imsg may no longer be usable as there may be queued messages, but this is a) already the case with the code now, and b) would be the case if recvmsg() fails anyway, so we can document that -1 from imsg_read() invalidates the struct imsgbuf. discussed with and ok eric
* Adjust recent libevent changes to the portable version.Tiago Cunha2009-11-08
|
* Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname.Nicholas Marriott2009-10-15
| | | | | | | From Todd Carson. Tweaked by me to nuke (void) casts. Say no to lint appeasement! ;-)
* Don't try to use tio if it is NULL.Nicholas Marriott2009-09-20
|
* Sync from OpenBSD:Nicholas Marriott2009-09-16
| | | | | | | | | | | == Rather than constructing an entire termios struct from ttydefaults.h, just let forkpty do it and then alter the bits that should be changed after fork. A little neater and more portable. == This should fix problems caused by glibc's broken ttydefaults.h file.
* Sync OpenBSD patchset 329:Tiago Cunha2009-09-15
| | | | | | | | Enclose repeated buffer draining code in a new msgbuf_drain() function, which is additionally exported for use by others. From nicm@, who reminded me that tmux is now using buffer.c, too.
* Add $Id$, nuke queue.h.Nicholas Marriott2009-08-20
|
* Also undef CTRL.Nicholas Marriott2009-08-20
|
* Solaris defines some of these in termios.h so #ifndef them.Nicholas Marriott2009-08-20
|
* Solaris and AIX have no ttydefaults.h.Nicholas Marriott2009-08-20
|
* Call tcsetattr(). Not tested.Nicholas Marriott2009-08-19
|
* Solaris has no strsep(3).Nicholas Marriott2009-08-16
|
* Adjust imsg changes to the portable version due to OpenBSD patchset 243.Tiago Cunha2009-08-14
|
* Sync OpenBSD patchset 243:Tiago Cunha2009-08-14
| | | | | | | | | | | | | | | | | | | Switch tmux to use imsg. This is the last major change to make the client-server protocol more resilient and make the protocol versioning work properly. In future, the only things requiring a protocol version bump will be changes in the message structs, and (when both client and server have this change) mixing different versions should nicely report an error message. As a side effect this also makes the code tidier, fixes a problem with the way errors reported during server startup were handled, and supports fd passing (which will be used in future). Looked over by eric@, thanks. Please note that mixing a client with this change with an older server or vice versa may cause tmux to crash or hang - tmux should be completely exited before upgrading.
* Missing options are not illegal.Nicholas Marriott2009-08-09
|
* Add unvis(3) compat stuff.Tiago Cunha2009-08-09
|
* Solaris has no strcasestr.Nicholas Marriott2009-07-02
|
* Don't see a reason for sys/cdefs.h here; remove it.Nicholas Marriott2009-07-01
|
* vis compat stuff.Nicholas Marriott2009-06-25
|
* Start of portability update: bitstring.h.Nicholas Marriott2009-06-25
|
* Now in base.Nicholas Marriott2009-05-26
|
* HAVE_.Nicholas Marriott2009-05-14
|
* compat/bsd-poll.h now we are not doing -Icompat.Nicholas Marriott2009-05-13
|
* Rename all feature flags to HAVE_* and move out of makefiles into a configureNicholas Marriott2009-05-13
| | | | | | | | | script which must be run before building. Still two makefiles but they are a hell of a lot simpler. HAVE_* also will make it easier to move to $buildsystem if necessary later.
* Bye-bye nonworking IRIX, can be rescued from the attic if ever needed again.Nicholas Marriott2009-05-13
|
* Use getopt.c from openssh rather than OpenBSD's getopt_long.Nicholas Marriott2009-05-13
|
* /* $Id$ */Nicholas Marriott2009-04-29
|
* Some tweaks for Solaris.Nicholas Marriott2009-04-29
| | | | | Get rid of vis.* in favour of a small replacement function.
* Fake warnx().Nicholas Marriott2009-04-02
|
* More AIX tweaks.Nicholas Marriott2009-03-31
|