summaryrefslogtreecommitdiff
path: root/src/os/unix/unix.cpp
AgeCommit message (Collapse)Author
2021-06-17Cleanup: use nullptr instead of 0 or NULLRubidium
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-05-29Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)Patric Stout
This to be more explicit the function changes the value, and not returns yes/no.
2021-04-07Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵Niels Martin Hansen
static buffers
2021-02-08Fix: [Emscripten] open links in browser (#8655)embeddedt
2021-01-03Codechange: [OSX] Re-arrange the OSX video driver code by combining all ↵Michael Lutz
drawing code and moving the window/event handling to a different file. This is just a code move/rename, not a functionality change.
2020-07-03Fix: Globally apply preprocessor directive coding styleTechGeekNZ
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
2020-02-15Fix: [SDL2] support pasting from clipboard on LinuxLCD 47
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-06Codechange: C++11 STL has a function for getting the number of CPU cores.Michael Lutz
2019-04-06Codechange: Use platform independent C++11 function for sleeping on a thread.Michael Lutz
2019-04-06Codechange: Replace custom thread code with C++11 thread objects.Michael Lutz
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully.
2019-03-05Remove: BeOS support (deprecated by Haiku)Patric Stout
In 10 years there is no commit to change how BeOS works, and we have no active maintainer for it. It is unlikely it works in its current state (but not impossible). With the arrival of SDL2 (and removal of SDL), BeOS is no longer support. SDL2 suggests to use Haiku instead of BeOS.
2019-03-05Remove: MorphOS / AmigaOS supportPatric Stout
In 10 years there is no commit to change how MorphOS works, and we have no active maintainer for it. It is unlikely it works in its current state (but not impossible). With the arrival of SDL2 (and removal of SDL), MorphOS is no longer support. There is an SDL2 port for MorphOS, but it is not maintained by upstream SDL2, and nobody can currently test it out. If anyone wants to re-add MorphOS, please do (revert this patch, fix the problems, and create a Pull Request). If you need any help doing so, let us know! It is not that we don't like MorphOS, it is that we don't have anyone fixing the problems :(
2018-04-29Remove: PSP supportPatric Stout
2016-09-04(svn r27643) -Codechange: FiosGetDrives function also takes a destination ↵alberth
file list.
2015-05-20(svn r27290) -Fix: sanitize the command line arguments before doing anything ↵rubidium
complex with them
2014-08-09(svn r26724) -Fix[FS#6077] Use the normal search path to look for xdg-open ↵alberth
at Unix (kernigh2)
2014-04-27(svn r26523) -Fix [FS#5992]: OpenBSD compilation (MagisterQuis)frosch
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-06-28(svn r25506) -Document: a function, and name it slightly betterrubidium
2011-12-11(svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major ↵yexo
OSes
2011-12-10(svn r23481) -Add: Function to get the CPU core count.michi_cc
2011-02-07(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so ↵rubidium
it doesn't recompile everything that needs to be recompiled...
2010-12-25(svn r21634) -Codechange: apparantly the "broken" iconv interface is the new ↵rubidium
official interface, so update the variable/definition naming slightly as it's not broken just different from the earlier iconv interface
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-05-10(svn r19780) -Fix [FS#3807]: make sure that when checking whether a path + ↵rubidium
filename are valid the whole string can be constructed within an array of length MAX_PATH. If not, the name is too long and is deemed invalid
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-10-04(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.michi_cc
2009-10-04(svn r17706) -Codechange: [OSX] Rework the crash handling to use the common ↵michi_cc
CrashLog infrastructure.
2009-10-04(svn r17705) -Fix: [OSX] Re-enable signal handling on OSX 10.3.9. Trying to ↵michi_cc
link with an undefined symbols that lives in the system library seems to confuse the loader on 10.3.9. Use a different function to circumvent it.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-08(svn r17479) -Fix: silence compile warning that's only triggered when you're ↵rubidium
using a broken iconv.
2009-09-07(svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but ↵rubidium
I don't have all exotic machines so it might break compilation on the more exotic configurations
2009-08-31(svn r17336) -Codechange: move some os specific files into src/os/rubidium