about summary refs log tree commit diff stats
path: root/src/ui/core.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'savar/dynamic_input_block'James Booth2015-01-121-3/+32
|\
| * adding preference option for dynamic input blockingSimon Effenberg2015-01-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /inpblock is now having subcommands 'timeout' and 'dynamic' with: /inpblock timeout <milliseconds> and /inpblock dynamic <on|off> Defaults are: /inpblock timeout 500 /inpblock dynamic on To get the old behavior specify: /inpblock timeout 20 /inpblock dynamic off The dynamic mode will block incrementally after something should be written to the window or after a key was pressed. So pressing a key would set the timeout to 0ms and after 10 timeouts to the next bigger one. Example (with dynamic mode on): "/inpblock timeout 50" timeout series: 10x 0ms 10x 10ms (0ms + 10 times since last keypress) 10x 30ms (10ms + 20 times since last keypress) *x50ms until next key was pressed or
| * trying to block (and save cpu power) more dynamicallySimon Effenberg2015-01-121-3/+27
|/ | | | | | | | | instead of blocking too long if inpblock is set to something like 500ms the input timeout is not set directly to inpblock but is increasing dynamically from 0 to inpblock by a little algorithm FIXME: the call from the win_* method to the ui_input_* method looks wrong.. this causes a cross reference which shouldn't be
* Merge remote-tracking branch 'incertia/exit-title'James Booth2015-01-121-0/+7
|\ | | | | | | | | | | | | Conflicts: src/command/command.c src/config/preferences.c src/config/preferences.h
| * Merge remote-tracking branch 'upstream/master' into exit-titleWill Song2015-01-031-5/+7
| |\
| * | fix tests (hopefully) and use /bin/echo to avoid use of builtin shell commandsWill Song2015-01-021-1/+2
| | |
| * | now using system("echo -ne ...") to print titleWill Song2015-01-011-1/+1
| | |
| * | set a nice title (instead of empty) on shutdownWill Song2014-12-291-0/+6
| | |
* | | Renamed titlebar preferenceJames Booth2015-01-121-1/+1
| | |
* | | Only show UI events for chat states when in sessionJames Booth2015-01-111-17/+28
| | |
* | | Added remaining chat statesJames Booth2015-01-111-1/+51
| | |
* | | Added resource override for chat sessionsJames Booth2015-01-101-2/+0
| | |
* | | Added preferences for showing resource in titlebar and messagesJames Booth2015-01-101-2/+2
| | |
* | | Show resource in titlebar and on each messageJames Booth2015-01-101-11/+16
| | |
* | | Renamed resource -> resource_overrideJames Booth2015-01-101-1/+1
| | |
* | | Removed chat states from chat_session module, WIPJames Booth2015-01-081-6/+2
| | |
* | | Log instead of showing error message when chat recipient not foundJames Booth2015-01-061-19/+0
| | |
* | | Added removal of chat sessions, only send gone when messages have been exchangedJames Booth2015-01-051-1/+0
| | |
* | | Create chat session when no resourceJames Booth2015-01-051-0/+1
| | |
* | | Refactored chat session handling on sending messageJames Booth2015-01-041-2/+6
| |/ |/|
* | Use /bin/echo for terminal window titleJames Booth2015-01-031-3/+3
| |
* | Changed logging for writing to terminal window titleJames Booth2015-01-011-1/+1
| |
* | Use system command to print window titleJames Booth2014-12-311-5/+7
|/
* Merge remote-tracking branch 'savar/master'James Booth2014-12-291-1/+1
|\
| * fix idle calculation if not using LIBXSSSimon Effenberg2014-12-231-1/+1
| | | | | | | | | | | | the inp_get_char was never returning ERR even without getting any input so the idle timeout stuff was wasting CPU and wasn't working if LIBXSS wasn't used.
* | Use events for chat sessionsJames Booth2014-12-291-21/+4
| |
* | Moved chat_session_set_sent from message.c moduleJames Booth2014-12-291-0/+2
| |
* | Removed function pointersJames Booth2014-12-221-427/+281
| |
* | Removed ui_current_set_otrJames Booth2014-12-221-11/+0
| |
* | Removed ui_close_currentJames Booth2014-12-221-12/+0
| |
* | Removed functions from windows.cJames Booth2014-12-221-27/+37
| |
* | Removed functions from window.cJames Booth2014-12-221-5/+8
|/
* Moved unread to window subtypesJames Booth2014-12-211-12/+7
|
* Added win_get_titleJames Booth2014-12-211-30/+10
|
* Use class instead of base pointerJames Booth2014-12-211-82/+91
|
* Removed TODOsJames Booth2014-12-201-5/+0
|
* Fixed testsJames Booth2014-12-201-0/+7
|
* Refactored all window recipients and typesJames Booth2014-12-201-317/+332
| | | | Tests need fixing
* Refactoring window types, removing recipient and from references - wipJames Booth2014-12-181-251/+145
|
* Added occupantswin.cJames Booth2014-12-161-102/+2
|
* Moved roster functionsJames Booth2014-12-161-122/+7
|
* Added rosterwin.cJames Booth2014-12-161-51/+5
|
* Tidied subwin pagingJames Booth2014-12-161-9/+4
|
* Added new window and layout typesJames Booth2014-12-161-116/+137
|
* Added window specific creation functionsJames Booth2014-12-151-13/+11
|
* Subscription handler uses wins_new_chatJames Booth2014-12-111-9/+5
|
* Added win create functions for chat and private chatJames Booth2014-12-101-2/+2
|
* Split private message handling to separate functionsJames Booth2014-12-101-23/+79
|
* Removed unused argument from _wins_show_historyJames Booth2014-12-101-8/+7
|
* Renamed chat_resource -> resourceJames Booth2014-12-101-1/+1
|