axel
|
97c3e231f4
|
Allow slicing of command substitution output
darcs-hash:20060824133904-ac50b-fbc43cf30d8eb15e50343b786af77f85fb0b8d4e.gz
|
2006-08-24 23:39:04 +10:00 |
|
axel
|
1a29979bbd
|
Ignore return code of exec_subshell when doing command substitution
darcs-hash:20060824005217-ac50b-9de976e1fe2d396b08b59619e46669bad6598ec2.gz
|
2006-08-24 10:52:17 +10:00 |
|
axel
|
303473f20c
|
Fix incorrect usage of the term subshell when command substitution was meant
darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
|
2006-08-23 00:38:31 +10:00 |
|
axel
|
cd9102214b
|
Rearrange includes so that config.h is always the first file to be included
darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.gz
|
2006-08-11 11:18:35 +10:00 |
|
axel
|
d1bbb89389
|
Move over a few more objects to the new array_list functions
darcs-hash:20060731165511-ac50b-7858829e6a612e0c737d82d3d71d6833dc97f078.gz
|
2006-08-01 02:55:11 +10:00 |
|
axel
|
bd0c1573df
|
Fix bug when using same array index more than once in a single array expansion, e.g. $PATH[1 1 1]
darcs-hash:20060731164816-ac50b-d3fc56b425035a4cbcf93a91435f9df9ca5997ac.gz
|
2006-08-01 02:48:16 +10:00 |
|
axel
|
e280d10033
|
Minor code edits. Use CHECK instead of a few error messages, add a few comments, etc.
darcs-hash:20060721010831-ac50b-e9ad82a3885969f9a43e6219523e2bd1867e26ed.gz
|
2006-07-21 11:08:31 +10:00 |
|
axel
|
8c4708b51e
|
Make error message for ${foo}-type errors nicer
darcs-hash:20060720233319-ac50b-a5ffbe91b3c7dceba9f0f5e67a6e044fc5508f47.gz
|
2006-07-21 09:33:19 +10:00 |
|
axel
|
5c8d9bd13c
|
Minor duplicate code removal
darcs-hash:20060720130246-ac50b-b41daebb302e1cbadf2a4cf812d936edbda85926.gz
|
2006-07-20 23:02:46 +10:00 |
|
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
|
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
|
5688035680
|
Large number of sourcecode comment edits, and some minor code polish
darcs-hash:20060620005010-ac50b-eaeae9a6242a37c1e34831e1a0b2ee2b4e7a012e.gz
|
2006-06-20 10:50:10 +10:00 |
|
axel
|
43b6b703ff
|
Make braces expand right-to-left, to make syntax more consistent
darcs-hash:20060617142652-ac50b-3c6ca24e37ae723fea6e74d1e4a9c66fd2f60c50.gz
|
2006-06-18 00:26:52 +10:00 |
|
axel
|
8fdc46a105
|
Add support for hishlighting potentially valid paths - default behaviour is to underline them
darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
|
2006-06-14 23:22:40 +10:00 |
|
axel
|
9aee2b7c9c
|
Drop most 'const's from function prototypes
darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
|
2006-06-13 07:47:42 +10:00 |
|
axel
|
04b142208d
|
Make it possible to specify scope of a variable to be erased or tested. Also make sure set exits with a non-zero exit status when erasing fails.
darcs-hash:20060604201451-ac50b-4ea0212c513b33be40559dfe8d65c1446c53f682.gz
|
2006-06-05 06:14:51 +10:00 |
|
axel
|
e7e3e8ee74
|
Add support for negative indices in arrays. Negative indices count from the end of an array, so -4 is the fourth index from the end
darcs-hash:20060604093532-ac50b-6e22b2f2ccfe94375fe4c32e41ccec08ca501744.gz
|
2006-06-04 19:35:32 +10:00 |
|
axel
|
4ffd2afccd
|
Fix some minor 64-bit uncleanlieness - thanks to James Anthill
darcs-hash:20060601194231-ac50b-a6b9b94379ba1d5bb6c61f7fad4652c8f748b25f.gz
|
2006-06-02 05:42:31 +10:00 |
|
axel
|
d46dade284
|
Rename function expand_variable_array to tokenize_variable_array and move it from expand.c to common.c, since it is used by fish_pager, which should not depend on expand.o
darcs-hash:20060529111342-ac50b-315d7dcf04e05fa8f32e16801e6793ac4e4e022e.gz
|
2006-05-29 21:13:42 +10:00 |
|
axel
|
b746a803a9
|
Add validator check to make sure the second argument to 'for' is 'in'
darcs-hash:20060521221604-ac50b-5bc4ce217a08304f68b97b20e908ea1279fe26e9.gz
|
2006-05-22 08:16:04 +10:00 |
|
axel
|
07e14ed7a8
|
Rewrite small amount of code in parameter expansion to use wide character strings, not narrow
darcs-hash:20060521214601-ac50b-bb3937f5abd2780a7ecf8ab13975a0f6b622323f.gz
|
2006-05-22 07:46:01 +10:00 |
|
axel
|
1c2cbb00bc
|
Major update to the ahead-of-time syntax checker
darcs-hash:20060521192524-ac50b-48713f826558e66ef21046d1bb779623cc2fd97a.gz
|
2006-05-22 05:25:24 +10:00 |
|
axel
|
d690a15b29
|
Make job id numbering start from 1, not 0
darcs-hash:20060428132137-ac50b-8e5adcdbc18ad7627b66e9129a13b037a669dd02.gz
|
2006-04-28 23:21:37 +10:00 |
|
axel
|
45d56d8e05
|
Drop all calls to wcsncpy
darcs-hash:20060413121851-ac50b-1f479b96b3aa1050a30e9ee0ed27cc107ce2bc45.gz
|
2006-04-13 22:18:51 +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
|
f12127c775
|
Add missing translation string
darcs-hash:20060214114804-ac50b-1ce10e7613ebec38a283cd6f6f8ad08397cec529.gz
|
2006-02-14 21:48:04 +10:00 |
|
axel
|
effe6f47a3
|
Minor hallocifications
darcs-hash:20060212190301-ac50b-c15b9a8c6c2897189c4343946d9bd115eefb4972.gz
|
2006-02-13 05:03:01 +10:00 |
|
axel
|
eeaa241be8
|
Optimizations of how variable expansion implementation
darcs-hash:20060212112930-ac50b-9b8bb640ef1a5bd14230ecd276167a80d6d986c9.gz
|
2006-02-12 21:29:30 +10:00 |
|
axel
|
4b2cc49aaa
|
Registered wrong string with halloc in expand_one, causing potential crash.
darcs-hash:20060210003539-ac50b-523cbc848435b7f2b4239cc83da897cc65c00c1c.gz
|
2006-02-10 10:35:39 +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
|
ddff3561e3
|
Minor tweaks to expand_Variables, fixes rare memory leak
darcs-hash:20060207114857-ac50b-9b2ecf31106678ec35d888066162bf14605c6003.gz
|
2006-02-07 21:48:57 +10:00 |
|
axel
|
57d53c70e3
|
Further halloc:ification if fish
darcs-hash:20060206181101-ac50b-db0aac307a81e7f0677acd15a9f38ff8c7ff36d2.gz
|
2006-02-07 04:11:01 +10:00 |
|
axel
|
e756f7d619
|
Minor code cleanup, don't use expand_escape and expand_unescape any more
darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz
|
2006-02-07 01:15:52 +10:00 |
|
axel
|
028e1f36a1
|
Improve the status builtin
darcs-hash:20060130195310-ac50b-5da6881a847170242be56555646bbf037218d545.gz
|
2006-01-31 05:53:10 +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
|
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
|
4eb3370edf
|
Error message update
darcs-hash:20060121123828-ac50b-bb81b8cf34a09c750a02c15d92bcdae11f4b9bad.gz
|
2006-01-21 22:38:28 +10:00 |
|
axel
|
84bbbe4252
|
Remove accidental newline in error message
darcs-hash:20060117172312-ac50b-5c77d13f879e7da44a97f158d0372e7e536c2c81.gz
|
2006-01-18 03:23:12 +10:00 |
|
axel
|
fd78f67d35
|
Fix buggy error messages in expand.h and add missing translation commands
darcs-hash:20060117124830-ac50b-0981a49f5746ec951ddfb1a3097c5009c1eb0385.gz
|
2006-01-17 22:48:30 +10:00 |
|
axel
|
b37eeb92ef
|
Fisx crash buh when completing string ending in backslash
darcs-hash:20051225220044-ac50b-b880ffe649d04ed1e5ec6786d0b59eed8068d182.gz
|
2005-12-26 08:00:44 +10:00 |
|
axel
|
ab207b64a3
|
Add separator characters to make quoted variable expantion works properly
darcs-hash:20051214135336-ac50b-ebd834e2bc52324ae4926efc270508648d8cb280.gz
|
2005-12-14 23:53:36 +10:00 |
|
axel
|
5a8205ac2b
|
Shorten ${foo} error message a bit
darcs-hash:20051209035042-ac50b-b71d3e2b326cf18c4520c86d6587d432230d7ac9.gz
|
2005-12-09 13:50:42 +10:00 |
|
axel
|
4ba2709452
|
Improved error messages
darcs-hash:20051207160647-ac50b-4061540829a108381c20a1a6f3c8fd2d004a9800.gz
|
2005-12-08 02:06:47 +10:00 |
|
axel
|
0c877183b9
|
Spelling
darcs-hash:20051207155717-ac50b-6146b02bd8aff0fd27816acd5e31b38093d8575d.gz
|
2005-12-08 01:57:17 +10:00 |
|
axel
|
ab13c4caad
|
Give intelligent warning messages on zero-length variable names.
darcs-hash:20051207130330-ac50b-cc9d78ba63f592925b6076049e2c59aaaa930eec.gz
|
2005-12-07 23:03:30 +10:00 |
|
axel
|
754d8d3712
|
Fix bug breaking filename completions, introduced by csh wildcard syntax
darcs-hash:20051204015402-ac50b-911c6188f6c8213a733f4e967fc903f5290f1772.gz
|
2005-12-04 11:54: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 |
|