Karl F
9e44b09314
Happy new year!
...
HAPPY MERRY 2021!
2021-01-03 19:40:16 +01:00
Webster Sheets
56811c517f
Add CopyDir and GetRelativePath to FileSystem
...
- Move the mentioned functions from utils.cpp
- Remove all remaining code creating profiler icon directories
2020-08-16 14:41:39 -04:00
Karl F
436db08636
Happy new decade!
...
May you live long and prosper!
2020-01-01 10:47:46 +01:00
Webster Sheets
5cdaefad6a
Run clang-format over the entire code base.
...
Fix hidden header-inclusion-order dependency errors.
Update .clang-format for v7.0.1.
2019-01-05 17:09:05 -05:00
Karl F
d2ab921b62
Happy New Year!
...
Awesome sauce (for next year):
find . -type f -exec sed -i 's/2008-2018 Pioneer Developers'/'2008-2019 Pioneer Developers/g' {} \;
closes #4507
2019-01-03 15:28:42 +01:00
Webster Sheets
3a3a13edec
Update pioneer to use the new save system.
2018-10-11 11:45:57 -04:00
Karl F
7225e9c723
Happy New Year!
...
Ten years in the making now, but how can we improve upon perfection
for ten more years?
2018-01-01 21:22:12 +01:00
Andrew Copland
74d50958fe
MERRY HAPPY 2017
2017-01-04 15:11:15 +00:00
Andrew Copland
fea5ac26b2
MERRY HAPPY 2016
2016-01-29 11:31:54 +00:00
Robert Norris
9f95339a9d
MERRY HAPPY
2014-12-31 23:05:37 +11:00
John Bartholomew
5841ab488b
Merge remote-tracking branch 'jpab/filesystem-timestamps'
2014-09-13 20:04:26 +01:00
John Bartholomew
d3abe5fef7
restrict FreeType headers to a single translation unit (TextureFont.cpp)
...
This means we can remove some ugly #undefs from other files, and generally
avoid polluting the global namespace so much.
Fixes #1203
2014-09-12 16:50:24 +01:00
John Bartholomew
8bde45332b
start adding support for file modification times to FileSystem
2014-09-07 23:58:04 +01:00
Robert Norris
6dc4283eb6
happy new year
2014-01-02 14:43:38 +11:00
John Bartholomew
ded70b0f9a
add FileSystem::SanitiseFileName
2013-04-22 16:54:21 +01:00
Robert Norris
91b8586653
happy new year
2013-01-01 12:36:52 +11:00
Robert Norris
5d8263e50f
add filesource trust flag. a trusted source is one that is in the games own files, not in the user dir or anywhere else
2012-12-22 13:38:21 +00:00
John Bartholomew
ab0ef0cd1b
fix bugs in normalise_path, and (perhaps) simplify. closes #1486
2012-12-21 00:38:58 +00:00
John Bartholomew
d07da3d268
remove the optional subdir parameter of Get{Data,User}Dir
...
It's mostly unused; it's much less important with separate FileSource
objects for game data files and user files, since the FileSource objects
deal with knowing the base path (and other things).
2012-10-26 20:59:28 +01:00
John Bartholomew
86ff5cc4f0
scrap FileSystem::rawFileSystem (hooray!)
2012-10-24 23:10:37 +01:00
John Bartholomew
a97ca18a88
add a new FileSourceFS (FileSystem::userFiles) mapped to the config dir
2012-10-24 19:46:31 +01:00
Robert Norris
efbce7648a
update license paths
2012-09-16 10:59:15 +10:00
Robert Norris
e9f4448bba
add copyright notices to all the code
2012-09-16 09:45:04 +10:00
John Bartholomew
0aa94b047d
exclude trailing slashes from .zip directory entries
...
Trailing slashes break things.
2012-07-13 12:51:54 +10:00
John Bartholomew
6dcffe48bb
fix up data file search order
2012-07-13 12:51:54 +10:00
Cameron Currie
1d7b6b875a
Fix error due to FreeType #defining FT_FILE
2012-04-19 12:08:31 +10:00
John Bartholomew
256724d656
change the FileEnumerator implementation to be properly Breadth-First
...
Previous implementation was breadth-first until you use AddSearchRoot
2012-04-15 22:08:01 +01:00
John Bartholomew
d404e5c758
modify FileEnumerator to allow enumerating from multiple root directories
2012-04-15 21:23:46 +01:00
John Bartholomew
add6335623
slighly simplify the logic of file_union_merge
2012-04-15 19:25:16 +01:00
John Bartholomew
d92828e39f
re-fix JoinPathBelow so it doesn't duplicate the a leading '/'
2012-03-14 23:00:33 +00:00
John Bartholomew
545f894426
fix JoinPathBelow to allow absolute paths if the base path is "/" or blank
2012-03-14 22:39:52 +00:00
John Bartholomew
c7def03466
add FileSystem::JoinPathBelow() which is a little safer than JoinPath()
2012-03-13 17:40:31 +00:00
John Bartholomew
e75e19a35a
opening brace for functions goes on the next line
2012-03-13 16:01:31 +00:00
John Bartholomew
858967612a
make JoinPath(a,b) return b if a is empty
2012-02-18 20:23:22 +00:00
John Bartholomew
d10e4adcea
add required <iterator> include to FileSystem.cpp
2012-02-18 20:23:22 +00:00
John Bartholomew
2b94984306
remove AbsolutePath from the FileSystem public FileSystem interface
2012-02-18 20:23:17 +00:00
John Bartholomew
c234cec13b
fix FileEnumerator again (it was recursing when it shouldn't)
2012-02-18 09:53:07 +00:00
John Bartholomew
42488840fa
allow FileSystem::Get{User,Data}Dir to accept a 'subdir' parameter
2012-02-18 06:21:46 +00:00
John Bartholomew
6c523c368b
expose FileSystem::AbsolutePath and FileSystem::JoinPath
2012-02-18 06:03:02 +00:00
John Bartholomew
f0422a38b3
add FileSystem::{Init,Uninit} and some global FileSource instances
...
Specifically, this adds a global FileSystem::gameDataFiles instance
which is the union of GetDataDir() and GetUserDir() + "/data"
2012-02-17 15:34:43 +00:00
John Bartholomew
d6c64351ce
fix FileSystemUnion::ReadDirectory so it stores its output properly
2012-02-17 12:44:20 +00:00
John Bartholomew
4adb8e6511
implement FileEnumerator
2012-02-17 12:07:29 +00:00
John Bartholomew
794b7da5d8
re-implement FileSourceUnion::ReadDirectory
2012-02-17 12:07:29 +00:00
John Bartholomew
0ec7f5311b
fix various compile errors and implement a naive FileSystemUnion
2012-02-17 12:07:29 +00:00
John Bartholomew
c17b961923
add FileSystemPosix.cpp to implement file system code for POSIX systems
2012-02-17 12:07:29 +00:00
John Bartholomew
b76d8fe799
hopefully finish file system API design
...
now just have to implement it and update all the rest of the code to use it
2012-02-17 12:07:29 +00:00
John Bartholomew
2c8cd8a5af
first cut of filesystem API design
2012-02-17 12:07:20 +00:00