summaryrefslogtreecommitdiff
path: root/base/sjbig2.h
Commit message (Collapse)AuthorAgeFilesLines
* Update postal address in file headersChris Liddell2023-04-041-3/+3
|
* Update copyright to 2021Chris Liddell2021-03-151-1/+1
|
* lgtm.com fixes: Multiplication of narrow type in wider context.Robin Watts2020-05-151-1/+1
|
* Update copyright to 2020Chris Liddell2020-04-101-1/+1
|
* Change s_jbig2decode_set_global_data to take a separate pointer for global_ctxNancy Durgin2019-04-111-1/+1
| | | | | This is so gpdf can pass NULL for the 'gd' pointer, since it doesn't care about garbage collection.
* Bug 700554: jbig2: Use custom allocator for jbig2dec/luratech decoders.Sebastian Rasmussen2019-02-121-1/+1
|
* Update source/header file copyright notice to 2019Chris Liddell2019-01-161-1/+1
|
* jbig2dec: Only print repeated error/warning messages once.Sebastian Rasmussen2018-11-141-0/+4
|
* Update copyright notice with new head office address.Ken Sharp2018-01-301-3/+3
| | | | | | | | | Also update copyright dates. Remove gs_cmdl.ps as we no longer use it, and remove its entry from psfiles.htm. Remove xfonts.htm as this feature (xfont support) is long, long gone.
* Bug 694180 (related): jbig2dec base streams error handlingChris Liddell2015-09-231-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Two problems: First: when creating the jbig2dec context, you optionally pass it a function pointer and data pointer to use to record error conditions. The data pointer being used was the pointer to the Ghostscript stream state - which was allocated in normal Postscript memory - i.e. subject to relocation by the garbage collector. As this was stored as part of jbig2dec's internals, there was no way for the garbage collector to move the pointer, and thus the location was potentially nonsense. Secondly, in testing the fix for above, it turns out that, in the event of an error during JBIG2 decoding, there was no cleanup done - only the memory for the stream state would be discarded (by the garbage collector), the jbig2dec context was left to leak. To fix the first problem, add a non-gc memory structure with the pointers required for the jbig2dec error callback. For the second problem, add a finalize method to the jbig2dec stream state so the non-gc stuff can be cleaned up in the event of an error. No cluster differences.
* Commit of build_consolidation branchChris Liddell2015-07-201-0/+59
Squashed into one commit (see branch for details of the evolution of the branch). This brings gpcl6 and gxps into the Ghostscript build system, and a shared set of graphics library object files for all the interpreters. Also, brings the same configuration options to the pcl and xps products as we have for Ghostscript.