Martin Natano
bacecae1f7
Decouple <vector>
2023-04-21 22:13:41 +02:00
Martin Natano
aa87f85eef
Decouple <cstdint>
2023-04-21 22:13:41 +02:00
Martin Natano
78fb2e9fc3
Decouple <cstddef>
2023-04-20 11:21:29 +02:00
Brian Phlipot
d079940fea
Address PR feedback.
2023-02-02 11:54:17 -08:00
Brian Phlipot
4a6b1a743c
Enable more compiler warnings and treat them as errors.
2023-02-02 11:54:17 -08:00
Michael Sundqvist
0cba3579de
Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
...
Fix whitespace changes
2022-07-31 22:14:38 +02:00
Martin Natano
15b77ee278
Update documentation
2022-05-28 11:21:13 +02:00
Martin Natano
d54bc6857f
Prevent access to /Save/Preferences.ini from lua
...
Directly writing to the file would circumvent preference protections,
compromising security.
2022-05-07 23:53:58 +02:00
Martin Natano
1036d20e11
Implement FILEMAN:Copy(string fromPath, string toPath)
...
Copies a file from `fromPath` to `toPath`. Returns `true` if the file
was copied successfully.
2022-03-13 12:37:11 -07:00
Martin Natano
67d1c78450
Implement FILEMAN:Unzip(string zipPath, string targetPath, int strip)
...
Unzip zip file at `zipPath` to `targetPath`.
`strip` is optional and defaults to `0`. If set to a number larger than
`0`, that many components are removed from the paths of the extracted
files. e.g. `a/b/c` is replaced with `b/c` when stripping one component
or just `c` when stripping two.
Returns whether all files were extracted successfully.
2022-03-13 11:46:28 -07:00
Martin Natano
bb8fc0f4c2
Change access order for RageFS
...
Packages > Additional folders > User FS > Initial FS
2022-03-12 14:14:59 -08:00
Martin Natano
168877f6a8
Mount directories read-only where possible
2022-03-12 22:30:54 +01:00
teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07:00
Jason Felds
bec18a0d36
Fix minor windows pedantic warnings.
2016-03-27 22:03:15 -04:00
Kyzentun Keeslala
72758bc65b
Changed RageFileManager to use the StripMacResourceForks function that already existed in RageUtil. Updated changelog.
2016-01-18 13:58:18 -07:00
Kyzentun Keeslala
25dd2bbef9
Added a step to RageFileManager::GetDirlisting to ignore OS X special files.
2015-12-27 07:44:58 -07:00
Jason Felds
af29d7dab2
Bring from 5_1_0: don't use insert with RString.
2015-10-14 20:23:40 -04:00
Jason Felds
98bf0d739b
Merge pull request #852 from Prcuvu/linux_fix_warnings
...
Fix GCC warnings on Linux.
2015-10-08 18:54:16 -04:00
Prcuvu
d98a25797e
Fix GCC warnings on Linux.
2015-10-08 12:51:28 +08:00
Jason Felds
63387dc352
Backport "for each" loop to restore AppData cache.
2015-10-07 21:07:09 -04:00
Colin Wallace
cd40b0aefb
Follow symbolic links when searching for executable directory
2015-08-23 01:02:40 -07:00
Jason Felds
80542a5a7d
Require reasons for checkpoints.
2015-06-08 18:37:13 -04:00
Colin Wallace
473974e52f
Add ability to delete songs from disk at the song selection screen (Ctrl+Backspace)
2015-03-27 05:22:55 +00:00
Kyzentun
c17f19c0d0
Wildcards are the difference between finding similar things, and finding nothing.
2014-12-08 15:18:39 -07:00
Kyzentun
e22e99251e
Added functions to ActorUtil for converting the extension to a file type and changed various places that had lists of extensions to use ActorUtil instead of duplicating the list of extensions. Added webm and wmv to list of video types.
2014-11-09 00:04:47 -07:00
Ben "root" Anderson
7341280df8
Slight correction on comment.
2014-02-09 08:27:38 -06:00
Ben "root" Anderson
ac8e92af17
Bounds check directories.
2014-02-09 08:26:11 -06:00
Jason Felds
28e5148dec
The big NULL replacement party part 5.
...
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds
a3f37dc2b4
The big NULL replacement party part 3.
...
Getting there I think.
2013-05-03 23:16:39 -04:00
Jason Felds
ba59dd1656
The big NULL replacement party part 2.
...
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
Jason Felds
9f24627bf9
The big NULL replacement party part 1.
...
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.
And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Jason Felds
c67419ecc8
There goes the macro file.
...
This is one of my bigger commits in this branch.
Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds
9d237ae779
A non-windows loop.
2013-05-01 23:02:27 -04:00
Jason Felds
1be48d1d93
Back to standard loopings.
2013-04-30 21:23:35 -04:00
ZipFile
038f76f180
How does it work before?
...
Fixed 338 bug and probably targeting with loadingwindow.
2011-10-16 02:32:06 +02:00
Jason Felds
bfe6e0076d
Port ResolvePath from OpenITG.
...
Also, forgot to [sqlite] this earlier.
2011-06-15 22:36:58 -04:00
AJ Kelly
cf81f8cc3b
remove xbox support; it doesn't work, and it'd take too much effort to get it working again
2011-03-19 19:28:57 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
e9df4832f6
Bring shadowed variables back from the dark side.
...
Alright Colby, happy now?
2011-03-14 02:54:11 -04:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Jason Felds
35748ed9a7
Update comments, tidy.
2011-02-11 00:45:00 -05:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00