source: fmtext.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @f271129   6 years jgross Fix up headers The additions to owl.h and some of the removals were ... release-1.9
(edit) @7abfcf2   6 years davidben Use wbkgrndset instead of wbkgdset in _owl_fmtext_wcolor_set This ... release-1.9
(edit) @d8f22b6   6 years davidben Don't leak @commands we don't understand That code seriously needs a ... release-1.9
(edit) @2560529   6 years davidben Consistently place function annotation at the beginning char ... release-1.8release-1.9
(edit) @ce68f23   6 years davidben Make owl_dict_get_keys return a GPtrArray Almost all the remaining ... release-1.8release-1.9
(edit) @6829afc   6 years davidben Define CALLER_OWN macro Replace our exising uses of ... release-1.8release-1.9
(edit) @d427f08   6 years nelhage Use G_GNUC_WARN_UNUSED_RESULT Have gcc warn us when we ignore the ... release-1.8release-1.9
(edit) @7b4f3be   6 years davidben Punt owl_global_hascolors There's not much point as we're hardly ... release-1.8release-1.9
(edit) @9efa5bd   6 years davidben Clamp the number of color pairs to 256 without ext-color Debian ... release-1.8release-1.9
(edit) @4479497   7 years andersk Use G_GNUC_PRINTF to get type-checking on our format strings The ... release-1.8release-1.9
(edit) @cb6c9e1   7 years davidben Apply default attributes after processing commands Otherwise we reset ... release-1.8release-1.9
(edit) @237d02c   7 years davidben Remove default_{attrs,fgcolor,bgcolor} from owl_fmtext They didn't ... release-1.8release-1.9
(edit) @7659079   7 years davidben Don't precompute UTF-8 encodings of format characters GString can ... release-1.8release-1.9
(edit) @1137802   7 years davidben Kill owl_fmtext_set_char This function is a little disturbing and, ... release-1.8release-1.9
(edit) @ddbbcffa   7 years andersk Replace owl_free with g_free. Signed-off-by: Anders Kaseorg ... release-1.8release-1.9
(edit) @96828e4   7 years andersk Replace owl_malloc with g_new and g_new0. Signed-off-by: Anders ... release-1.8release-1.9
(edit) @099597c   7 years davidben Don't reset colorpairs in the middle of drawing Resetting colorpairs ... release-1.8release-1.9
(edit) @e062f97   7 years davidben Refactor some common code in colorpair_mgr Reviewed-by: Alejandro R. ... release-1.8release-1.9
(edit) @7e111f4   7 years davidben Replace owl_fmtext's buffer management with GString reallocs are ... release-1.8release-1.9
(edit) @d3c318b   7 years davidben Don't stick random NULs when waddnstr exists release-1.8release-1.9
(edit) @7ba2ad4   7 years davidben Implement owl_fmtext_line_extents and add test case release-1.7release-1.8release-1.9
(edit) @f7456bc   7 years davidben Add owl_fmtext_line_number and test. release-1.7release-1.8release-1.9
(edit) @449c682   7 years davidben Honor the do_search argument to _owl_fmtext_curs_waddstr It hasn't ... release-1.7release-1.8release-1.9
(edit) @72f613a   7 years davidben Make owl_fmtext_search take and return an offset release-1.7release-1.8release-1.9
(edit) @e0022d2   7 years davidben Expand tabs first in owl_fmtext_truncate_cols Although the previous ... release-1.7release-1.8release-1.9
(edit) @30da473   7 years davidben Expand tabs before applying OWL_TAB This is a partial fix to #90. ... release-1.7release-1.8release-1.9
(edit) @2b83ad6   7 years davidben Add owl_fmtext_expand_tabs with test case release-1.7release-1.8release-1.9
(edit) @c93b8b5   7 years davidben Consider format characters in owl_fmtext_num_lines This fixes the ... release-1.7release-1.8release-1.9
(edit) @e0e0e5a   7 years davidben Make _owl_fmtext_append_fmtext take a half-open range Inclusive on ... release-1.7release-1.8release-1.9
(edit) @6772d19   7 years davidben Add a test case for owl_fmtext with two failures When appending text, ... release-1.7release-1.8release-1.9
(edit) @423adcb   8 years andersk owl_fmtext_get_colorpair: Remove unused variable default_bg. ... release-1.6release-1.7release-1.8release-1.9
(edit) @7ab0020   8 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   8 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   8 years andersk _owl_fmtext_curs_waddstr: Quash an uninitialized variable warning. ... release-1.6release-1.7release-1.8release-1.9
(edit) @e9c6fc8   8 years andersk Replace /* noproto */ comments with static. Signed-off-by: Anders ... release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1ee5c79   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   9 years nelhage fmtext.c: Add owl_fmtext_appendf_normal. debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @db1af5fa   9 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   9 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   10 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   10 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   10 years asedeno bufflen should be initialized on copy. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @ee310eb   10 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   10 years asedeno Portability - removing C++ style comments. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1b737a1   10 years asedeno Bounds checking. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c55ad84   10 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   10 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   10 years asedeno Preserve colors when highlighting search terms. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6d77f1f   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   11 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   11 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   11 years asedeno Further simplifications. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @eeeef20   11 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   11 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   11 years nelhage tabs must die. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @8fa9562   11 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   14 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   14 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   14 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   14 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   14 years kretch Fixed a bug in fmtext barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @b2b0773   14 years kretch Changes to help build on OSX barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @d559df9   14 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   14 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   15 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   15 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   15 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   15 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   15 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   15 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   15 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.