summaryrefslogtreecommitdiff
path: root/src/os/unix
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-03-13Fix #8860: [Win32] Crashlog window wasn't reliably shown for crashes not on ↵Michael Lutz
the main thread.
2021-02-13Codechange: Move Fontconfig-specific code to a seperate file.Michael Lutz
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-06-05Add: introduce CMake for project managementPatric Stout
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc.
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-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
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-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-05-18(svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version ↵rubidium
with the same effect
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-18(svn r18855) -Codechange: record compiler name and version in the crash logsmatz
2010-01-16(svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case ↵rubidium
loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report
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-11-29(svn r18350) -Codechange: catch SIGILL under unix-like systems as wellsmatz
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
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 r17463) -Change (r17453): Retrigger the abort signal after writing the ↵frosch
crashlog, so the next one can catch it again (e.g. to write a core dump).
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