summaryrefslogtreecommitdiff
path: root/libcons/priv.h
AgeCommit message (Collapse)Author
2005-07-112005-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>Marcus Brinkmann
* priv.h (_cons_file): Prototype moved and renamed to... * cons.h (cons_file): ... this. * init-init.c (cons_init): Updated `_cons_file' reference. * opts-std-startup.c (_cons_file): Renamed into `cons_file'. Updated reference.
2005-01-062005-01-06 Marco Gerards <metgerards@student.han.nl>Marco Gerards
* Makefile (SRCS): Add `vcons-move-mouse.c' and `vcons-event.c'. * cons.h (mouse_movement): New enum. (mouse_button): Likewise. (mouse_event): New struct. (mouse_event_t): New type. (cons_vcons_set_mousecursor_pos): New prototype. (cons_vcons_set_mousecursor_status): Likewise. (cons_vcons_move_mouse): Likewise. * file-changed.c (cons_S_file_changed): Generate the `CONS_EVT_OUTPUT' event, in case there was output. * opts-std-startup.c (OPT_MOUSE_SHOW, OPT_MOUSE_HIDE) (OPT_MOUSE_SENS, DEFAULT_MOUSE_SENS, DEFAULT_MOUSE_SENS_STRING): New macros. (_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New variables. (startup_options): Add the options `--mouse-show-on', `--mouse-hide-on' and `--mouse-sensitivity'. (parse_startup_opt): Parse the options that were added to `startup_options' using the new local function `parse_events'. * priv.h (CONS_EVT_MOUSE_MOVE, CONS_EVT_MOUSE_BUTTON) (CONS_EVT_KEYPRESS, CONS_EVT_OUTPUT): New macros. (_cons_show_mouse, _cons_hide_mouse, _cons_mouse_sens): New declarations. (_cons_vcons_input): New prototype. (_cons_vcons_console_event): Likewise. * vcons-event.c: New file. * vcons-move-mouse.c: Likewise. * vcons-input.c (_cons_vcons_input): New function. (cons_vcons_input): Rewritten to use _cons_vcons_input and report the `CONS_EVT_KEYPRESS' event. * vcons-refresh.c: Include "priv.h". (cons_vcons_refresh): Report the `CONS_EVT_OUTPUT' event. * vcons-scrollback.c: Include "priv.h". (cons_vcons_scrollback): Report the `CONS_EVT_OUTPUT' event.
2003-08-022003-08-01 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* opts-std-startup.c: Include <string.h>. (OPT_VISUAL_BELL): New macro. (OPT_AUDIBLE_BELL): Likewise. (_cons_visual_bell): New variable. (_cons_audible_bell): Likewise. (startup_options): Added options "--visual-bell" and "--audible-bell" ... (parse_startup_opt): ...and parse those new options here. * priv.h (bell_type_t): New enumeration. (_cons_visual_bell): New external variable. (_cons_audible_bell): Likewise. * file-changed.c (cons_S_file_changed): Use the right bell.
2002-09-13Sneak in a change without ChangeLog entry: Replace all _at_ in previousMarcus Brinkmann
change with _on_.
2002-09-132002-09-14 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (SRCS): Add vcons-input.c. * vcons-input.c: New file. * vcons-scrollback.c (_cons_vcons_scrollback): New function. (cons_vcons_scrollback): Reimplement in terms of _cons_vcons_scrollback. * cons.h (cons_scroll_t): New type. (cons_vcons_scrollback): Update prototype. * priv.h (_cons_jump_down_at_input): New extern. (_cons_jump_down_at_output): Likewise. (_cons_vcons_scrollback): New prototype. * opts-std-startup.c (OPT_JUMP_DOWN_AT_INPUT): New macro. (OPT_JUMP_DOWN_AT_OUTPUT): Likewise. (_cons_jump_down_at_input): New variable. (_cons_jump_down_at_output): Likewise. (startup_options): Add new options --jump-down-at-input and --jump-down-at-output. (parse_startup_opt): Handle these new options. * file-changed.c (cons_S_file_changed): Support the jump down at output option.
2002-08-22libcons/Marcus Brinkmann
2002-08-22 Marcus Brinkmann <marcus@gnu.org> * demuxer.c, init-init.c, init-loop.c, opts-version.c, extra-version.c, dir-changed.c, file-changed.c, opts-std-startup.c, cons-lookup.c, cons-switch.c, vcons-remove.c, vcons-add.c, vcons-open.c, vcons-close.c, vcons-refresh.c, priv.h, mutations.h, cons.h: New files.