Commit Graph

73 Commits

Author SHA1 Message Date
Kelvin Sherlock 843ea2764c search for ragel and exit if not found. Also use found path when running ragel or lemon. 2022-11-17 21:07:45 -05:00
Ryan Schmidt 7ac2a88974
Add newline after read() debug output (#44) 2022-11-15 19:01:21 -05:00
Kelvin Sherlock c3d1121f36 case sensitive headers. 2017-10-02 21:16:12 -04:00
Kelvin Sherlock 776b385a41 update mpw open to be more consistent with actual implementation. Also support for non-HFS volumes. 2017-10-02 21:15:51 -04:00
Kelvin Sherlock e21aac4022 clean up makefiles a bit. 2017-10-02 15:11:28 -04:00
Kelvin Sherlock c3b235ee95 load environment from the environment for mpw-shell compatibility. 2016-07-18 21:53:16 -04:00
Kelvin Sherlock 4af7d59c9c implement rename ioctl 2015-09-23 22:54:33 -04:00
Kelvin Sherlock 2766493398 clean up trailing whitespace / end of file linefeed. 2015-02-18 12:00:21 -05:00
tsupplis 88bc42d153 gcc-4.9 support/c11 fixes 2015-02-17 00:23:12 +00:00
Kelvin Sherlock 42fe265dd2 Smarter handling of : after a variable.
Since :: is equivalent to .. in Unix, {$PathVariable}: would expand unexpectedly
if PathVariable had a trailing : (which it usually does) -- i.e., some:path:: == /some/path/.. = /some/.

: after a variable will be dropped if there was already a trailing :
2015-02-08 14:49:08 -05:00
Kelvin Sherlock 176fb108a6 Use the $Commands environment variable as a list of directories where commands may be located. 2015-01-24 14:40:45 -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 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 2502c18862 c++11 error_code for mpw errno 2014-08-03 12:08:08 -04:00
Kelvin Sherlock 5dcf23ad76 add facess calls for set/get font info 2014-01-29 22:46:20 -05:00
Kelvin Sherlock a97d8b08fe get/set tabs 2013-09-02 19:57:55 -04:00
Kelvin Sherlock b4e5e5a059 new path conversion code 2013-08-03 00:33:24 -04:00
Kelvin Sherlock 1193ad2de7 Remove dead code 2013-08-02 22:21:19 -04:00
Kelvin Sherlock 83ccc8270c add license 2013-08-02 22:15:45 -04:00
Kelvin Sherlock 680e57fcb0 remove old code 2013-08-02 22:15:34 -04:00
Kelvin Sherlock e83477c9b2 New environment code
-D command line now supported.
2013-08-02 22:13:04 -04:00
Kelvin Sherlock e1e3f3f4a2 new mac path expansion 2013-08-01 13:53:34 -04:00
Kelvin Sherlock 7a08004542 MPW::GetEnvironment 2013-08-01 12:23:37 -04:00
Kelvin Sherlock fc04a2b2cb add license 2013-07-30 01:06:19 -04:00
Kelvin Sherlock 92ef78516c ?= conditional environment variables 2013-07-14 17:59:46 -04:00
Kelvin Sherlock 81ce611bfc RootDirForPath 2013-07-14 15:17:35 -04:00
Kelvin Sherlock e571c7066d -W-no-unused for ragel generated code 2013-07-14 15:17:00 -04:00
Kelvin Sherlock 9acce3ae03 clean up environment ragel 2013-07-14 14:33:58 -04:00
Kelvin Sherlock 75ad0ab38c ragel environment parser. 2013-07-14 01:46:10 -04:00
Kelvin Sherlock 4995a12be5 error enum 2013-07-13 19:19:58 -04:00
Kelvin Sherlock 68a70cfcbc ioctl seteof function (Link w/ -sym on) 2013-07-13 19:19:29 -04:00
Kelvin Sherlock 4abfcc2e52 better mpw dir location logic 2013-06-09 14:47:27 -04:00
Kelvin Sherlock 73e37d205e STABINFO - (PasMat) 2013-05-23 19:10:12 -04:00
Kelvin Sherlock 159198adcb use macos/errors for errors 2013-05-18 21:44:02 -04:00
Kelvin Sherlock 9584a6ee88 compiler warnings 2013-05-18 21:43:30 -04:00
Kelvin Sherlock 386dc18ad1 Set up environment from $MPW:Environment 2013-05-18 17:24:25 -04:00
Kelvin Sherlock 0d6874ae08 use global names 2013-05-12 22:36:22 -04:00
Kelvin Sherlock 09b0eb102f implement ftrap_delete 2013-03-26 22:52:37 -04:00
Kelvin Sherlock 33899e5495 nop tab info 2013-03-06 21:51:12 -05:00
Kelvin Sherlock 57f46bc374 better pathname conversion 2013-03-06 19:17:55 -05:00
Kelvin Sherlock 673fc4f492 improve logging 2013-03-02 17:39:13 -05:00
Kelvin Sherlock adba68c724 use finder info to check binary files (linkiigs errors) 2013-03-02 17:38:51 -05:00
Kelvin Sherlock e84aff6812 $ShellDirectory variable (SysErrs) 2013-02-27 23:43:34 -05:00
Kelvin Sherlock a9553a11b5 keep file name when opening 2013-02-25 20:40:57 -05:00
Kelvin Sherlock 95f41785eb FDEntry::close 2013-02-25 20:40:28 -05:00
Kelvin Sherlock e4dff8bc81 use OS::Internal for MPW File tables. 2013-02-25 20:16:55 -05:00
Kelvin Sherlock 675170ae72 fix environment variables 2013-02-24 23:19:59 -05:00
Kelvin Sherlock 0d165d9525 old tool environment compatibility 2013-02-19 18:28:03 -05:00
Kelvin Sherlock 4e247a0c46 use a single $MPW environment for the root 2013-02-18 19:17:17 -05:00