aboutsummaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A patch from Jouni Malinen to avoid some buffer overflows in vi,andersen2002-10-261-3/+9
| | | | | | | closing bug #1270 git-svn-id: svn://busybox.net/trunk/busybox@5714 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vi inliningaaronl2002-08-211-878/+878
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somehow I applied an old patch for the last commit - this one works now:sandman2002-08-061-4/+4
| | | | | | | - Added \CregexC support to sed (sed testsuite reported no errors, btw) git-svn-id: svn://busybox.net/trunk/busybox@5165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added the \CregexpC syntax as an alternative for /regexp/ (like GNU sed)sandman2002-08-061-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied a patch from Philip Blundell <pb@nexus.co.uk>:sandman2002-07-311-5/+7
| | | | | | | Added support for ":x" as an alias for ":wq" to vi git-svn-id: svn://busybox.net/trunk/busybox@5141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup warnings and undefined operations that show up in gcc-3.1andersen2002-07-111-2/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Simon Krahnke:sandman2002-06-111-11/+28
| | | | | | | | I wrote a patch for busybox for our company's (www.lisa.de) private use. [...] To sed it adds the '!'-inversion of addresses. git-svn-id: svn://busybox.net/trunk/busybox@4885 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix from kergothtimr2002-04-261-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-15/+44
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * editors/sed.c (process_file): Stop processing deleted lines.kraai2002-04-011-0/+5
| | | | | | | * testsuite/sed/sed-does-not-substitute-in-delete-line: New. git-svn-id: svn://busybox.net/trunk/busybox@4514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * editors/sed.c (parse_cmd_str): Remove redundant code to skip initialkraai2002-01-031-4/+0
| | | | | | | whitespace. git-svn-id: svn://busybox.net/trunk/busybox@4011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * editors/sed.c (parse_edit_cmd): Rewrite.kraai2002-01-031-34/+13
| | | | | | | * testsuite/sed/sed-splits-edit-commands-on-command-line: New. git-svn-id: svn://busybox.net/trunk/busybox@4010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * editors/sed.c (parse_edit_command): Require a newline after the backslashkraai2002-01-021-1/+1
| | | | | | | | after an edit command. * testsuite/sed/sed-requires-newline-after-edit-command: New. git-svn-id: svn://busybox.net/trunk/busybox@3991 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ignore blanks before the first address and before the command.kraai2001-12-211-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3938 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-20/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate warning.kraai2001-11-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3758 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor warning cleanupsandersen2001-11-171-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from "Andrew Tipton" <andrew@cadre5.com> to enable vi cursorandersen2001-11-171-4/+19
| | | | | | | keys while editing. git-svn-id: svn://busybox.net/trunk/busybox@3689 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steve Merrifield <steve@labyrinth.net.au> to make viandersen2001-11-171-6/+6
| | | | | | | use xmalloc git-svn-id: svn://busybox.net/trunk/busybox@3687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change strdup calls to xstrdup (patch from Steve Merrifield).kraai2001-11-122-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use fopen wrapper.kraai2001-11-121-7/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* |2001-10-08 Rodney Brown <rbrown64@csc.com.au>andersen2001-11-101-86/+101
| | | | | | | | | | | | | | | | | * editors/sed.c: Fix multiline [aic] commands. Make # an endline | comment for compatibility. Codespace reduction. | * tests/testcases: Cope with move to subdirectories. | * testsuite/sed/sed-aic-commands: Add. | | text data bss dec hex filename | 3772 16 0 3788 ecc editors/sed.o | 4516 16 0 4532 11b4 editors/sed.o.bu git-svn-id: svn://busybox.net/trunk/busybox@3642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more config.in entries from Giulio Orsero <giulioo@pobox.com>andersen2001-11-101-1/+1
| | | | | | | with some minor edits by me. git-svn-id: svn://busybox.net/trunk/busybox@3640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* config.in features patch from Giulio Orsero <giulioo@pobox.com>andersen2001-11-101-0/+12
| | | | | | | with some minor edits from me git-svn-id: svn://busybox.net/trunk/busybox@3639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-244-229/+277
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix empty line substitutions (noted by Joshua Hudson).kraai2001-10-231-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3555 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix s/[/]// handling (noted by Dumas Patrice).kraai2001-08-241-1/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Shu-Hao Chang <shuhao_chang@trend.com.tw> toandersen2001-08-221-13/+48
| | | | | | | fixed sed handling of multiple -e commands git-svn-id: svn://busybox.net/trunk/busybox@3337 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a problem with unsatisfied backrefs (noted by Martin Bene).kraai2001-08-201-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3313 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert J. Osborne <rj@resourceinternational.com> that fixesandersen2001-08-021-3/+3
| | | | | | | | | a bug in vi where the beginning of the text space was not checked before dot is decremented for delete and escape sequences on an empty file. git-svn-id: svn://busybox.net/trunk/busybox@3184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't save and restore readonly flag if BB_FEATURE_VI_READONLY isn't enabled.kraai2001-07-311-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3166 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Preserve whether or not the line was previously altered when running akraai2001-07-301-2/+2
| | | | | | | subst command (discovery and patch by Jim Gleason). git-svn-id: svn://busybox.net/trunk/busybox@3159 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-191-2/+2
| | | | | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-171-2/+2
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed obsolete function, strdup_substr.kraai2001-07-051-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanups and sinze reduction for the vi applet from Aaron Lehmannandersen2001-07-021-14/+15
| | | | | | | <aaronl@vitelus.com> git-svn-id: svn://busybox.net/trunk/busybox@2971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's last_patch_15bug12001-06-261-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These were broken when using dmalloc due to include file orderingandersen2001-06-231-4/+4
| | | | | | | | problems. busybox.h must be last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote mkdir (and touched lots of things in the process).kraai2001-06-211-9/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always apply commands with no specified range.kraai2001-06-211-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Fixed bug where you couldn't mix line number and regexes in two-address cmdsmarkw2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use safe_strncpy.kraai2001-05-271-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always print a newline after a matching substitution.kraai2001-05-171-6/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ...Need to print just a few more newlines.markw2001-05-141-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ...And now that we're chomping lines, we need to re-add the newline later...markw2001-05-141-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We will chomp() lines so REG_NEWLINE does not break stuff. Thanks, Matt.markw2001-05-141-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2638 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added REG_NEWLINE as cflags to xregcomp for normal addresses so EOL $ will workmarkw2001-05-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2636 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Aaron Lehmann <aaronl@vitelus.com> to fix aandersen2001-05-131-1/+9
| | | | | | | crash on a broken regexp. git-svn-id: svn://busybox.net/trunk/busybox@2630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for 'r' command in sed.markw2001-05-111-10/+73
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2621 69ca8d6d-28ef-0310-b511-8ec308f3f277