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
|
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
|
e6764f3130
|
Improve commenting a bit
darcs-hash:20070924081823-75c98-20dee07adff34f2337c56b30f1e453cc38f40639.gz
|
2007-09-24 18:18:23 +10:00 |
|
axel
|
91ca8610ee
|
Use cpp macro to avoid manually adding sentinel value to varargs functions
darcs-hash:20070416214041-ac50b-f682569c0d29ab3519bb59335debba525a640175.gz
|
2007-04-17 07:40:41 +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
|
66c045c439
|
Minor code edits. Add curly brackets in various places, add or rewrite various comments, fix indentation, etc.
darcs-hash:20070121150114-ac50b-4fd6965cb2c557178923f8afa944835166e08423.gz
|
2007-01-22 01:01:14 +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
|
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
|
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
|
5005c67d76
|
Minor cleanups, mostly of code comments
darcs-hash:20061111105452-ac50b-24ab7965f6208ecdfced738e08cdb4cb4a565458.gz
|
2006-11-11 20:54:52 +10:00 |
|
axel
|
f83575f084
|
Make sure signals aren't blocked while autoloading, also add a few consistency checks to see that signals aren't blocked in critical places
darcs-hash:20061029210911-ac50b-50bec85c3d59d0332ba44f3ece1a012cdc3e8c4b.gz
|
2006-10-30 07:09:11 +10:00 |
|
axel
|
a6c00ca0d2
|
Minor edits
darcs-hash:20061028164448-ac50b-c53d5f235d01db3a11b01996b77411a213dc5303.gz
|
2006-10-29 02:44:48 +10:00 |
|
axel
|
e98a604a21
|
Minor edits, remove unneeded code, add a few commants, correct spelling, tweak the todo list, etc.
darcs-hash:20061026102253-ac50b-eb42fdab9a9211d68386a563134856a96b870d90.gz
|
2006-10-26 20:22:53 +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
|
2d05b1c1b4
|
Add compiler warnings for some common incorrect usage of functions, such as forgetting to cast null pointers to variadic functions
darcs-hash:20061019151947-ac50b-4043638a7a830fa80fd918f92365f5afe3ff208a.gz
|
2006-10-20 01:19:47 +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
|
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
|
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
|
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
|
7268a4a4e0
|
Various code polish, including minor rearangement of builtin code to export fewer functions, a few additional input checks, and removal of the unneeded, exported error_max variable
darcs-hash:20060620212016-ac50b-f76c10eea23fab14a648ea83ed0c83a171b8fef9.gz
|
2006-06-21 07:20:16 +10:00 |
|
axel
|
07ff8a6c03
|
Documentation updates. Fixes a few formating bugs, adds various minor missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc
darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
|
2006-06-17 23:07:08 +10:00 |
|
axel
|
4e38d3bc8c
|
Minor comment edits, reindentation and other code formating changes
darcs-hash:20060615103706-ac50b-ad9f7060e40f5a786877e95f027688c90f43b6ec.gz
|
2006-06-15 20:37:06 +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
|
67f216fa55
|
Highlight invalid use of variable expansion operator
darcs-hash:20060601230438-ac50b-165ec1515e0e02674a992a1f0309a567aa6828de.gz
|
2006-06-02 09:04:38 +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
|
bffff77d17
|
Add support for bold highligting
darcs-hash:20060527133930-ac50b-515d0887567c0e89fdfe10fe8310d6ebb4485974.gz
|
2006-05-27 23:39:30 +10:00 |
|
axel
|
18c185c256
|
Add support for highlighting operators and escaped sequences
darcs-hash:20060526164638-ac50b-2259579e0460df0641683ce6127bb8516fca8c7e.gz
|
2006-05-27 02:46:38 +10:00 |
|
axel
|
92ecc01baa
|
Fix broken method for sorting output of builtin commands 'functions', 'set' and others
darcs-hash:20060514094721-ac50b-9f1d8b6a2e8b4438e6a655de61af54d15cd4f537.gz
|
2006-05-14 19:47:21 +10:00 |
|
axel
|
92fde30c0c
|
Fix segfault when using the 'set' command with no arguments
darcs-hash:20060502162830-ac50b-d3ab63c29a6daeaa62803923b060ec69942911f8.gz
|
2006-05-03 02:28:30 +10:00 |
|
axel
|
de2405b35a
|
Add more descriptive error messages when trying to use variables in command names
darcs-hash:20060421142939-ac50b-d1809fa4687706b433d1d0a5e0a0c9d791de510f.gz
|
2006-04-22 00:29:39 +10:00 |
|
axel
|
d0956f1e43
|
Use libc implementations of wcslcpy and wcslcat if they exist. Move internal implementations to fallback.c.
darcs-hash:20060419095628-ac50b-0e94e4205306bb99bb9dea72eec43b442520bf1b.gz
|
2006-04-19 19:56:28 +10:00 |
|
axel
|
99662d7711
|
Move typedef of tputs_arg_t from common.h to fallback.h
darcs-hash:20060314000801-ac50b-466d5b90d9a1bea0e55c8657748edf6663edd06f.gz
|
2006-03-14 10:08:01 +10:00 |
|
axel
|
94cae410f3
|
Move the move_cursor and writeb functions to output.c, and make the output function used by output.c configurable
darcs-hash:20060216134025-ac50b-360d4816ee2c3f2ffdc8e5660502cb97b31d699e.gz
|
2006-02-16 23:40:25 +10:00 |
|
axel
|
5fb9d9aa38
|
Fix clash in usage of unicode private use area
darcs-hash:20060214113514-ac50b-5160e3b7ac9401a7ef198121d39e33225df4b766.gz
|
2006-02-14 21:35:14 +10:00 |
|
axel
|
7eb3a5a17d
|
Allow backslash of quotes within quotes
darcs-hash:20060212161331-ac50b-c25affaa4b18e1654dab3d08debafa95017009ea.gz
|
2006-02-13 02:13:31 +10:00 |
|
axel
|
20c83ba605
|
Optimize the halloc implementation so that mutiple calls to halloc can be satisfied by a single malloc, also add wcsdup and wcsndup workalikes using halloc
darcs-hash:20060211001317-ac50b-c9cf234c334b4d697fe1251c21013c8ec7f7b0a1.gz
|
2006-02-11 10:13:17 +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
|
133b682793
|
New wreaddir function, wide character version of readdir
darcs-hash:20060208145847-ac50b-0e250edb67dd095e90054ed55f88a2638ba9b02a.gz
|
2006-02-09 00:58:47 +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
|
0f76f77173
|
Make sure interactive mode is of when firing events
darcs-hash:20060206134532-ac50b-93f8a7cf7be2a82a1222fb520541b08bef33baa4.gz
|
2006-02-06 23:45:32 +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
|
1977d3beb3
|
Add support for correctly handling illegal character strings
darcs-hash:20060128020329-ac50b-d3499e6ff9108cef25bf7e00f39bbe1476896e07.gz
|
2006-01-28 12:03:29 +10:00 |
|
axel
|
a47065f648
|
Add fallback implementations of wcstok, putwc and getwc. Move all fallbacks from common.c to wutil.c.
darcs-hash:20060120142721-ac50b-4b9850d889e2210e1d545339e29dcc038a3f2b04.gz
|
2006-01-21 00:27:21 +10:00 |
|
axel
|
9501dc83e6
|
Make the functions builtin display function listing on -n to a terminal in a human-friendly format
darcs-hash:20060115115805-ac50b-fc5b468c0e68904e5cf934f43066ecfdf23e2a3b.gz
|
2006-01-15 21:58:05 +10:00 |
|