axel
|
b2e2743195
|
Remove translate.c. The gettext fallback functionality is moved to fallback.c, the wide wrapper is moved to wutil.c
darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
|
2006-07-20 08:55:49 +10:00 |
|
axel
|
d56ab1d365
|
Switch from die_mem function to DIE_MEM macro in order to be able to give a line and file for the OOM message
darcs-hash:20060703103957-ac50b-8d7a860d931fd087f6d1759bc1e934dba1cfefe2.gz
|
2006-07-03 20:39:57 +10:00 |
|
axel
|
3ddd5e5981
|
Check exit status of close and fclose in a few extra places
darcs-hash:20060621095430-ac50b-52afcee91b856f706d6df6bcf2e3a6bc7d746e40.gz
|
2006-06-21 19:54:30 +10:00 |
|
axel
|
b016438c08
|
Update input validation. Always use the magic CHECK macro, which prints an error message including instructions on how to report this problem.
darcs-hash:20060621004836-ac50b-a47f296634eda0c469eb39034603015b1ad7ab5c.gz
|
2006-06-21 10:48:36 +10:00 |
|
axel
|
f7118e769f
|
Add more function input validation checks
darcs-hash:20060608235212-ac50b-25fd55f96356af65d4da1eec100cc954b4a9f81e.gz
|
2006-06-09 09:52:12 +10:00 |
|
axel
|
446272eee6
|
Minor code tweaks, including making sure builtins are not run if an io redirection issue occurs and removing a lot commented debug code
darcs-hash:20060603223533-ac50b-204ff1fb1a4912565044e7bc4b86102a7eeba192.gz
|
2006-06-04 08:35:33 +10:00 |
|
axel
|
763a6b8351
|
Minor cleanup
darcs-hash:20060518130039-ac50b-c17e794113c38909d90be840fce36c7727c628b4.gz
|
2006-05-18 23:00:39 +10:00 |
|
axel
|
5a7a264b96
|
Fix bug that caused block level io redirection to break on while loops
darcs-hash:20060514222905-ac50b-7dec0ed716f5fe6af9069b597eee464829a8d820.gz
|
2006-05-15 08:29:05 +10:00 |
|
axel
|
0de232bf54
|
Do not return to the shell until all processes of a job have finished (Previous behaviour was to return once the last job had exited, and could cause e.g. the jobs builtin to print out the job responsible for repainting the titlebar). Also validate that jobs have not completed in various places where the job list is examined
darcs-hash:20060404112722-ac50b-4b6a55ce7c57d39213cdd0ed0f581795a72859b7.gz
|
2006-04-04 21:27:22 +10:00 |
|
axel
|
80b4055eab
|
Add support for the -n switch to skip execution of any commands
darcs-hash:20060318010459-ac50b-9d9e5c489e0e4df2159d8c1d0ff952d42e2a2a82.gz
|
2006-03-18 11:04:59 +10:00 |
|
axel
|
2401a163fe
|
Move all fallbacks for standard and not-so-standard unix functions to fallback.c, in order to have a one-stop place to look for such functions
darcs-hash:20060228131716-ac50b-0832193dbcaf7191dcb24456dc40f2e861a1382e.gz
|
2006-02-28 23:17:16 +10:00 |
|
axel
|
ca04fc745d
|
Add some input validation code to various functions
darcs-hash:20060222154152-ac50b-608032284165f099beecd1cd4f7c6bb2b45df432.gz
|
2006-02-23 01:41:52 +10:00 |
|
axel
|
b21cccf5f0
|
A flag got reversed, causing children to execute even if an IO redirection failed
darcs-hash:20060220014036-ac50b-43156940397e0535cfa9dd7e88d61e4ca4bab13b.gz
|
2006-02-20 11:40:36 +10:00 |
|
axel
|
3e165297ce
|
Add support for sending arguments whenusing the source builtin
darcs-hash:20060214195636-ac50b-511c211368103df6923d63cef99ce20a88d31be3.gz
|
2006-02-15 05:56:36 +10:00 |
|
axel
|
d1c9bca2e9
|
Another halloc:ification of fish. Halloc has been extended to allow registering function calls, this has allowed the creation of halloc-handled arraylists, stringbuffers, etc. More job parsing halloc-ification has reduced the error handling code to only a shadow of it's former self
darcs-hash:20060209155020-ac50b-e119c5293ce2368e252cfc01b98ab7c629fdd678.gz
|
2006-02-10 01:50:20 +10:00 |
|
axel
|
57d53c70e3
|
Further halloc:ification if fish
darcs-hash:20060206181101-ac50b-db0aac307a81e7f0677acd15a9f38ff8c7ff36d2.gz
|
2006-02-07 04:11:01 +10:00 |
|
axel
|
6291be256b
|
Second checkin of halloc changeover. Make the argv array, but not it's contents, be allocated using halloc. Also make list_to_char_arr use halloc
darcs-hash:20060206151817-ac50b-e8fd4cff831ee975c5bf3855d9ecfc15a3fb9215.gz
|
2006-02-07 01:18:17 +10:00 |
|
axel
|
585191310b
|
First checkin of transition to using a new hierarchical memory allocator, some of the memory associated with a job is covered
darcs-hash:20060206142502-ac50b-ba1c9a4f64ea0f44f65303a125f9ddae5bd31e2f.gz
|
2006-02-07 00:25:02 +10:00 |
|
axel
|
a521fa4165
|
Make execution of functions use wcsdup to make sure no memory errors happen if a function removes itself
darcs-hash:20060206134701-ac50b-27be7fe76512d6ac4313eea79b45a9c11083bccd.gz
|
2006-02-06 23:47:01 +10:00 |
|
axel
|
0fa3c15114
|
Tweaks to some source comments
darcs-hash:20060205131253-ac50b-c3ad91b280a73fc8ec318ca6c285de773ffecfc6.gz
|
2006-02-05 23:12:53 +10:00 |
|
axel
|
f9c63a142b
|
Don't print errors if parent can't give child control of terminal during exec(), since child may have already exited
darcs-hash:20060204113320-ac50b-385b600789e7d1aee2a15a69658e9e0b4af838d0.gz
|
2006-02-04 21:33:20 +10:00 |
|
axel
|
3733fe3997
|
Make children set their own process group instead of waiting for their parent to do it for them
darcs-hash:20060203215031-ac50b-d00ce5c09b469edd968618a4bba4b5c1f7dc075c.gz
|
2006-02-04 07:50:31 +10:00 |
|
axel
|
f13262d87e
|
Move parts of the command description lookup code to a shellscript function
darcs-hash:20060203172736-ac50b-95430eb4ca0d7ee2859237e8543a4e0883349fdb.gz
|
2006-02-04 03:27:36 +10:00 |
|
axel
|
f71cd494de
|
prompt and terminal functions should not be run in interactive mode
darcs-hash:20060203093426-ac50b-5e6bf8382c6a5fb4b409439eddf612fffa9c752e.gz
|
2006-02-03 19:34:26 +10:00 |
|
axel
|
feabc032f6
|
Generalize the stack tracing code, add support for showing events and command substitutions in stack traces
darcs-hash:20060201154911-ac50b-707358ea50231661c05a92b40ca109ec801081e6.gz
|
2006-02-02 01:49:11 +10:00 |
|
axel
|
e95effb043
|
Readd the terminal flag for jobs, as not all jobs under job control should be given the terminal.
darcs-hash:20060201122715-ac50b-7efc499e8905e9898c214816d0a3468e077c7005.gz
|
2006-02-01 22:27:15 +10:00 |
|
axel
|
f59e9baab9
|
Rename the 'terminal' flag to 'job_control', make sure fg and bg only considers jobs under job control and make it configurable which jobs are put under job control using the status builtin. Also add an option to the status builtin to print a stack trace.
darcs-hash:20060130175426-ac50b-46fb79797284cb600c67cb19462b53761446f00a.gz
|
2006-01-31 03:54:26 +10:00 |
|
axel
|
521d09b6d0
|
Add support for calculating completions for arbitrary commands through the 'complete' builtin
darcs-hash:20060130165150-ac50b-5e2ef3bb0298dd5e1a5d6fbdade314cc73ef36f3.gz
|
2006-01-31 02:51:50 +10:00 |
|
axel
|
3efb0bf5cf
|
Fix bug that caused shellscript functions in pipelines that don't have any output to never be properly removed
darcs-hash:20060129220414-ac50b-8c26e83933a73ef146c28bed020a6a2dfeca425f.gz
|
2006-01-30 08:04:14 +10:00 |
|
axel
|
003c4d776f
|
Display use of . (source) builtin in stack traces
darcs-hash:20060128113440-ac50b-6556097eb766cc7561a3d30ef994bc913181fe65.gz
|
2006-01-28 21:34:40 +10:00 |
|
axel
|
1977d3beb3
|
Add support for correctly handling illegal character strings
darcs-hash:20060128020329-ac50b-d3499e6ff9108cef25bf7e00f39bbe1476896e07.gz
|
2006-01-28 12:03:29 +10:00 |
|
axel
|
7cd98a670b
|
Fix glitches in stack trace
darcs-hash:20060126154722-ac50b-0d44e98b6d98e3b42f60f66f5bfa2c5f97ea2bd8.gz
|
2006-01-27 01:47:22 +10:00 |
|
axel
|
312c7ab7b2
|
Add function stack trace to error output
darcs-hash:20060126144810-ac50b-3426191f596674504ce49dd61fcfa3c2c0c0f2bb.gz
|
2006-01-27 00:48:10 +10:00 |
|
axel
|
29c488c6dc
|
Fixes to api documentation, added .PHONY to makefile actions, made a few private functions static
darcs-hash:20060123204014-ac50b-b9d2a10c7f00945b5d9d244cb3b8c1489fe280de.gz
|
2006-01-24 06:40:14 +10:00 |
|
axel
|
05736978bb
|
Change the foregrounf/background code a bit, fixes bug where mulktiple jobs want foreground status. Is this fix enough or are there still corner cases?
darcs-hash:20060118124248-ac50b-cbbddb8c6dad1f44826050395cda647fa9348f0f.gz
|
2006-01-18 22:42:48 +10:00 |
|
axel
|
18bbb5ad01
|
Put jobs in functions and block into their own process group in interactive mode, but do not put the 'fake jobs' associated with functions in a group
darcs-hash:20060116001556-ac50b-b91d6e45fe136874237ad31538de02b5e63a8bac.gz
|
2006-01-16 10:15:56 +10:00 |
|
axel
|
24ca6ceb47
|
Correctly handle and recover from IO redirections failures in the exec builtin
darcs-hash:20060115224148-ac50b-793c6a71a2ea04239a3d4bc293ca217a7ed40e84.gz
|
2006-01-16 08:41:48 +10:00 |
|
axel
|
ee66520863
|
Give subshell command in error message for output conversion of data from subshell
darcs-hash:20060115200442-ac50b-4b3add7f99cf460186a6e0922966365dedcc2759.gz
|
2006-01-16 06:04:42 +10:00 |
|
axel
|
da058aa141
|
Add one missing translation string in exec.c
darcs-hash:20060111144616-ac50b-b0520a639e2d06b75629e0ab171111c529993d32.gz
|
2006-01-12 00:46:16 +10:00 |
|
axel
|
67333a23f1
|
Recover instead of quiting when a redirection error occurs for a shellscript function
darcs-hash:20060111144020-ac50b-a5c7449276730c21949324abd8ba49b91b186e8c.gz
|
2006-01-12 00:40:20 +10:00 |
|
axel
|
690648e1b0
|
Huge upade containing several bugfixes related to i18n, and a huge number of new translatable strings, including almost all description messages for command specific completions
darcs-hash:20060108025656-ac50b-e2309829a0afa6b3270d13814e9600d0fd372407.gz
|
2006-01-08 12:56:56 +10:00 |
|
axel
|
ec43c635cc
|
Add i18n through gettext, as well as a Swedish translation
darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
|
2006-01-04 22:51:02 +10:00 |
|
axel
|
9b4c34aa4c
|
Use csh-style error rules with wildcards, i.e. if no matches are found, the command is not executed
darcs-hash:20051203164356-ac50b-1b1818db2698eab9ae765a5af1e259bce3ab37e7.gz
|
2005-12-04 02:43:56 +10:00 |
|
axel
|
51c345311a
|
Make the not builtin work with shellscript functions
darcs-hash:20051129195030-ac50b-7ada30d327f2dcc8ad23f56b0a36c975cb90c481.gz
|
2005-11-30 05:50:30 +10:00 |
|
axel
|
c2e6b07b35
|
Try to report IO redirection errors resulting from redirection stderr
darcs-hash:20051129101206-ac50b-970569a8b710d74b6e16a3c09b8848618cec4a7e.gz
|
2005-11-29 20:12:06 +10:00 |
|
axel
|
8d58e58d7b
|
Minor performance tweaks
darcs-hash:20051102154159-ac50b-9a32fb6cc654c593048840ebd9f6abb97c2e0bb8.gz
|
2005-11-03 01:41:59 +10:00 |
|
axel
|
277f9b7e60
|
Huge API documentation cleanup
darcs-hash:20051024152625-ac50b-41503feb4ea8d428c5b30c159aaae0c8f7ae46a2.gz
|
2005-10-25 01:26:25 +10:00 |
|
axel
|
fc5e0ab367
|
Fix broken umask, add completions, documentation cleanups, etc
darcs-hash:20051022100605-ac50b-9b6ece502b203bf7690583d57b5b0713de30890c.gz
|
2005-10-22 20:06:05 +10:00 |
|
axel
|
a91c5fa86a
|
Code cleanups and API documentation updates
darcs-hash:20051021115945-ac50b-bce8377b3a711cd2269bc21d71d99f6d6ad4c931.gz
|
2005-10-21 21:59:45 +10:00 |
|
axel
|
2287238608
|
Improve error message on bad IO redirection
darcs-hash:20051020235651-ac50b-741d8d81dc446512036be9e14a6e6301f337789c.gz
|
2005-10-21 09:56:51 +10:00 |
|