Juan Linietsky
6fa632b821
Add function to obtain filesystem type from DirAccess.
...
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
2019-01-21 18:06:14 -03:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Juan Linietsky
f2ae14f309
Attempt to avoid breaking people's workflows on the change from 8ba0d513fa
2018-11-27 18:13:36 -03:00
Juan Linietsky
8ba0d513fa
Added missing path verification on Unix, closes #20762
2018-11-22 23:21:03 -03:00
Fabio Alessandrelli
12124d2d44
Safer getcwd in DirAccess
...
Fix [-Wunused-result]
2018-10-07 14:50:14 +02:00
Rémi Verschelde
d952126caf
Fix warnings in Android platform
...
Fixes the following Clang 7 warnings:
```
platform/android/os_android.h:240:16: warning: 'OS_Android::native_video_play' hides overloaded virtual function [-Woverloaded-virtual]
platform/android/os_android.h:241:15: warning: 'OS_Android::native_video_is_playing' hides overloaded virtual function [-Woverloaded-virtual]
platform/android/audio_driver_opensl.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
platform/android/audio_driver_opensl.cpp:129:10: warning: unused variable 'numOutputs' [-Wunused-variable]
platform/android/audio_driver_opensl.cpp:130:11: warning: unused variable 'deviceID' [-Wunused-variable]
platform/android/java_glue.cpp:795:10: warning: unused variable 'clsio' [-Wunused-variable]
platform/android/java_glue.cpp:890:12: warning: unused variable 'gob' [-Wunused-variable]
platform/android/java_glue.cpp:592:13: warning: unused variable 'resized' [-Wunused-variable]
platform/android/java_glue.cpp:593:13: warning: unused variable 'resized_reload' [-Wunused-variable]
modules/mobile_vr/mobile_vr_interface.cpp:401:8: warning: unused variable 'aspect_ratio' [-Wunused-variable]
drivers/unix/dir_access_unix.cpp:394:2: warning: THIS IS BROKEN [-W#warnings]
```
2018-10-03 15:17:00 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
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.
2018-09-12 09:52:22 +02:00
Juan Linietsky
ea3d997f9d
Revert "added get_creation_time function for gdscript"
2018-08-10 13:29:49 -03:00
Daniele Giuliani
d315b0fb8a
added get_creation_time function for gdscript
2018-05-16 00:50:57 +02:00
Poommetee Ketson
7e5b10b7d3
Fix get_drive (bookmarks) in linux not working
2018-02-21 23:31:50 +07:00
Iskustvo
268d7c7c5b
[X11] Improving error detection in move_to_trash
2018-02-18 17:02:19 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
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.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Hein-Pieter van Braam
65af96eab0
Only do 'drive' discovery on X11
...
As it turns out older versions of the Android NDK have mntent.h but not
a complete implementation. If it did work it would most likely give the
wrong results on Android anyway.
This commit enables the UNIX drive discovery only for X11
We also missed '/run/media' (default for gnome desktops) in the list of
places to look for 'drives' on Linux. Add that to the list also.
This fixes #11270
2017-09-14 23:04:30 +02:00
Rémi Verschelde
cc7c892bca
Merge pull request #11160 from marcelofg55/drive_funcs_x11
...
Implemented DirAccess get_drive and get_drive_count for Linux
2017-09-13 20:04:54 +02:00
Marcelo Fernandez
e5f905a735
Implemented DirAccess get_drive and get_drive_count for Linux
2017-09-12 23:43:08 -03:00
supagu
e7c5706f71
DirAccess constructor sets current_dir to an absolute path
2017-09-10 20:03:26 +09:30
supagu
f4994e750d
Further symlink fixes
2017-09-06 18:09:27 +09:30
Fabian Mathews
dccdef1327
Another take at fixing symlinks
2017-09-03 13:46:05 +09:30
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Juan Linietsky
247c2f7be3
Revert "Reworked change_dir to support symlinks"
2017-08-21 18:06:01 -03:00
Rémi Verschelde
22d21ebef0
Merge pull request #8144 from supagu/symlink
...
Reworked change_dir to support symlinks
2017-08-17 11:50:21 +02:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Fabian Mathews
d3b7d42784
Reworked change_dir to support symlinks
2017-04-06 20:43:34 +09:30
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
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-05 16:44:50 +01:00
Rémi Verschelde
93ab45b6b5
Style: Fix whole-line commented code
...
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Juan Linietsky
da4170540c
Fixed dir access return value, changed it to Error like all other funcs
2017-01-14 09:17:15 -03:00
Rémi Verschelde
c7bc44d5ad
Welcome in 2017, dear changelog reader!
...
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!
2017-01-01 22:03:33 +01:00
Juan Linietsky
f9bd038ca7
Removed no longer needed check
2016-07-02 13:32:07 -03:00
Juan Linietsky
ffbc2e56c9
Fix some bugs in diraccess, closes #5288
2016-06-30 18:23:39 -03:00
Juan Linietsky
e3905a084e
-made get_space_left() return values more homogenous, also for script, converted to mb, closes #4617
2016-06-18 11:32:45 -03:00
Juan Linietsky
61655d6dc2
Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872
2016-06-18 11:13:03 -03:00
Zher Huei Lee
d7052ddba3
Added relative paths for DirAccess::remove()
...
Follows similar behaviour to DirAccess::rename()
2016-03-01 10:40:31 +00:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Juan Linietsky
1de1a04b78
-fix local and global usage for DirAccess, fixes #791
...
please test anyway..
2015-04-18 20:11:33 -03:00
Juan Linietsky
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
rollenrolm
db0a71fc58
New option to show/hide hidden files
2015-03-21 18:33:32 +01:00
marynate
e6c1689b69
Add DirAccess:dir_exist api
2014-05-25 14:50:54 +08:00
Juan Linietsky
0b806ee0fc
GODOT IS OPEN SOURCE
2014-02-09 22:10:30 -03:00