summaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed obsolete function, strdup_substr.Matt Kraai2001-07-051-2/+2
|
* Cleanups and sinze reduction for the vi applet from Aaron LehmannEric Andersen2001-07-021-14/+15
| | | | <aaronl@vitelus.com>
* Vladimir's last_patch_15Glenn L McGrath2001-06-261-1/+3
|
* These were broken when using dmalloc due to include file orderingEric Andersen2001-06-231-4/+4
| | | | | problems. busybox.h must be last. -Erik
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-211-9/+0
|
* Always apply commands with no specified range.Matt Kraai2001-06-211-0/+4
|
* - Fixed bug where you couldn't mix line number and regexes in two-address cmdsMark Whitley2001-06-111-117/+132
| | | | | | - Fixed bug where you couldn't use two addresses for a 'c' cmd - Moved the do_sed_cmd function into process_file to simplify some things - Reduced a buncha lines of code in the process
* Use safe_strncpy.Matt Kraai2001-05-271-3/+2
|
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-1/+1
|
* Always print a newline after a matching substitution.Matt Kraai2001-05-171-6/+1
|
* ...Need to print just a few more newlines.Mark Whitley2001-05-141-2/+5
|
* ...And now that we're chomping lines, we need to re-add the newline later...Mark Whitley2001-05-141-3/+3
|
* We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt.Mark Whitley2001-05-141-0/+1
|
* Added REG_NEWLINE as cflags to xregcomp for normal addresses so EOL $ will workMark Whitley2001-05-141-1/+1
|
* A patch from Aaron Lehmann <aaronl@vitelus.com> to fix aEric Andersen2001-05-131-1/+9
| | | | crash on a broken regexp.
* Added support for 'r' command in sed.Mark Whitley2001-05-111-10/+73
|
* A patch from Vladimir to use last_char_is(), and a patch fromEric Andersen2001-05-071-4/+7
| | | | | Larry to fix a silly bug when BB_FEATURE_VI_OPTIMIZE_CURSOR is not defined.
* Another vi update from Sterling Huxley:Eric Andersen2001-05-071-224/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All of the ESC sequences are now in variables. This should make re-targeting for other terminals easier. - The initial screen draw does not force out every single column. Should be faster. - The place_cursor() routine trys to be smarter about moving the cursor. This is optional based on BB_FEATURE_VI_OPTIMIZE_CURSOR. - The 't' and 'f' intra-line positioning commands were added. They can now be used as targets in 'c' and 'd' commands, i.e., dfx - delete from dot to next 'x' dtx - delete from dot to the char before next 'x' - show_status_line() uses a static int checksum to remember what is currently displayed on the screen and not re-draw the status line unless it has changed. - Some of the code in refresh() was moved out to format_line(). refresh() trys to send out the smallest segment containing the changed chars rather than the whole line. - Added "flash" to the :set command to specify if error indication should be by flashing the screen or ringing the bell. - Changed the rawmode() routine so that it turns off the NL -> CR NL translation. On output of a NL, the OS will not add a CR. - If vi was started as "view", with global read-only mode, and another file is opened, the file is opened read-only rather than read+write.
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-04-261-2/+2
| | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
* Fixed a buglet where an extra newline was being added after an insert commandMark Whitley2001-04-201-7/+10
| | | | in some cases.
* Made a correction to a bad test expression. Props to Larry Doolittle forMark Whitley2001-04-201-2/+1
| | | | spotting this one.
* Several fixes from Sterling Huxley for the vi applet.Eric Andersen2001-04-161-79/+210
|
* Remove unused optarg variableEric Andersen2001-04-041-2/+1
|
* Some cleanups for libc5 supportEric Andersen2001-04-041-17/+9
|
* I said no new features till after the 0.51 release. Well, I lied. This is aEric Andersen2001-04-041-0/+3683
| | | | | vi editor for busybox, contributed by Sterling Huxley <sterling@europa.com>. It adds 22k to the busybox binary when enabled. Quite impressive!
* Applied patch from Anthony Towns that he posted to Debian bug tracking.Mark Whitley2001-03-261-2/+3
|
* Applied patch from Erik Habbinga to fix a problem with an uninitializedMark Whitley2001-03-141-0/+4
| | | | substitution delimiter.
* Get rid of long stale usage message code.Eric Andersen2001-02-171-4/+3
| | | | -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix wget error message and add (and use) chomp library function.Matt Kraai2001-02-011-2/+1
|
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-10/+10
|
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+2
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Changed email address to codepoet.org, updated list of applets / docs IMark Whitley2001-01-041-1/+1
| | | | maintain in AUTHORS.
* I just whipped up support for arbitrary regex delimiters, soEric Andersen2001-01-021-63/+18
| | | | | | | | now things such as $ echo foo | sed 'sxfooxb\arx' bar will work as expected (and so doogie can stop complaining). -Erik
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-4/+2
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-1/+1
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-11/+11
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Remove unneeded junkEric Andersen2000-11-141-4/+0
|
* Removed REG_NEWLINE from regcomp to fix the same bug found in grep where itMark Whitley2000-11-031-1/+1
| | | | | would not match blank lines (bug #1064). Followed Matt Kraii's suit on his 1.42 revision of grep. Tested it, works.
* Now, what was that logic block doing up there?Mark Whitley2000-11-031-6/+6
|
* Re-worked the support for s///p, fixed a backref limit buglet, and cleaned upMark Whitley2000-11-031-71/+86
| | | | | | a few other ugly places (do_subst_command got a much-needed overhaul). Also took out BB_FEATURE_SED_PATTERN_SPACE from Config.h[.Hurd] as the 'p' is now a standard feature (adds almost no bloat).
* Consolidate handling of some fopen failures.Matt Kraai2000-09-271-3/+1
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-3/+2
| | | | segfaulting or handling errors the same way themselves.
* Applied patch from Mark Ferrell <mferrell@mvista.com> to use the 'p' option inMark Whitley2000-08-211-9/+39
| | | | substitution expressions.
* Applied patch from Mark Ferrell <mferrell@mvista.com> to fix sed '1,$p' whereMark Whitley2000-08-101-2/+2
| | | | sed was only printing the first line and then exiting.
* Modified print_subst_w_backrefs() so it will print backslash escapedMark Whitley2000-07-251-0/+6
| | | | characters properly, just like GNU sed.
* Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen2000-07-251-2/+2
| | | | -Erik
* As per a discussion on the mailing list between Matt and Pavel. I have removedMark Whitley2000-07-201-5/+1
| | | | | | the -V (version) flag from busybox sed. It is unnecessary because sed is not a standalone and should therefore be independently reporting a version number. Moreover, it is extra code that we just don't need.