summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
AgeCommit message (Collapse)Author
2011-05-282011Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@22642 c570f23f-e606-0410-a88d-b1316a301751
2011-05-19Rework TeXLive::TLPOBJ::from_fh to make it faster and shorter.Manuel Pégourié-Gonnard
- move the code for continued lines to avoid double-testing (34% speed improvement for this change alone) - rm support for continued execute, postaction and depend - use one split rather than many matches to get the command and argument - merge the code for similar lines - flatten the big if-elsif-else structure by moving the 'name first' test - rm useless next statements (they were even slowing things down) - order the big switch by number of occurences - factor out $lastcmd update (not faster, but nicer code IMO) - access $self members directly rather than using methods - call parse_line directly rather than quotewords - misc other tune-ups, inc. preferring split over regexes Overall measured speed improvement: 43% Sub length: 200 -> 130 lines git-svn-id: svn://tug.org/texlive/trunk@22535 c570f23f-e606-0410-a88d-b1316a301751
2011-05-17fix old lzma when including the tmpfile patchNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@22506 c570f23f-e606-0410-a88d-b1316a301751
2011-05-16TLPOBJ.pm (from_fh): do not remove trailing whitespace; turns out thisKarl Berry
takes consequential time, and the creation programs should not ever produce it. Also added trailing-whitespace check to cron job for master tlpdb creation. With this change, tlpdb-read-test time is reduced from ~2.4sec to ~1.2sec. TeXCatalogue.pm (beautify): remove trailing whitespace. Looks like this can matter in <caption>s which we turn into shortdescs, but nowhere else. dev/tlpdb-read-test: trivial test script to read tlpdb and nothing else. git-svn-id: svn://tug.org/texlive/trunk@22498 c570f23f-e606-0410-a88d-b1316a301751
2011-05-16reformatKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@22497 c570f23f-e606-0410-a88d-b1316a301751
2011-05-14include tempdir usage for TLPDBNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@22469 c570f23f-e606-0410-a88d-b1316a301751
2011-05-13Updated comments; obsolete subs removed from TLWinGooSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@22457 c570f23f-e606-0410-a88d-b1316a301751
2011-05-13TLWinGoo/TLUtils: use OpenWithProgIds instead of OpenWithListSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@22456 c570f23f-e606-0410-a88d-b1316a301751
2011-05-12ddebug for low-level persistent download msgs, wording tweaksKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@22448 c570f23f-e606-0410-a88d-b1316a301751
2011-05-08tlpkg/TeXLive/TLUtils.pm: member() now uses grep()Reinhard Kotucha
git-svn-id: svn://tug.org/texlive/trunk@22350 c570f23f-e606-0410-a88d-b1316a301751
2011-05-06Postaction appregSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@22331 c570f23f-e606-0410-a88d-b1316a301751
2011-05-06(platform): 'quote' $config_guess path so thatKarl Berry
spaces in the path don't cause an immediate failure. Report from Artemio Gonzalez Lopez, 28 Apr 2011 23:57:38. git-svn-id: svn://tug.org/texlive/trunk@22329 c570f23f-e606-0410-a88d-b1316a301751
2011-05-03use TLConfig without specific import list to get all symbolsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@22288 c570f23f-e606-0410-a88d-b1316a301751
2011-04-27merge TLMedia functionality into TLPDB and get rid of TLMediaNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@22226 c570f23f-e606-0410-a88d-b1316a301751
2011-04-27rename maxrelease to minrelease and document its behaviourNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@22215 c570f23f-e606-0410-a88d-b1316a301751
2011-04-24Proposed updates TLWinGoo and install-tl now in place; old tlperl removedSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@22184 c570f23f-e606-0410-a88d-b1316a301751
2011-04-07rename DVD/CD => local-[un]compressedSiep Kroonenberg
git-svn-id: svn://tug.org/texlive/trunk@22010 c570f23f-e606-0410-a88d-b1316a301751
2011-03-20copyright years, doc fixesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@21770 c570f23f-e606-0410-a88d-b1316a301751
2011-03-18TeX Live platform names for biberPeter Breitenlohner
git-svn-id: svn://tug.org/texlive/trunk@21755 c570f23f-e606-0410-a88d-b1316a301751
2011-03-14(platform): not MSWin$.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@21714 c570f23f-e606-0410-a88d-b1316a301751
2011-03-11biber setup in build treeKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@21690 c570f23f-e606-0410-a88d-b1316a301751
2011-02-05TeXLive/TLUtils.pm: new functions mktexupd() and nulldev()Reinhard Kotucha
git-svn-id: svn://tug.org/texlive/trunk@21304 c570f23f-e606-0410-a88d-b1316a301751
2011-01-29fixes in various places for GUI language support, including support forNorbert Preining
deleting keys in TLConfFile git-svn-id: svn://tug.org/texlive/trunk@21221 c570f23f-e606-0410-a88d-b1316a301751
2010-12-21TLUtils: when quering mirror.ctan.org set LC_ALL to C to get english stringsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@20818 c570f23f-e606-0410-a88d-b1316a301751
2010-12-05(initialize): unicode the version number too;Karl Berry
xepersian now contains a Unicode beta. git-svn-id: svn://tug.org/texlive/trunk@20659 c570f23f-e606-0410-a88d-b1316a301751
2010-11-09remove a terminal / in the location in tlmedia, we add it later anywayNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@20380 c570f23f-e606-0410-a88d-b1316a301751
2010-11-09fix persistent download setup in tlmgr -- thanks Adam!Norbert Preining
add some debugging to the persistent download routines git-svn-id: svn://tug.org/texlive/trunk@20379 c570f23f-e606-0410-a88d-b1316a301751
2010-10-26rename gui_expertmode to gui-expertmode, and allow for upgrading usersNorbert Preining
settings files git-svn-id: svn://tug.org/texlive/trunk@20215 c570f23f-e606-0410-a88d-b1316a301751
2010-10-06do not complain about zero files being underKarl Berry
tlpkg/backups. git-svn-id: svn://tug.org/texlive/trunk@20004 c570f23f-e606-0410-a88d-b1316a301751
2010-09-25fix warning "used only once" on $pkgNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@19893 c570f23f-e606-0410-a88d-b1316a301751
2010-09-22back to eq "shortdesc"Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@19838 c570f23f-e606-0410-a88d-b1316a301751
2010-09-17allow and ignore whitespace after shortdesc, evenKarl Berry
if nothing else. git-svn-id: svn://tug.org/texlive/trunk@19777 c570f23f-e606-0410-a88d-b1316a301751
2010-09-17allow for empty shortdesc linesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@19771 c570f23f-e606-0410-a88d-b1316a301751
2010-09-16fix stupid error in parsing executes and all other lines in the tlpdb file:Norbert Preining
originally the code for parsing was if ($line =~ m/^keyword\s+(.*)\s*) { (cum grano salis). But well, the terminal \s* will never be found since the .* before is greedy. Solution would be to change either all the .* to .*?, or, as done here, remove terminal whitespace and grep for (.*)$. This gives also a slight semantics change, but that was anyway never allowed, namely that you could write lines revision 1234 12121 jkfj j sooooo and still it was correctly parsed (maybe --- didn't test it). git-svn-id: svn://tug.org/texlive/trunk@19756 c570f23f-e606-0410-a88d-b1316a301751
2010-09-10tlmgr/installer: allow separating options for desktop shortcuts andNorbert Preining
menu shortcuts. Currently the installer option "desktop_integration" maps to both menu shortcuts and desktop shortcuts. With this change we can make that two independent options. git-svn-id: svn://tug.org/texlive/trunk@19639 c570f23f-e606-0410-a88d-b1316a301751
2010-07-16our $PERL_SINGLE_QUOTE, since we steal code from Text::ParseWordsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@19483 c570f23f-e606-0410-a88d-b1316a301751
2010-07-16(_initialize_lines): ne rather than !=, found by vlomov.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@19481 c570f23f-e606-0410-a88d-b1316a301751
2010-07-15avoid -warnings about variables only used onceKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@19462 c570f23f-e606-0410-a88d-b1316a301751
2010-07-14(setup_unix_one): possibly clearer error msg,Karl Berry
thanks to RK. git-svn-id: svn://tug.org/texlive/trunk@19461 c570f23f-e606-0410-a88d-b1316a301751
2010-07-11(platform): correct regexp so that we returnKarl Berry
amd64-kfreebsd for x86_64-unknown-kfreebsd8.0-gnu (report from alan braslau). git-svn-id: svn://tug.org/texlive/trunk@19372 c570f23f-e606-0410-a88d-b1316a301751
2010-07-10TLConfFile: create missing dirs at conf file saving if they do not existNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@19354 c570f23f-e606-0410-a88d-b1316a301751
2010-07-07missing newlinesPiotr Strzelczyk
git-svn-id: svn://tug.org/texlive/trunk@19264 c570f23f-e606-0410-a88d-b1316a301751
2010-07-05Adjustments to path display functions.Manuel Pégourié-Gonnard
git-svn-id: svn://tug.org/texlive/trunk@19247 c570f23f-e606-0410-a88d-b1316a301751
2010-06-16TLTREE.pm (_initialize_lines): do not ignore symlinks to directories,Karl Berry
i.e., bin/*/man. texlive-scripts: include bin/*/man; hope it works out. texlive.infra, tlmgr: doc tweaks. tl-update-auto: skip texnansi.enc, now part of ly1. tl-update-{asy,bindir,messages}: doc/url updates. git-svn-id: svn://tug.org/texlive/trunk@19007 c570f23f-e606-0410-a88d-b1316a301751
2010-06-13TLPostActions have been moved to .tlpsrcKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@18943 c570f23f-e606-0410-a88d-b1316a301751
2010-06-12Make "hide" default to 1 in postaction shortcut.Manuel Pégourié-Gonnard
git-svn-id: svn://tug.org/texlive/trunk@18915 c570f23f-e606-0410-a88d-b1316a301751
2010-06-11tlmgr: support --no-execute-actions cmd line that suppresses the Norbert Preining
execute actions from tlpsrc files TLUtils.pm: announce_execute_actions: return if the global $::no_execute_actions is set. This global var is set from tlmgr when --no-execute-actions is given install-tl: use tlmgr --no-execute-actions paper letter to configure installation for paper format letter, and run fmtutil-sys --all separate Also move the call to mktexlsr (rerunning it) below the tlmgr paper letter call. git-svn-id: svn://tug.org/texlive/trunk@18898 c570f23f-e606-0410-a88d-b1316a301751
2010-06-05various changes:Norbert Preining
- install-tl: try to add /systems/texlive/tlnet if initial download does not succeed - TLDownload errorcount/enable/disable support (used in install-tl) - TLUtils: check for TLDownload enabled status - TLPDB: remove warning about unsuccessfull download of .tlpdb, it is now in tlmgr (where it was already) and install-tl. git-svn-id: svn://tug.org/texlive/trunk@18756 c570f23f-e606-0410-a88d-b1316a301751
2010-06-01backups not package-backupsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@18682 c570f23f-e606-0410-a88d-b1316a301751
2010-06-01- create one spot where the default initial backup dir location is configuredNorbert Preining
$TeXLive::TLConfig::PackageBackupDir - create package backup directory in install-tl git-svn-id: svn://tug.org/texlive/trunk@18669 c570f23f-e606-0410-a88d-b1316a301751