Grissiom
|
c6372a1b3f
|
remove trailing spaces
This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not
introduce any functionality change.
|
2010-09-18 09:51:16 +08:00 |
|
axel
|
14c84ffbcb
|
Check return value of a few write calls and retry on EINTR, and fix a few other warnings, mostly by printing error messages before giving up.
darcs-hash:20090222202852-ac50b-b0e79142af5b7a99e55271d4001fa252d9684a1d.gz
|
2009-02-23 06:28:52 +10:00 |
|
axel
|
35258bf1fb
|
Make proper autoconf test for availability of posix nan function instead of fudging with the NAN macro.
darcs-hash:20090202232049-ac50b-0176955677ff39fdd05eeefa20dca883863c34e6.gz
|
2009-02-03 09:20:49 +10:00 |
|
axel
|
72025a6a38
|
Make fish avoid iterating through user list when completing file part of directory starting with tilde. Also add a timeout to the directory iteration, to protect against humongously large user databases.
darcs-hash:20090202224645-ac50b-353047a73e4d6f494f470fe2ea6c4a34b486d302.gz
|
2009-02-03 08:46:45 +10:00 |
|
liljencrantz
|
87db9517e9
|
Add lots of new code comments.
darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
|
2008-01-14 02:47:47 +10:00 |
|
liljencrantz
|
dd02e96712
|
Second part of improved execve errors - this patch makes the memory limits nicely formated (e.g. 128kB instead of 136549 bytes).
darcs-hash:20071015095108-75c98-51c2ea6ab6edba5d1885eb5938f039054da775e2.gz
|
2007-10-15 19:51:08 +10:00 |
|
liljencrantz
|
fcd474afe8
|
Make completion system not use quoted string escapes, since it generally looks a bit confusing there
darcs-hash:20071006105131-75c98-af770878124cc19946b964c0cf772818a5bf4216.gz
|
2007-10-06 20:51:31 +10:00 |
|
liljencrantz
|
d34d05ca8b
|
Comment updates, minor code cleanups and other janitorial jobs
darcs-hash:20071002100937-75c98-d4040e70a256e36a6334cca0a05d60500680132b.gz
|
2007-10-02 20:09:37 +10:00 |
|
liljencrantz
|
0e716763d8
|
Replace variadic functions like sb_append and contains_str with variadic macros without a sentinel.
darcs-hash:20070928213227-75c98-2e7b06242acfd5fd0bf02ce77c41d52374f2363a.gz
|
2007-09-29 07:32:27 +10:00 |
|
liljencrantz
|
df4fdf33c4
|
Make escaping of the empty string return two quotes instead of the empty string
darcs-hash:20070925161959-75c98-1a0409c5fd12c7570e54cbdd9201548c7405196b.gz
|
2007-09-26 02:19:59 +10:00 |
|
liljencrantz
|
5694d3f027
|
Make escaped strings more readable
darcs-hash:20070925161916-75c98-c33aa140fb099f2003e5af3dadb5f613075b59d6.gz
|
2007-09-26 02:19:16 +10:00 |
|
liljencrantz
|
61ebc12dd4
|
Minor polish like adding missing whitespace, switch to using --argument switch in function definitions to make code more readable, add a few minor saftey checks, etc.
darcs-hash:20070923210730-75c98-88557ba8b6020cae04a5e437c6bb6370e39c04d9.gz
|
2007-09-24 07:07:30 +10:00 |
|
liljencrantz
|
449a75756d
|
Fix narrow/wide encoding issues found through new test suite additions
darcs-hash:20070923210007-75c98-9ffee3b8f1ce24e1d6f178baa1f2ef52d70ee38b.gz
|
2007-09-24 07:00:07 +10:00 |
|
liljencrantz
|
737935ebe4
|
Fix bug caused by new escap beutification code. Some strings containing a single quote where incorrectly escaped.
darcs-hash:20070923145555-75c98-1125e148af36cb1bbe2f2029c3f1d118308721a6.gz
|
2007-09-24 00:55:55 +10:00 |
|
liljencrantz
|
16e2c4805a
|
Use quoted escaping if possible. Most people find that more readable.
darcs-hash:20070922190838-75c98-635f62df48d611be05892c09e135e8a3993e76b2.gz
|
2007-09-23 05:08:38 +10:00 |
|
axel
|
3fc1ba0f0e
|
Fix incorrect escape character in unescape function
darcs-hash:20070908191855-ac50b-e98e433dc23b6357c3a23d935de4bcb55efb9da9.gz
|
2007-09-09 05:18:55 +10:00 |
|
Claes Nästén
|
2994378e1a
|
Fix compilation with Sun Studio compiler changing \e to \x1b as it does not support \e as an escape character.
darcs-hash:20070822075239-cac88-1a9768bf35295615d553192d9a494f00db26f742.gz
|
2007-08-22 17:52:39 +10:00 |
|
liljencrantz
|
3cb24e0681
|
Add missing file creation mask for open. This fixes a compilation bug on the upcoming Fedora 8. Thanks to Oliver Falk for reporting the issue as well as figuring out the cause.
darcs-hash:20070814213722-75c98-5466a6be1e29984da67d5de0d1fe8e04ec1373bb.gz
|
2007-08-15 07:37:22 +10:00 |
|
axel
|
4c858a10c9
|
Minor code edits (comments, function rename)
darcs-hash:20070421081122-ac50b-fdd497a6ff8a1d2507509f21a168c9130ed59ad7.gz
|
2007-04-21 18:11:22 +10:00 |
|
axel
|
d480d892c9
|
Do not call getc if getwc fails - mixing wide and byte-based readin may cause a crash. IT's better to simply hope that getwc can recover.
darcs-hash:20070127021026-ac50b-b85e10029d2bc0ce4857ec48945a92270e499a07.gz
|
2007-01-27 12:10:26 +10:00 |
|
axel
|
85d069c106
|
Fix crash in tab completion code when completing an imcomplete backsalsh escape
darcs-hash:20070126171413-ac50b-a9338dc73863381f2b22e09fb8b5e711f64b8f29.gz
|
2007-01-27 03:14:13 +10:00 |
|
axel
|
98a6c491b1
|
Print stack trace when execting due to fatal problem or bug
darcs-hash:20070121150341-ac50b-66b86014963568bf402a76d5beb7c1d4e188c5f7.gz
|
2007-01-22 01:03:41 +10:00 |
|
axel
|
1300e68fa5
|
Add support for backtraces - if the compiler and libc version supports it (probably only glibc/gcc) then a stack trace is printed on serious bugs
darcs-hash:20070120023649-ac50b-5efa310bea0deddfa1d8dfca1000163eee89c7cb.gz
|
2007-01-20 12:36:49 +10:00 |
|
axel
|
421aff7d67
|
Make command specific completions handle quoted and otherwise escaped tokens better by making sure that the output from the commandline builtin is properly unescaped
darcs-hash:20070118162700-ac50b-cd93d9a6aff5bb7629a790d60b241000eb1d0ac0.gz
|
2007-01-19 02:27:00 +10:00 |
|
axel
|
9e7094adfc
|
Fix bug in code for unescapiong strings - when not in unescape_special mode, quotes would not get properly removed. This patch also adds the ability to check that quotes match up when unescaping. This functionality is on by default and can be disabled using a special flag.
darcs-hash:20070118160246-ac50b-b230c3fcd8440025b5243d76de2a9fd400f7ea32.gz
|
2007-01-19 02:02:46 +10:00 |
|
axel
|
d8b5cc6717
|
Handle out of memory condition in various parts of fish by shutting down instead of crashing
darcs-hash:20070109025102-ac50b-ee7951028e626628257852fd9b5de97572609cea.gz
|
2007-01-09 12:51:02 +10:00 |
|
axel
|
52b74f9f34
|
Make sure debug() never alters errno, so that it can safely be called between an error and calling wperror()
darcs-hash:20061214100131-ac50b-b1c2e4819567fc35858233c265a26b934620fc6d.gz
|
2006-12-14 20:01:31 +10:00 |
|
axel
|
54244fd33d
|
Add a bugreport function for writing out a message about how to file bug reports
darcs-hash:20061117145825-ac50b-0480300cce24657aae9572b79f145d956db93593.gz
|
2006-11-18 00:58:25 +10:00 |
|
axel
|
4edb71325f
|
Do not escape the ':' character. Thanks to Tassilo Horn for pointing this out.
darcs-hash:20061107205437-ac50b-51632ce51915d4ca8680ab4c4522bcd002a794b6.gz
|
2006-11-08 06:54:37 +10:00 |
|
axel
|
b2d4e85f17
|
Make any character except '/' legal in function names
darcs-hash:20061019154747-ac50b-f3ab0df1085b91ec0eadcceddb23f03d5b0247aa.gz
|
2006-10-20 01:47:47 +10:00 |
|
axel
|
45f1263112
|
Minor code fixes
darcs-hash:20061019153950-ac50b-9a7d5939ce47cd5f8b7167a97b0e9c62315b7b6e.gz
|
2006-10-20 01:39:50 +10:00 |
|
axel
|
ea998b03f2
|
First stab at directory transition. Test with care...
darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
|
2006-10-19 21:50:23 +10:00 |
|
axel
|
f85ce201ee
|
Do not use INTERNAL_SEPARATOR tokens to separate different parts of an unescaped string when unescape_special is false. This fixes a bug where weird characters would sometimes be printed in completion descriptions
darcs-hash:20061009151913-ac50b-47a9d3274b2399cef6fd0e12a908a606da2c4903.gz
|
2006-10-10 01:19:13 +10:00 |
|
axel
|
a321505351
|
Allow escaped newlines within qoutes, expand them to themselves
darcs-hash:20061009012248-ac50b-a403705cfe166c7686a168bc017c50c316c28161.gz
|
2006-10-09 11:22:48 +10:00 |
|
axel
|
3bef568955
|
Fix nagging warning message
darcs-hash:20060903234751-ac50b-c5d7f026323b5cab450e1770be572dcdf3ecc904.gz
|
2006-09-04 09:47:51 +10:00 |
|
axel
|
40e2025327
|
Minor polish
darcs-hash:20060903230006-ac50b-c55a9272bb1cdb10312b8580c4c2a85654329e30.gz
|
2006-09-04 09:00:06 +10:00 |
|
axel
|
e2b7a078f4
|
Make "$foo\[1]" not be an array slicing. Notice the extra backslash
darcs-hash:20060831155932-ac50b-746462d2147f349f9a799cb4786a0abacd1d3d4a.gz
|
2006-09-01 01:59:32 +10:00 |
|
axel
|
6de0c4103b
|
Add support for \cx backslash escapes for control sequences, syntax is borrowed from bash
darcs-hash:20060831155813-ac50b-cc93412afc87c1c391c3dbc5e7b8c9175efe01d8.gz
|
2006-09-01 01:58:13 +10:00 |
|
axel
|
4dbac8f941
|
Add support for \a \f \v escape sequences, and make supåport for \e standards compliant
darcs-hash:20060824002609-ac50b-a1a9150d096647d9ab4c39d3245b528d7e75cd57.gz
|
2006-08-24 10:26:09 +10:00 |
|
axel
|
41f8007a03
|
More header/autoconf fixes, improve winsize checking
darcs-hash:20060809225338-ac50b-7162a690e44e2272f4760723f5bf8cc135dc5952.gz
|
2006-08-10 08:53:38 +10:00 |
|
axel
|
f29026b767
|
Fix another typo in common.c
darcs-hash:20060801004648-ac50b-4177620e4ee37ab1ad6f942faa3023cedeee9055.gz
|
2006-08-01 10:46:48 +10:00 |
|
axel
|
7ecf7c1fac
|
Fix typo in common.c
darcs-hash:20060801003556-ac50b-fb20d6405d2d8fc8d343d040afbf3863bac07b2f.gz
|
2006-08-01 10:35:56 +10:00 |
|
axel
|
e79fdcb194
|
Provide fallback is struct winsize is not defined
darcs-hash:20060730205544-ac50b-26f34eb04b56924baa34f560fd274cf38413b5f5.gz
|
2006-07-31 06:55:44 +10:00 |
|
axel
|
60f0533821
|
Include siginfo.h in all signal-using files to make Solaris happy. Thanks to Netocrat for the report and a description of the solution.
darcs-hash:20060730202659-ac50b-1840aff40ec2467242bd107676c7426cdb14f643.gz
|
2006-07-31 06:26:59 +10:00 |
|
axel
|
3835000e9d
|
Include unistd.h and stropts.h in common.c to fix Solaris problems reported by Netocrat
darcs-hash:20060728125057-ac50b-455d5a9a1671ad3bfee61a46266b420aff1adb49.gz
|
2006-07-28 22:50:57 +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
|
407c96e943
|
Even more input validation
darcs-hash:20060621100746-ac50b-8aa5648c05a656829a895669be27c6fa4f1d8458.gz
|
2006-06-21 20:07:46 +10:00 |
|
axel
|
bf333f2a84
|
Remove common_init and common_destroy. Use halloc instead.
darcs-hash:20060621095838-ac50b-e4349a0ab02696cead5397efce3792c9d56c2d15.gz
|
2006-06-21 19:58:38 +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 |
|