aboutsummaryrefslogtreecommitdiff
path: root/src/mkhelp.pl
AgeCommit message (Collapse)Author
2019-02-20curl: remove MANUAL from -M outputDaniel Stenberg
... and remove it from the dist tarball. It has served its time, it barely gets updated anymore and "everything curl" is now convering all this document once tried to include, and does it more and better. In the compressed scenario, this removes ~15K data from the binary, which is 25% of the -M output. It remains in the git repo for now for as long as the web site builds a page using that as source. It renders poorly on the site (especially for mobile users) so its not even good there. Closes #3587
2017-10-30mkhelp.pl: support reproducible buildJuro Bystricky
Do not generate line with the current date, such as: * Generation time: Tue Oct-24 18:01:41 2017 This will improve reproducibility. The generated string is only part of a comment, so there should be no adverse consequences. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> closes #2026
2017-08-10mkhelp.pl: allow executing this script directlyJay Satiro
- Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Ref: https://github.com/curl/curl/issues/1743
2017-06-19mkhelp.pl: fix script name in usage textSimon Warta
2017-05-17mkhelp.pl: do not add current time into curl binaryBernhard M. Wiedemann
... as part of hugehelpgz rodata to make build reproducible. See https://reproducible-builds.org/ for why this is good Closes #1490
2017-03-23mkhelp: disable compression if the perl gzip module is unavailableDan Fandrich
This is nowadays included with the base perl distribution, but wasn't prior to about perl 5.14
2017-03-09mkhelp: simplified the gzip codeDan Fandrich
This eliminates the need for an external gzip program, which wasn't working with Busybox's gzip, anyway. It now compresses using perl's IO::Compress::Gzip
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-03-18mkhelp: Remove trailing carriage return from every line of inputJay Satiro
- Get rid of this flood of warnings in Windows mingw build: warning: missing terminating " character The warning is due to the carriage return. When msysgit checks out files from the repo by default it converts the line endings to CRLF. Prior to this change when mkhelp.pl processed the MANUAL and curl.1 in CRLF format the trailing carriage returns caused unnecessary CR in the output.
2014-03-26mkhelp: generate code for --disable-manual as wellDaniel Stenberg
This allows configure --disable-manual to run and build without having to regenerate the src/tool_hugehelp.c file which otherwise is necessary since we ship tarballs with that file present. Reported-by: Remi Gacogne Bug: http://curl.haxx.se/bug/view.cgi?id=1350
2013-01-06Revert changes relative to lib/*.[ch] recent renamingYang Tse
This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
2012-12-28build: make use of 76 lib/*.h renamed filesYang Tse
76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
2012-12-26curl tool: renaming hugehelp files to tool_hugehelpYang Tse
2011-09-14curl tool: re-enable MemoryTracking capability on 'src' subdirectory files.Yang Tse
Use same preprocessor logic for curl tool MemoryTracking activation in source files located in 'src' subdirectory as the one used for libcurl sources.
2011-08-21zlib: ensure user provided memory functions are used by zlib, when givenYang Tse
As a bonus, this lets our MemoryTracking subsystem track zlib operations. And also fixes a shortcut some zlib 1.2.x versions took using malloc() instead of calloc(), which would trigger memory debuggers warnings on memory being used without having been initialized.
2011-08-18zlib: enforce full initialization of our data space z_stream structsYang Tse
2011-07-26stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse
2011-04-21Fix spelling errors in src/Fabian Keil
Found with codespell.
2011-03-22headers: more copyright headers addedDaniel Stenberg
2010-02-16replaced tabs with spacesYang Tse
2010-02-14removed trailing whitespaceYang Tse
2008-04-21Allocate the decompression buffer for the --manual option on the heapDan Fandrich
instead of the stack.
2006-10-09kill trailing whitespaceDaniel Stenberg
2005-12-05Another Yang Tse warning cleanup raid!Daniel Stenberg
2004-04-26Include "setup.h" and not "config.h" since setup.h is made to includeDaniel Stenberg
the correct config.h for the platform, and when this is done the USE_MANUAL define is properly known.
2004-04-25make the generated hugehelp.c file use the USE_MANUAL define so that itDaniel Stenberg
will be properly built with configure --disable-manual even if the source file is already present
2004-01-29nonsence change to make -Wunreachable-code get happyDaniel Stenberg
2004-01-29use hugehelp.h to silence picky compiler warningsDaniel Stenberg
2004-01-22Gisle Vanem fixed the compressed help text zlib codeDaniel Stenberg
2004-01-05Dan Fandrich's zlib fixDaniel Stenberg
2003-07-28Fixes based on Gisle Vanem's input since this script failed due toDaniel Stenberg
possibly crlf newlines.
2003-06-26adjusted the compressed generation to be more helpful in comments etcDaniel Stenberg
2003-06-12remove the dumpit file after useDaniel Stenberg
2003-06-12Based on Dan Fandrich's patch and gzip unpack function, we now compressDaniel Stenberg
the 'hugehelp' text if libz and gzip are available at build time.
2003-05-21Gisle Vanem's fix to make the 'curl -M' output nicerDaniel Stenberg
2001-03-09only generate maximum 509 characters in each stringDaniel Stenberg
2000-05-23now splits the text into several puts() callsDaniel Stenberg
1999-12-29Initial revisionDaniel Stenberg