source: fmtext.c

Revision Log Mode:


Legend:

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