summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-06-04- initialise path pointers to NULL since error code checks for that.Niall O'Higgins
2006-06-04sync exit status bits with reality.Xavier Santolaria
2006-06-04- explicitly set some pointers to NULL since they are tested on error.Niall O'Higgins
2006-06-04fix output if file is lost, unknown, or in the Attic; OK joris@.Xavier Santolaria
2006-06-04lets not stop looking for a branch if the first oneJoris Vink
on the branches list does not match the one we are looking for, it might be further down.
2006-06-04sprinkle -n voodoo over the add, commit and import commands.Joris Vink
2006-06-04- we can just use the 'sizdiff' variable instead of calling strlen(expbuf);Niall O'Higgins
simplifies things a little.
2006-06-04- ensure fin pointer is not invalidated after reallocNiall O'Higgins
2006-06-04- don't forget to free data in rcs_expand_keywords()Niall O'Higgins
2006-06-04- fix off-by-one in rcs_expand_keywords()Niall O'Higgins
2006-06-03add support for update -A and update -r<rev>.Joris Vink
hacking on the plane from toronto to barbados. i will probably hack some more since im stuck in barbados for 12 lovely hours over night cause the carribean airlines dont understand the meaning over 'more than one flight a day'.
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
"slap it in" joris@
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.