Commit Graph

77 Commits

Author SHA1 Message Date
Kelvin Sherlock
025286a66e WIP 2017-07-04 16:03:25 -04:00
Kelvin Sherlock
9d16456b80 use new file abstraction. 2016-11-04 12:31:22 -04:00
Kelvin Sherlock
97b6ce5f16 clean up makefiles a little bit. 2016-08-31 20:38:31 -04:00
Kelvin Sherlock
9972b9e66b solaris 2016-08-02 18:37:28 -04:00
Kelvin Sherlock
54c927895a solaris 2016-08-02 21:02:34 -04:00
Kelvin Sherlock
5daebb35b6 solaris fixes 2016-08-02 20:12:17 -04:00
Kelvin Sherlock
94f4c1c528 update Native tool calls to use tool_return<> for return values. 2016-08-01 13:56:43 -04:00
Kelvin Sherlock
42024c54f1 use native::is_text_file / is_binary_file 2016-08-01 09:32:27 -04:00
Kelvin Sherlock
305d9fe251 native::open_fork / open_resource_fork 2016-07-31 19:56:01 -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