summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix -Wsign-compare warnings.marxin2019-02-271-1/+1
| | | | | I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Moved member variables to initializer listWilson E. Alvarez2018-12-111-5/+4
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+2
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Add print_verbose to print to stdout only in verbose modeRémi Verschelde2018-08-241-6/+1
| | | | | | Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
* Revert "added get_creation_time function for gdscript"Juan Linietsky2018-08-101-16/+0
|
* added get_creation_time function for gdscriptDaniele Giuliani2018-05-161-0/+16
|
* Fix for large .pck filesGustav Lund2018-05-031-3/+3
| | | | | An error in unix file IO was causing crashes when getting the size of a file larger than max integer size As ftell returns a long the fix is trivial
* Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-1/+1
|
* Added File.get_path and File.get_path_absolute functionsMarcelo Fernandez2018-03-131-0/+11
|
* fix buffer write performance on Windows and UnixMarcin Zawiejski2018-02-041-0/+5
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Extract logging logicRuslan Mustakov2017-09-251-0/+6
| | | | | | | | | | | | | | | | | | | Previously logging logic was scattered over OS class implementations with plenty of duplication. Major changes in this commit: - Extracted logging logic into a separate Logger hierarchy. It allows easy configuration of logging mechanism depending on compile-time or run-time configuration. - Implemented RotatedFileLogger which is usually used with StdLogger, providing persistency of logs. It is often important to be able to obtain logs of the game even in production to be able to understand what happened prior to some problem. On mobile there previously was no way to obtain the logs aside from having the device connected to your machine. - flush() is not performed in release mode for every logged line. It is only performed for errors.
* Rename pos to position in user facing methods and variablesletheed2017-09-201-1/+1
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Fix x11 exported executables not getting the +x flagMarcelo Fernandez2017-09-171-0/+9
|
* Fix EOF in wav file importerHein-Pieter van Braam2017-09-071-4/+2
| | | | | | | | | | 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
* Fix UNIX file openHein-Pieter van Braam2017-09-051-9/+8
| | | | | | | In #10973 I refactored FileAccessUnix::_open() but I accidentally made it impossible to create new files. This fixes that and fixes #10984
* Make UNIX file access more correctHein-Pieter van Braam2017-09-041-23/+65
| | | | Check for errors in the POSIX recommended ways.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-78/+66
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* -Add visible IO errors when closing a file fails due to it being locked ↵Juan Linietsky2016-06-131-0/+5
| | | | (most likely on windows), closes #4760
* -Added a new mode, WRITE_READ to File, to recover compatibility with old ↵Juan Linietsky2016-01-101-0/+2
| | | | projects but also achieve desired functionality. Closes #3272
* Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes ↵Juan Linietsky2016-01-021-1/+1
| | | | #2278
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* HTML5 exporter seems to be fully functionalJuan Linietsky2015-09-121-1/+5
| | | | | -user:// filesystem implemented -default template page could look prettier, help appreciated
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* Corrected behaviour of File.READ_WRITE mode (fixes #378)Bil Bas (Spooner)2015-02-161-1/+1
|
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 3D Physics: -Fixed "Bounce" parameter in 3D -Fixed bug affecting Area (sometims it would not detect properly) -Vehicle Body has seen heavy work -Added Query API for doing space queries in 3D. Needs some docs though. -Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up: -PinJoint -HingeJoint (with motor) -SliderJoint -ConeTwistJoint -Generic6DOFJoint -Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions: -input_event (mouse or multitouch input over the body) -mouse_enter (mouse entered the body area) -mouse_exit (mouse exited body area) For Area it needs to be activated manually, as it isn't by default (ray goes thru). Other: -Begun working on Windows 8 (RT) port. Compiles but does not work yet. -Added TheoraPlayer library for improved to-texture and portable video support. -Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+257