62 Commits

Author SHA1 Message Date
Torbjörn Andersson
d6be4f03a7 Added getNodeForPath() so I can compile ScummVM with MinGW again. Since I
don't know where it's used, I'm not sure if it works correctly.

svn-id: r16752
2005-02-07 14:25:04 +00:00
Max Horn
a1b058897d Remove the OSX-restriction on FilesystemNode::getNodeForPath() for now (I don't like it, but until a proper solution is in place, it seems to be the best thing to do)
svn-id: r16743
2005-02-06 18:37:23 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
8c34db8b9a oops
svn-id: r16110
2004-12-18 02:37:13 +00:00
Max Horn
0894f83804 Ensure that the file list in the browser is always sorted
svn-id: r16108
2004-12-18 02:33:37 +00:00
Max Horn
3825614f67 Removed outdated (and wrong) comment; all this stuff will be rewritten eventually anyway, but at least we shouldn't spread false information
svn-id: r16006
2004-12-10 00:11:52 +00:00
Torbjörn Andersson
be58f22feb Allow the file browser to get back to the "pseudo root" under Windows. This
fixes bug #1074919.

svn-id: r15963
2004-11-29 11:14:12 +00:00
Max Horn
01cb15b9b2 Since we do ref counting on the nodes now, we can re-use the root nodes now
svn-id: r15851
2004-11-21 13:18:07 +00:00
Max Horn
5d9b35510d Changed the FilesystemNode implementation to make it easier to use (client code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-)
svn-id: r15848
2004-11-20 21:35:49 +00:00
Max Horn
be31329d05 Ignore case when sorting file system nodes
svn-id: r14294
2004-07-21 14:27:45 +00:00
Torbjörn Andersson
6d02fd9d74 Reverted the last commit (on this file only) because it broke compilation
of gui/browser.cpp. Besides, it didn't seem to have anything to do with
keycolor in OSystem. :-)

svn-id: r13801
2004-05-06 10:34:41 +00:00
Max Horn
88fdb5a627 Removed default value for keycolor in the OSystem implementations
svn-id: r13796
2004-05-06 09:20:21 +00:00
Max Horn
8a69ffc46c Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)
svn-id: r13520
2004-04-09 15:10:23 +00:00
Max Horn
da400a38ed Small tweaks for MIPSPro compiler
svn-id: r13397
2004-03-28 13:02:28 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
28f8f4d091 Added FilesystemNode::getNodeForPath, but right now only for Mac OS X
svn-id: r12692
2004-02-01 01:31:50 +00:00
Chris Apers
59cddfc638 Missing stdafx.h
svn-id: r12557
2004-01-20 14:35:37 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Travis Howell
cd46aba223 Add header
svn-id: r11826
2003-12-21 17:07:07 +00:00
Paweł Kołodziejski
13c7acee9d cleanup whitespaces
svn-id: r11220
2003-11-08 22:57:42 +00:00
Jonathan Gray
8ce682d330 spelling fixes
svn-id: r11181
2003-11-07 02:51:08 +00:00
Max Horn
0f54b65cac cleanup
svn-id: r11167
2003-11-06 22:57:33 +00:00
Marcus Comstedt
e55370e08d Use posix-fs on Dreamcast.
svn-id: r11112
2003-11-03 22:20:51 +00:00
Max Horn
79e681282e needed some more work to get Iterators to work in FSList
svn-id: r10857
2003-10-17 12:04:44 +00:00
Max Horn
b86ae6641b make FSList inherit 'public' from List (so that we can use List::Iterator)
svn-id: r10849
2003-10-17 10:22:40 +00:00
Max Horn
de74ceb60a fix bug where going up in the root dir would get you back to the (unix) current dir (instead of staying at the root)
svn-id: r10689
2003-10-08 22:47:41 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +00:00
Travis Howell
053d12ef29 Small cleanup
svn-id: r9354
2003-08-01 04:42:56 +00:00
Jonathan Gray
bc1120b67a linux/mingw compilation fix pointed out by Jeroen Janssen
svn-id: r8984
2003-07-13 13:57:19 +00:00
Max Horn
42f156ddad started to merge in Chrilith's PalmOS port
svn-id: r7219
2003-04-30 11:37:10 +00:00
Max Horn
0042dd73ec sys/types.h only needed on OS X to work non-POSIX compliance in system headers; use getcwd instead of getwd
svn-id: r6868
2003-03-26 21:17:14 +00:00
Oliver Kiehl
b3a20b29ba get scummvm to compile on unix != macosx as well
svn-id: r6866
2003-03-26 17:12:56 +00:00
Max Horn
76548862f9 default to current directory (instead of FS root)
svn-id: r6858
2003-03-25 12:14:14 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
a8c3057875 and more cleanup ....
svn-id: r6719
2003-03-06 18:30:44 +00:00
James Brown
18b97b28a5 Patch from ccr: Don't segfault if euid has no r/w perms on pwd
svn-id: r6183
2002-12-27 00:13:51 +00:00
Peter Moraliyski
c0c5fc274f gp32 port stuff
svn-id: r5761
2002-11-30 16:03:46 +00:00
Travis Howell
efd0ef1e79 Fix warning
svn-id: r5705
2002-11-24 09:24:09 +00:00
Max Horn
1f8cc789ce sort FSList by displayname
svn-id: r5648
2002-11-21 02:51:50 +00:00
Ruediger Hanke
94d01ba7a3 Implemented mode parameter for listDir()
svn-id: r5640
2002-11-20 13:25:22 +00:00
Nicolas Bacca
e5d6c14b66 Fix parent, take 2 (thanks Kirben)
svn-id: r5632
2002-11-20 08:04:08 +00:00
Nicolas Bacca
d9f07a2e9c Fix parent
svn-id: r5627
2002-11-19 21:21:19 +00:00
Max Horn
d5d5cf2b6d fixed parent() for root node
svn-id: r5620
2002-11-19 13:44:28 +00:00
Max Horn
955fed1fda fixed parent() method, added a FIXME
svn-id: r5619
2002-11-19 13:42:57 +00:00
Max Horn
4e7575f9db fixed parent() method, added a FIXME
svn-id: r5618
2002-11-19 13:42:19 +00:00
Travis Howell
3fc3b8e907 The _displayName isn't required for win32
svn-id: r5615
2002-11-19 09:05:43 +00:00
Nicolas Bacca
28080b27df Update listDir
svn-id: r5613
2002-11-19 08:25:22 +00:00
Max Horn
ce3cde15a0 added some preliminary game auto detect code to the launcher; this required a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work
svn-id: r5600
2002-11-19 01:36:47 +00:00
Max Horn
d9aebd1cba removed obsolete example
svn-id: r5598
2002-11-18 18:50:11 +00:00