summaryrefslogtreecommitdiffstats
path: root/osdep-darwin.c
AgeCommit message (Collapse)Author
2021-01-17+compat.hNicholas Marriott
2021-01-17Look for libevent2 differently from libevent for platforms with both.Nicholas Marriott
2020-04-22Nope, OS X kqueue is still broken...Nicholas Marriott
This reverts commit 94c90385d2e728a4d37a25ce78b55b2ffeb429f9.
2020-04-18Apple appear to have fixed kqueue in some OS X version (will wonder neverNicholas Marriott
cease!) so use it since it appears to be faster.
2020-04-15Do not use the command if the kernel didn't return the full size.Nicholas Marriott
2019-04-10Warning fixes from Carlo Marcelo Arenas Belón.Nicholas Marriott
2018-03-21Remove EVENT_* variables from environment after initializing libevent so theyNicholas Marriott
are not carried into child processes; from Henry Qin.
2016-09-12Apple have changed their API again, from Gregory Pakosz.Nicholas Marriott
2015-11-18unused -> __unused.Nicholas Marriott
2014-11-08No need for $Id$ now.Nicholas Marriott
2013-04-10Use proc_bsdinfo which works on older OS X versions, from OZAKI Kiichi.Nicholas Marriott
2013-03-28New code doesn't build on old versions of OS X so only support 10.7 andNicholas Marriott
later. Reported by Jared Scheel and tested by Chris Johnsen.
2013-02-12Use proc_pidinfo on Darwin for process name too, from OZAKI Kiichi.Nicholas Marriott
2012-09-24Use pgrp of pty fd not pid of immediate child when recovering current workingNicholas Marriott
directory (like current process). From Marcel Partap.
2012-01-27Fill in osdep_get_cwd on Darwin, from Alex Ernst.Nicholas Marriott
2011-12-09Change the way the working directory for new processes is discovered. IfNicholas Marriott
default-path isn't empty, it is used. Otherwise: 1) If tmux neww is run from the command line, the working directory of the client is used. 2) Otherwise use some platform specific code to retrieve the current working directory of the process in the active pane. 3) If that fails, the directory where the session was created is used. Idea and support code, Linux, Solaris, FreeBSD bits by Romain Francoise, OpenBSD bits by me.
2011-07-09Expand the Id keyword. Tiago Cunha
2010-12-30epoll on Linux is broken with /dev/null so it needs to be disabled.Nicholas Marriott
Instead of adding another BROKEN_* define, move event_init into osdep-*.c.
2009-05-04Space trimmage mega-diff.Nicholas Marriott
2009-04-29Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs.Nicholas Marriott
2009-02-13Looking up argv[0] is expensive, so just use p_comm for the window name ↵Nicholas Marriott
which is good enough. Also increase name update time to 500 ms.
2009-02-11Further unbreakage.Nicholas Marriott
2009-02-11Unbreak OS X.Nicholas Marriott
2009-02-09Return -1 not NULL on error. Doh.Nicholas Marriott
2009-02-09Don't try to change the window name unless the pid of the process chosen hasNicholas Marriott
changed. Reduces CPU use. osdep-* stuff is a bit horrible now but there we go :-/.
2009-02-07Comment. Missing OS X headers. +TODO.Nicholas Marriott
2009-01-30Missing ;.Nicholas Marriott
2009-01-26Be more clever about picking window name.Nicholas Marriott
2009-01-20Darwin support for automatic-rename, from joshe.Nicholas Marriott