Commit Graph

311 Commits

Author SHA1 Message Date
Jake-B
cbe642bfc8 Added .sym and .ntkc file types as assumed binary. 2015-01-28 17:00:08 -05:00
Jake-B
f02b930700 Added .sym and .ntkc file types as assumed binary. 2015-01-28 16:57:04 -05:00
Kelvin Sherlock
928010f800 HWPriv OS Trap 2015-01-23 11:01:57 -05:00
Kelvin Sherlock
792e21d0c1 GetNamedResource trap 2015-01-21 14:31:03 -05:00
Kelvin Sherlock
e4ad003bc7 SysEnvirons ($a090) OS Trap 2015-01-20 14:07:38 -05:00
Kelvin Sherlock
7beb3a7b43 undo HGetVolume cwd, for now 2015-01-19 15:02:29 -05:00
Kelvin Sherlock
813e36a6c4 Fix SetPtrSize 2015-01-19 10:56:58 -05:00
Kelvin Sherlock
44d19f7d1b HGetVol returns the current working directory id 2015-01-18 14:28:05 -05:00
Kelvin Sherlock
3615fbe941 unlink/rmdir don't follow symbolic links, so use lstat instead of stat. 2015-01-18 11:21:03 -05:00
Kelvin Sherlock
172da3e250 fix CreateRes, add HCreateRes 2015-01-17 18:36:59 -05:00
Kelvin Sherlock
3448078612 allow all resource types to be loaded 2015-01-16 20:45:31 -05:00
Kelvin Sherlock
24666c209f CreateResFile doesn't error out if the resource fork already exists. 2015-01-16 20:45:13 -05:00
Kelvin Sherlock
654baccabc Add FSpDelete; Delete/HDelete should delete files or folders. 2015-01-16 20:17:50 -05:00
Kelvin Sherlock
92d465fb56 NewPtr(0) should return a non-null pointer. 2015-01-16 15:38:20 -05:00
Kelvin Sherlock
e8d756c1b6 fix FSMakeFSSpec 2015-01-15 19:48:03 -05:00
Kelvin Sherlock
74370db603 no message 2015-01-15 16:37:58 -05:00
Kelvin Sherlock
b146399a7e Fix StripAddress when > 16 megs of ram in use. 2015-01-15 16:35:38 -05:00
Kelvin Sherlock
245fabe648 HSetVol - quietly do nothing... 2015-01-15 16:34:09 -05:00
Kelvin Sherlock
6c8511838e root directory is 2, not 1. 2015-01-15 14:11:55 -05:00
Kelvin Sherlock
cc477e0865 fix whitespace 2015-01-14 17:08:02 -05:00
Kelvin Sherlock
863fafda98 move all the volume code into it's own file 2015-01-14 17:03:03 -05:00
Kelvin Sherlock
eca0516094 HNoPurge toolcall 2015-01-14 14:26:49 -05:00
Kelvin Sherlock
80efa55c24 RM::FSp calls handle their return value 2015-01-09 12:46:31 -05:00
Kelvin Sherlock
5deea9eb84 fix segpath when realpath returns NULL. 2015-01-09 12:46:01 -05:00
Kelvin Sherlock
bfa09940e7 add resources used by MW linker 2015-01-09 12:45:03 -05:00
Kelvin Sherlock
f42c8e06dd minor updates 2015-01-08 14:10:48 -05:00
Kelvin Sherlock
6aaadb8861 fix HOpen/HOpenRF 2015-01-07 17:01:44 -05:00
Kelvin Sherlock
dba511a103 HDelete 2015-01-07 17:01:20 -05:00
Kelvin Sherlock
3f4dd56d78 properly handle HCreate 2015-01-07 17:00:57 -05:00
Kelvin Sherlock
b9fcbf2aac PBGetCatInfo should return a directory's directory id. 2015-01-07 14:44:26 -05:00
Kelvin Sherlock
45c89042ee Squashed commit of the following:
commit 13b5c532e1b72b7d3737c451a519af749d25c61f
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Jan 6 17:46:00 2015 -0500

    add fclassify sane ops.

commit 374aa6cc90218d8f86843cf5eecbf3095fe59a5e
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Jan 6 16:55:16 2015 -0500

    proc entry / proc exit stubs and updated environment documentation
2015-01-06 17:46:24 -05:00
Kelvin Sherlock
2bb2bd4326 display trap name for GetToolTrap, etc. 2015-01-06 14:59:37 -05:00
Kelvin Sherlock
42a1f5030d HGetVInfo stub 2015-01-05 20:11:10 -05:00
Kelvin Sherlock
02e95874d1 fix SignedByte stackframe 2015-01-05 13:13:14 -05:00
Kelvin Sherlock
1e2c1a8f5d FSpOpenDF 2015-01-05 13:12:06 -05:00
Kelvin Sherlock
7eb33de435 fix stack frames with byte values 2015-01-05 13:11:50 -05:00
Kelvin Sherlock
24e47c7f9b PBGetCatInfo uses fs spec / dirID 2015-01-05 12:33:29 -05:00
Kelvin Sherlock
183078925e ":" path is "." in unix 2015-01-05 12:32:34 -05:00
Kelvin Sherlock
6449892f51 HSetState toolcall 2015-01-05 11:56:33 -05:00
Kelvin Sherlock
ac66233f40 MWDump68K support
- DATA and TEXT resource types
- HGetFileInfo - use directory id
- PtrAndHand tool call
2015-01-04 19:12:35 -05:00
Kelvin Sherlock
a78226c536 .n files (MrC/MrCpp temp file) are binary. 2015-01-03 13:45:00 -05:00
Kelvin Sherlock
490519b0d1 Temp Handle functions 2014-12-28 18:15:27 -05:00
Kelvin Sherlock
2c3388f76a SetFileDates (create / mod / backup) 2014-12-26 16:31:58 -05:00
Kelvin Sherlock
b7aa23f163 SetFinderInfo for filetype/creator 2014-12-26 16:31:03 -05:00
Kelvin Sherlock
9d46424968 fix Open/PBOpen (no iodir/fs spec stuff) 2014-12-26 14:36:57 -05:00
Kelvin Sherlock
45fae53ef5 fix CloseResFile with refNum 0. 2014-12-24 10:17:23 -05:00
Kelvin Sherlock
8c811c4de9 revert previous open hack for PPCLink 2014-12-23 11:30:07 -05:00
Kelvin Sherlock
e0094d199b FSpCreate 2014-12-23 11:29:32 -05:00
Kelvin Sherlock
f7c779a5d1 ResolveAliasFile needs to set wasAliased if the file is not found. 2014-12-23 10:40:06 -05:00
Kelvin Sherlock
09d17315d3 fix HomeResFile stack return 2014-12-23 08:44:45 -05:00
Kelvin Sherlock
e377025e48 fix ResolveAliasFile stack return value 2014-12-23 08:44:17 -05:00
Kelvin Sherlock
ace2810e34 newhandle/sethandlesize fixes for ppclink 2014-12-22 19:58:41 -05:00
Kelvin Sherlock
48558e9885 GetHandleSize needs to return the 32-bit sign-extended error code. 2014-12-22 17:58:35 -05:00
Kelvin Sherlock
d8f6edd964 fix high-level dispatch to properly return errors. 2014-12-22 15:23:47 -05:00
Kelvin Sherlock
f1566cce45 use new realpath code 2014-12-22 09:53:38 -05:00
Kelvin Sherlock
1e7139ddbf FreeBSD realpath 2014-12-22 08:50:02 -05:00
Kelvin Sherlock
30d6b05adc FspCreateResFile 2014-12-21 22:30:04 -05:00
Kelvin Sherlock
91a0da2e0a PBHOpenDeny can create files? Need to test on real software. 2014-12-21 08:36:44 -05:00
Kelvin Sherlock
b60d23ea60 temporary realpath workaround 2014-12-21 08:36:15 -05:00
Kelvin Sherlock
6787eb1f1a unused prototype 2014-12-21 08:25:57 -05:00
Kelvin Sherlock
6929a374d0 use macos_error_from_errno() 2014-12-20 19:32:54 -05:00
Kelvin Sherlock
728db5133e fix whitespace 2014-12-20 13:03:29 -05:00
Kelvin Sherlock
841af35840 MM::RecoverHandle 2014-12-20 13:03:02 -05:00
Kelvin Sherlock
1a70abf995 use common code for opening resource file. 2014-12-20 12:25:55 -05:00
Kelvin Sherlock
8257050afc FSpOpenResFile support 2014-12-20 12:20:34 -05:00
Kelvin Sherlock
a4e89626d5 Open/OpenRF should use the directory id / fs spec. 2014-12-20 09:18:49 -05:00
Kelvin Sherlock
148b13cdf1 PBHOpenDeny/PBHOpenRFDeny 2014-12-20 09:15:05 -05:00
Kelvin Sherlock
4bf57c6ce4 fix StackSpace to use new stack location scheme. 2014-12-18 15:40:12 -05:00
Kelvin Sherlock
84fdeb116f TempFreeMem 2014-12-18 14:40:03 -05:00
Kelvin Sherlock
304dcda66c BlockMoveData 2014-12-18 14:39:48 -05:00
Kelvin Sherlock
c03938ca7d Time Manager stuff 2014-12-18 14:29:20 -05:00
Kelvin Sherlock
6a8a30df5a . 2014-12-17 07:53:25 -05:00
Kelvin Sherlock
325c1c5850 PBSetCatInfo now sets finder info. PBGetCatInfo now uses nice enums. 2014-12-16 17:35:49 -05:00
Kelvin Sherlock
18b2e7ff67 ReadXPRam call (DumpXCOFF) 2014-12-16 13:47:33 -05:00
Kelvin Sherlock
bd93788eef RM::HOpenResFile 2014-12-16 13:07:51 -05:00
Kelvin Sherlock
85e515bdeb split FSSpecManager out so RM can use it (HOpenResFile) 2014-12-16 13:07:37 -05:00
Kelvin Sherlock
80be590e76 fgetenv / fsetenv 2014-12-14 19:52:49 -05:00
Kelvin Sherlock
294a0c901b PBSetCatInfo (stub for now) 2014-12-14 19:52:33 -05:00
Kelvin Sherlock
f6f7964f81 OSDispatch call 2014-12-14 19:52:08 -05:00
Kelvin Sherlock
91e142446b MM::PurgeSpace call 2014-12-14 19:51:49 -05:00
Kelvin Sherlock
fed6e9b172 don't expand $[a-z]+ in filenames. This was preventing lcc from working properly as it created temporary files named $defout$, etc. 2014-12-04 16:42:49 -05:00
Kelvin Sherlock
ff52cae4e9 use proper c++11 std::forward 2014-11-21 09:50:56 -05:00
Kelvin Sherlock
d1c067e47a Add support for the microseconds toolbox call. 2014-08-03 11:41:52 -04:00
Charles Lehner
8d93303781 Add some Gestalt manager 2014-07-24 13:47:39 -04:00
Charles Lehner
4007491eec Print name of unsupport tool trap 2014-07-24 13:47:39 -04:00
Charles Lehner
e31c376a7d Add MaxApplZone stub 2014-07-24 11:37:21 -04:00
Kelvin Sherlock
afdfbf7c33 complex::isnan() 2013-10-20 20:04:38 -04:00
Kelvin Sherlock
63ef12bac3 add complex struct, fx2c, fc2x functions. 2013-10-19 23:12:41 -04:00
Kelvin Sherlock
d0bc67e9d5 fix pstring macbugs names 2013-09-01 22:26:31 -04:00
Kelvin Sherlock
e1ff46a97a fix add resource logging 2013-08-25 12:44:19 -04:00
Kelvin Sherlock
9c9decbe3b store symbol table as a range 2013-08-23 23:04:23 -04:00
Kelvin Sherlock
7c2cf3d1fd debugger completion for symbols 2013-08-18 21:07:24 -04:00
Kelvin Sherlock
10bed9a239 get macsbugs names from code segments 2013-08-18 16:32:08 -04:00
Kelvin Sherlock
0d24388f98 RM::Count1Types, RM::Get1IndType 2013-08-18 01:10:14 -04:00
Kelvin Sherlock
b61d082497 RM::HomeResFile 2013-08-18 00:51:31 -04:00
Kelvin Sherlock
60683d14ea fix RM::Get1NamedResource logging 2013-08-18 00:33:03 -04:00
Kelvin Sherlock
49dcba4173 Loader::Native::LoadFile 2013-08-17 19:01:43 -04:00
Kelvin Sherlock
60869a697a MM::Native::HLock / HUnlock 2013-08-17 19:01:25 -04:00
Kelvin Sherlock
a0ea7c365a RM::Native::SetResLoad 2013-08-17 18:59:03 -04:00
Kelvin Sherlock
88423bc690 .cpp is a text file 2013-08-15 23:39:37 -04:00