source: util.c

Revision Log Mode:


Copied or renamed
Diff Rev Age Author Log Message
(edit) @f47696f   11 years davidben Add owl_string_appendf_quoted for easy construction of command lines. release-1.8release-1.9
(edit) @2bc6ad35   11 years davidben Add owl_quote_arg and owl_string_append_quoted_arg Also add unit ... release-1.8release-1.9
(edit) @d275eb2   11 years davidben Replace atokenize with glib's g_strsplit_set Glib's had ... release-1.8release-1.9
(edit) @fa90c34   11 years davidben Fixup owl_util_recursive_resolve_link to handle relative symlinks ... release-1.8release-1.9
(edit) @9b9efa2b   11 years davidben Punt owl_util_max and owl_util_min in favor of MAX and MIN glib ... release-1.8release-1.9
(edit) @950e2da   11 years kcr Fixed :unsub to make it work if ~/.zephyr.subs is a symlink (trac 133) ... release-1.7release-1.8release-1.9
(edit) @5fca55f   11 years kcr I/O errors on writing subscription file in :unsub are no longer ... release-1.7release-1.8release-1.9
(edit) @c1f1e1e   12 years davidben Add convenience method for connecting a window to a signal release-1.7release-1.8release-1.9
(edit) @ad788b5   12 years davidben Move the sepbar stuff into a separate file release-1.7release-1.8release-1.9
(edit) @385fda9   12 years davidben A fairly hacky job of porting sepbar to owl_window We now use the new ... release-1.7release-1.8release-1.9
(edit) @05ca0d8   12 years davidben Implement our own owl_signal_connect_object This is actually more ... release-1.7release-1.8release-1.9
(edit) @4e33cb2   12 years davidben Punt a lot of needrefreshes Move the actual needrefreshes into the ... release-1.7release-1.8release-1.9
(edit) @9a7b4f2   12 years nelhage Use zcrypt from our own bin directory. release-1.6release-1.7release-1.8release-1.9
(edit) @f449096   12 years davidben Drop calls to update_panels outside main loop One call is sufficient. ... release-1.6release-1.7release-1.8release-1.9
(edit) @46d940a   12 years andersk atokenize: Use owl_strdup instead of memcpy. Signed-off-by: Anders ... release-1.6release-1.7release-1.8release-1.9
(edit) @40d22cf   12 years andersk Rename owl_parsefree to owl_parse_delete. Signed-off-by: Anders ... release-1.6release-1.7release-1.8release-1.9
(edit) @1672650   12 years andersk Rename atokenize_free to atokenize_delete. Signed-off-by: Anders ... release-1.6release-1.7release-1.8release-1.9
(edit) @8ae2de9   12 years davidben Attach PANELs to all of our WINDOWs We replace wnoutrefresh with ... release-1.6release-1.7release-1.8release-1.9
(edit) @a61daae   12 years andersk owl_util_file_deleteline: Fix a leak. Signed-off-by: Anders Kaseorg ... release-1.6release-1.7release-1.8release-1.9
(edit) @96c3265   12 years kcr Tighten up sepbar() release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1b9d3cc   12 years geofft atoi("puce") == 0 Signed-off-by: Geoffrey Thomas <> release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @a3e61a2   12 years kcr Rewrite color name<->number mapping code Make it data-driven, as ... release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @0697f09   12 years asedeno Drop owl_animate_hack. release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @435001d   12 years alexmv sys/stat.h is needed for "struct stat" release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @946058b   12 years kcr rewrite owl_util_file_deleteline Rewrite owl_util_file_deleteline to ... release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6ace255   12 years kcr owl_getline, owl_getline_chomp, and owl_slurp For the glorious ... release-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) @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) @da60ba9   12 years davidben Cause unsub to warn user if user wasn't subbed Add a return value to ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @eea72a1   12 years nelhage owl_new_sv: Escape non-utf8 strings before erroring with them. ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @36486be   12 years andersk Replace several owl_malloc, sprintf sequences with owl_strdup or ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @4083c49   12 years andersk Fix unchecked accesses to s[strlen(s) - 1]. Signed-off-by: Anders ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @e30ed92   12 years nelhage skiptokens: Handle quotes more correctly. This fixes ctl's bug about ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @8bce750   12 years nelhage Move all regression tests into tester.c. release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @9e5c9f3   12 years andersk Add const qualifiers for owl_view *. Signed-off-by: Anders Kaseorg ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @3eb599d   12 years andersk Add const qualifiers for owl_messagelist *. Signed-off-by: Anders ... 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) @fa4562c   12 years andersk Prepare code for adding const qualifiers for char * and void *. ... 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) @4d86e06   13 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   13 years andersk Death to RCS keywords. Signed-off-by: Anders Kaseorg <> release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @7f6a8a2   13 years andersk Quash a zephyr 3 warning by adding some missing consts. ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @3e8ff1e   13 years nelhage Implement owl_text_expand_tabs, and tests. release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @7bf51d5   13 years nelhage Correctly read the BARNOWL_DATA_DIR environment variable. getenv() ... release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @4b17a6c   13 years nelhage Zephyr: Always send in UTF-8, never iso-latin-1. debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @f34dd65   13 years nelhage Kill a whole bunch of unused code. I generated a list of dead ... debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @e97c4a30   13 years geofft util.c: Fix double-free from owl_zephyr_delsub. Also fix general ... debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6eaf35b   13 years andersk Correct format specifiers for longs. debianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @601733d   13 years asedeno The color default has been -1 for a while now, so we match what curses ... debianrelease-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) @84027015   14 years asedeno editwin.c - lots of utf-8 cleanup that I had been putting off. util.c ... 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) @7b1d048   14 years asedeno first pass at outbound zephyr -> iso-8859-1 sanitizing. Not that we ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6201646   14 years asedeno Fixing bug encountered when last field was not null-terminated. 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) @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) @5bc0f68   14 years asedeno Merged revisions 777-778 via svnmerge from ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @89f5338   14 years asedeno Moving owl_get_datadir to util.c so make test'' works again. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @93ee554   14 years asedeno Merged revisions 734-776 via svnmerge from ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @34509d5   14 years asedeno GLib/Unicode branch - adding glib dependency. Linking BarnOwl to ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @04166e9   14 years nelhage Don't read before the start of the string for an instance barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @93f65b6   15 years nelhage Clean up an unused var warning. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1cf3f8d3   15 years nelhage Make the built-in regression tests output TAP and add a perl wrapper ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c2c5c77   15 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) @d524c83   15 years nelhage free() should be owl_free() barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @95caa16   15 years nelhage Fix a pair of stupid minor memory leaks. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @f166580   15 years asedeno This is better still. barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @59916e8   15 years asedeno Once more, dealing better with free(). barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @be5aa09   15 years asedeno Fixing a bug reported over zephyr in which narrowing would permanently ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @7a20e4c   15 years nelhage smartnarrowing to an unclass is now the same as narrowing to the ... barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @0138478   15 years nelhage Test failures now print out file/line numbers barnowl_perlaimdebianrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @fe67f1f   18 years kretch Do OLC formatting for anything coming from olc.matisse Improvements to ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @1bb1e67   18 years nygren Fix two minor issues found by valgrind barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @330bcec   18 years kretch In the sepbar, reverse video the view name when it's not set to ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @40458b9   18 years kretch Filters of filters now work barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @4b660cc   18 years kretch Now have a set of 'aaway' commands and variables just like the ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c65d81e   18 years kretch New 'away' command, just an alias to zaway for now. 'A' key now bound ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @8766d44   18 years kretch Fixed bug in owl_util_makepath barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @f36222f   18 years kretch Do ~ expansion in 'dump' command. 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) @e3d9c77   18 years kretch Write owl_text_quote Moved some functions between util.c, text.c and ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @c15bbfb   18 years kretch Added the 'fancylines' variable. Enabled OWL_STDERR_REDIR by default barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @6a50af2   18 years kretch Fixed bug removing newlines in backup files barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @836ea3a3   18 years kretch Converted more error messages to use the error queue barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @f1e629d   19 years nygren New API for perl message formatting functions. Legacy ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @3ba3af0   19 years kretch Better formatting for idle time in buddy list barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @5b85d19   19 years kretch Idle time reported in minutes, not seconds barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @de03334   19 years kretch Idletimes now appear in the buddylist barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @e6449bc   19 years kretch Owl should build now without zephyr, enabling it to act as a ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @09489b89   19 years kretch First pass at making owl build without zephyr barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @e7cc1c3   19 years kretch More detailed usage from -h Special cased replies for webzephyr users ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @e4eebe8   19 years kretch Reformatted util.c in new code style barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @73624b4   19 years kretch New 'sepbar_disable' variable can turn off sepbar info Updated ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @5ea6fea   19 years kretch Made the oneline format a little more compact and stripped off local ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @b2b0773   19 years kretch Changes to help build on OSX barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @378fa14   19 years kretch Fixed bug in 'startup' command barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @65ad073   19 years kretch 'addbuddy zephyr <user>' and 'delbuddy zephyr <user>' now work. barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @38cf544c   19 years kretch Added the 'startup' and 'unstartup' commands The $HOME/.owl directory ... barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
(edit) @7c8060d0   19 years kretch Zaway now obeys the smart strip variable barnowl_perlaimdebianowlrelease-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Note: See TracRevisionLog for help on using the revision log.