summaryrefslogtreecommitdiff
path: root/base/gsflip.c
Commit message (Collapse)AuthorAgeFilesLines
* Update postal address in file headersChris Liddell2023-04-041-3/+3
|
* Update copyright to 2021Chris Liddell2021-03-151-1/+1
|
* Update copyright to 2020Chris Liddell2020-04-101-1/+1
|
* Update source/header file copyright notice to 2019Chris Liddell2019-01-161-1/+1
|
* 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.
* Coverity IDs 126564, 126565Ken Sharp2016-05-181-2/+2
| | | | | Remove some dead code. This was also present in the macro version of this code, revealed by move to inline functions.
* Remove a load of macros in the graphics libraryKen Sharp2016-05-111-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'load' and 'store' macros were deemed offensive for a number of reasons; they declared variables, hiding them from casual view, they hid flow control (switch statements started in one macro, ended in another), returns from inside macros, some macros were not (and could not be) bounded by "do{...} while" which means care needed to be taken with ';' and were very deeply nested, the names chose for the macros made them look like functions, finally macros are hard to debug, even with a macro-expanding debugger. Additionally there were the 'LINE_ACCUM' macros, some of which simply called the 'load/store' macros directly, which just added another layer of obfuscation, particularly since these macros were defined in a different header file. Macros could be nested 4 or 5 levels deep. This commit finishes removing all but one of the macros, the last remaining macro has been renamed to upper case to make it clearer that it is a macro. It can't easily be removed since it depends on the size of gx_color_index, which is a compile time #define. The functionality of the macros has either been expanded in line or replaced with inline functions declared in gsbitops.h. The majority of the macros have been replaced with functions, even for small functions where it seemed useful to keep the name as a description of the actual functionality. I don't anticipate any differences, but I think this makes the code easier to understand, easier to debug, and therefore easier to maintain.
* Commit of build_consolidation branchChris Liddell2015-07-201-0/+399
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.