summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-06-02various spelling fixesDavid Krause
2006-06-02- at end of checkin_main loop, reset pb.newrev. fixes a problem with checkinNiall O'Higgins
of multiple files. reported by fgsch@ ok joris@
2006-06-02Rework logic for function argument conversion warnings. Only do certainChad Loder
classes of warnings if the function is not actually governed by a prototype, otherwise in standard C the compiler is free to avoid the usual widening/renarrowing conversions familiar to us from traditional C. This gets rid of many duplicate warnings. There is still more work to do to quiet lint but this is a necessary prerequisite.
2006-06-02Show interface state and link state in ifstat output. Idea and OK dlg@Claudio Jeker
2006-06-02strtoul() -> strtonum(). Also change iflag to unsigned int, sinceRay Lai
sleep takes an unsigned integer. OK moritz@, jaredy@, and dhill@
2006-06-02Replaced by new stuff in regressIan Darwin
2006-06-01Remove two unnecessary strlen() calls. Also, check if asprintfRay Lai
returns -1 instead of checking if connstr == NULL. OK beck@, moritz@
2006-06-01- rcs_buf_release() has no need for u_char since it returns void *Niall O'Higgins
2006-06-01- zap dangling macro, will be replaced with a function later.Niall O'Higgins
2006-06-01fix outputJoris Vink
2006-06-01import work on existing repos:Joris Vink
- make it work (obviously). - count conflicts and report them at the end of the import. - add the release tags to the correct revision. fixes for importing to new repos: - add the release tags to the correct branch revision - plug memleak general import fixes: - use the correct path in the status messages, this is just fluffy output but it does make things nicer.
2006-06-01major rewrite of some rcs parsing stuff:Joris Vink
- rework rcs_getrev() to correctly support branches - rework rcs_translate_tag() to correctly translate given symbols or branches into their matching revisions - rework rcs_rev_add() to correctly update its 'next' pointers and insert the new revision in the correct place on the list. - rework rcs_head_get() to return the latest revision on the default branch if it has been set or the normal HEAD revision otherwise. - no longer access the rf_head member of the RCSFILE struct manually, use the rcs_head_get() function which correctly returns the HEAD revision, there might be a default branch that has to be used. - for now, when commiting a new revision reset the default branch.
2006-06-01Like DENIC, DK-HOSTMASTER is requires extra attention. This makes youMichael Knudsen
actually get handle information when looking up .dk domains. While there, make the DENIC stuff use the QNICHOST_TAIL symbol. Original diff from Soeren Hansen because I was complaining about this, tweaked by me. ok beck (holding his nose).
2006-06-01kill another superfluous strlenKjell Wooding
2006-06-01Style. no practical change.Kjell Wooding
2006-06-01Fix message on empty goto-line. While here, lose a strlen and KNF.Kjell Wooding
2006-06-01call get_remote_ipaddr() early; fixes logging after client disconnects;Markus Friedl
report mpf@; ok dtucker@
2006-06-01Display line number in the mg statusbar. Yes, it seems like a fuglyKjell Wooding
way to do it, but all the clever and pretty ways utterly failed. Basic use seems fine. We'll turdshine the special cases later. If it bothers you, use M-x line-number-mode, or put same in your ~/.mg file to disable. ok cloder, jason
2006-06-01tidy up the "tao" section;Jason McIntyre
diff from deraadt or mjc, i'm not sure; tweaks by me ok deraadt
2006-06-01minor tweaksTheo de Raadt
2006-06-01add checks for disc size before we set out trying to burn 4gbMichael Coulter
onto an unsuspecting cdr
2006-06-01better command line usage as suggested by deraadt@Michael Coulter
ok @deraadt
2006-06-01fix styleKjell Wooding
2006-06-01make // /~ path rewriting optional in adjustname() and use it everywhereJason Wright
except for the command line specified files. ok kjell,cloder
2006-06-01Initialize current window, and clear the readonly flag earlier in fileKjell Wooding
read process. This allows code in the autoexec path (i.e. ~/.mg) to operate on the buffer, making ~/.mg files much more useful.
2006-06-01Make transpose (c-T) undoable.Kjell Wooding
There is still a bug here, but it lies in undo (cursor position when undo wraps the undo list), and is purely cosmetic for now.
2006-06-01find-file-other-window and find-buffer-other-window should splitKjell Wooding
the window if you ask for whatever file you are currently visiting. pointed out, ok beck@
2006-06-01Cleanup, and a new one from Aleksander Piotrowski:Kjell Wooding
"cache aliasing is a problem that would have stopped in 1992 if someone had killed about 5 people who worked at Sun."
2006-05-31when adding a new file that already exists set the previousJoris Vink
deltatext (the dead revision) to the correct rcs diff if the file was modified in any way.
2006-05-31bogus value in cdb. excess cut n' paste.Michael Coulter
2006-05-31add support for the export command.Joris Vink
export does exactly the same as checkout except it does not create any administrative (CVS/) directories.
2006-05-31support -p flag for diff, makes dlg@ feel all warmJoris Vink
and fuzzie inside.
2006-05-31better description for the volume commands; ok mjcJason McIntyre
2006-05-31have rcs_translate_tag translate branches too, whichJoris Vink
allows us to completely use branches for diffing, logging, updating, etc.. more branches support coming up!
2006-05-31be smarter when comparing 2 revisions to each other.Joris Vink
2006-05-31tweaks;Jason McIntyre
2006-05-31add license blockMichael Coulter
spotted by Dries Schellekens
2006-05-31set diff_rev2 to file_rcsrev when we are usingJoris Vink
the file we have on disk as the second thing to diff to. fixes some output issues.
2006-05-31dont check for FILE_UNKNOWN twice,Joris Vink
noticed by xsa@
2006-05-31don't spin if the tty (think ucom) goes awayJason Wright
2006-05-31when blanking, if fd is already open read-only, re-open read/writeMichael Coulter
2006-05-31allow commit to ressurect added files that exist in Attic/Joris Vink
2006-05-31add rewritable blanking and track-at-once burning supportMichael Coulter
ok deraadt@
2006-05-30fix diff -rrevision usageJoris Vink
2006-05-30only look into the Attic for certain commandsJoris Vink
2006-05-30correctly handle unknown file in removeJoris Vink
2006-05-30ugh forgot to change cvs_file_classify here too.Joris Vink
i dont deserve beers tonight.
2006-05-30change cvs_file_classify here to, forgot to commit thisJoris Vink
when i changed its arguments in the last commit.
2006-05-30fill in the correct revision number we will want in file_rcsrevJoris Vink
for each cvs_file struct, this will help us with sticky tags, commiting to branches and importing into existing repositories.
2006-05-30prettier output when removing files;Joris Vink