aboutsummaryrefslogtreecommitdiffhomepage
path: root/history.c
Commit message (Collapse)AuthorAge
* Do not purge internal history if saving history to file failsGravatar axel2007-01-20
| | | | darcs-hash:20070120023347-ac50b-8e61c5f65cfca3ffdb6dd740fc32b91a975fdb87.gz
* Fix potential use of ininitialized variable. Could cause fish to save the ↵Gravatar axel2007-01-17
| | | | | | history even when unneeded. darcs-hash:20070116151130-ac50b-6186e6da834bae3ea07f3f25a105592f5115e0f3.gz
* Check all file writes for errors when saving history fileGravatar axel2007-01-13
| | | | darcs-hash:20070112161724-ac50b-21721102c5844ba871668093cb7428dc793d2ba6.gz
* Check for errors during string to integer conversion in various placesGravatar axel2007-01-09
| | | | darcs-hash:20070109032005-ac50b-29514c9c8c19c70b7cfe7670a5c74899f316931f.gz
* Minor cleanups, mostly of code commentsGravatar axel2006-11-11
| | | | darcs-hash:20061111105452-ac50b-24ab7965f6208ecdfced738e08cdb4cb4a565458.gz
* Add more comments to the history implementationGravatar axel2006-10-26
| | | | darcs-hash:20061025204650-ac50b-419d37d9ea68de0deee613524d06882a8e4c908e.gz
* Make automatic history reloading actually work the way it shouldGravatar axel2006-10-22
| | | | darcs-hash:20061022012102-ac50b-e57a0dd2c918a2a8abd0210b9f8a2163ce664b74.gz
* Fix crash bug in new history code - fish would segfauls in non-interactive ↵Gravatar axel2006-10-21
| | | | | | mode on exit darcs-hash:20061021103035-ac50b-a2a8d96416ff217cc5640f8f27db8dbac2c39b82.gz
* Fix flags for mmap in history, don't unload history items written to disk in ↵Gravatar axel2006-10-21
| | | | | | order to keep proper ordering darcs-hash:20061021101609-ac50b-563c0b14b620a6ef4bffe69202e97103b1d75ea5.gz
* Add some documentation to the new history code, and fix some minor code issuesGravatar axel2006-10-21
| | | | darcs-hash:20061020230420-ac50b-39a08d68b82481514b0d6c1024a12618bf329d57.gz
* Rewritten history implementation - uses mmap to save lots of memory and also ↵Gravatar axel2006-10-21
| | | | | | allows incremental saving. The history is autosaved every five minutes and every five added entries darcs-hash:20061020223649-ac50b-5e3e2c1e395feec0f5ac457149639f68d52d40f0.gz
* Fix a number of bugs found using the warnings generated by earlier patchGravatar axel2006-10-20
| | | | darcs-hash:20061019153603-ac50b-4efb1ad1fe2cbe693a921648a0616a3d258d7933.gz
* First stab at directory transition. Test with care...Gravatar axel2006-10-19
| | | | darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
* Update history loading/saving to handle multiline editingGravatar axel2006-10-08
| | | | darcs-hash:20061008135046-ac50b-e830fe313e23f632b9c645227f41c49c8ce600f4.gz
* Fix a few places where uncasted 0 was used as a null pointer in vararg ↵Gravatar axel2006-10-08
| | | | | | functions, causing potential crashes on 64-bit platforms darcs-hash:20061008132759-ac50b-23fe4f70a5143b8b187780403d8d21fb69c3e83f.gz
* Minor code cleanupGravatar axel2006-10-05
| | | | darcs-hash:20061004214204-ac50b-e1529fcedb1665f9871a95eba293a4a3c1150464.gz
* Further reduction of malloc calls in the historyGravatar axel2006-10-02
| | | | darcs-hash:20061001152040-ac50b-085f4b8ce20c4793d5e592f7a213df04208630cb.gz
* Use halloc in history as well as other minor cleanups in history.cGravatar axel2006-09-08
| | | | darcs-hash:20060908123455-ac50b-9a3aa6a186fc883621c120cd0964a05ed595f2a4.gz
* Rearrange includes so that config.h is always the first file to be includedGravatar axel2006-08-11
| | | | darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.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
* Fix infinite loop when trying to init history without setting history mode ↵Gravatar axel2006-06-22
| | | | | | name first darcs-hash:20060622001228-ac50b-caa00ff803b6b1673d7672d8364f68afe89cee18.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
* Remove tiny and unlikely memory leakGravatar axel2006-06-16
| | | | darcs-hash:20060615160327-ac50b-01b0514c922104a7d36e3a9a0426bb3a671581b2.gz
* Drop most 'const's from function prototypesGravatar axel2006-06-13
| | | | darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
* Fix some minor 64-bit uncleanlieness - thanks to James AnthillGravatar axel2006-06-02
| | | | darcs-hash:20060601194231-ac50b-a6b9b94379ba1d5bb6c61f7fad4652c8f748b25f.gz
* Earlier history in non-interactive mode bugfix contained a new bug causing ↵Gravatar axel2006-04-20
| | | | | | fish to crash if read is not used in non-interactive mode darcs-hash:20060419234211-ac50b-886a33e96cb3f95e9b2c632f03eb3b2b20a560fd.gz
* Fix warnings from ICCGravatar axel2006-03-29
| | | | darcs-hash:20060329001450-ac50b-9c3fe4f7ca14a077997c421616c07dde03b48c6d.gz
* Move all fallbacks for standard and not-so-standard unix functions to ↵Gravatar axel2006-02-28
| | | | | | fallback.c, in order to have a one-stop place to look for such functions darcs-hash:20060228131716-ac50b-0832193dbcaf7191dcb24456dc40f2e861a1382e.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
* Lazily load history fileGravatar axel2006-02-07
| | | | darcs-hash:20060206150810-ac50b-f4e5fe9312aa898fa025d2874444c4fc5724c309.gz
* Fix infinite loop in token searchGravatar axel2005-12-13
| | | | darcs-hash:20051212183055-ac50b-a40c21f801978094e4ae5b3f6f5d84276eb956e7.gz
* Initial revisionGravatar axel2005-09-20
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz