source: main/trunk/greenstone2/perllib/util.pm

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @32432   6 years ak19 1. Since there's a chance that 127.0.0.1 isn't always the loopback …
(edit) @32345   6 years ak19 util.pm has to cope with library url being undefined: it can happen if …
(edit) @32324   6 years ak19 Minor changes to util.pm before committing a bugfix.
(edit) @32306   6 years ak19 Adding 2 perl debug subroutines to util.pm, debug_print_caller() and …
(edit) @32280   6 years ak19 Implementing PDFv2paged_text (with pdfbox)
(edit) @32193   6 years ak19 All the *essential* changes related to the PDFBox modifications Kathy …
(edit) @32096   6 years ak19 Marking all the uses of sysread() with a comment saying they're a …
(edit) @31971   7 years ak19 Emacs tabbing
(edit) @31876   7 years ak19 1. Getting the recently added util::print_env() subroutine, which has …
(edit) @31863   7 years ak19 Additional changes to previous commit so that the new util::print_env …
(edit) @31862   7 years ak19 Adding a new subroutine print_env() that may be useful for debugging …
(edit) @31694   7 years kjdon testing on commdev I had the situation where the apache user couldn't …
(edit) @31518   7 years ak19 Found servercontrol::get_library_url() largely duplicated in util.pm …
(edit) @31517   7 years ak19 I think this is a bugfix (copy and paste error), but will need to …
(edit) @31515   7 years ak19 Trying to bring near-identical functions …
(edit) @31514   7 years ak19 1. As advised by Dr Bainbridge, using open() instead of backtick …
(edit) @31513   7 years ak19 servercontrol.pm uses established functions to generate tmpfiles in …
(edit) @31475   7 years kjdon block_filename moved to EncodingUtil plugin
(edit) @31443   7 years ak19 when we check a filename in the block hash we are converting to …
(edit) @31187   7 years ak19 Useful changes not specifically related to upcoming oaiinfo db related …
(edit) @30575   8 years ak19 Important correction to previous commit: forgot file output character …
(edit) @30574   8 years ak19 Improving dispersed GS3: changes to util.pm fix the bug whereby the …
(edit) @30561   8 years ak19 All the changes (I think) to switch from port 80 as default for GS2 to …
(edit) @30021   9 years ak19 Related to commit 29816: removing another debug statement.
(edit) @29816   9 years kjdon removing debug and commented out test lines
(edit) @29810   9 years ak19 trying to connect filenames got in perl to filenames in the metadata …
(edit) @29807   9 years ak19 needed the 'use Unicode::Normalize' line on the Mac.
(edit) @29794   9 years kjdon trying to get a proper unicode version of the filename. Need to …
(edit) @29708   9 years ak19 Cosmetic.
(edit) @29582   9 years ak19 util::setup_greenstone_env() needs to handle env vars whose values are …
(edit) @29112   10 years kjdon when tidying up OIDs, replace periods with _ instead of just removing …
(edit) @28997   10 years ak19 Added an is_gs3 subroutine to util.pm and this is now used by …
(edit) @28604   10 years ak19 Found some issues when wanting to add in the CDS-ISIS tutorial …
(edit) @28575   10 years ak19 Removing the unused env_var variable from the set_gnomelib_env …
(edit) @28560   10 years ak19 1. New subroutine util::set_gnomelib_env that sets the environment for …
(edit) @28460   11 years davidb Support for Cygwin added, along with a function (originally written in …
(edit) @28394   11 years davidb Further support for operation under Cygwin added
(edit) @28375   11 years davidb A set of changes to help Greenstone building code (perl) run under …
(edit) @28236   11 years ak19 Added a parameter to specify whether paths on windows should be …
(edit) @28228   11 years ak19 For windows, need to check for short (not long) file/path names when …
(edit) @28226   11 years ak19 Related to previous commit: the test for whether the OS is Windows, to …
(edit) @28225   11 years ak19 Another commit concerning the placeholder GS paths written into the …
(edit) @28213   11 years ak19 Clean up. Removed an usused new method to convert a path to its …
(edit) @28211   11 years ak19 No more absolute paths in archiveinf-doc.gdb and archiveinf-src.gdb
(edit) @28177   11 years ak19 Added new subroutines to convert from absolute paths to Greenstone …
(edit) @28176   11 years ak19 Fix to previous commit
(edit) @28175   11 years ak19 Splitting resolve_collection_dir into two functions, one of which …
(edit) @28174   11 years ak19 Fix to when using GSDLCOLLECTDIR
(edit) @28066   11 years ak19 Dr Bainbridge fixed a subtle bug where the timestamped tmp folders …
(edit) @27970   11 years ak19 Fix to regex. The regex sorting the ordering of the generated …
(edit) @27819   11 years ak19 Using FileUtils::MakeAllDirectories instead of deprecated util::mk_all_dir.
(edit) @27509   11 years ak19 Using the recommended FileUtils.pm methods in place of the deprecated …
(edit) @27374   11 years jmt12 Changing my comment style as I stumbled across a much nicer/clearer …
(edit) @27326   11 years kjdon changed warning message to have correct function name
(edit) @27303   11 years jmt12 Replacing hardcoded additions to INC and PATH environment variables …
(edit) @26976   11 years ak19 First commit for RSS support: copying rss-items.rdf file across from …
(edit) @26973   11 years kjdon don't lowercase the suffix in rename_file - if the original was …
(edit) @26206   12 years ak19 Fixes to get Remote Greenstone 3 working with client-gli: 1. …
(edit) @26017   12 years ak19 Thanks to Kathy: File handle to item file generated by pagedimgplug …
(edit) @25994   12 years ak19 Moving the updated create_itemfile() subroutine from pdfpstoimg.pl to …
(edit) @25796   12 years ak19 1. Bugfix: the collect_dir should not be initialised to collect but …
(edit) @25598   12 years ak19 When testing activate.pl with -keepold on Linux, it could not move the …
(edit) @25579   12 years ak19 1. Introduced the verbosity flag into activate.pl to print out …
(edit) @25578   12 years ak19 Modifying recently introduced mv_dir_contents method again: recursion …
(edit) @25577   12 years ak19 Moved some more general methods from activate.pl to util.pm and in the …
(edit) @25572   12 years ak19 Newly added mv_dir_contents subroutine was not complete: it did not …
(edit) @25554   12 years ak19 Added mv_dir_contents subroutine (which is called from activate.pl) …
(edit) @25533   12 years ak19 Need to ensure there are quotes around the path to the java command …
(edit) @25512   12 years ak19 Utility function for getting path to the java command: if GS binary, …
(edit) @25093   12 years kjdon added filepath_regex_to_url_format method. like …
(edit) @24971   12 years ak19 1. Introduced the util::filepath_to_url_format subroutine which will …
(edit) @24940   12 years ak19 Dr Bainbridge discovered a logic error in the order of steps in …
(edit) @24932   12 years ak19 Diego noticed how the metadata in a toplevel metadata.xml, which …
(edit) @24874   12 years ak19 Third set of commits to do with the migration of cgi-bin into …
(edit) @24832   12 years ak19 1. util.pm's envvar_prepend and append subroutines now escape …
(edit) @24829   12 years ak19 Changes to bat files and perl code to deal with brackets in (Windows) …
(edit) @24563   13 years ak19 1. On Windows, Depositor needs env var OS for the call to …
(edit) @24362   13 years ak19 The method of locating perl has changed once more: util now defines …
(edit) @24291   13 years sjm84 More changes to do with the way PDF files are parsed
(edit) @23561   13 years kjdon moved the block_filename from BasePlugin into util. then I don't need …
(edit) @23484   13 years ak19 Further improvements by Dr Bainbridge to pretty-printing.
(edit) @23483   13 years davidb Standardize on upper-case drive letter for Windows
(edit) @23418   13 years davidb A few further additions to help windows keep track of c\... and C:\... …
(edit) @23416   13 years davidb More careful handling of filenames going into 'block' hash. On …
(edit) @23414   13 years davidb Need to be more careful when downgrading a filename to ensure we still …
(edit) @23388   13 years davidb Further changes to deal with documents that use different filename …
(edit) @23371   13 years davidb Further refinement of code to support HTML linking between documents …
(edit) @23362   13 years davidb Additional routines (and few upgraded) to help support Greenstone …
(edit) @23314   13 years sjm84 Katherine discovered that the newly added sub setup_greenstone_env …
(edit) @23307   13 years davidb Slight touch-up to some error logging print statements
(edit) @23306   13 years sjm84 setup_greenstone_evn sub to help set up the environment if GSDLHOME …
(edit) @23285   13 years sjm84 Moving subroutine committed previously to util.pm to unicode.pm where …
(edit) @23284   13 years sjm84 Dr Bainbridge's modification of nice-string subroutine which will …
(edit) @23249   13 years ak19 A useful debug version of the rm method which got added in when Dr …
(edit) @22886   14 years kjdon new method get_timestamped_tmp_folder, used by ConvertBinaryFile and …
(edit) @22883   14 years kjdon corrected a typo
(edit) @22873   14 years kjdon new subroutine get_timestamped_tmp_filename_in_collection, which does …
(edit) @22856   14 years davidb Tidy up of caller() debug statements
(edit) @22438   14 years davidb Additional flexibility added in to how get_tmp_filename works with …
(edit) @22386   14 years davidb Extra check added to avoid appending/prepending an environment …
Note: See TracRevisionLog for help on using the revision log.