summaryrefslogtreecommitdiff
path: root/toolbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Update copyright to 2020Chris Liddell2020-04-1070-70/+85
|
* Add murun to the list of products for clusterpush.plRobin Watts2020-03-261-2/+3
|
* Simplify change to clusterpush.pl for ifilters.Robin Watts2020-03-031-5/+3
| | | | | No need to keep filters and ifilters separately as we pass them through with "filter=" and "ifilter=" intact.
* Add support to clusterpush.pl for ifilter.Robin Watts2020-03-031-1/+5
| | | | | Needs tweaks within the cluster too, so don't try using this immediately!
* minor fix to toolbin/squeeze2text.py to cope with no input.Julian Smith2020-03-021-0/+1
|
* minor improvements to toolbin/squeeze2text.py.Julian Smith2020-02-261-8/+13
|
* toolbin/squeeze2text.py: improve log output.Julian Smith2020-02-251-1/+4
| | | | | | | With -p, if there is gap in 'Memory squeezing @ <N>' output (because of calls to free()), output next <N>. Also flush log output to avoid looking like we've hung.
* Added toolbin/squeeze2text.py, for processing output from MEMENTO_SQUEEZEAT=...Julian Smith2020-02-201-0/+77
| | | | An alternative to squeeze2html.pl, outputing just summary information.
* clusterpush.pl: exclude all *-bin and *-obj directories.Julian Smith2020-02-071-0/+1
|
* clusterpush.pl: also exclude luratech* directories.Julian Smith2020-01-081-0/+1
|
* Move pdf_info.ps into lib (from toolbin)Chris Liddell2019-12-121-429/+0
| | | | | | And add it to the list of files to install on Unix systems. Also, tweak the comments in pdf_info.ps to reflect its new home.
* Tweak to handle .shellarguments throwing an errorChris Liddell2019-12-121-15/+16
| | | | | .shellarguments for quite some time has thrown an undefined error if Ghostscript is not invoked with the '--' option, so handle that.
* Add hex string representation of font namesChris Liddell2019-12-121-3/+3
| | | | | | Mainly CIDFonts come up with multibyte characters in their names, hence making the normal Postscript string pretty meaningless. This adds a hex string representation which can be used in Fontmap.GS or cidfmap for subsitution.
* Update vdb.pl script to latest version.Robin Watts2019-10-311-42/+238
|
* clusterpush.pl: also exclude sanbin and sanobj directories.Julian Smith2019-10-281-0/+1
|
* Update genfontmap.ps for SAFER defaultKen Sharp2019-10-221-2/+14
| | | | | | | | | | | | | | | | Bug #701766 " genfontmap.ps Unrecoverable error, exit code 1" The genfontmap.ps program, supplied as part of the support tools in 'toolbin' rather than Ghostscript proper, relies on the non-standard PostScript extension operator '.sort'. As part of the security hardening, as many non-standard operators as possible were removed from Ghostscript when SAFER is set, including .sort, and with version 9.50 SAFER becomes the default. This commit simply updates the genfontmap.ps program to check that it is being run with NOSAFER, emits a warning and exits if this is not the case. Also update the comments to indicate why we are doing this.
* Fix bug 701715. Problem in thresh_remap.c binary output.Ray Johnston2019-10-161-1/+1
| | | | | I never use binary output -- just -p for PostScript output, so this was untested.
* Run toolbin/headercompile.pl and update dependencies in Makefiles.Robin Watts2019-09-251-0/+0
| | | | | | | Move the definition of x_pixel within the headers to ensure gdevcmp.h stands alone. Include a ufst header to ensure that gxfapiu.h stands alone.
* Better CMYK conversion for bmpcmpRobin Watts2019-08-222-1/+280059
|
* Update bmpcmp.c to read psdrgb rather than psdbgr.Robin Watts2019-08-211-5/+9
|
* Add arm option to clusterpush.plRobin Watts2019-07-231-2/+5
|
* Add cal operation to clusterpush.plRobin Watts2019-07-201-1/+4
|
* Add gpdl to default products for clusterpush.plRobin Watts2019-05-221-1/+1
|
* Add nopdfwrite to clusterpush.plRobin Watts2019-05-221-2/+5
|
* Hack bmpcmp to accept 16bpc PSD files.Robin Watts2019-04-221-44/+114
| | | | We ignore the bottom bytes of the pixel data.
* Fix sefault with 'so' build.Chris Liddell2019-03-281-1/+1
| | | | | | | | | | The loaders were passing an unitialise pointer into gsapi_new_instance() meaning we might try to dereference the pointer to get to the shared portion of the library context. Initialise the pointer to NULL. Apply the same fix to everywhere that uses gsapi_new_instance.
* Alternate way to process that whitelist at end of scanner.Nancy Durgin2019-03-141-26/+35
| | | | | This version doesn't assume there is a --oper-- form on the list, so it works with "functions" (procedures) that as well as with operators.
* Add a bunch of extensions to whitelistNancy Durgin2019-03-141-3/+15
| | | | | | Also, the logic for "functions", which don't have the --oper-- form on the whitelist, is currently broken, so just put everything on the operator list until that's sorted (if ever).
* Whitelist some more operators that are in the PLRMNancy Durgin2019-03-141-0/+8
| | | | Not sure why the Ray's automated extraction didn't pick these up?
* Remove UserObjects from whitelistNancy Durgin2019-03-141-1/+1
| | | | | This is in the PLRM, but it's not an operator and it's not going to show up in the scan unless 'defineuserobject' has previously been run.
* Move .makeoperator docs from Language.htm to Internal.htm.Nancy Durgin2019-03-131-1/+0
| | | | | | | | | | | | It is now an internal operator Remove it from whitelist in scan_ps_dicts.ps This has already been undef'd (after initialization), just fixing the documentation. This commit also adds a new "Internal.htm" documentation file, and hopefully fixes up the links to it in Readme.htm
* Add "print" operator to whitelist in scan_ps_dicts.psRay Johnston2019-03-121-0/+1
|
* Add final section that reports any whitelisted operators that are not seen.Ray Johnston2019-03-121-3/+29
| | | | | | | | | | | | By setting the whitelist entry to //false initially, and the //true when the operator is encountered in the scan, we can report elements that are in the whitelist that probably don't need to be there (they've already been undef'ed). Also for operators, since they may be encountered in a dict in "bare" form, or may be seen in packedarray procedures with "--" in front and back, we check for either having been encountered by pulling out the "bare" form and checking if that whitelist entry has been seen.
* Fix the test for which whitelisted operators were found, to check booleanNancy Durgin2019-03-071-8/+1
|
* Add a check to scan_ps_dicts.ps to report whitelist entries that aren't found.Ray Johnston2019-03-071-2/+14
|
* Change to use a list of operator/function names and add to dict laterNancy Durgin2019-03-071-1078/+585
| | | | | | | - can break out the lists by category (standard vs extensions) - adds the "--" around operators dynamically - can put non-operators (functions) in a separate list if desired - changed the value in the dict to //false
* Add some ghostscript extensions to whitelistNancy Durgin2019-03-071-0/+13
|
* Change shellarguments to .shellarguments and document it.Nancy Durgin2019-03-071-9/+8
|
* Tweak whitelist of scan_ps_dicts.ps, add some color opsNancy Durgin2019-03-061-2/+19
| | | | | - remove statusdict - add some standard operators that aren't in the PLRM (related to color)
* Add whitelist to scan_ps_dicts.psRay Johnston2019-03-061-8/+1087
| | | | | Note that unfortunately, we have to have operators both in the 'bare' form and the display form e.g. (exit) (--exit--).
* Initial version of utility to scan dictionaries for operatorsRay Johnston2019-03-051-0/+196
|
* Fixed some issues with htmldiff.plNancy Durgin2019-01-291-10/+9
| | | | | | | | | | 1) I am using pngize=0. My version of bmpcmp automatically outputs in png format. I think this reveals a bug related to file suffixes? Anyway, I added an "outsuffix" variable and at least for my situation, it now works. I don't know if this is a general fix or not. 2) The metafile string was built with $imstr, which isn't a defined variable? Changed this to be $imstr1. How did this ever work?
* Add a couple of helpful perl scripts for valgrind testing.Robin Watts2019-01-222-0/+399
| | | | | | | | vdb.pl automates the running of valgrind jobs under gdb, and multiplexes the output from valgrind and gdb together. vgbatch.pl automates the running of a list of "cluster like" tests under valgrind.
* Update source/header file copyright notice to 2019Chris Liddell2019-01-1670-70/+70
|
* Remove some blah_DEFINED cruft.Robin Watts2019-01-072-30/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we properly "include what we use" let's sanitise the horrid blah_DEFINED ifdeffery (i.e. kill it where possible). Also, we update the .c dependencies in the base/psi makefiles to be correct. Unfortunately, this new correct set of dependencies causes nmake to soil itself and die with an out of memory error. After much experimentation, I've come to the conclusion that this is because it copes poorly with given the same file as a dependency multiple times. Sadly, our style of declaring dependencies in the following style: foo_h=$(BLAH)/foo.h $(std_h) bar_h=$(BLAH)/bar.h $(foo_h) $(std_h) baz_h=$(BLAH)/baz.h $(foo_h) $(std_h) means that a .obj file that depends on $(foo_h) $(bar_h) and $(baz_h) ends up depending on foo.h twice, and std.h three times. I have therefore changed the style of dependencies used to be more standard. We still define: foo_h=$(BLAH)/foo.h so each .obj file rule can depend on $(foo_h) etc as required, but the dependencies between each .h file are expressed in normal rules at the end of the file in a dedicated "# Dependencies" section that we can now autogenerate.
* Removing display postscript and NeXT dps operators.Nancy Durgin2018-12-182-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This only removes operators that are DPS only. They are marked with a "DPS" in the PLRM. Also removes related internal operators. (gs_img.ps) Remove img_utils_dict Dependency on gs_dps.ps is gone. Can just define the utility funcs for use and then just undef them at end. (gs_init.ps) Don't need to undef dps operators anymore, because they won't be defined (pdf_draw.ps) Change PDF implementation to call .setscreenphase directly This used to call it via the dps operator 'sethalftonephase', but that is going away, so just make .setscreenphase be part of the pdf implementation directly. Also move implementation of .setscreenphase to zpdfops.c (gs_cet.ps) No longer need to undef 'deviceinfo' for CET because it won't be defined (gs_btokn.ps) Replace the DPS operators in .installsystemnames with placeholders Keeps the length/values in the array the same, just removing dps operators. (icontext.c) Needed to modify the no_reschedule() proc to return 0 instead of an error. I think we can delete a ton of related code, in future commit, because the code handling the time_slice_proc and reschedule_proc should no longer be needed. (lots of changes) Delete dps-related source files, update makefiles and other files that reference the deleted files.
* Bug 699152: gen ordered screen generationMichael Vrhel2018-12-181-2/+2
| | | | Fix typo in output formatting and clean up a few warnings.
* Fix header inclusions.Robin Watts2018-12-141-0/+463
| | | | | | | | | | | | | | Run a release build on a linux machine to make arch.h etc. Then run toolbin/headercompile.pl to test compiling each headerfile by itself. Resolve all the missing #includes, add missing repeated include guards and copyright statements. Also, update all the header dependencies in the makefiles. It is possible that the object dependencies in the makefiles can be simplified now, but that's a task for another day.
* Update clusterpush.plRobin Watts2018-12-121-0/+2
|
* Tweak htmldiff.pl to ignore empty lines without a confusing error.Robin Watts2018-10-181-0/+4
|