summaryrefslogtreecommitdiff
path: root/client
AgeCommit message (Collapse)Author
2018-06-26Doc: renamed progdoc files Doc -> progdoc to fix collision with doc/ folder ↵Maria Matejka
on case-insensitive filesystems
2017-12-07Merge commit '98bb80a243b58c43453e9be69d19d0350286549c' into int-newOndrej Zajicek (work)
2017-08-22Client: Fix includeOndrej Zajicek (work)
2017-05-23Merge branch 'master' into int-newOndrej Zajicek (work)
2017-05-23Client: Fix isspace() callsOndrej Zajicek (work)
Function isspace() expects to get *unsigned* chars (encoded as ints), not that it matters for plain ASCII.
2017-05-16Client: manipulate history only if interactiveJan Moskyto Matejka
2017-05-16Bird readline client saves its history.Jan Moskyto Matejka
2016-11-08Merge branch 'master' into int-newOndrej Zajicek (work)
2016-11-08Merge tag 'v1.6.2' into int-newOndrej Zajicek (work)
2016-11-01Build: switch on -Wextra, get rid of most of the warningsJan Moskyto Matejka
There are several unresolved -Wmissing-field-initializers on older versions of GCC than 5.1, all of them false positive.
2016-09-15Add stdlib.h to client/commands.cPavel Tvrdik
2016-06-27cppcheck: fix va_end() functionsPavel Tvrdík
2016-06-09Client: Includes stdlib.h for malloc()Pavel Tvrdik
2016-05-12Merge branch 'master' into int-newOndrej Zajicek (work)
2016-05-12We don't need bvsnprintf() in BIRD clientOndrej Zajicek (work)
2016-05-12Merge remote-tracking branch 'origin/master' into int-newOndrej Zajicek (work)
2016-05-12Miscellaneous minor fixesOndrej Zajicek (work)
2016-05-10Build system reworked to one global Makefile with includes and no nestingJan Moskyto Matejka
Also removed the lib-dir merging with sysdep. Updated #include's accordingly. Fixed make doc on recent Debian together with moving generated doc into objdir. Moved Makefile.in into root dir Retired all.o and birdlib.a Linking the final binaries directly from all the .o files.
2016-04-07Main: Add local optionOndrej Zajicek (work)
Add option that changes default paths for config file and control socket to the current working directory.
2015-10-05Major RIP redesignOndrej Zajicek (work)
The new RIP implementation fixes plenty of old bugs and also adds support for many new features: ECMP support, link state support, BFD support, configurable split horizon and more. Most options are now per-interface.
2015-06-08unsigned [int] -> uintPavel Tvrdík
2015-02-21Add const to a param msg at functions log_msg, log_rl, die, bug and debugPavel Tvrdik
2014-05-18IPv4/IPv6 integrated socket code.Ondrej Zajicek
2014-03-31Removes conflicting definition.Ondrej Zajicek
This function is a part of Readline interface for a long time (with a different type).
2013-11-25Allows shorthands for birdc noninteractive commands.Ondrej Zajicek
2013-11-20Fixes some potential issues with invalid term size in clients.Ondrej Zajicek
2013-04-23Restructures birdc and birdcl to merge duplicated code.Ondrej Zajicek
The BIRD client code is restructured that most of the code (including main function) is shared in client.c, while birdc.c and birdcl.c contain just I/O-specific callbacks. This removes all duplicated code from variant-specific files.
2013-04-19Removes unnecessary client subdirectories and updates buildsystem.Ondrej Zajicek
Renames some files: birdc/client.c -> birdc.c birdcl/client.c -> birdcl.c client_common.c -> common.c
2013-04-06Fix birdcl async message handlingTomas Hlavacek
Fix handling of async messafe in the bird light client. The async message may occure at the any moment so we need the client to liste for the message from server when it waits for user input.
2013-03-19Fix birdcl questionmark handlingTomas Hlavacek
Fix handling of questionmark handling in the bird light client. The questionmark should display help when it is the last non-blank character on command line. Otherwise the questionmark does not have any special meaning and it could be a part of a pattern.
2013-03-19Add lightweight client - birdclTomas Hlavacek
Restructure client/ subdir. Add two different flavors of client. The full featured birdc client code is in client/birdc/. The new light client birtcl is in client/birdcl/. Common sources of both clients are directly in client/. Rework on-line auto-completion in client/command.c to conditionally turn off ncurses-specific code. Add lightweight client without libreadline and ncurses dependencies - birdcl. The birdcl lacks support of history, on-line auto-completion and there are different implementations of "more" functionality and help on '?' press. New client operates in canonical terminal mode (apart from "more" display) and therefore all commands have to be executed by a return key including help commands (called by '?' character in the end of the line). Apart from these limitations the interaction style should be the same as for the full client - birdc. Build of birdcl is always on (independent on --enable-client parameter).
2013-03-19Pull out independent routines from client_full.cTomas Hlavacek
Pull out routines for interacting with the server and interpreting internal commands which are not dependent on libreadline and ncurses libraries. This is a preparation step for a new lightweight birdc client.
2013-03-19Rename client/client.c to client_full.cTomas Hlavacek
Rename client/client.c to client-full.c and change the Makefile accordingly. This is a preparation step for introducing a new lightweight client which should reuse as much code as possible from the old one but it should not depend on external libraries. Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
2013-02-12Allow submitting BIRD commands from UNIX shell even in restricted mode.Ondrej Filip
2012-05-04History deduplication in birdc.Ondrej Zajicek
2012-03-22Some minor changes to CLI.Ondrej Zajicek
2010-12-13Fixes string handling in birdc.Ondrej Zajicek
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2010-02-21Restricted read-only CLI.Ondrej Zajicek
Also adds support for executing commands using birdc <cmd>.
2009-08-12Count number of lines (and not messages) in 'more'.Ondrej Zajicek
2009-07-15Implements 'more' feature to birdc.Ondrej Zajicek
Also does some code restructuring.
2009-03-14New syntax for bgp_pathOndrej Zajicek
2009-02-12Do not use ? for client-side help when in new BGP path syntaxOndrej Zajicek
2008-11-21I am not sure whether this is proper fix for a problem that birdcOndrej Zajicek
shows only parts of larger outputs (for example 'show route all'). It seems that birdc reads (from bird) and writes (to stdout) everything but during execution of some readline code some already written output disappeared (although it is fflush()ed and tcdrain()ed). As birdc reads from stdin when select said there are some data, O_NONBLOCK for stdin is unnecessary and when it is removed, i didn't notified this problem.
2008-11-21birdc died during terminal resize because of unhandled EINTROndrej Zajicek
in select loop.
2008-10-26Check of socket name lengthOndrej Zajicek
2008-08-25Previous patch reverted. :-(Ondrej Filip
2008-08-25Buffer overflow fix.Ondrej Filip
2004-06-05Unused parameters in the client.Martin Mares
2004-05-31Need <termios.h> for tcdrain().Martin Mares