Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-04 | buffer: add two explicit casts to reduce compiler warnings in makenewline(). | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-08-04 | buffer: untangle assignment from check in makenewline(). | Michael Adam | 1 | -2/+4 | |
For better debuggability. Michael | |||||
2008-12-08 | Convert tabs to spaces | Mukund Sivaraman | 1 | -51/+50 | |
2008-12-08 | Break at 80 columns | Mukund Sivaraman | 1 | -1/+2 | |
2008-12-01 | Reformat code to GNU coding style | Mukund Sivaraman | 1 | -187/+204 | |
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made. | |||||
2008-08-24 | Move buffer to the heap due to its size | Mukund Sivaraman | 1 | -7/+15 | |
2008-05-24 | Updated copyright, license notices in source code | Mukund Sivaraman | 1 | -14/+18 | |
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated. | |||||
2005-08-15 | * [Indent] Ran Source Through indent | Robert James Kaes | 1 | -169/+171 | |
I re-indented the source code using indent with the following options: indent -kr -bad -bap -nut -i8 -l80 -psl -sob -ss -ncs There are now _no_ tabs in the source files, and all indentation is eight spaces. Lines are 80 characters long, and the procedure type is on it's own line. Read the indent manual for more information about what each option means. | |||||
2004-02-13 | Removed unnecessary casts (mostly dealing with memory allocation.) I | Robert James Kaes | 1 | -4/+4 | |
should never have added them in the first place. They don't really buy anything, and they can hide bugs. | |||||
2003-07-31 | Added appropriate casts from (void*) so that the code will compile | Robert James Kaes | 1 | -4/+4 | |
cleanly with a C++ compiler. (Tested using GCC 3.3) | |||||
2002-05-24 | Fixed a tonne of spelling mistakes. | Robert James Kaes | 1 | -2/+2 | |
2002-05-23 | Fixed up the header includes for the new layout. | Robert James Kaes | 1 | -5/+7 | |
Changed one line of code to make it explicit how the pointers are to be updated. | |||||
2002-05-14 | Moved the definition of the struct buffer_s into the buffer.c file and out | Robert James Kaes | 1 | -8/+26 | |
of the buffer.h file. This also required the removal of the BUFFER_SIZE macro, and replace it with the buffer_size() function. | |||||
2001-12-19 | Changed the calls to write() to send() so that we can use send(..., | Robert James Kaes | 1 | -2/+2 | |
MSG_NOSIGNAL) and not get signals sent to the process. (easier for debugging and the system doesn't need to worry about signals.) | |||||
2001-11-26 | Fixed a problem with not buffering more than 2K (which is obviously a | Robert James Kaes | 1 | -3/+6 | |
problem. :) | |||||
2001-11-25 | makenewline() now copies the data into the structure rather than just | Robert James Kaes | 1 | -24/+17 | |
storing the pointer to the data. add_to_buffer() is now exported. Renamed writebuff() and readbuff() to write_buffer() and read_buffer(). | |||||
2001-11-22 | Reformated text. | Robert James Kaes | 1 | -17/+32 | |
2001-11-05 | Removed the buffer_size() function and turned it into BUFFER_SIZE() macro. | Robert James Kaes | 1 | -57/+54 | |
Moved the struct buffer_s into the header file. Added more assert() calls to better document the assumptions the functions make. Removed incorrect code in remove_from_buffer() which was never actually called anyway. | |||||
2001-10-25 | Lowered the size of the read buffer to 2K since Ethernet seems to work | Robert James Kaes | 1 | -4/+5 | |
with 1400 byte segments. | |||||
2001-10-24 | Error message cleanup to make the information more informative. | Robert James Kaes | 1 | -9/+5 | |
2001-10-18 | Fixed a problem where a full buffer on the read side would cause the | Robert James Kaes | 1 | -2/+2 | |
connection to be closed. | |||||
2001-09-15 | Removed the log message when unable to allocate memory. | Robert James Kaes | 1 | -5/+2 | |
2001-09-14 | When logging an error indicate the file descriptor and the error number. | Robert James Kaes | 1 | -6/+6 | |
2001-09-11 | Switched the memory allocation for the large strings to heap based instead | Robert James Kaes | 1 | -7/+17 | |
of stack based. | |||||
2001-09-11 | Style stuff. | Robert James Kaes | 1 | -3/+2 | |
2001-09-08 | Changed all the mallocs and callocs to use the new safemalloc and | Robert James Kaes | 1 | -4/+4 | |
safecalloc. | |||||
2001-09-07 | Error message cleanup. | Robert James Kaes | 1 | -5/+10 | |
2001-05-27 | Changed the types for various variables. Some the functions had the | Robert James Kaes | 1 | -15/+15 | |
variable types changed as well. | |||||
2001-05-23 | Added ASSERT statements. | Robert James Kaes | 1 | -2/+23 | |
2000-09-11 | Cleaned up the source so that the internal structure is no exposed by the | Robert James Kaes | 1 | -142/+85 | |
buffer.h header. | |||||
2000-03-31 | Added the working_* fields as a scratch pad for readline(). | Robert James Kaes | 1 | -1/+7 | |
2000-02-16 | This commit was generated by cvs2svn to compensate for changes in r2, | Steven Young | 1 | -0/+308 | |
which included commits to RCS files with non-trunk default branches. |