Commit Graph

261 Commits

Author SHA1 Message Date
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
Kelvin Sherlock
d6d30ba81e MM - print resource bit when dumping handle info 2013-08-15 23:39:08 -04:00
Kelvin Sherlock
99a5ed86f8 loader makefile 2013-08-15 23:38:41 -04:00
Kelvin Sherlock
748dd6e634 load KODE resource (farModel link) 2013-08-15 23:36:26 -04:00
Kelvin Sherlock
5130649a9e loader.cpp 2013-08-15 23:35:39 -04:00
Kelvin Sherlock
061c025e02 SetToolTrapAddress 2013-08-04 14:34:34 -04:00
Kelvin Sherlock
bf5b087514 GetResInfo, LoadResource 2013-08-03 19:19:44 -04:00
Kelvin Sherlock
75606c72e2 MM::Native::ResizeHandle and ReallocHandle (for resource manager) 2013-08-03 19:18:50 -04:00
Kelvin Sherlock
2bd086232b HGetState 2013-08-03 19:17:50 -04:00
Kelvin Sherlock
bdce056449 add resource bit to handle info 2013-08-03 19:17:15 -04:00
Kelvin Sherlock
b4e5e5a059 new path conversion code 2013-08-03 00:33:24 -04:00
Kelvin Sherlock
fc04a2b2cb add license 2013-07-30 01:06:19 -04:00
Kelvin Sherlock
541ac7fc29 TEXT file type is a text file 2013-07-19 19:58:07 -04:00
Kelvin Sherlock
1abb98e1dd ragel compiler flags 2013-07-14 21:05:01 -04:00
Kelvin Sherlock
9aaf997fe3 set LMTime global at start 2013-07-14 16:45:06 -04:00
Kelvin Sherlock
7f59b64aad HandToHand (Pascal) 2013-07-13 19:19:49 -04:00
Kelvin Sherlock
9e2a8d3e53 ResError should return the error on the stack (Pascal / Pascal IIgs) 2013-07-13 01:05:02 -04:00
Kelvin Sherlock
b85cf313c0 MM::Native::MemoryInfo 2013-07-07 23:42:27 -04:00
Kelvin Sherlock
a436e91373 str2dec, dec2x (Pascal) 2013-07-07 23:41:28 -04:00
Kelvin Sherlock
0dbb111b9b arp long lines 2013-07-07 23:40:51 -04:00
Kelvin Sherlock
16604caf0f minor sane stuff 2013-07-06 15:16:49 -04:00
Kelvin Sherlock
a11a264b02 load PACK resources (PascalIIgs) 2013-06-30 13:13:02 -04:00
Kelvin Sherlock
ce66961c7e Fix ResLoad not actually loading 2013-06-30 13:12:27 -04:00
Kelvin Sherlock
a40bf9ee39 SetMemErrror more often. 2013-06-30 13:10:41 -04:00
Kelvin Sherlock
457c045ebe RM::GetResourceSizeOnDisk 2013-06-30 13:08:40 -04:00
Kelvin Sherlock
9ef1bba18d PtrToHand was also calling GetZone. 2013-06-30 13:07:35 -04:00
Kelvin Sherlock
4c27545022 OpenResFile 2013-06-27 21:54:58 -04:00
Kelvin Sherlock
1dc96f1777 log MM::StackSpace 2013-06-27 20:28:20 -04:00
Kelvin Sherlock
39d1a33483 more resource manager calls 2013-06-27 20:27:55 -04:00
Kelvin Sherlock
e40bd303f2 MM::GetZone/SetZone 2013-06-26 23:50:08 -04:00
Kelvin Sherlock
fafc1b6cd8 RM Toolcalls 2013-06-26 23:24:20 -04:00
Kelvin Sherlock
675f36368b MM toolcalls 2013-06-26 23:24:03 -04:00
Kelvin Sherlock
7f3b7bcd13 multiple MM::SetHandleSize fixes 2013-06-26 23:23:22 -04:00
Kelvin Sherlock
13657ab760 MM::StackSpace / MM::HandleZone 2013-06-26 22:50:53 -04:00
Kelvin Sherlock
f4d4100c5d MM::Native::GetHandleSize 2013-06-26 22:50:30 -04:00
Kelvin Sherlock
acb5733e6c MM::SetHandleSize - purge and retry. 2013-06-26 22:50:04 -04:00
Kelvin Sherlock
ef80d410ca better memory stats 2013-06-26 22:48:40 -04:00
Kelvin Sherlock
922783b288 DisposeHandle fix (null handles) 2013-06-26 22:48:20 -04:00
Kelvin Sherlock
095a38596d more resource support 2013-06-24 22:53:17 -04:00
Kelvin Sherlock
f6132773db OpenRFPerm 2013-06-23 22:05:57 -04:00
Kelvin Sherlock
1aebf46653 RM::CreateResFile 2013-06-23 20:42:16 -04:00
Kelvin Sherlock
1828c9e5f2 probably some useless code 2013-05-23 21:44:36 -04:00
Kelvin Sherlock
1e27acd16a merge H/ non-H calls (Link) 2013-05-23 21:44:14 -04:00
Kelvin Sherlock
66ac4363cf PBGetWDInfo -- stub (Link) 2013-05-23 21:43:17 -04:00
Kelvin Sherlock
d0715138f9 SetVol (Link) 2013-05-23 21:42:06 -04:00
Kelvin Sherlock
2eb632892c Split out get/set file info 2013-05-22 20:37:57 -04:00
Kelvin Sherlock
f50c1dca32 BitTst 2013-05-22 20:37:03 -04:00
Kelvin Sherlock
71a81ffacb Open - use FDEntry::open 2013-05-18 22:11:42 -04:00
Kelvin Sherlock
159198adcb use macos/errors for errors 2013-05-18 21:44:02 -04:00
Kelvin Sherlock
3ad993ab3f HOpen (Link) 2013-05-18 21:24:49 -04:00
Kelvin Sherlock
044efc7169 FSMakeFSSpec improvements (SC) 2013-05-18 19:36:41 -04:00