Commit Graph

275 Commits

Author SHA1 Message Date
Love Hornquist Astrand 35848f5869 use low match distance for helping, or use ask user to use "help" 2011-11-22 13:58:41 -08:00
Love Hornquist Astrand 00494ac136 use sl_did_you_mean 2011-11-22 12:21:15 -08:00
Love Hornquist Astrand e0613d6aa6 use ? 2011-11-22 12:19:04 -08:00
Love Hornquist Astrand d26df6ba7f export sl_did_you_mean that uses OptimalStringAlignmentDistance to propose an alternative 2011-11-22 12:18:37 -08:00
Love Hörnquist Åstrand 1fe4d77846 remove getprogname.c 2011-10-28 20:36:40 -07:00
Love Hörnquist Åstrand b4972bd4f0 no longer need getprogname() 2011-10-28 19:31:05 -07:00
Love Hörnquist Åstrand 3570802d59 use getprogname if we have, otherwise punt, remove roken dependency 2011-10-28 19:30:55 -07:00
Jeffrey Altman c3f6a65da2 slc: correct 'min_args' and 'max_args' processing
The 'min_args' and 'max_args' values were ignored whenever
an 'argument' value was not present as a child of the 'command'.
'argument' values are often specified as children of the 'option'
value when more than one 'option' is an argument.

This patchset counts the number of 'argument' values specified
under a 'command' regardless of the level at which it appears.
If there are any 'argument' values, the 'min_args' and 'max_args'
are used to generate validation code for the 'command'.

Change-Id: Idc6129b4ff29914ac990f693b4dba51a30bdc971
2011-07-27 19:55:28 -04:00
Love Hörnquist Åstrand 7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand 0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hornquist Astrand c7c22aef44 clean slc-lex.c 2011-05-18 22:15:49 -07:00
Love Hornquist Astrand f5f9014c90 Warning fixes from Christos Zoulas
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Love Hornquist Astrand f13335985f try %option nounput and see if we can remove a warning 2010-11-26 12:01:14 -08:00
Love Hornquist Astrand 99bc078d46 better support for name in options 2010-11-24 16:21:26 -08:00
Asanka C. Herath e84b73370c Avoid conflicting malloc/free declarations in Bison 2010-11-24 15:33:28 -05:00
Asanka C. Herath 610bd66bbd Windows: Support building using newer flex 2010-11-24 15:32:29 -05:00
Asanka C. Herath 1b32efe62c Windows: Include manifest dependencies by default when building tools 2010-11-24 15:32:20 -05:00
Asanka C. Herath f40fe926ad Windows: Comprehensive clean target 2010-11-24 15:32:13 -05:00
Asanka Herath ea4d8dbfdb Windows: Use EXEPREP and DLLPREP macros for processing binaries
Once DLLs and EXEs are built, they need to have their manifests
processed and signed.  These steps are encapsulated in the EXEPREP and
DLLPREP Makefile macros.  Use them instead of invoking each processing
macro individually.
2010-08-20 13:04:06 -04:00
Love Hornquist Astrand c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Love Hornquist Astrand 46443d23bb install tools in libexec/heimdal, fix deps 2009-09-16 05:59:54 -07:00
Love Hornquist Astrand 6a56476258 drop RCSID 2009-09-07 21:25:05 -07:00
Love Hornquist Astrand a26bd9bd2f slctest doesn't depend on LEXLIB, slc does though, reorder LDADD 2009-08-14 15:42:46 +02:00
Love Hornquist Astrand c961189f95 Remove dead code [CID-10] 2009-07-30 10:55:06 +02:00
Love Hörnquist Åstrand 39bf5acf73 rename different symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-17 02:51:20 +00:00
Love Hörnquist Åstrand 431bcf82fe Move lexlib before libroken to make sure we don't get an empty line. From John Center.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:05:12 +00:00
Love Hörnquist Åstrand 1ee6bd7248 drop RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24357 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:30:49 +00:00
Love Hörnquist Åstrand 6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand 58227c2f5f negative flags defaults to on
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 11:11:58 +00:00
Love Hörnquist Åstrand db63919ed3 remove dead store
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:30:26 +00:00
Love Hörnquist Åstrand 48aecb8bdf drop libss and make_cmds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 09:49:30 +00:00
Love Hörnquist Åstrand 8d40c2994b check return value of alloc functions, from Charles Longeau
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:11:25 +00:00
Love Hörnquist Åstrand 57d4edc236 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 07:48:42 +00:00
Love Hörnquist Åstrand 29faccf940 roken_rename.h is a dist_ source
k


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 07:48:26 +00:00
Love Hörnquist Åstrand 1e2f5e24ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 07:36:07 +00:00
Love Hörnquist Åstrand 6e21ab742e split source files in dist and nodist.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 07:35:52 +00:00
Love Hörnquist Åstrand 286da566e9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:48:43 +00:00
Love Hörnquist Åstrand 7b75dd792c New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:48:28 +00:00
Love Hörnquist Åstrand 5b9369bb0f Unbugger, really.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:58:21 +00:00
Love Hörnquist Åstrand 0cc0795250 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:39:20 +00:00
Love Hörnquist Åstrand d76fa938a4 make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:38:18 +00:00
Love Hörnquist Åstrand e593553c68 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:30:56 +00:00
Love Hörnquist Åstrand cf84374515 Pass in pointer to strlen().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:30:41 +00:00
Love Hörnquist Åstrand 204c44be9e (sl_make_argv): use memmove since we are dealing with overlapping strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 19:45:53 +00:00
Love Hörnquist Åstrand c037f4e1bb don't clean yacc/lex files in CLEANFILES, maintainers clean will do that for us.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 04:28:39 +00:00
Love Hörnquist Åstrand cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand 5feb9080e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 11:25:16 +00:00
Love Hörnquist Åstrand b6bcedddb2 (main): also fclose yyin.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 11:24:52 +00:00
Love Hörnquist Åstrand 07885a8445 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 20:19:36 +00:00