summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPOBJ.pm
AgeCommit message (Collapse)Author
2014-12-05commented out debugging warnKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@35751 c570f23f-e606-0410-a88d-b1316a301751
2014-12-04* TLPOBJ.pm (update_from_catalogue): compare true basename of ctan file,Karl Berry
resulting in some ~350 additional Catalogue details strings being found. Also prefer first match from Catalogue, for the sake of top-level README files. * TeXCatalogue.pm (initialize): show error when parse fails. * tl-update-tlpdb: doc fixes. git-svn-id: svn://tug.org/texlive/trunk@35744 c570f23f-e606-0410-a88d-b1316a301751
2014-02-072014Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@32912 c570f23f-e606-0410-a88d-b1316a301751
2013-09-16remove all embedded quotes in details/language tagsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@31670 c570f23f-e606-0410-a88d-b1316a301751
2013-09-15(from_fh): warn instead of die if we cannot parseKarl Berry
the doc file attributes; hopefully it's not that important. git-svn-id: svn://tug.org/texlive/trunk@31658 c570f23f-e606-0410-a88d-b1316a301751
2013-09-15read arbitrary stupid quoting in docfile tagsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@31656 c570f23f-e606-0410-a88d-b1316a301751
2013-09-13when writing out docfiles tags, quote embedded quote charsNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@31644 c570f23f-e606-0410-a88d-b1316a301751
2013-04-13user mode for tlmgrNorbert Preining
support a user mode for tlmgr that allows installation of packages into user trees. git-svn-id: svn://tug.org/texlive/trunk@29883 c570f23f-e606-0410-a88d-b1316a301751
2013-04-07first updates for TL13 pretest, and for texmf-dist having everythingKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@29725 c570f23f-e606-0410-a88d-b1316a301751
2011-10-24add forgotten support for KanjiMap when generated updmap_cfg linesNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@24382 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-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-03-20copyright years, doc fixesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@21770 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-05-31Implement comments in AddHyphen directive per Mojca's request.Manuel Pégourié-Gonnard
git-svn-id: svn://tug.org/texlive/trunk@18639 c570f23f-e606-0410-a88d-b1316a301751
2010-05-30Rename txthyph and txtpatt keys to make Mojca happy.Manuel Pégourié-Gonnard
git-svn-id: svn://tug.org/texlive/trunk@18612 c570f23f-e606-0410-a88d-b1316a301751
2010-05-20Implement generation of language.dat.lua by extending execute AddHyphen.Manuel Pégourié-Gonnard
git-svn-id: svn://tug.org/texlive/trunk@18379 c570f23f-e606-0410-a88d-b1316a301751
2010-02-24Avoid loosing docfiledata when relocating packages.Manuel Pégourié-Gonnard
git-svn-id: svn://tug.org/texlive/trunk@17183 c570f23f-e606-0410-a88d-b1316a301751
2010-02-09fix ome typo and small bug in $pkg instaead of $containernameNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@16947 c570f23f-e606-0410-a88d-b1316a301751
2010-02-06(try) make sure that the rogue texmf-dist/tlpkg directory is removedNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@16923 c570f23f-e606-0410-a88d-b1316a301751
2010-01-16pod tweaksKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@16743 c570f23f-e606-0410-a88d-b1316a301751
2010-01-14update copyrights; TLUtils.pm: pod before __END__Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@16713 c570f23f-e606-0410-a88d-b1316a301751
2010-01-13pod fixesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@16704 c570f23f-e606-0410-a88d-b1316a301751
2009-12-16do not take over empty captions (for shortdesc) and description (for longdesc)Norbert Preining
git-svn-id: svn://tug.org/texlive/trunk@16426 c570f23f-e606-0410-a88d-b1316a301751
2009-10-07include patches from Alexander CherepanovNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@15667 c570f23f-e606-0410-a88d-b1316a301751
2009-10-06TeXCatalogue: less debuggingKarl Berry
TLPSRC, TLPOBJ: set format_lines_per_page on the right file handle tl-update-tlpdb: rename a couple options, mess with doc tl-update-bindir: cygwin location git-svn-id: svn://tug.org/texlive/trunk@15651 c570f23f-e606-0410-a88d-b1316a301751
2009-10-03set $= to 99999 to avoid page overflow messageKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@15626 c570f23f-e606-0410-a88d-b1316a301751
2009-09-30use Catalogue id, rather than name; lowercase both id and package name for ↵Karl Berry
comparison (from Alexander Cherepanov, 30 Sep 2009 02:45:28) git-svn-id: svn://tug.org/texlive/trunk@15570 c570f23f-e606-0410-a88d-b1316a301751
2009-09-19(update_from_catalogue): maybe no space before theKarl Berry
$, either; bad parrun/shipunov fix in Catalogue. git-svn-id: svn://tug.org/texlive/trunk@15375 c570f23f-e606-0410-a88d-b1316a301751
2009-09-15(update_from_catalogue): avoid writing empty catalogue-ctan lines.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@15289 c570f23f-e606-0410-a88d-b1316a301751
2009-09-13more date parsing generalizationKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@15253 c570f23f-e606-0410-a88d-b1316a301751
2009-09-13allow whitespace after $Date$ string.Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@15252 c570f23f-e606-0410-a88d-b1316a301751
2009-09-03match top level files as wellPiotr Strzelczyk
git-svn-id: svn://tug.org/texlive/trunk@15044 c570f23f-e606-0410-a88d-b1316a301751
2009-08-16support disabling of maps/formats/hyphenations in local conf filesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@14715 c570f23f-e606-0410-a88d-b1316a301751
2009-08-06expand Revision property on all those fileNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@14553 c570f23f-e606-0410-a88d-b1316a301751
2009-08-06tlmgr: add documentation for --w32mode in action pathNorbert Preining
all modules: add MODULE->module_revision function tlmgr: if action version is called with -v, also issue the revision of the modules used (eg TLPDB->module_revision()) git-svn-id: svn://tug.org/texlive/trunk@14552 c570f23f-e606-0410-a88d-b1316a301751
2009-07-15Undo rev 14242, 14243, 14256, 14257: apparently our Perl for windows doesn'tManuel Pégourié-Gonnard
support the open pragma. (OOPS: commited more than I wanted to. Also added files from the generic package 'shade'. This package was 'added' in r14213.) git-svn-id: svn://tug.org/texlive/trunk@14264 c570f23f-e606-0410-a88d-b1316a301751
2009-07-13Assume utf8 for all I/O.Manuel Pégourié-Gonnard
git-svn-id: svn://tug.org/texlive/trunk@14242 c570f23f-e606-0410-a88d-b1316a301751
2009-07-01force pgf to be remade; use ustar format to create containers (original ↵Karl Berry
report from Andre van Eyssen, 29 Jun 2009 19:25:52) git-svn-id: svn://tug.org/texlive/trunk@14033 c570f23f-e606-0410-a88d-b1316a301751
2009-06-23allow arbitrary categories in TLPOBJ thus in tlmgr etc, but warnNorbert Preining
if it does not match the given regexp from TLConfig. TLPSRC still dies if an unknown category is met, so we are sure that TLConfig and created tlpdbs are consistent. git-svn-id: svn://tug.org/texlive/trunk@13908 c570f23f-e606-0410-a88d-b1316a301751
2009-06-12correct computation of revision number of packages after bin package splitNorbert Preining
we always counted in the bin files for the main package, too. git-svn-id: svn://tug.org/texlive/trunk@13726 c570f23f-e606-0410-a88d-b1316a301751
2009-06-09update all depending formats if an engine has been updatedNorbert Preining
git-svn-id: svn://tug.org/texlive/trunk@13683 c570f23f-e606-0410-a88d-b1316a301751
2009-06-08rework execute action handling so that it actually works, hopefullyNorbert Preining
that means that: - handle_ret_hash is renamed to handle_execute_actions - make_ret_hash_from_execute is gone and replaced by TLUtils::announce_execute_actions git-svn-id: svn://tug.org/texlive/trunk@13671 c570f23f-e606-0410-a88d-b1316a301751
2009-06-06before saving a tlpobj to a local tlpdb we have to remove the RELOC Norbert Preining
prefix, or the creation of the containers breaks git-svn-id: svn://tug.org/texlive/trunk@13648 c570f23f-e606-0410-a88d-b1316a301751
2009-06-02factor out the parsing of AddFormat and AddHyphen lines to separate Norbert Preining
function in TLUtils, use this function in TLPOBJ, and reuse this function in check-execute_consistency to check the format execute consistency git-svn-id: svn://tug.org/texlive/trunk@13577 c570f23f-e606-0410-a88d-b1316a301751
2009-06-02write a relocated .tlpobj file into the container, and reactivate theNorbert Preining
file checking in check-tlnet-consistency git-svn-id: svn://tug.org/texlive/trunk@13575 c570f23f-e606-0410-a88d-b1316a301751