summaryrefslogtreecommitdiff
path: root/src/fe-text
AgeCommit message (Collapse)Author
2015-04-17Merge pull request #199 from ailin-nemui/config-parserAlexander Færøy
Make config parser more robust
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2015-03-01Merge pull request #217 from Lohhari/lastlog-dateAlexander Færøy
Added a -date parameter to /lastlog to prepend each row with the ...
2015-02-17fix crash in layout code when encountering wrong configAilin Nemui
2015-02-17Refuse to load broken configs on irssi startAilin Nemui
By temporarily raising the fatal log level to critical during irssi start-up, we make it fail when the config file is broken. This is then re-set so that /reload of a broken config file will not crash irssi and just report the errors and gracefully continue instead.
2015-02-17add CONFIG_REC to config_node_section* APIsAilin Nemui
this adds the CONFIG_REC * to the config_node_section and config_node_section_index APIs as they will require access to the config cache later on to make the config parser more robust.
2015-02-16Merge pull request #115 from ailin-nemui/fix-hat-keyAlexander Færøy
Make ^ key and Ctrl+^ key usable with /BIND
2015-02-16lastlog.c is a mix of tab and space indentation. My changes now use tabs.Vesa Pirila
2015-02-08Added customization possibility for the lastlog date format, lastlog_dateVesa Pirila
2015-02-08Added a -date parameter to /lastlog to prepend each row with the row's dateVesa Pirila
2014-12-14Fix blinking/bold text in terminals with no color supportdequis
Before this, doing "TERM=vt100 irssi" showed all text as bold and blinking because of a failed check of window->term->TI_colors that was doing (value & 8) and not expecting a value of 0. The changed lines themselves look a bit weird, but they make more sense in the context of the original commit, 96a292d4.
2014-11-08typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-08-25Add the signal for printtext_after that was missed in the original commit.Ailin Nemui
Now properly sends "gui print text after finished" signal when using the printtext_after API that was fixed after 0.8.16
2014-08-09Merge pull request #123 from ailin-nemui/terminfo-scroll-check-boundsAlexander Færøy
Add bounds check to array access in terminfo driver.
2014-08-09Add bounds check to array access in terminfo driver.Ailin Nemui
this fixes a crash due to illegal memory access that can occur if something is printed to the screen on the "terminal resized" handler. It is not clear to me whether this race condition can be triggered by external incoming messages, but it might be better safe than sorry.
2014-08-08Merge pull request #109 from cpbills/mastertomaw
Fix right aligned statusbar item redrawing
2014-07-31fix mirc_blink_fixAilin Nemui
the background colours were totally off with mirc_blink_fix enabled. oops. reported by wodim
2014-07-28Modify escape of ^ key so it can be used as well as Ctrl+^Ailin Nemui
Fixes FS#721 This makes Ctrl+^ and ^ bindable again as different keys. We do this by escaping single `^` as `^-`, which is not a valid control character (unlike `^^`) The original approach suggested in FS#721 is insufficient, it will break bindings such as `meta-^` because Irssi is convinced that `^` introduces a Control-key ("key combo") so it is waiting for what may follow.
2014-07-24fix colour 0 againAilin Nemui
the previous commit was broken, as it conflicted with the colour \#000000. Now both the "real colour black" and the "terminal colour 0" are working.
2014-07-23restore the colour 0 ("black") that got broken by extended coloursAilin Nemui
the colour 0 was broken by the extended colours patch because it needs an explicit bit check (lower bits will be false since it is 0) Thanks to lhynes for the report
2014-07-22Fix right aligned statusbar item redrawingChristopher P. Bills
Fixes Github issue #97 https://github.com/irssi/irssi/issues/97 Fix proposed by ailin-nemui, built and tested on Debian Jessie using 0.8.15 source, tested by GeertHauwaerts as well.
2014-07-18fix uninitialised copy on 24bit coloursAilin Nemui
2014-07-08Suggest /HELP rather than HELPDavid Leadbeater
At this point cmdchars is definitely / and the user might not know they need to add / to a command.
2014-07-08Change to printtext for first time message tooDavid Leadbeater
2014-07-08Only show banner if not connecting to serversDavid Leadbeater
It's tricky to make the banner show first in all cases and it's unlikely to be seen if someone is connecting to a server already, so just don't show it.
2014-07-07add italics support; don't use standout for reverseLukas Mai
2014-07-06Fixed a compiler warning for statusbar_redrawGeert Hauwaerts
Fixed a compiler warning for statusbar_redraw.
2014-07-06Merge pull request #85 from dgl/werrorAlexander Færøy
Make configure checks able to build with -Werror
2014-07-06Updated the startup banner + added generic bannerGeert Hauwaerts
I updated the banner displayed when you start Irssi for the first time and I have added a banner that will be displayed everytime you start Irssi.
2014-07-06Make configure checks able to build with -WerrorDavid Leadbeater
Also fix a few compiler warnings, this combined with pull #82 allows me to build with CFLAGS="-Werror -Wall".
2014-07-04fix compiler warnings in extended colour codeAilin Nemui
2014-06-30Finish 256 colour support for IrssiAilin Nemui
256 colour patch is cleaned up and the remaining cases are made work, this includes especially Theme support, which was not implemented before. Changes not related to colours were reverted again, making a review of the two patches against master easier to follow. As a byproduct of the Hex-colour code parser, the 24bit colours are also implemented. Actually using them in the terminal is guarded by a compile time switch (as well as a run time switch), as it breaks the existing colour protocol and requires additional storage. To make a seamless usage, down-conversion is provided for 8 and 16 colours. Diverging from Tom's approach, the colour protocol is reverted back to the original one. Unfortunately, the changes required in the Theme engine will break the API. For more details, please refer to the patch documentation at either http://irssi-docs.wikispaces.com/Notes-256-Colour or https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour
2014-06-30Initial implementation of 256 colour support for IrssiTom Feist
This patch implements some 256 colour support for Irssi up from the previous 16 colours. Initial parsing of the %x/%X format codes is implemented and the parser accounts in advances the char* for that. The colour attributes are widened from 4 to 8 bit. The colour protocol is changed to a new format. Some pointers to remaining work are written in the comment in textbuffer.h. Note that Irssi already does support requesting 256 colours from the terminal in the original source code, so this part did not have to be touched.
2014-06-30Merge pull request #11 from ailin-nemui/print_text_after_time-apiAlexander Færøy
add print_text_after_time to specify time stamp for lines
2014-06-27add print_text_after_time to specify time stamp for linesAilin Nemui
add signal for line removal from textbuffer
2014-06-27s/INCLUDES/AM_CPPFLAGS/gDave Reisner
Silences warnings on recent automake such as: src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-18Fix UTF-8 character corruption every 32kb of text bufferKuang-che Wu
2014-06-15g_strcasecmp -> g_ascii_strcasecmpDavid Hill
2014-06-11fix print_after scrollbackAilin Nemui
2012-06-24Fix crash in mainwindows_resize_smaller when the 'mainwindows' list is empty.Emanuele Giaquinta
The crash can happen if the terminal height decreases before the first window is created. Based on a patch by Jaroslav Škarvada (red hat bug #796457). git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04Add missing includes to shut the compiler up.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03deprecated glib strup/down fixes from exg.Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27Irssi now detects a paste if it reads at least three bytes in a single read;Alexander Færøy
subsequent reads are associated to the same paste if they happen before 'paste_detect_time' time since the last read. If no read occurs after 'paste_detect_time' time the paste buffer is flushed; if there is at least one complete line its content is sent as a paste, otherwise it is processed normally. Thanks to Emanuele Giaquinta. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-05-22Allow ctrl+home/ctrl+end to go to the beginning/end of scrollback.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-01Remove unused variables.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-27Check for SIGCONT using a custom GSource instead of every 0.5 second.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21Reject invalid level specifications in /set.Jilles Tjoelker
Most of these have names that end in "_level". git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-18Replace invalid utf-8 bytes with U+FFFD when drawing a line.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4995 dbcabf3a-b0e7-0310-adc4-f8d773084564