source: fmtext.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @d427f08   10 years nelhage Use G_GNUC_WARN_UNUSED_RESULT Have gcc warn us when we ignore the ... release-1.8release-1.9
(edit) @7b4f3be   10 years davidben Punt owl_global_hascolors There's not much point as we're hardly ... release-1.8release-1.9
(edit) @9efa5bd   10 years davidben Clamp the number of color pairs to 256 without ext-color Debian ... release-1.8release-1.9
(edit) @4479497   10 years andersk Use G_GNUC_PRINTF to get type-checking on our format strings The ... release-1.8release-1.9
(edit) @cb6c9e1   10 years davidben Apply default attributes after processing commands Otherwise we reset ... release-1.8release-1.9
(edit) @237d02c   10 years davidben Remove default_{attrs,fgcolor,bgcolor} from owl_fmtext They didn't ... release-1.8release-1.9
(edit) @7659079   10 years davidben Don't precompute UTF-8 encodings of format characters GString can ... release-1.8release-1.9
(edit) @1137802   10 years davidben Kill owl_fmtext_set_char This function is a little disturbing and, ... release-1.8release-1.9
(edit) @ddbbcffa   10 years andersk Replace owl_free with g_free. Signed-off-by: Anders Kaseorg ... release-1.8release-1.9
(edit) @96828e4   10 years andersk Replace owl_malloc with g_new and g_new0. Signed-off-by: Anders ... release-1.8release-1.9
(edit) @099597c   11 years davidben Don't reset colorpairs in the middle of drawing Resetting colorpairs ... release-1.8release-1.9
(edit) @e062f97   11 years davidben Refactor some common code in colorpair_mgr Reviewed-by: Alejandro R. ... release-1.8release-1.9
(edit) @7e111f4   11 years davidben Replace owl_fmtext's buffer management with GString reallocs are ... release-1.8release-1.9
(edit) @d3c318b   11 years davidben Don't stick random NULs when waddnstr exists release-1.8release-1.9
(edit) @7ba2ad4   11 years davidben Implement owl_fmtext_line_extents and add test case release-1.7release-1.8release-1.9
(edit) @f7456bc   11 years davidben Add owl_fmtext_line_number and test. release-1.7release-1.8release-1.9
(edit) @449c682   11 years davidben Honor the do_search argument to _owl_fmtext_curs_waddstr It hasn't ... release-1.7release-1.8release-1.9
(edit) @72f613a   11 years davidben Make owl_fmtext_search take and return an offset release-1.7release-1.8release-1.9
(edit) @e0022d2   11 years davidben Expand tabs first in owl_fmtext_truncate_cols Although the previous ... release-1.7release-1.8release-1.9
(edit) @30da473   11 years davidben Expand tabs before applying OWL_TAB This is a partial fix to #90. ... release-1.7release-1.8release-1.9
(edit) @2b83ad6   11 years davidben Add owl_fmtext_expand_tabs with test case release-1.7release-1.8release-1.9
(edit) @c93b8b5   11 years davidben Consider format characters in owl_fmtext_num_lines This fixes the ... release-1.7release-1.8release-1.9
(edit) @e0e0e5a   11 years davidben Make _owl_fmtext_append_fmtext take a half-open range Inclusive on ... release-1.7release-1.8release-1.9
(edit) @6772d19   11 years davidben Add a test case for owl_fmtext with two failures When appending text, ... release-1.7release-1.8release-1.9
(edit) @423adcb   11 years andersk owl_fmtext_get_colorpair: Remove unused variable default_bg. ... release-1.6release-1.7release-1.8release-1.9
(edit) @7ab0020   11 years andersk Rename owl_fmtext_free to owl_fmtext_cleanup. Signed-off-by: Anders ... release-1.6release-1.7release-1.8release-1.9
(edit) @1a01720   11 years andersk owl_fmtext_appendf_normal: Don’t leak the formatted string to append. ... release-1.6release-1.7release-1.8release-1.9
(edit) @18fb86ee   11 years andersk _owl_fmtext_curs_waddstr: Quash an uninitialized variable warning. ... release-1.6release-1.7release-1.8release-1.9
(edit) @e9c6fc8   12 years andersk Replace /* noproto */ comments with static. Signed-off-by: Anders ... release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1ee5c79   12 years geofft owl_util_string_to_color returns OWL_COLOR_INVALID when it is sad ... release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6c171f1   12 years andersk Use g_unichar_to_utf8 in a way that doesn’t require memset. ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @0ed5c57   12 years andersk Don’t loop infinitely on matching the empty string. This fixes a hang ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @f119757   12 years andersk g_utf8_next_char can’t return NULL; remove redundant checks. ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @39cff48   12 years kcr Spread the background color across the right hand side of messages ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c79a047   12 years andersk Correctly prototype functions with no parameters as foo(void), not ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @fb2f9ab   12 years andersk owl_fmtext_truncate_cols: Remove stray asterisks from comment. ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @dd6af02   12 years asedeno Revert 7b4d90e... and just fix #51 owl_fmtext_truncate_cols once ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @7b4d90e   12 years davidben Handle missing newline in owl_fmtext_truncate_cols Fixes #51. Also ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @89b2daf   12 years andersk Add const qualifiers for owl_regex *. Signed-off-by: Anders Kaseorg ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @77bced3   12 years andersk Add const qualifiers for owl_list *. Signed-off-by: Anders Kaseorg ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @075ba92   12 years andersk Add const qualifiers for owl_fmtext *. Signed-off-by: Anders Kaseorg ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @e19eb97   12 years andersk Add const qualifiers for char * and void *. Signed-off-by: Anders ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @65b2173   12 years andersk Split up declarations for adding const qualifiers for char * and void ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @41c9a96   12 years andersk Reimplement search in terms of owl_regex. The current implementation ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @4d86e06   12 years andersk Get rid of a whole bunch of useless casts. Signed-off-by: Anders ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @d43edd2   12 years andersk Death to RCS keywords. Signed-off-by: Anders Kaseorg <andersk@mit.edu> release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1490327   12 years nelhage fmtext.c: Add owl_fmtext_appendf_normal. debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @db1af5fa   13 years asedeno Fix a bug rendering multi-byte characters in the last column of the ... debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @2aaca94   13 years andersk Make format_fn accept a char * instead of a void *. debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6f6330b   14 years asedeno * fix a typo in OWL_FMTEXT_UTF8_BGDEFAULT * fix a parsing issue for ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @99219ed   14 years asedeno Merged revisions 924-927 via svnmerge from ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @005fc22   14 years asedeno bufflen should be initialized on copy. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @ee310eb   14 years asedeno Merged revisions 909-923 via svnmerge from ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @af1920fd   14 years asedeno Portability - removing C++ style comments. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1b737a1   14 years asedeno Bounds checking. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c55ad84   14 years asedeno * fix a typo that was causing background problems * pass defaults ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c1522ec   14 years asedeno Eliminating a warning by un-internalizing a new fmtext function. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @16c6cca   14 years asedeno Preserve colors when highlighting search terms. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6d77f1f   14 years asedeno removing some debugging code I left in accidentally. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @3a7cf49   14 years asedeno * Rework some logic in fmtext's column truncating code. * fix what ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @987a93c   14 years asedeno Fix search code so higlighting actually works. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @47519e1b   14 years asedeno text entry: * first pass at utf-8 text entry. This is not yet ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @5376a95   14 years asedeno First pass at incoming zephyr -> UTF-8 sanitizing. This only operates ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @9866c3a   14 years asedeno Reworked the fmtext format to use in-line formatting. Characters used ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @dd24b6a   14 years asedeno * include wchar.h * replace hand-rolled width detection with wcswidth. ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @28ee32b   14 years asedeno UTF-8 - first pass unicode changes: * remove downstr() from text.c, ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @fa3290d   14 years asedeno Do not initialize the colorpair manager array if we don't have colors. ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @d754b0a   14 years asedeno Fix a bug reported by ike (among others) about colors leaking past ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c2c5c77   14 years asedeno Adding 256-color support. This requires a version of ncurses that ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @a387d12e   14 years nelhage Implementing an LRU cache of the message list fmtexts. This reduces ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @801b7ac   15 years asedeno functions.c: tweak owl_function_calculate_topmsg_normal to not suck as ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @0331c8f   15 years asedeno Further simplifications. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @eeeef20   15 years asedeno Fully resetting the colorpair manager with its reset function to fix a ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1bdffcb   15 years asedeno owl.h - moved curses.h back up so building on Solaris would work. ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @acee046   15 years nelhage tabs must die. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @8fa9562   15 years asedeno Added background color support to owl. If we run out of color pairs ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @a0a5179   18 years kretch blist works for AIM even if the zephyr .anyone can't be read AIM Buddy ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @252a5c2   18 years kretch Print an admin message indicating when subscriptions can not be ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @12c35df   18 years kretch Fixed replies to loopback messages Fixed smartnarrow on ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @bd3f232   18 years kretch Styles implemented It's still a little buggy ... if a format_msg(); is ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6bf73ce   18 years kretch Fixed a bug in fmtext barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @b2b0773   18 years kretch Changes to help build on OSX barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @d559df9   18 years kretch AIM messages now go through format_msg() in .owlconf if it exists. ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @5789230   18 years kretch 'isloginout' and 'isprivate' are now message attributes improved ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @f2f9314   18 years kretch Added some defenses against resize crashes, and put in debug ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @af2ca19   19 years kretch Fixed memory leak and buffer overrun in fmtext barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @4b464a4   19 years kretch Messages now have a direciton (in, out or none). Filters can ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1fd0b25   19 years kretch Added the 'search' command. '/' is a keybinding for 'search' '?' is a ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @e1c4636   19 years nygren * Added owl::send_zwrite(command, message) to the perl glue ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1aee7d9   19 years nygren * Added RCS Id strings to all files. * 'show keymaps' shows details of ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(add) @7d4fbcd   19 years kretch Initial check in barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Note: See TracRevisionLog for help on using the revision log.