aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
Commit message (Collapse)AuthorAge
* Use cpp macro to avoid manually adding sentinel value to varargs functionsGravatar axel2007-04-17
| | | | darcs-hash:20070416214041-ac50b-f682569c0d29ab3519bb59335debba525a640175.gz
* Print stack trace when execting due to fatal problem or bugGravatar axel2007-01-22
| | | | darcs-hash:20070121150341-ac50b-66b86014963568bf402a76d5beb7c1d4e188c5f7.gz
* Minor code edits. Add curly brackets in various places, add or rewrite ↵Gravatar axel2007-01-22
| | | | | | various comments, fix indentation, etc. darcs-hash:20070121150114-ac50b-4fd6965cb2c557178923f8afa944835166e08423.gz
* Add support for backtraces - if the compiler and libc version supports it ↵Gravatar axel2007-01-20
| | | | | | (probably only glibc/gcc) then a stack trace is printed on serious bugs darcs-hash:20070120023649-ac50b-5efa310bea0deddfa1d8dfca1000163eee89c7cb.gz
* Fix bug in code for unescapiong strings - when not in unescape_special mode, ↵Gravatar axel2007-01-19
| | | | | | 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
* Make sure debug() never alters errno, so that it can safely be called ↵Gravatar axel2006-12-14
| | | | | | between an error and calling wperror() darcs-hash:20061214100131-ac50b-b1c2e4819567fc35858233c265a26b934620fc6d.gz
* Add a bugreport function for writing out a message about how to file bug reportsGravatar axel2006-11-18
| | | | darcs-hash:20061117145825-ac50b-0480300cce24657aae9572b79f145d956db93593.gz
* Minor cleanups, mostly of code commentsGravatar axel2006-11-11
| | | | darcs-hash:20061111105452-ac50b-24ab7965f6208ecdfced738e08cdb4cb4a565458.gz
* Make sure signals aren't blocked while autoloading, also add a few ↵Gravatar axel2006-10-30
| | | | | | consistency checks to see that signals aren't blocked in critical places darcs-hash:20061029210911-ac50b-50bec85c3d59d0332ba44f3ece1a012cdc3e8c4b.gz
* Minor editsGravatar axel2006-10-29
| | | | darcs-hash:20061028164448-ac50b-c53d5f235d01db3a11b01996b77411a213dc5303.gz
* Minor edits, remove unneeded code, add a few commants, correct spelling, ↵Gravatar axel2006-10-26
| | | | | | tweak the todo list, etc. darcs-hash:20061026102253-ac50b-eb42fdab9a9211d68386a563134856a96b870d90.gz
* Make any character except '/' legal in function namesGravatar axel2006-10-20
| | | | darcs-hash:20061019154747-ac50b-f3ab0df1085b91ec0eadcceddb23f03d5b0247aa.gz
* Minor code fixesGravatar axel2006-10-20
| | | | darcs-hash:20061019153950-ac50b-9a7d5939ce47cd5f8b7167a97b0e9c62315b7b6e.gz
* Add compiler warnings for some common incorrect usage of functions, such as ↵Gravatar axel2006-10-20
| | | | | | forgetting to cast null pointers to variadic functions darcs-hash:20061019151947-ac50b-4043638a7a830fa80fd918f92365f5afe3ff208a.gz
* First stab at directory transition. Test with care...Gravatar axel2006-10-19
| | | | darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
* Remove translate.c. The gettext fallback functionality is moved to ↵Gravatar axel2006-07-20
| | | | | | fallback.c, the wide wrapper is moved to wutil.c darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
* Switch from die_mem function to DIE_MEM macro in order to be able to give a ↵Gravatar axel2006-07-03
| | | | | | line and file for the OOM message darcs-hash:20060703103957-ac50b-8d7a860d931fd087f6d1759bc1e934dba1cfefe2.gz
* Remove common_init and common_destroy. Use halloc instead.Gravatar axel2006-06-21
| | | | darcs-hash:20060621095838-ac50b-e4349a0ab02696cead5397efce3792c9d56c2d15.gz
* Update input validation. Always use the magic CHECK macro, which prints an ↵Gravatar axel2006-06-21
| | | | | | error message including instructions on how to report this problem. darcs-hash:20060621004836-ac50b-a47f296634eda0c469eb39034603015b1ad7ab5c.gz
* Various code polish, including minor rearangement of builtin code to export ↵Gravatar axel2006-06-21
| | | | | | fewer functions, a few additional input checks, and removal of the unneeded, exported error_max variable darcs-hash:20060620212016-ac50b-f76c10eea23fab14a648ea83ed0c83a171b8fef9.gz
* Documentation updates. Fixes a few formating bugs, adds various minor ↵Gravatar axel2006-06-17
| | | | | | missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
* Minor comment edits, reindentation and other code formating changesGravatar axel2006-06-15
| | | | darcs-hash:20060615103706-ac50b-ad9f7060e40f5a786877e95f027688c90f43b6ec.gz
* Add support for hishlighting potentially valid paths - default behaviour is ↵Gravatar axel2006-06-14
| | | | | | to underline them darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
* Highlight invalid use of variable expansion operatorGravatar axel2006-06-02
| | | | darcs-hash:20060601230438-ac50b-165ec1515e0e02674a992a1f0309a567aa6828de.gz
* Rename function expand_variable_array to tokenize_variable_array and move it ↵Gravatar axel2006-05-29
| | | | | | 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
* Add support for bold highligtingGravatar axel2006-05-27
| | | | darcs-hash:20060527133930-ac50b-515d0887567c0e89fdfe10fe8310d6ebb4485974.gz
* Add support for highlighting operators and escaped sequencesGravatar axel2006-05-27
| | | | darcs-hash:20060526164638-ac50b-2259579e0460df0641683ce6127bb8516fca8c7e.gz
* Fix broken method for sorting output of builtin commands 'functions', 'set' ↵Gravatar axel2006-05-14
| | | | | | and others darcs-hash:20060514094721-ac50b-9f1d8b6a2e8b4438e6a655de61af54d15cd4f537.gz
* Fix segfault when using the 'set' command with no argumentsGravatar axel2006-05-03
| | | | darcs-hash:20060502162830-ac50b-d3ab63c29a6daeaa62803923b060ec69942911f8.gz
* Add more descriptive error messages when trying to use variables in command ↵Gravatar axel2006-04-22
| | | | | | names darcs-hash:20060421142939-ac50b-d1809fa4687706b433d1d0a5e0a0c9d791de510f.gz
* Use libc implementations of wcslcpy and wcslcat if they exist. Move internal ↵Gravatar axel2006-04-19
| | | | | | implementations to fallback.c. darcs-hash:20060419095628-ac50b-0e94e4205306bb99bb9dea72eec43b442520bf1b.gz
* Move typedef of tputs_arg_t from common.h to fallback.hGravatar axel2006-03-14
| | | | darcs-hash:20060314000801-ac50b-466d5b90d9a1bea0e55c8657748edf6663edd06f.gz
* Move the move_cursor and writeb functions to output.c, and make the output ↵Gravatar axel2006-02-16
| | | | | | function used by output.c configurable darcs-hash:20060216134025-ac50b-360d4816ee2c3f2ffdc8e5660502cb97b31d699e.gz
* Fix clash in usage of unicode private use areaGravatar axel2006-02-14
| | | | darcs-hash:20060214113514-ac50b-5160e3b7ac9401a7ef198121d39e33225df4b766.gz
* Allow backslash of quotes within quotesGravatar axel2006-02-13
| | | | darcs-hash:20060212161331-ac50b-c25affaa4b18e1654dab3d08debafa95017009ea.gz
* Optimize the halloc implementation so that mutiple calls to halloc can be ↵Gravatar axel2006-02-11
| | | | | | satisfied by a single malloc, also add wcsdup and wcsndup workalikes using halloc darcs-hash:20060211001317-ac50b-c9cf234c334b4d697fe1251c21013c8ec7f7b0a1.gz
* Another halloc:ification of fish. Halloc has been extended to allow ↵Gravatar axel2006-02-10
| | | | | | 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
* New wreaddir function, wide character version of readdirGravatar axel2006-02-09
| | | | darcs-hash:20060208145847-ac50b-0e250edb67dd095e90054ed55f88a2638ba9b02a.gz
* Further halloc:ification if fishGravatar axel2006-02-07
| | | | darcs-hash:20060206181101-ac50b-db0aac307a81e7f0677acd15a9f38ff8c7ff36d2.gz
* Second checkin of halloc changeover. Make the argv array, but not it's ↵Gravatar axel2006-02-07
| | | | | | contents, be allocated using halloc. Also make list_to_char_arr use halloc darcs-hash:20060206151817-ac50b-e8fd4cff831ee975c5bf3855d9ecfc15a3fb9215.gz
* Make sure interactive mode is of when firing eventsGravatar axel2006-02-06
| | | | darcs-hash:20060206134532-ac50b-93f8a7cf7be2a82a1222fb520541b08bef33baa4.gz
* Readd the terminal flag for jobs, as not all jobs under job control should ↵Gravatar axel2006-02-01
| | | | | | be given the terminal. darcs-hash:20060201122715-ac50b-7efc499e8905e9898c214816d0a3468e077c7005.gz
* Add support for correctly handling illegal character stringsGravatar axel2006-01-28
| | | | darcs-hash:20060128020329-ac50b-d3499e6ff9108cef25bf7e00f39bbe1476896e07.gz
* Add fallback implementations of wcstok, putwc and getwc. Move all fallbacks ↵Gravatar axel2006-01-21
| | | | | | from common.c to wutil.c. darcs-hash:20060120142721-ac50b-4b9850d889e2210e1d545339e29dcc038a3f2b04.gz
* Make the functions builtin display function listing on -n to a terminal in a ↵Gravatar axel2006-01-15
| | | | | | human-friendly format darcs-hash:20060115115805-ac50b-fc5b468c0e68904e5cf934f43066ecfdf23e2a3b.gz
* Improve locale implementation (should now behave identically to bash) and ↵Gravatar axel2006-01-09
| | | | | | document locale variables behaviour darcs-hash:20060108230049-ac50b-403f1d00c8483fc4fecc275b62e40b1c3d51bfc1.gz
* Add i18n through gettext, as well as a Swedish translationGravatar axel2006-01-04
| | | | darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
* Add autoconf checks for wide character string functionsGravatar axel2005-12-18
| | | | darcs-hash:20051217213205-ac50b-df9ea4cbc1a7e4235578bd4fc542ddb7788d41cc.gz
* Change quoting rules to POSIX styleGravatar axel2005-11-03
| | | | darcs-hash:20051102164913-ac50b-d4b696394e13a2d4c787f8ee1a2b209317dddb51.gz
* Fix problem bug breaking completion in commands with multiple subshellsGravatar axel2005-10-25
| | | | darcs-hash:20051025110352-ac50b-fff319ddcbafb722b9bc3c61aa1b250b290716a5.gz