Commit Graph

457 Commits

Author SHA1 Message Date
Kelvin Sherlock
25357e2666 template -- check if ptr is valid 2014-12-31 18:47:08 -05:00
Kelvin Sherlock
15d0eded63 fix template lexer errors. 2014-12-31 18:46:38 -05:00
Kelvin Sherlock
427a4a6f31 remove dead code 2014-12-31 18:12:10 -05:00
Kelvin Sherlock
5aa9f08870 clean up lexer errors a little more 2014-12-31 17:42:18 -05:00
Kelvin Sherlock
b707e02295 fix lexer bugs with bad input. 2014-12-31 16:49:42 -05:00
Kelvin Sherlock
cbe66b6798 sc / stackcrawl debugger command 2014-12-31 15:45:22 -05:00
Kelvin Sherlock
f946dc1884 pretty print CStringPtr/PStringPts 2014-12-30 15:27:34 -05:00
Kelvin Sherlock
f6cc3925a7 pretty print OSErr and OSType 2014-12-30 15:02:51 -05:00
Kelvin Sherlock
f7bee265cc fix printing for template within a template 2014-12-30 14:52:57 -05:00
Kelvin Sherlock
8e434d39f8 apply template 2014-12-30 14:52:57 -05:00
Kelvin Sherlock
d400bfb4da fix integer tokens. 2014-12-30 14:50:05 -05:00
Kelvin Sherlock
1cd59d36f3 more template code 2014-12-30 14:50:05 -05:00
Kelvin Sherlock
7691267dea template lecture and parser code 2014-12-30 14:48:04 -05:00
Kelvin Sherlock
a111120033 add ;error and ;date debugger commands 2014-12-30 14:09:07 -05:00
Kelvin Sherlock
490519b0d1 Temp Handle functions 2014-12-28 18:15:27 -05:00
Kelvin Sherlock
f9508bbfda update changeling for new release. 2014-12-28 12:55:28 -05:00
Kelvin Sherlock
ab783ea4c9 inline macsbug names for JSR address, adjust macsbug name printing. 2014-12-28 12:55:16 -05:00
Kelvin Sherlock
231bd95bdc support for 68k style offset(register) expressions. 2014-12-28 12:30:18 -05:00
Kelvin Sherlock
6d3ba9430e debugger - print jsr/jmp macsbug in disassembly. 2014-12-27 13:11:26 -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
45269178b4 reserve the inverted error table. 2014-12-25 18:39:01 -05:00
Kelvin Sherlock
22a8d6f588 debugger - ;i will show error code information. 2014-12-24 19:08:54 -05:00
Kelvin Sherlock
8c9e50cd8f Add backtrace support to the debug console.
Squashed commit of the following:

commit b3afbbf15839d5ad9343d4540674510cbd6cd16d
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:44:20 2014 -0500

    improve the debugger help a little bit

commit 82e1e4e3e4d802defbf49c965500ffc72c7be1af
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:32:21 2014 -0500

    prevent filename tab completion in the debugger.

commit 8765e5f428562e5ab6f8d59ec0e0460a834c66b5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 16:06:21 2014 -0500

    skip macsbug names when disassembling via ;list

commit 9b87cfb3851fedc6423629608f53076741116991
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:43:13 2014 -0500

    improved backtracing.

commit f8e364d7c568fe6728c8efd5587f7edeb49f5816
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:17:28 2014 -0500

    BackTrace support
2014-12-24 17:44:48 -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
3dd91f18b6 Merge branch 'PPCLink'
Fixes and support for the PPCLink utility.
2014-12-22 19:59:09 -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
204332c4c9 use mpw_errno_from_errno() 2014-12-21 08:25:40 -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
240a3ac480 add tool_return pair for returning error or value. 2014-12-20 12:20:18 -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