summaryrefslogtreecommitdiff
path: root/drivers/unix
AgeCommit message (Collapse)Author
2017-09-13Merge pull request #11160 from marcelofg55/drive_funcs_x11Rémi Verschelde
Implemented DirAccess get_drive and get_drive_count for Linux
2017-09-12Implemented DirAccess get_drive and get_drive_count for LinuxMarcelo Fernandez
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-10DirAccess constructor sets current_dir to an absolute pathsupagu
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-07Fix EOF in wav file importerHein-Pieter van Braam
In #10973 I reset the state of the stream in get_pos() assuming that the ftell failing would cause proper error checking. This is not how this class was designed, however. This commit fixes the get_8() method to not return unitialized data on eof, and removes the wrong error resets added in #10973. This fixes #11022
2017-09-06Further symlink fixessupagu
2017-09-05Merge pull request #10986 from hpvb/fix-unix-file-openRémi Verschelde
Fix UNIX file open
2017-09-05Fix UNIX file openHein-Pieter van Braam
In #10973 I refactored FileAccessUnix::_open() but I accidentally made it impossible to create new files. This fixes that and fixes #10984
2017-09-05Merge pull request #10973 from hpvb/fix-file-access-unixRémi Verschelde
Make UNIX file access more correct
2017-09-04Merge pull request #10883 from supagu/symlink2Rémi Verschelde
Another take at fixing symlinks
2017-09-04Make UNIX file access more correctHein-Pieter van Braam
Check for errors in the POSIX recommended ways.
2017-09-03Another take at fixing symlinksFabian Mathews
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-08-29Merge pull request #10552 from RandomShaper/improve-posixRémi Verschelde
Improve Mac/UNIX conformance/reliability
2017-08-27Make build scripts Python3 compatibleMatthias Hoelzl
- The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-24Implement custom thread numbering for POSIXPedro J. Estébanez
For every UNIX-derived (Android, Linux, macOS, iOS) flavor, a global counter is atomically incremented on thread start. That id is kept as thread-local storage. Therefore, thread ids are sequential numbers, trivially comparable. This improves the previous state of things, in which `pthread_t` were casted to `Thread::ID` and unportabily compared. Also big, ugly thread ids appeared.
2017-08-24Make OS::delay_usec() more reliable on UNIXPedro J. Estébanez
Implemented with `nanosleep()`. `usleep()` is deprecated. Also loops to ensure that __at least__ the requested time is waited, accounting for spurious interruptions. May help in situations like reattempting to connect to the debugger.
2017-08-21Revert "Reworked change_dir to support symlinks"Juan Linietsky
2017-08-17Merge pull request #8144 from supagu/symlinkRémi Verschelde
Reworked change_dir to support symlinks
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-14Use const reference where favorableWilson E. Alvarez
2017-08-11Explicitily unsed AI_NUMERICHOST flag to fix HTML5Fabio Alessandrelli
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-07-27added an optional parameter to OS symbol lookupKarroffel
When looking up a symbol from a library, previously an error was shown when the symbol did not exist. That caused confusion when the lookup was completely optional. This adds a new parameter to that method so that those errors can be handled manually if needed.
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-16get_executable_path slight change to make it work under OpenBSDDavid Carlier
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
2017-05-08Fix local ip addresses (interfaces) detection.Fabio Alessandrelli
Ignore non-IP addresses for both windows and unix
2017-05-08Socket helpers now fall back to ipv4 on systems where ipv6 is disabled.Fabio Alessandrelli
2017-05-05Fix UDP wait() not returning after first received packetFabio Alessandrelli
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06[DLScript] fixed android builds nowKarroffel
... really.
2017-04-06Reworked change_dir to support symlinksFabian Mathews
2017-04-03added dlscript moduleKarroffel
This module was written by bojidar-bg and me, with the help of ClikCode and touilleMan. This adds a module to Godot that enables the use of dynamic libraries as a source for scripts. That also allows third party libraries to be linked to Godot more easily and without creating modules. For a readme see https://github.com/GodotNativeTools/godot_headers/blob/master/README.md
2017-04-03increased maximum number of scripting languagesKarroffel
2017-03-29Added methods for opening dynamic libraries to OSKarroffel
2017-03-24Allow non blocking UDP put_packet in C++.Fabio Alessandrelli
- Add blocking mode option to PacketPeerUDP. - put_packet returns ERR_UNAVAILABLE when operation would block. - ENet module uses non-blocking UDP.
2017-03-06Fix build issue with MSVCRémi Verschelde
windows.h is a mess.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-12Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde
TCP/UDP listen bind to address and bugfixes
2017-02-09Add a simple signal handler for SIGCHLD on UnixHein-Pieter van Braam
This fixes #6631
2017-02-06Several bugfixes, improving the import workflowJuan Linietsky
2017-01-23Fix buffer size check in UDP socket.Fabio Alessandrelli
We were reserving 12 bytes from the buffer for ip, port, and length, but since IPv6 introduction we should be reserving 24 (IPv6 are 16 bytes)